/* Hookcut UI: the shared design system (tokens, type, header, footer, buttons, fields, cards, hero, sections, steps,
   price cards, FAQ, call-to-action band, dialog, motion). Used by the self-serve pages (with app.css for their own
   parts) and meant to be copied as-is to the marketing site (site/), which is a separate Worker.
   Look (rebrand 2026-10-11, the approved "Sliced H" board): a deep navy page with violet and blue glows, navy panels,
   violet-to-blue gradient pills, cyan as the bright accent, rounded cards, Outfit for the display type and the wordmark.
   Dark only: there is no light theme. Mobile first, AA contrast throughout (the numbers are next to each token).
   Fonts are self-hosted (SIL OFL): /fonts/README.md. */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: "Outfit"; src: url("/fonts/outfit-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-latin-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-wght.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------------------------------------------------------------- tokens (dark only: the page is always black) */
:root {
  color-scheme: dark;
  /* Hookcut's brand palette (brand board 2026-10-11): violet #7c3aed, blue #3b82f6, cyan #22d3ee, navy #0f1226 */
  --bg: #0a0c1b;                /* the page: a shade deeper than the brand navy */
  --bg-2: #0f1226;              /* brand navy */
  --panel: #151a33;
  --panel-2: #1c2240;
  --panel-3: #252c50;
  --line: #262d4d;
  --line-strong: #3a4370;
  --field: #0f1226;
  --field-line: #5f6894;        /* 3.2:1 on the panel, 3.4:1 on the field: a visible control edge */
  --text: #eef0fb;              /* 15:1 on the panel */
  --muted: #a9afcf;             /* 7.9:1 on the panel, 9:1 on the page */
  --faint: #8c93b8;             /* 5.7:1 on the panel, 5.2:1 on panel-2 */
  --primary: #7c3aed;           /* the primary pills: violet to blue (--grad-cta), white words 5.7:1 to 5.2:1 */
  --primary-hover: #6d28d9;
  --on-primary: #ffffff;
  --on-bright: #0f1226;         /* words on a cyan or coral fill: navy, 10:1 on the cyan */
  --grad-cta: linear-gradient(100deg, #7c3aed 0%, #2563eb 100%);
  --grad-cta-hover: linear-gradient(100deg, #6d28d9 0%, #1d4ed8 100%);
  --accent: #7c3aed;
  --on-accent: #ffffff;
  --accent-text: #c4b5fd;       /* 9.3:1 on the panel */
  --accent-soft: #1f1a45;
  --cyan: #22d3ee;              /* 9.5:1 on the panel */
  --cyan-text: #67e8f9;
  --cyan-soft: #0c2733;
  --violet: #8b5cf6;
  --violet-text: #c4b5fd;
  --violet-soft: #221b47;
  --blue: #3b82f6;
  --blue-text: #93c5fd;         /* 9.5:1 on the panel */
  --coral: #ef7d62;
  --coral-text: #ff8f75;        /* 7.7:1 on the panel */
  --coral-soft: #2e1a22;
  --focus: #22d3ee;
  --glow-1: rgba(124, 58, 237, .34);
  --glow-2: rgba(59, 130, 246, .24);
  --glow-3: rgba(34, 211, 238, .12);
  --grad-brand: linear-gradient(100deg, #8b5cf6 0%, #3b82f6 62%, #22d3ee 100%);   /* words: 4.6:1, 5.3:1, 10.8:1 on the page */
  --grad-word: linear-gradient(100deg, #8b5cf6 0%, #3b82f6 100%);                   /* the wordmark's "cut" */
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .9);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 30px 60px -24px rgba(0, 0, 0, .95);
  --shadow-cta: 0 10px 30px -10px rgba(124, 58, 237, .65);
  --topbar: rgba(10, 12, 27, .78);
  --video-bg: #000000;

  --display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --fs-sm: 14.5px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-hero: clamp(42px, 8.2vw, 96px);
  --fs-h1: clamp(34px, 5.6vw, 60px);
  --fs-h2: clamp(30px, 4.4vw, 52px);
  --fs-h3: 19px;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --gutter: 16px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 28px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 760px) { :root { --gutter: 32px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: var(--fs-base); line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img, video { max-width: 100%; }
p { margin: 0; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

.small { color: var(--muted); font-size: var(--fs-sm); line-height: 1.5; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex: none; }
.lede { font-size: var(--fs-md); color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------- header and footer */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: var(--topbar);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: calc(var(--frame, 1180px) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
/* the horizontal lockup: the Sliced H mark (the approved PNG) and the wordmark in Outfit, "cut" in the brand gradient */
.logo { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1; letter-spacing: -.035em; text-decoration: none; color: #ffffff; }
.logo-mark { flex: none; display: block; width: 30px; height: 30px; }
.logo-word { display: block; padding-bottom: 1px; }
.logo-word span { background: var(--grad-word); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .logo-word span { background: none; color: LinkText; } }
@media (max-width: 400px) { .logo { gap: 7px; font-size: 20px; } .logo-mark { width: 26px; height: 26px; } }
.topnav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.topnav a:not(.button) { color: var(--muted); text-decoration: none; }
.topnav a:not(.button):hover { color: var(--text); }
@media (max-width: 720px) { .topnav a:not(.button) { display: none; } }

.site-foot { margin-top: auto; border-top: 1px solid var(--line); }
.foot-in { max-width: calc(var(--frame, 1180px) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s6) var(--gutter) var(--s7); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s4) var(--s6); }
.support { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.support a { color: var(--text); font-weight: 600; }
.support .small { color: var(--faint); }
.legal { color: var(--faint); font-size: var(--fs-sm); }
.legal a { color: var(--faint); }

/* ---------------------------------------------------------------- buttons (pills) */
button, a.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 12px 22px;
  font: 600 16px/1.2 var(--body); letter-spacing: -.005em;
  color: var(--on-primary); background: var(--grad-cta) var(--primary);
  border: 1px solid transparent; border-radius: var(--pill);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
button:hover, a.button:hover { background: var(--grad-cta-hover) var(--primary-hover); }
button:active, a.button:active { transform: translateY(1px) scale(.995); }
button:focus-visible, a.button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--pill); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
button.secondary, a.button.secondary { color: var(--text); background: transparent; border-color: var(--line-strong); }
button.secondary:hover, a.button.secondary:hover { background: var(--panel-2); border-color: var(--faint); }
button.big, a.button.big { min-height: 56px; padding: 15px 28px; font-size: 17px; }
button.big:not(.secondary), a.button.big:not(.secondary) { box-shadow: var(--shadow-cta); }
a.button.small-btn, button.small-btn { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- fields */
form { display: flex; flex-direction: column; gap: 18px; margin: 0; }
label { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
label > input:not([type=checkbox]):not([type=radio]), label > select, label > textarea { margin-top: 8px; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
  display: block; width: 100%; min-width: 0;
  padding: 12px 15px;
  font: inherit; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--text);
  background: var(--field); border: 1px solid var(--field-line); border-radius: var(--r);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
textarea { resize: vertical; min-height: 4.6em; }
::placeholder { color: var(--faint); opacity: 1; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):hover, select:hover, textarea:hover { border-color: var(--muted); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent);
}
input:disabled, select:disabled, textarea:disabled { opacity: .5; cursor: not-allowed; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2391919d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--text); }

/* a big rounded input (the hero's action) */
.pill-field { display: block; }
.pill-field input:not([type=checkbox]):not([type=radio]) {
  margin: 0; height: 58px; padding: 0 24px;
  border-radius: var(--pill); background: var(--panel); border-color: var(--field-line); font-size: 17px;
}

/* checkboxes and radios: a violet fill with a white tick */
input[type=checkbox], input[type=radio] {
  appearance: none; -webkit-appearance: none;
  flex: none; width: 22px; height: 22px; margin: 0;
  display: inline-grid; place-content: center;
  background: var(--field); border: 1.5px solid var(--field-line); cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
input[type=checkbox] { border-radius: 7px; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox]::before {
  content: ""; width: 12px; height: 12px; background: var(--on-primary);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  transform: scale(0); transition: transform .14s var(--ease);
}
input[type=radio]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-primary); transform: scale(0); transition: transform .14s var(--ease); }
input[type=checkbox]:checked, input[type=radio]:checked { background: var(--primary); border-color: var(--primary); }
input[type=checkbox]:checked::before, input[type=radio]:checked::before { transform: scale(1); }
input[type=checkbox]:hover, input[type=radio]:hover { border-color: var(--muted); }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* a tick with its words: at least 44 px to tap */
label.check { display: flex; gap: var(--s3); align-items: flex-start; min-height: 44px; padding-block: 10px; font-weight: 400; font-size: 15.5px; color: var(--muted); line-height: 1.5; cursor: pointer; }
label.check > input { margin-top: 0; }
label.check a { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------- cards, status, alerts */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: var(--s5) var(--s4); }
@media (min-width: 480px) { .panel { padding: var(--s6); } }
.status {
  position: relative; padding: 12px 16px 12px 38px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); color: var(--text); font-size: 15.5px;
}
.status::before { content: ""; position: absolute; left: 16px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cyan) 22%, transparent); }
.status:empty { display: none; }
.err { color: var(--coral-text); font-size: 15px; font-weight: 500; }
.err:not(:empty) { padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--coral-text) 45%, transparent); border-radius: var(--r); background: var(--coral-soft); }
.founding-tag {
  display: inline-block; align-self: flex-start;
  padding: 4px 10px; border-radius: var(--pill);
  background: var(--cyan-soft); color: var(--cyan-text); border: 1px solid color-mix(in srgb, var(--cyan) 55%, transparent);
  font-size: 14px; font-weight: 600; line-height: 1.35;
}

/* ---------------------------------------------------------------- page frame and sections */
.page { width: 100%; max-width: calc(var(--frame, 1180px) + 2 * var(--gutter)); margin: 0 auto; padding: var(--s5) var(--gutter) var(--s8); }
.dev {
  display: inline-flex; align-items: center; gap: var(--s2);
  margin-bottom: var(--s5); padding: 5px 12px;
  border: 1px dashed var(--line-strong); border-radius: var(--r);
  font-family: var(--mono); font-size: 12px; color: var(--faint);
}
.dev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); flex: none; }

.block { padding-block: var(--s8) 0; }
@media (min-width: 760px) { .block { padding-block: var(--s9) 0; } }
.block > .eyebrow, .block > h2 { display: flex; justify-content: center; text-align: center; margin-inline: auto; }
.block > h2 { max-width: 18ch; margin-top: 14px; margin-bottom: var(--s7); }

/* the hero: centred promise and the action itself */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-top: var(--s7); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; top: -120px; left: 50%; width: min(1400px, 100vw); transform: translateX(-50%); height: 640px; pointer-events: none;
  background: radial-gradient(40% 50% at 30% 30%, var(--glow-1), transparent 70%), radial-gradient(35% 45% at 72% 36%, var(--glow-2), transparent 70%), radial-gradient(25% 30% at 85% 70%, var(--glow-3), transparent 70%);
}
/* a few words of a headline in the brand gradient (violet to blue to cyan) */
.grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (forced-colors: active) { .grad { background: none; color: CanvasText; } }
.hero h1 { font-size: var(--fs-hero); line-height: 1; letter-spacing: -.03em; max-width: 13ch; }
.hero .lede { max-width: 36em; }
@media (min-width: 760px) { .hero { padding-top: var(--s8); gap: 24px; } }

.trust { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border: 1px solid var(--line); border-radius: var(--pill); background: color-mix(in srgb, var(--panel) 70%, transparent); color: var(--muted); font-size: 14px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* the hero's action: a wide pill holding an input and its button (stacked on a phone) */
.hero-form { width: 100%; max-width: 640px; margin-top: 8px; gap: 14px; text-align: left; }
.pill-row { display: grid; gap: 10px; }
.pill-row button { width: 100%; }
@media (min-width: 560px) {
  .pill-row { grid-template-columns: 1fr auto; align-items: center; padding: 5px; border: 1px solid var(--field-line); border-radius: var(--pill); background: var(--panel); }
  .pill-row .pill-field input:not([type=checkbox]) { height: 50px; border: 0; background: transparent; box-shadow: none; }
  .pill-row:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent); }
  .pill-row .pill-field input:focus-visible { box-shadow: none; }
  .pill-row button { width: auto; min-height: 50px; }
}
.hero-alt { text-align: center; color: var(--muted); font-size: 15px; }
.hero-alt a { color: var(--text); font-weight: 600; }

/* a phone frame for the vertical demo edit (home hero, /preview/), with its own Play/Pause button */
.phone { position: relative; width: min(64vw, 270px); padding: 9px; border-radius: 42px; background: #06071a; border: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 0 0 1px rgba(139, 92, 246, .18), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 80px -20px var(--glow-1); }
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 33px; background: var(--video-bg); object-fit: cover; }
.phone::before { content: ""; position: absolute; z-index: 1; top: 17px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); border-radius: 99px; background: #06071a; }
.phone-pause { position: absolute; z-index: 2; right: 18px; bottom: 18px; min-height: 44px; padding: 8px 16px; font-size: 14px; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); }
.phone-pause:hover { background: var(--panel-2); }
@media (min-width: 900px) { .phone { width: 300px; } }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.steps li { position: relative; padding: var(--s6) var(--s5); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--muted); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 50%; background: var(--cyan); color: var(--on-bright); font-family: var(--display); font-weight: 800; font-size: 16px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--cyan) 18%, transparent); }
.steps li:nth-child(2) .step-n { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--violet) 20%, transparent); }
@media (max-width: 559px) {
  .steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 18px; border-radius: var(--r-lg); }
  .steps .step-n { grid-row: 1 / span 2; margin: 0; }
}

/* price cards */
.price-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.price-card { display: flex; flex-direction: column; gap: 10px; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel); }
.price-card .pc-name { font-size: 18px; }
.pc-price { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pack-cur { font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-left: 4px; }
.pc-meta { color: var(--muted); font-size: 15px; }
/* the five-pack's emphasis, the same on the home page, /preview/ and /order/: a violet edge and glow (its button is the gradient one) */
.price-card.is-feature { border-color: var(--violet); box-shadow: inset 0 0 0 1px var(--violet), 0 20px 50px -28px var(--glow-1); background: linear-gradient(180deg, color-mix(in srgb, var(--violet) 10%, var(--panel)), var(--panel) 60%); }
.price-card .button { margin-top: auto; }
.price-card .founding-tag + .button, .price-card .pc-meta + .button { margin-top: auto; }
/* a phone: compact rows (name and price on one line, the button under them) */
@media (max-width: 559px) {
  .price-grid { gap: 10px; }
  .price-card { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; align-items: baseline; padding: 16px 18px; border-radius: var(--r-lg); }
  .price-card .pc-name { grid-column: 1; grid-row: 1; }
  .price-card .pc-price { grid-column: 2; grid-row: 1; font-size: 26px; white-space: nowrap; }
  .price-card .pc-meta, .price-card .founding-tag, .price-card .button { grid-column: 1 / -1; }
  .price-card .founding-tag { justify-self: start; }
  .price-card .button { margin-top: 8px; min-height: 44px; }
}
.skip-row { display: flex; justify-content: center; margin-top: var(--s6); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 22px 4px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 16px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 64ch; }
.faq a { color: var(--text); font-weight: 600; }

/* the closing call to action */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: var(--s8); padding: var(--s7) var(--s5);
  border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--panel);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
}
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 80% at 35% 0%, var(--glow-1), transparent 70%), radial-gradient(45% 70% at 70% 10%, var(--glow-2), transparent 70%); }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 54px); max-width: 16ch; }
.cta-band .small { max-width: 52ch; }
@media (min-width: 760px) { .cta-band { margin-top: var(--s9); padding: var(--s8) var(--s6); } }

/* the in-page dialog */
dialog.dlg {
  width: min(460px, calc(100vw - 2 * var(--gutter))); margin: auto; padding: 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-lg);
  background: var(--panel); color: var(--text);
  box-shadow: var(--shadow-lift), 0 30px 80px -20px rgba(0, 0, 0, .6);
}
dialog.dlg::backdrop { background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg form { padding: var(--s5); gap: var(--s4); }
.dlg #dlgmsg { font-size: 17px; line-height: 1.5; }
.dlg .btn-row { justify-content: flex-end; }
.dlg .btn-row button { min-width: 110px; }
@media (max-width: 479px) { .dlg .btn-row button { flex: 1; } }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero > *, .page > .order-head, .page > .intro { animation: rise .5s var(--ease) both; }
  .hero > :nth-child(2) { animation-delay: .04s; }
  .hero > :nth-child(3) { animation-delay: .08s; }
  .hero > :nth-child(4) { animation-delay: .12s; }
  .hero > :nth-child(5) { animation-delay: .16s; }
  dialog.dlg[open] { animation: dlg-in .18s var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- forced colours (Windows high contrast) */
@media (forced-colors: active) {
  input[type=checkbox], input[type=radio] { appearance: auto; -webkit-appearance: auto; }
  input[type=checkbox]::before, input[type=radio]::before { display: none; }
  button, a.button { border: 1px solid ButtonText; }
  input:not([type=checkbox]):not([type=radio]):not([type=file]):focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}
