/* WEBW marketing site. Single stylesheet, no inline styles, self-hosted fonts. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --brand: #6366f1;
  --brand-text: #4f46e5; /* AA on white for text and links */
  --muted: #52525b;
  --subtle: #71717a;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --surface: #f7f7f8;
  --surface-2: #f1f1f4;
  --btn-bg: #111111;
  --btn-fg: #ffffff;
  --btn-hover: #4f46e5;
  --shadow: 0 1px 2px rgb(17 17 17 / 0.04), 0 12px 40px -12px rgb(17 17 17 / 0.14);
  --live-bg: #eef2ff;
  --live-fg: #4338ca;
  --soon-bg: #f4f4f5;
  --soon-fg: #3f3f46;
  --dev-bg: #fef3c7;
  --dev-fg: #854d0e;
  --dark-bg: #111111;
  --dark-fg: #ffffff;
  --dark-muted: #a1a1aa;
  --focus: #4f46e5;
  --grid: rgb(17 17 17 / 0.055);
  --glow: rgb(99 102 241 / 0.16);
  --ring: rgb(99 102 241 / 0.22);

  --font-sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --radius: 20px;
  --gutter: 16px;
  --header-h: 68px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4f4f5;
    --paper: #111111;
    --brand-text: #a5b4fc;
    --muted: #a1a1aa;
    --subtle: #a1a1aa;
    --line: #27272a;
    --line-strong: #3f3f46;
    --surface: #18181b;
    --surface-2: #1f1f23;
    --btn-bg: #ffffff;
    --btn-fg: #111111;
    --btn-hover: #c7d2fe;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 16px 48px -16px rgb(0 0 0 / 0.6);
    --live-bg: #1e1b4b;
    --live-fg: #c7d2fe;
    --soon-bg: #27272a;
    --soon-fg: #e4e4e7;
    --dev-bg: #422006;
    --dev-fg: #fde68a;
    --dark-bg: #18181b;
    --focus: #a5b4fc;
    --grid: rgb(255 255 255 / 0.05);
    --glow: rgb(99 102 241 / 0.22);
    --ring: rgb(165 180 252 / 0.2);
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: var(--brand-text); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

main:focus { outline: none; }

::selection { background: #c7d2fe; color: #111111; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container.narrow > * { max-width: 760px; }
.page-hero--center .container.narrow { max-width: 820px; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .h4 {
  font-weight: 640;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.display { font-size: clamp(3.25rem, 14vw, 6rem); line-height: 0.95; letter-spacing: -0.05em; }
.h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); }
.h2 { font-size: clamp(1.875rem, 4.2vw, 3.25rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.625rem); letter-spacing: -0.025em; line-height: 1.2; }
.h4 { font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.3; font-weight: 620; }

.display em, .h1 em, .h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--brand-text);
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}
.eyebrow a { color: inherit; }

.lead {
  margin-top: 24px;
  max-width: 40rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.lead--sm { margin-top: 0; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); }

p { text-wrap: pretty; }

.prose > * + * { margin-top: 1.1em; }
.prose p { color: var(--muted); }
.prose .notice p { color: var(--ink); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); color: var(--btn-fg); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9375rem; }
.btn:active { transform: translateY(1px); }

.cta-group { margin-top: 40px; }
.cta-group--center { text-align: center; }
.cta-group--center .cta-row { justify-content: center; }
.cta-group--start { margin-top: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row--center { justify-content: center; margin-top: 40px; }
.cta-note { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }

.link-quiet { color: var(--ink); text-decoration: none; font-weight: 550; font-size: 0.9375rem; }
.link-quiet:hover { color: var(--brand-text); }

.link-arrow { font-weight: 600; text-decoration: none; color: var(--brand-text); }
.link-arrow span { display: inline-block; transition: transform 0.18s ease; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

.link-list { margin-top: 32px; display: grid; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.site-header__brand { display: inline-flex; align-items: center; padding: 6px 0; flex: none; }
.logo { height: 28px; width: auto; }
@media (min-width: 768px) { .logo { height: 32px; } }

.site-nav--desktop, .site-header__actions { display: none; }

.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }

.site-nav--mobile { margin-left: auto; }
.site-nav--mobile > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}
.site-nav--mobile > summary::-webkit-details-marker { display: none; }

.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 16px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.site-nav--mobile[open] .menu-icon { background: transparent; }
.site-nav--mobile[open] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
.site-nav--mobile[open] .menu-icon::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav--mobile > nav {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  padding: 12px var(--gutter) 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav--mobile ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-nav--mobile a:not(.btn) {
  display: block;
  padding: 12px 4px;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 560;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav--mobile a[aria-current="page"] { color: var(--brand-text); }
.site-nav--mobile .btn { margin-top: 20px; width: 100%; }
.site-nav__sep a { border-bottom: 0 !important; }

@media (min-width: 1080px) {
  .site-nav--desktop { display: block; margin-left: auto; }
  .site-header__actions { display: flex; align-items: center; gap: 20px; margin-left: 16px; }
  .site-nav--mobile { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 120px); }
.section--rule { border-top: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--surface); }
.section--dark { position: relative; isolation: isolate; overflow: hidden; background: var(--dark-bg); color: var(--dark-fg); }
.section--dark::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 900px; height: 600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(99 102 241 / 0.28), transparent); }
.section--dark .lead, .section--dark .cta-note { color: var(--dark-muted); }
.section--dark .btn--primary { background: #ffffff; color: #111111; }
.section--dark .btn--primary:hover { background: #c7d2fe; }
.section--dark .btn--ghost { color: #ffffff; border-color: #52525b; }
.section--dark .btn--ghost:hover { border-color: #ffffff; }
.section--dark :focus-visible { outline-color: #a5b4fc; }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 48rem; }
.section-head--row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; max-width: none; }
.section-head__lead { margin-top: 20px; color: var(--muted); font-size: 1.125rem; }
.section-more { margin-top: 40px; }

.split { display: grid; gap: 32px 64px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; align-items: start; }
}
.split__cols { display: grid; gap: 32px; }
.split__cols p { margin-top: 10px; color: var(--muted); }
@media (min-width: 640px) { .split__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: clamp(48px, 8vw, 112px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 70% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 75% at 70% 35%, #000 20%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px; height: 720px;
  right: -180px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 64px; }
}
.hero__copy .lead { margin-top: 28px; }
.hero__visual { position: relative; isolation: isolate; }

.prompt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prompt-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 29px;
  background: linear-gradient(140deg, rgb(99 102 241 / 0.35), transparent 45%, transparent 60%, rgb(99 102 241 / 0.2));
}
.prompt-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.prompt-card:focus-visible { border-radius: 28px; }

.prompt-card__head { display: flex; align-items: center; gap: 14px; }
.prompt-card__head .ai-web { width: 44px; height: 44px; flex: none; }
.prompt-card__title { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 620; letter-spacing: -0.02em; line-height: 1.25; }

.prompt-card__input {
  display: block;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}
.caret {
  display: inline-block;
  width: 2px; height: 1.15em;
  margin-left: 3px;
  vertical-align: -0.2em;
  background: var(--brand);
  animation: blink 1.1s steps(1) infinite;
}

.prompt-card__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--ink);
}
.chip--muted { border-style: dashed; color: var(--muted); }

.prompt-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--subtle);
}
.prompt-card__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 600;
}
.prompt-card:hover .prompt-card__go { background: var(--btn-hover); }
.arrow { display: inline-block; transition: transform 0.2s ease; }
.prompt-card:hover .arrow { transform: translateX(3px); }

.plan-card {
  position: relative;
  z-index: -1;
  display: grid;
  gap: 12px;
  width: min(100%, 440px);
  margin: -32px 0 0 auto;
  padding: 52px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 0 0 24px 24px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
}
.plan-card__label { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.plan-card__pages { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; counter-reset: pg; }
.plan-card__pages li {
  counter-increment: pg;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 550;
}
.plan-card__pages li::before { content: counter(pg) "  "; color: var(--brand-text); font-weight: 650; white-space: pre; }
.plan-card__note { font-size: 0.8125rem; }
.plan-card__btn {
  justify-self: start;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  color: var(--brand-text);
  font-weight: 600;
  font-size: 0.8125rem;
}
@media (min-width: 560px) {
  .plan-card { grid-template-columns: 1fr auto; align-items: end; }
  .plan-card__label, .plan-card__pages { grid-column: 1 / -1; }
}

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(56px, 9vw, 120px) clamp(48px, 7vw, 96px); }
.page-hero .lead { margin-top: 28px; }
.page-hero--center { text-align: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero__with-mark { display: grid; gap: 40px; align-items: center; }
.mark-tile {
  position: relative;
  display: grid;
  place-items: center;
  width: 148px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle, transparent 0 34%, var(--ring) 34% calc(34% + 1px), transparent calc(34% + 1px) 52%, var(--ring) 52% calc(52% + 1px), transparent calc(52% + 1px) 70%, var(--ring) 70% calc(70% + 1px), transparent calc(70% + 1px)),
    radial-gradient(circle at 50% 50%, var(--glow), transparent 70%),
    var(--surface);
  overflow: hidden;
}
.mark-tile .ai-web { width: 40%; height: auto; }
@media (min-width: 900px) {
  .page-hero__with-mark { grid-template-columns: 1fr auto; }
  .mark-tile { width: 280px; border-radius: 40px; }
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live { background: var(--live-bg); color: var(--live-fg); }
.badge--soon { background: var(--soon-bg); color: var(--soon-fg); }
.badge--dev { background: var(--dev-bg); color: var(--dev-fg); }
.eyebrow .badge { letter-spacing: 0.02em; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 960px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card--wide { grid-column: span 2; }
}

.bento { display: grid; gap: 16px; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento > :last-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > * { grid-column: span 2; }
  .bento > :nth-child(n+4) { grid-column: span 3; }
}
.card.card--feature { padding: clamp(28px, 3vw, 40px); gap: 14px; min-height: 240px; background: var(--surface); border-color: transparent; }
.card.card--feature .h3 { margin-top: auto; }
@media (max-width: 679px) {
  .card.card--feature { min-height: 0; }
  .card.card--feature .card__index { margin-bottom: 12px; }
  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 90% 45% at 50% 78%, #000 15%, transparent 75%);
    mask-image: radial-gradient(ellipse 90% 45% at 50% 78%, #000 15%, transparent 75%);
  }
  .hero::after { right: -360px; top: auto; bottom: -200px; }
}
.card__index {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--brand-text);
  font-size: 0.875rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.card p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card__top { margin-bottom: 8px; }
.card--quiet { background: transparent; }
.section--tint .card--quiet { background: var(--paper); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 40px 32px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.step p { margin-top: 8px; color: var(--muted); }
.step__num, .timeline__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--brand-text);
}

.timeline { display: grid; }
.timeline__item {
  display: grid;
  gap: 8px 40px;
  padding-block: 36px;
  border-top: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__item p { margin-top: 10px; color: var(--muted); max-width: 44rem; }
.timeline__num { margin: 0; }
@media (min-width: 768px) {
  .timeline__item { grid-template-columns: 120px 1fr; }
  .timeline__num { font-size: 3.5rem; }
}

/* ---------- Feature list ---------- */
.feature-list { display: grid; }
.feature {
  display: grid;
  gap: 16px 64px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__body p { color: var(--muted); max-width: 40rem; }
@media (min-width: 900px) { .feature { grid-template-columns: 5fr 7fr; } }

.ticks { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.42em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--brand-text);
  border-bottom: 2px solid var(--brand-text);
  transform: rotate(-45deg);
}
.ticks--lg { margin-top: 0; gap: 18px; font-size: 1.125rem; }
.ticks--cross li::before {
  top: 0.35em;
  width: 14px; height: 14px;
  border: 0;
  transform: none;
  background:
    linear-gradient(45deg, transparent 43%, var(--ink) 43%, var(--ink) 57%, transparent 57%),
    linear-gradient(-45deg, transparent 43%, var(--ink) 43%, var(--ink) 57%, transparent 57%);
}

/* ---------- Principles ---------- */
.principles { display: grid; gap: 40px 32px; margin-bottom: 8px; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .principles { grid-template-columns: repeat(4, 1fr); } }
.principles li { padding-top: 24px; border-top: 2px solid var(--ink); }
.principles p { margin-top: 10px; color: var(--muted); }

/* ---------- Notice ---------- */
.notice {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 16px;
  background: var(--surface);
}
.notice > * + * { margin-top: 12px; }
.section--tint .notice { background: var(--paper); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 48px 64px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 4fr 8fr; align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-aside p { margin-top: 12px; color: var(--muted); }
.faq-aside .cta-group { margin-top: 28px; }
.faq { border-top: 1px solid var(--line); margin-bottom: 16px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  cursor: pointer;
  list-style: none;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.faq__item[open] > summary::after { transform: rotate(45deg); }
.faq__item > summary:hover .faq__q { color: var(--brand-text); }
.faq__q { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
.faq__a { padding-bottom: 28px; color: var(--muted); max-width: 44rem; }
.faq__a p + p { margin-top: 0.8em; }

/* ---------- Closing ---------- */
.closing { text-align: center; display: grid; justify-items: center; }
.closing .lead { margin-top: 20px; }
.closing__mark { width: 88px; height: 88px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 64px 40px; border-top: 1px solid var(--line); }
.site-footer__top { display: grid; gap: 48px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1fr 2fr; } }
.logo--footer { height: 30px; }
.site-footer__tagline { margin-top: 20px; color: var(--muted); font-size: 0.9375rem; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (min-width: 640px) { .site-footer__nav { grid-template-columns: repeat(4, 1fr); } }
.site-footer__heading { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer__nav ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.site-footer__nav a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__bottom {
  display: grid;
  gap: 8px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
@media (min-width: 900px) { .site-footer__bottom { grid-template-columns: auto 1fr; gap: 32px; } .site-footer__bottom p:last-child { text-align: right; } }

/* ---------- AI web motif ---------- */
.ai-web { aspect-ratio: 1; }
.ai-web--pulse { animation: web-pulse 3.6s ease-in-out infinite; }
.ai-web--spin { animation: web-spin 60s linear infinite; }

@keyframes web-pulse {
  0%, 100% { transform: scale(0.94); opacity: 0.78; }
  50% { transform: scale(1.04); opacity: 1; }
}
@keyframes web-spin {
  to { transform: rotate(360deg); }
}
@keyframes blink {
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .btn, .prompt-card, .card, .badge, .chip { border: 1px solid CanvasText; }
  .eyebrow::before, .badge::before { background: CanvasText; }
}

@media print {
  .site-header, .site-footer, .skip-link { display: none; }
}

/* ---------- Refinements ---------- */
.card > .card__index { margin-bottom: 10px; }
.card.card--feature > .card__index { margin-bottom: 28px; }
@media (max-width: 679px) { .card.card--feature > .card__index { margin-bottom: 12px; } }
@media (max-width: 899px) { .page-hero__with-mark .mark-tile { display: none; } }
.faq-aside { order: 2; }
@media (min-width: 960px) { .faq-aside { order: 0; } }

.model-stack {
  display: grid;
  gap: 8px;
  width: min(100%, 340px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, var(--glow), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}
.model-stack__label { margin-bottom: 6px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.model-stack__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-weight: 600;
  font-size: 0.9375rem;
}
.model-stack__row span:last-child { color: var(--muted); font-weight: 500; }
.model-stack__row .model-stack__free { color: var(--brand-text); font-weight: 650; }
.model-stack__row--quiet { border-style: dashed; background: transparent; }
@media (max-width: 899px) { .model-stack { display: none; } }
@media (max-width: 679px) {
  .card { padding: 22px; gap: 10px; }
  .card__top { margin-bottom: 2px; }
}
