/* CuePrompt pages under alkorlabs.com/<slug>/. Tokens, fonts, header, footer, buttons, the theme toggle and
   the "Coming soon" badge come from the shared Alkor kit (/kit/alkor.css, alkorlabs repo docs/DESIGN.md);
   this file keeps only CuePrompt's own pieces, built on kit tokens, so every page works in light and dark.
   No external requests. Product colours come from store/icon.svg (navy plate, amber line being read). */

/* ---------------------------------------------------------------- product tokens */

:root {
  --accent: #ffb020;            /* amber fill: the line being read, step numbers, Pro tags */
  --accent-ink: #1b1300;        /* text on an amber fill */
  --accent-text: #8a5300;       /* amber as text and icons on the page background */
  --accent-tint: color-mix(in srgb, var(--accent) 14%, transparent);
  --accent-edge: color-mix(in srgb, var(--accent) 45%, transparent);
  --navy-glow: rgba(29, 53, 99, 0.16);
  --ok: #17803d;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  /* The prompter illustration is always dark, like the app's default theme and a real video call. */
  --stage: rgba(14, 17, 22, 0.94);
  --stage-text: #f2f4f7;
  --stage-dim: #6f7887;
  --stage-bar: #aab3c0;
  --stage-edge: rgba(255, 255, 255, 0.1);
  --stage-shadow: rgba(0, 0, 0, 0.45);
  --stage-cue: #7fb8ff;
  --live: #ff5a4f;
  --live-ring: rgba(255, 90, 79, 0.6);
  --live-ring-off: rgba(255, 90, 79, 0);
  --call-bg: #1b2029;
  --call-a: #2b3340;
  --call-b: #222833;
  --call-main-a: #303a49;
  --call-main-b: #232a35;
  --call-face: #3a4453;
  --call-face-main: #4a3f5c;
  --call-face-2: #355349;
  --call-face-3: #5a4635;
  --call-initials: #c9d1dc;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent-text: #ffc04d;
    --navy-glow: rgba(64, 108, 196, 0.3);
    --ok: #4ccb7a;
  }
}
:root[data-theme="dark"] {
  --accent-text: #ffc04d;
  --navy-glow: rgba(64, 108, 196, 0.3);
  --ok: #4ccb7a;
}

/* ---------------------------------------------------------------- base */

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--body); font-feature-settings: "ss01", "cv11"; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { margin: 0 0 0.5em; color: var(--text); font-family: var(--display); }
h1 { font-weight: 700; letter-spacing: -0.045em; }
h2 { font: 650 clamp(32px, 4.4vw, 52px)/1.05 var(--display); letter-spacing: -0.035em; }
h3 { font: 650 20px/1.25 var(--display); letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
strong { color: var(--text); }
code, kbd { font-family: var(--mono); font-size: 0.88em; }
kbd {
  display: inline-block; padding: 0.05em 0.45em;
  border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px;
  background: var(--surface-2); color: var(--text); white-space: nowrap;
}

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip { position: absolute; left: -999px; top: 12px; z-index: 50; padding: 8px 14px; border-radius: 10px; background: var(--invert); color: var(--on-invert); }
.skip:focus { left: 12px; }

/* ---------------------------------------------------------------- header extras */

.ak-brand .mark { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.ak-nav a.nav-get { color: var(--accent-ink); background: var(--accent); font-weight: 600; }
/* Seven items do not fit next to the brand on a tablet; the kit hides the rest on phones. */
@media (max-width: 1000px) { .ak-nav a.nav-extra { display: none; } }

/* ---------------------------------------------------------------- cards */

.steps li, .card, .table-wrap, .faq details, .summary-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-a), var(--card-b));
}
.steps li, .card { transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
.steps li:hover, .card:hover { transform: translateY(-4px); border-color: var(--line-2); }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(56px, 9vw, 112px) 0 clamp(24px, 4vw, 48px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 6% 0%, var(--navy-glow), transparent 70%),
    radial-gradient(42% 55% at 92% 18%, var(--accent-tint), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, var(--gridline) 1px, transparent 1px), linear-gradient(to bottom, var(--gridline) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000 15%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000 15%, transparent 72%);
}
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); grid-template-columns: 1.05fr 1fr; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 0 0 22px; font-size: clamp(40px, 5.2vw, 70px); line-height: 1; }
.ak-kicker { margin-bottom: 18px; }
.lead { max-width: 36em; color: var(--body-text); font-size: clamp(17px, 1.6vw, 19px); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 30px 0 18px; }
.fineprint { color: var(--muted); font-size: 15px; }

/* The illustration: a video call with the prompter floating at the top. */
.mock {
  position: relative; aspect-ratio: 16 / 11;
  border-radius: var(--radius); overflow: hidden;
  background: var(--call-bg); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px var(--shadow);
}
.mock-call {
  position: absolute; inset: 0; padding: 12px;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 3fr 1fr; gap: 10px;
}
.tile {
  display: grid; place-items: center; border-radius: 12px;
  background: linear-gradient(160deg, var(--call-a), var(--call-b));
}
.tile-main { grid-column: 1 / -1; place-items: end center; padding-bottom: 3%; background: linear-gradient(160deg, var(--call-main-a), var(--call-main-b)); }
.tile span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--call-face); color: var(--call-initials); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em;
}
.tile-main span { width: 64px; height: 64px; font-size: 1.2rem; background: var(--call-face-main); }
.tile:nth-child(3) span { background: var(--call-face-2); }
.tile:nth-child(4) span { background: var(--call-face-3); }
.mock-prompter {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 76%; padding: 10px 20px 14px;
  background: var(--stage); color: var(--stage-text);
  border: 1px solid var(--stage-edge); border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 30px var(--stage-shadow);
  font: 600 clamp(0.8rem, 1.7vw, 1.12rem)/1.5 var(--body);
  white-space: nowrap; overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 0.5rem;
  font: 600 0.72rem/1 var(--body); letter-spacing: 0.02em; color: var(--stage-bar);
  margin-bottom: 0.6rem;
}
.mock-bar .time { margin-left: auto; font-family: var(--mono); }
.live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 var(--live-ring); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px var(--live-ring-off); } 100% { box-shadow: 0 0 0 0 var(--live-ring-off); } }
.mock-prompter p { margin: 0; }
.mock-prompter .done { color: var(--stage-dim); }
.mock-prompter .line-now { position: relative; }
.mock-prompter .line-now::before {
  content: ""; position: absolute; left: -18px; top: 50%; translate: 0 -50%;
  border: 6px solid transparent; border-left-color: var(--accent);
}
.mock-prompter mark { background: var(--accent); color: var(--accent-ink); border-radius: 4px; padding: 0 0.15em; }
.mock-prompter .cue { color: var(--stage-cue); font-weight: 500; }
.mock-prompter .later { opacity: 0.55; }

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(80px, 10vw, 128px) 0 0; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head h2 { max-width: 760px; }
.section-head p { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; padding: 28px 26px 26px; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 26px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font: 700 16px/1 var(--display);
}
.steps p { color: var(--muted); margin: 0; font-size: 15.5px; }

.callout {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 18px; padding: 24px 26px;
  border-radius: var(--radius); background: var(--accent-tint);
  border: 1px solid var(--accent-edge);
}
.callout svg { flex: none; width: 28px; height: 28px; color: var(--accent-text); margin-top: 0.1rem; }
.callout p { margin: 0; color: var(--body-text); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { padding: 26px 24px 24px; }
.card svg {
  width: 44px; height: 44px; margin-bottom: 22px; padding: 10px;
  border-radius: 14px; background: var(--surface-2); color: var(--accent-text);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.tag {
  display: inline-block; vertical-align: 0.2em; margin-left: 0.35rem;
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 700 11px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- pricing table */

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
caption { text-align: left; padding: 1rem 1.2rem 0; font-weight: 700; }
th, td { padding: 16px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody th { font-weight: 500; color: var(--text); }
td { color: var(--body-text); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
thead th { color: var(--muted); font: 600 12.5px/1.2 var(--body); letter-spacing: 0.14em; text-transform: uppercase; }
td.c, th.c { text-align: center; white-space: nowrap; }
.yes { color: var(--ok); font-weight: 800; }
.no { color: var(--faint); }
.price-row th, .price-row td { background: var(--surface-2); color: var(--text); font: 650 20px/1.2 var(--display); letter-spacing: -0.01em; }
.pricing-notes { margin-top: 22px; color: var(--muted); max-width: 52em; }
@media (max-width: 560px) {
  table { font-size: 15px; }
  th, td { padding: 13px 10px; }
  th:first-child, td:first-child { padding-left: 16px; }
  td.c, th.c { white-space: normal; }
  tbody th { width: 52%; }
  .price-row th, .price-row td { font-size: 17px; }
}

/* ---------------------------------------------------------------- promises */

.promises { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.promises li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); color: var(--body-text); font-size: 17px; }
.promises svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--surface-2); color: var(--ok); margin-top: 0.05rem; }

/* ---------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  color: var(--text); font: 600 17px/1.4 var(--body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--body-text); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- legal / support pages */

.page { padding: clamp(56px, 9vw, 104px) 0 0; }
.page h1 { margin-bottom: 14px; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.page h2 { margin: 44px 0 10px; font: 650 24px/1.25 var(--display); letter-spacing: -0.02em; }
.page h3 { margin-top: 1.4rem; font-size: 19px; }
.page p, .page li { color: var(--body-text); }
.page ul, .page ol { padding-left: 1.3rem; }
.page li { margin-bottom: 0.35rem; }
.page a { color: var(--text); text-decoration-color: var(--underline); }
.page a:hover { text-decoration-color: var(--accent-text); }
.page .meta { color: var(--faint); font-size: 14px; }
.page .lead { font-size: 19px; }
.page .muted { color: var(--muted); }
.summary-box { padding: 20px 24px; margin: 28px 0; background: linear-gradient(180deg, var(--accent-tint), var(--card-b)); }
.summary-box ul { margin: 0; }
.contact-card {
  display: grid; gap: 4px; margin: 24px 0 8px; padding: 24px 26px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background:
    radial-gradient(120% 140% at 0% 0%, var(--accent-tint), transparent 55%),
    radial-gradient(120% 140% at 100% 100%, var(--navy-glow), transparent 55%),
    var(--bg-2);
}
.page .contact-card a { font: 650 clamp(20px, 2.6vw, 26px)/1.25 var(--display); letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.page .contact-card a:hover { text-decoration: underline; }
.page .toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 24px 0 0; font-size: 14.5px; }
.page .toc li { margin: 0; }
.page .toc a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); text-decoration: none; }
.page .toc a:hover { color: var(--text); background: var(--surface-2); }
.page table { margin: 0; }
.page .table-wrap { margin: 16px 0; }

.notfound { text-align: center; padding: 6rem 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .mock { aspect-ratio: 4 / 3.4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
  .steps li:hover, .card:hover, .ak-btn:hover { transform: none; }
}
