/* CueMeNow site: one stylesheet for every page. */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&display=swap');

:root {
  --mist: #eef2f7;
  --paper: #ffffff;
  --ink: #161a2b;
  --slate: #5a6378;
  --line: #d7dde8;
  --screen: #1d2236;
  --screen-2: #272d45;
  --gold: #ffd166;
  --gold-deep: #b98500;
  --onair: #e5484d;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(680px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { padding: 22px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 9px; }
.brand-icon { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--slate); }
.nav a.btn { color: #fff; }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem/1 var(--body);
  padding: 14px 22px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none; cursor: pointer;
}
.btn:hover { background: #2a3150; border-color: #2a3150; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(22, 26, 43, 0.06); }
.btn.small { padding: 9px 16px; font-size: 0.95rem; }
.btn[aria-disabled='true'] { opacity: 0.5; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; }
.hero .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero .container { grid-template-columns: 1fr; gap: 36px; } }
.hero p.lead { font-size: 1.2rem; color: var(--slate); margin: 22px 0 28px; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .fine { color: var(--slate); font-size: 0.95rem; margin-top: 16px; }

/* The laptop-in-a-call demo */
.stage { position: relative; }
.laptop {
  background: #0f1220; border-radius: 22px 22px 10px 10px; padding: 26px 14px 14px;
  box-shadow: 0 30px 60px -30px rgba(22, 26, 43, 0.55);
  position: relative;
}
.laptop::before { /* camera */
  content: ''; position: absolute; top: 10px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: #3a4262; box-shadow: inset 0 0 0 2px #262c45;
}
.screen { background: var(--screen); border-radius: 8px; overflow: hidden; position: relative; aspect-ratio: 16 / 10; }
.call-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 0.75rem; color: #b6bdd6; background: #171b2c; }
.sharing { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.sharing::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--onair); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; height: calc(100% - 64px); }
.tile { border-radius: 6px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 6px 8px; font-size: 0.72rem; color: #e7eaf5; }
.tile .head { position: absolute; left: 50%; top: 46%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.tile .head::after { content: ''; position: absolute; left: 50%; top: 100%; width: 170%; height: 90%; transform: translateX(-50%); border-radius: 50% 50% 0 0; background: inherit; }
.t1 { background: linear-gradient(160deg, #3b4a7a, #2a3358); } .t1 .head { background: #c9a58c; }
.t2 { background: linear-gradient(160deg, #46566b, #2e3a4c); } .t2 .head { background: #8e6a52; }
.t3 { background: linear-gradient(160deg, #5a4b6e, #3a3150); } .t3 .head { background: #e1bfa4; }
.t4 { background: linear-gradient(160deg, #3d5a58, #29403f); } .t4 .head { background: #a77c5f; }
.controls { position: absolute; left: 0; right: 0; bottom: 0; height: 28px; display: flex; justify-content: center; gap: 8px; align-items: center; background: #171b2c; }
.controls i { width: 16px; height: 16px; border-radius: 50%; background: #343b58; }
.controls i.end { background: var(--onair); width: 26px; border-radius: 8px; }

/* The prompter overlay itself */
.prompter {
  position: absolute; top: 34px; left: 50%; transform: translateX(-50%);
  width: 76%; height: 34%;
  background: rgba(16, 17, 20, 0.86); border-radius: 10px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.prompter .lines { position: absolute; left: 0; right: 0; top: 0; padding: 0 16px 0 22px; transition: transform 0.45s ease; }
.prompter .ln { font: 600 clamp(0.8rem, 1.55vw, 1.05rem)/1.55 var(--body); color: #f4f4f5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompter .w.said { opacity: 0.35; transition: opacity 0.25s; }
.prompter .kw { box-shadow: inset 0 -2px 0 var(--gold); }
.prompter .tag { display: inline-block; font: 700 0.6rem/1 var(--body); color: #111; background: var(--gold); border-radius: 3px; padding: 3px 5px; margin-right: 6px; vertical-align: 2px; }
.prompter .tag.other { background: #7dd3fc; }
.prompter::before { /* reading line marker */
  content: ''; position: absolute; left: 7px; top: calc(33% - 5px); z-index: 1;
  border: 5px solid transparent; border-left: 7px solid var(--gold);
}
.stage.viewer .prompter { opacity: 0; transform: translateX(-50%) scale(0.97); }
.viewer-note {
  position: absolute; top: 44px; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; color: #cdd3e6; background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px; border-radius: 999px; opacity: 0; transition: opacity 0.35s; white-space: nowrap;
}
.stage.viewer .viewer-note { opacity: 1; }

.switch { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; cursor: pointer; font-weight: 700; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track { width: 46px; height: 26px; border-radius: 999px; background: #c5ccda; position: relative; transition: background 0.2s; flex: none; }
.switch .track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch input:checked + .track { background: var(--ink); }
.switch input:checked + .track::after { transform: translateX(20px); }
.switch input:focus-visible + .track { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.switch .hint { font-weight: 400; color: var(--slate); }

/* ---------- sections ---------- */
section.block { padding: 84px 0; }
section.block.paper { background: var(--paper); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin-top: 14px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .benefits { grid-template-columns: 1fr; gap: 28px; } }
.benefits h3 { margin-bottom: 8px; }
.benefits p { color: var(--slate); margin: 0; }
.benefit-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); display: grid; place-items: center; margin-bottom: 16px; }
.benefit-icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); font: 800 2.6rem/1 var(--display); color: var(--gold-deep); display: block; margin-bottom: 12px; }
.steps p { color: var(--slate); margin: 6px 0 0; }

/* Tags: write it / see it */
.tagdemo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
@media (max-width: 820px) { .tagdemo { grid-template-columns: 1fr; } }
.tagdemo > div { padding: 26px 28px; }
.tagdemo .write { background: #fbfcfe; }
.tagdemo .see { background: var(--screen); color: #f4f4f5; }
.tagdemo h3 { font-size: 1rem; margin-bottom: 14px; color: var(--slate); }
.tagdemo .see h3 { color: #aab2cc; }
.tagdemo pre { margin: 0; white-space: pre-wrap; font: 0.95rem/1.7 Consolas, 'Cascadia Mono', monospace; color: var(--ink); }
.tagdemo pre b { color: #7a4f00; font-weight: 700; }
.render .sec { font: 700 0.75rem/1 var(--body); letter-spacing: 0.06em; color: #aab2cc; margin: 4px 0 10px; }
.render .who { display: inline-block; font: 700 0.7rem/1 var(--body); color: #111; background: var(--gold); border-radius: 4px; padding: 4px 7px; margin-bottom: 6px; }
.render .who.other { background: #7dd3fc; }
.render p { font-size: 1.15rem; line-height: 1.55; margin: 0 0 14px; }
.render .dim { opacity: 0.55; }
.render .kw { background: rgba(255, 209, 102, 0.2); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 3px; padding: 0 2px; }
.render .note { font-size: 0.75rem; font-style: italic; font-weight: 700; color: #7dd3fc; background: rgba(125, 211, 252, 0.14); border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 48px; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }
.features div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.features h3 { font-size: 1.05rem; margin-bottom: 4px; }
.features p { margin: 0; color: var(--slate); }

.privacy-band { background: var(--screen); color: #eef1fa; }
.privacy-band .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .privacy-band .container { grid-template-columns: 1fr; } }
.privacy-band h2 { margin-bottom: 14px; }
.privacy-band p { color: #c3c9dc; font-size: 1.1rem; margin: 0; }
.privacy-band ul { margin: 0; padding-left: 1.2em; color: #e2e6f3; }
.privacy-band li { margin: 8px 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.plan.main { border: 2px solid var(--ink); }
.plan h3 { font-size: 1.15rem; }
.plan .price { font: 800 2.6rem/1 var(--display); margin: 16px 0 4px; letter-spacing: -0.02em; }
.plan .price span { font: 400 1rem var(--body); color: var(--slate); letter-spacing: 0; }
.plan .sub { color: var(--slate); margin-bottom: 18px; }
.plan ul { padding-left: 1.1em; margin: 0 0 24px; color: var(--ink); }
.plan li { margin: 6px 0; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font: 700 1.1rem/1.4 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--slate); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--slate); margin: 12px 0 0; max-width: 42em; }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--slate); font-size: 0.95rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--slate); }

/* ---------- simple pages: legal, buy, thanks ---------- */
.page { padding: 24px 0 80px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 18px 0 10px; }
.page .lead { color: var(--slate); font-size: 1.15rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: #2d3346; }
.legal .updated { color: var(--slate); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin: 18px 0; }
.panel.strong { border: 2px solid var(--ink); }
.muted { color: var(--slate); font-size: 0.95rem; }
ul.ticks { list-style: none; padding: 0; margin: 16px 0; }
ul.ticks li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep); transform: rotate(-45deg); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
select { font: inherit; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.code { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 700 1.3rem/1.4 Consolas, 'Cascadia Mono', monospace; letter-spacing: 1px; background: var(--paper); border: 2px dashed #b9c1d3; border-radius: 12px; padding: 14px 16px; margin: 10px 0; }
.code button { font: 700 0.85rem var(--body); letter-spacing: 0; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; }
.steps-list { padding-left: 1.3em; } .steps-list li { margin: 6px 0; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #c5ccda; border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* Contact form */
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form .req { font-weight: 400; color: var(--slate); }
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit; font-weight: 400; width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid #c5ccda; background: var(--paper); color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 3px solid var(--gold-deep); outline-offset: 1px; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: 0.6; cursor: default; }
