/* Hallmark · shape: Showcase · genre: modern-minimal · theme: custom (the kit's own DESIGN.md, locked) · job: buy · idea: "A multi-tenant AI SaaS starter you can read, run and sell on." · vibe: "dark, quiet, product-first, one red signal"
 * paper: oklch(14% 0.005 260) · accent: oklch(70% 0.19 25) · display: Rethink Sans · body: Inter · hero: headline and one action over the real assistant screen · nav: wordmark left, two links and one action right · footer: wordmark over the links · imagery: the product, captured from the running kit · signature: the real assistant screen with a live credit meter, full width under the headline
 * axes: dark/grotesk-sans/warm · posture: product-first · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E3 S4 R4 V4 · weakest: E, one hover state per control and no scroll motion at all, the page stays still on purpose */

:root {
  --color-paper: #07080a;
  --color-paper-2: #0d0d0d;
  --color-paper-3: #121212;
  --color-ink: #f4f4f6;
  --color-ink-2: #cdcdcd;
  --color-muted: #9c9c9d;
  --color-rule: #242728;
  --color-accent: #ff5757;
  --color-accent-deep: #a1131a;
  --color-accent-ink: #07080a;
  --color-on-light: #07080a;
  --color-white: #ffffff;
  --color-white-hover: #e8e8e8;
  --color-focus: #57c1ff;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Rethink Sans", var(--font-body);
  --radius-sm: 8px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem);
  --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.25rem);
  --text-display: clamp(2.5rem, 5vw + 0.75rem, 5rem);
  --tracking-display: -0.02em;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --container: 1200px;
  --gutter: 48px;
  --gap-columns: 32px;
  --section-gap: 128px;
}
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap: 96px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap: 72px; --gap-columns: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 88px; scroll-behavior: smooth; scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink-2); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "calt", "kern", "liga", "ss03"; }
::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-sm); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; color: var(--color-ink); font-family: var(--font-display); font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1.1; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-gap) 0; }
.lead { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 36ch; }
.muted { color: var(--color-muted); }

/* ---- nav ---- */
.nav { position: sticky; top: 0; z-index: 300; background: color-mix(in oklab, var(--color-paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-rule); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); font-weight: 600; text-decoration: none; }
.brand-mark { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-deep)); }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); }
.nav-links a:not(.btn) { color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); font-weight: 500; transition: color var(--dur-micro) var(--ease-out); }
.nav-links a:not(.btn):hover { color: var(--color-ink); }
@media (max-width: 40rem) { .nav-links a:not(.btn) { display: none; } }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: var(--space-sm) var(--space-lg); white-space: nowrap; border-radius: var(--radius-sm); font-size: var(--text-sm); font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--color-white); color: var(--color-on-light); }
.btn-primary:hover { background: var(--color-white-hover); }
.btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.btn-ghost:hover { border-color: var(--color-muted); }
.btn-lg { min-height: 52px; padding: var(--space-sm) var(--space-lg); font-size: var(--text-md); }

/* ---- hero ---- */
.hero { padding-block: 80px 0; }
.hero h1 { font-size: var(--text-display); max-width: 14ch; }
.hero .lead { margin-top: var(--space-lg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); }
.shot figcaption { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.hero .shot { margin-top: 72px; position: relative; max-height: 400px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, var(--color-ink) 70%, transparent); mask-image: linear-gradient(to bottom, var(--color-ink) 70%, transparent); }
.hero .shot::before { content: ""; position: absolute; inset: -40px 10% auto; height: 55%; z-index: -1; background: radial-gradient(60% 100% at 50% 0%, color-mix(in oklab, var(--color-accent) 18%, transparent), transparent 70%); pointer-events: none; }

/* ---- generic section head ---- */
.head h2 { font-size: var(--text-section); max-width: 18ch; }
.head p { margin-top: var(--space-md); max-width: 44ch; font-size: var(--text-lead); }

/* ---- inside grid ---- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.item { padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); }
.item h3 { font-size: var(--text-title); font-weight: 500; }
.item p { margin-top: var(--space-xs); color: var(--color-muted); }
.stack { margin-top: var(--space-xl); color: var(--color-muted); font-size: var(--text-sm); }
@media (max-width: 60rem) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- split: copy beside a screenshot ---- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.split .head p { font-size: var(--text-md); }
@media (max-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* ---- two screenshots ---- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
@media (max-width: 40rem) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* ---- built right ---- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); }
.fact { padding: var(--space-lg); background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.fact p { color: var(--color-ink); font-size: var(--text-lg); line-height: 1.4; }
@media (max-width: 60rem) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); max-width: 820px; }
.plan { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-xl); background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card); }
.plan h3 { font-size: var(--text-title); font-weight: 500; }
.price { color: var(--color-ink); font-size: 3rem; font-weight: 600; letter-spacing: var(--tracking-display); line-height: 1; font-variant-numeric: tabular-nums; }
.plan .btn { margin-top: auto; }
.plan-featured { border-color: var(--color-accent); }
.includes { margin-top: var(--space-lg); color: var(--color-muted); }
@media (max-width: 40rem) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---- footer ---- */
.footer { margin-top: var(--section-gap); padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.footer .container { display: flex; flex-wrap: wrap; gap: var(--space-lg); align-items: center; justify-content: space-between; }
.footer nav { display: flex; gap: var(--space-lg); }
.footer a { color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); }
.footer a:hover { color: var(--color-ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
