/* Notera — clinical white, calm blue-green, pen-blue for the doctor's hand. */
:root {
  --bg: #F5F9F8;
  --bg-2: #EAF2F0;
  --surface: #FFFFFF;
  --ink: #0E2426;
  --ink-2: #29403F;
  --muted: #536767;
  --line: rgba(14, 36, 38, 0.10);
  --line-2: rgba(14, 36, 38, 0.17);
  --accent: #0B7A71;
  --accent-deep: #075E57;
  --accent-soft: #DCEFEB;
  --accent-ink: #fff;
  --pen: #24518A;
  --pen-soft: #E3ECF7;
  --rec: #C6372C;
  --amber: #8A5300;
  --amber-soft: #FBEFD9;
  --font-display: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --font-ui: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --font-te: 'Noto Sans Telugu', 'Nirmala UI', 'Gautami', sans-serif;
  --font-hi: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', sans-serif;
  --shadow-sheet: 0 1px 2px rgba(14,36,38,.05), 0 2px 6px -2px rgba(14,36,38,.06), 0 30px 60px -32px rgba(14,56,58,.30);
}

body { background: var(--bg); overflow-x: clip; }
em { font-style: italic; }
h1 em, h2 em { color: var(--accent); }
.te, [lang='te'] { font-family: var(--font-te); }
.hi, [lang='hi'] { font-family: var(--font-hi); }

.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; transition: transform var(--t-fast) var(--ease-out); }
.skip:focus { transform: translateY(60px); }

/* Buttons — squarer than Voxa's pills: clinical, not playful */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.btn-lg { height: 50px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 10px 24px -14px rgba(11,122,113,.9); }
.btn-line { border: 1px solid var(--line-2); color: var(--ink); background: var(--surface); }
.btn-ghost { color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn svg { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: var(--ink-2); }
  .btn-accent:hover { background: var(--accent-deep); }
  .btn-line:hover { border-color: var(--accent); color: var(--accent-deep); }
  .btn-ghost:hover { background: rgba(14,36,38,.05); }
  .btn-white:hover { background: var(--accent-soft); }
  .btn:hover svg { transform: translateX(3px); }
}

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color var(--t-ui) ease, box-shadow var(--t-ui) ease; }
.nav[data-scrolled] { background: rgba(245,249,248,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 27px; line-height: 1; letter-spacing: -0.015em; }
.brand-by { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--muted); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { padding: 8px 11px; border-radius: 8px; font-size: 14px; color: var(--ink-2); transition: background-color var(--t-fast) ease, color var(--t-fast) ease; }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { background: rgba(14,36,38,.05); color: var(--ink); } }
.nav-cta { display: flex; gap: 6px; }
@media (max-width: 1100px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 640px) { .hide-sm { display: none; } .brand-by { margin-left: 0; padding-left: 8px; } .brand-name { font-size: 23px; } .nav-in { gap: 12px; } }
@media (max-width: 380px) { .brand-by { display: none; } }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-deep); font-weight: 500; }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 18px; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.022em; }
h2 { font-size: clamp(32px, 4.3vw, 54px); line-height: 1.06; max-width: 21ch; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }
.section { padding: clamp(76px, 10vw, 128px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { text-align: center; }
.sec-head.center h2 { margin-inline: auto; }
.sub { margin-top: 18px; color: var(--muted); max-width: 56ch; }
.center .sub { margin-inline: auto; }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 60%);
}
.hero-head { display: grid; gap: clamp(22px, 3vw, 34px); }
.hero-side { display: grid; grid-template-columns: minmax(0, 56ch) auto; justify-content: space-between; gap: 20px 48px; align-items: end; }
.hero-side .hero-actions { margin-top: 0; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.0; margin-top: 20px; }
.hero h1 em { display: inline-block; }
.lede { font-size: clamp(16px, 1.3vw, 18px); color: var(--ink-2); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.hero-copy > *, .hero-side > * { animation: rise 800ms var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: 60ms; }
.hero-side > :nth-child(1) { animation-delay: 120ms; }
.hero-side > :nth-child(2) { animation-delay: 180ms; }
.stage { animation: rise 1000ms 240ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.hero-facts li { display: flex; flex-direction: column; font-size: 13.5px; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--accent-soft); }
.hero-facts strong { color: var(--ink); font-size: 15px; font-weight: 600; }

/* Stage: consultation on the left, prescription on the right */
.stage {
  position: relative; margin-top: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr auto 1.08fr; gap: 0; align-items: stretch;
  padding: 14px; border-radius: 26px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.pane { min-width: 0; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.pane-listen { display: flex; flex-direction: column; padding: 18px 18px 0; background: #FBFDFC; }
.pl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rec { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px 5px 9px; border-radius: 8px; background: #FCEBE9; color: #9E2A21; font-size: 13px; font-weight: 500; }
.rec .mono { font-size: 12.5px; color: #7E231C; }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.4s ease-in-out infinite; }
.rec[data-off] { background: var(--accent-soft); color: var(--accent-deep); }
.rec[data-off] .mono { color: var(--accent-deep); }
.rec[data-off] .rec-dot { background: var(--accent); animation: none; }
@keyframes blink { 50% { opacity: .25; } }
.lang-chips { display: flex; gap: 4px; }
.lang-chips span { font-size: 12px; padding: 3px 8px; border-radius: 6px; color: var(--muted); border: 1px solid var(--line); transition: background-color var(--t-ui) ease, color var(--t-ui) ease, border-color var(--t-ui) ease; }
.lang-chips span:nth-child(1) { font-family: var(--font-te); }
.lang-chips span:nth-child(2) { font-family: var(--font-hi); }
.lang-chips span[data-on] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pl-consent { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11.5px; color: var(--accent-deep); letter-spacing: .02em; }

.script {
  flex: 1; height: 468px; margin-top: 8px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding-bottom: 16px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
}
.sl { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line-2); transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); }
.sl[data-enter] { opacity: 0; transform: translateY(10px); }
.sl-who { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; line-height: 1.3; }
.sl-who b { display: block; font-weight: 500; color: var(--ink); }
.sl-dr .sl-who b { color: var(--accent-deep); }
.sl-pt .sl-who b { color: var(--pen); }
.sl-text { font-size: 15px; line-height: 1.5; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }
.sl-gloss { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); font-family: var(--font-ui); }
.sl mark { background: linear-gradient(transparent 60%, rgba(11,122,113,.24) 60%); color: inherit; border-radius: 1px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(2) infinite; }

.stage-arrow { display: grid; place-items: center; width: 56px; color: var(--accent); }
.stage-arrow svg { transition: transform var(--t-ui) var(--ease-out); }
.stage[data-busy] .stage-arrow svg { animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(4px); } }

.pane-note { padding: 10px; background: transparent; border: 0; }
.rx { height: 100%; padding: 22px 24px 18px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sheet); border: 1px solid var(--line); display: flex; flex-direction: column; }
.rx-head, .sheet-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.rx-clinic { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.1; color: var(--accent-deep); letter-spacing: -.01em; }
.rx-sub { font-size: 12px; color: var(--muted); }
.rx-doc { text-align: right; font-size: 13.5px; font-weight: 600; }
.rx-doc .rx-sub { font-weight: 400; }
.rx-patient { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 9px 0; font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.rx-fields { display: grid; margin: 4px 0 0; }
.nf { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); min-height: 44px; align-items: start; }
.nf:last-child { border-bottom: 0; }
.nf::before { content: ''; position: absolute; inset: 2px -8px; border-radius: 8px; background: var(--accent-soft); opacity: 0; transition: opacity 900ms var(--ease-out); pointer-events: none; }
.nf[data-flash]::before { opacity: 1; transition-duration: 120ms; }
.nf dt { position: relative; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.nf dd { position: relative; margin: 0; font-size: 14px; line-height: 1.45; min-width: 0; }
.skel { display: block; height: 10px; margin-top: 6px; width: 86%; border-radius: 5px; background: linear-gradient(90deg, #EDF2F1, #E3EBEA, #EDF2F1); }
.skel.short { width: 48%; }
.nf-rx { min-height: 58px; }
.rx-sym { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--accent-deep); letter-spacing: -.02em; text-transform: none; }
.rx-sym i { font-size: .62em; }
.med { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.med b { font-weight: 600; }
.med .mono { font-size: 13px; color: var(--accent-deep); }
.med small { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }

.rx-sign { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 7px; background: var(--amber-soft); color: var(--amber); transition: background-color var(--t-ui) ease, color var(--t-ui) ease; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill[data-state='signed'] { background: var(--accent-soft); color: var(--accent-deep); }
.sig { width: 170px; text-align: center; }
.sig-ink { width: 160px; height: 44px; margin: 0 auto; color: var(--pen); clip-path: inset(0 100% 0 0); transition: clip-path 1100ms var(--ease-in-out); }
.sig-ink[data-on] { clip-path: inset(0 0 0 0); }
.sig-line { border-top: 1px solid var(--line-2); padding-top: 4px; font-size: 11px; color: var(--muted); }
.stage-note { grid-column: 1 / -1; padding: 12px 6px 0; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------------- How ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 16px 16px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.step-vis { height: 124px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.step-n { font-size: 11.5px; letter-spacing: .08em; color: var(--accent-deep); text-transform: uppercase; margin-bottom: 6px; }
.step h3 { margin-bottom: 8px; }
.step p:last-child { font-size: 14.5px; color: var(--muted); }

.v-consent { display: grid; gap: 10px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px -12px rgba(14,36,38,.3); }
.vc-q { font-size: 13px; }
.vc-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--accent-deep); font-weight: 500; }
.vc-tog { width: 30px; height: 18px; border-radius: 9px; background: var(--accent); position: relative; }
.vc-tog i { position: absolute; top: 2px; left: 14px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.v-listen { display: flex; align-items: center; gap: 4px; height: 64px; }
.v-listen i { width: 5px; height: 100%; border-radius: 3px; background: var(--accent); transform: scaleY(var(--s, .3)); transform-origin: center; }
.v-listen i:nth-child(3n) { background: var(--pen); }
.v-listen[data-live] i { animation: lvl 1.1s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--d) * -1ms); }
@keyframes lvl { from { transform: scaleY(.18); } to { transform: scaleY(var(--s, .8)); } }
.v-draft { width: 70%; display: grid; gap: 7px; }
.v-draft b { height: 5px; width: 34%; border-radius: 3px; background: var(--accent); opacity: .7; margin-top: 4px; }
.v-draft i { height: 8px; width: calc(var(--w) * 100%); border-radius: 4px; background: #D9E4E2; }
.v-sign { display: grid; justify-items: center; gap: 10px; color: var(--pen); }
.v-sign svg { width: 150px; height: 42px; }
.vs-btn { font-size: 12.5px; font-weight: 500; padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; }

/* ---------------- What it writes ---------------- */
.writes { background: var(--surface); border-block: 1px solid var(--line); }
.writes-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.anatomy { display: grid; gap: 2px; }
.anatomy li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.anatomy li:first-child { border-top: 0; }
.anatomy h3 { font-size: 16px; }
.anatomy p { font-size: 14.5px; color: var(--muted); }
.pin { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 500; background: var(--accent-soft); color: var(--accent-deep); flex: none; }

.sheet { position: sticky; top: 92px; margin: 0; padding: 26px 28px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sheet); }
.sheet-body { margin: 6px 0 0; }
.sheet-body > div { position: relative; display: grid; grid-template-columns: 24px 108px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sheet-body > div:last-child { border-bottom: 0; }
.sheet-body .pin { width: 20px; height: 20px; font-size: 10.5px; margin-top: 1px; }
.sheet-body dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.sheet-body dd { margin: 0; font-size: 14px; min-width: 0; }
.mono-ish { font-feature-settings: 'tnum' 1; }
.medtab { width: 100%; border-collapse: collapse; font-size: 13px; }
.medtab th { text-align: left; font-weight: 500; font-size: 11px; color: var(--muted); padding: 0 8px 6px 0; border-bottom: 1px solid var(--line); }
.medtab td { padding: 6px 8px 6px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.medtab tr:last-child td { border-bottom: 0; }
.medtab td:first-child { font-weight: 600; }
.medtab .mono { color: var(--accent-deep); }
.sheet-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }

.format-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(36px, 5vw, 56px); }
.format-chips li { font-size: 14px; padding: 8px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------------- Languages ---------------- */
.lang-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lcard { padding: 22px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.lw { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3; font-family: var(--font-display); }
.lw.te { font-family: var(--font-te); font-weight: 500; }
.lw.hi { font-family: var(--font-hi); font-weight: 500; }
.lcard-mix { background: var(--ink); color: #fff; border-color: var(--ink); }
.lcard-mix .lw { font-size: clamp(22px, 2.2vw, 28px); }
.lcard-mix .ln { color: #B7CCC9; }
.ln { margin-top: 8px; font-size: 14px; color: var(--muted); }

.translate { margin-top: 16px; display: grid; grid-template-columns: 1.2fr auto 1fr; gap: 20px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.tr-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.tr-line { font-size: clamp(19px, 2vw, 24px); line-height: 1.75; }
.sg { padding: 2px 4px; border-radius: 5px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sg-te { background: #DCEFEB; }
.sg-hi { background: #E3ECF7; }
.sg-en { background: #F1EEE6; }
.tr-key { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.tr-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: -8px; }
.k-te { background: #BFE3DB; } .k-hi { background: #C9DAF0; } .k-en { background: #E6E0D2; }
.tr-arrow { color: var(--accent); }
.tr-wrote { padding: 18px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.tr-field { font-size: 16px; }
.tr-field span { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.lang-note { margin-top: 20px; font-size: 14.5px; color: var(--muted); max-width: 70ch; }

/* ---------------- Console preview ---------------- */
.console-prev { background: var(--bg-2); }
.cp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cp-copy .btn { margin-top: 28px; }
.cp-frame { display: block; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sheet); overflow: hidden; transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) { .cp-frame:hover { box-shadow: 0 1px 2px rgba(14,36,38,.05), 0 40px 70px -32px rgba(14,56,58,.4); } }
.cp-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.cp-mark { width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.cp-pill { margin-left: auto; font-size: 10.5px; padding: 2px 8px; border-radius: 6px; background: var(--amber-soft); color: var(--amber); }
.cp-body { padding: 8px; }
.cp-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 10px; }
.cp-row + .cp-row { border-top: 1px solid var(--line); }
.cp-now { background: var(--bg); }
.tok { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; background: var(--bg-2); color: var(--ink-2); }
.cp-row b { display: block; font-weight: 600; font-size: 14.5px; }
.cp-row small { font-size: 12.5px; color: var(--muted); }
.st { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 7px; background: var(--bg); color: var(--muted); white-space: nowrap; }
.st-live { background: #FCEBE9; color: #9E2A21; }
.st-draft { background: var(--amber-soft); color: var(--amber); }
.st-ok { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------------- Safety ---------------- */
.safety { background: var(--ink); color: #E4EFEC; }
.safety .kicker { color: #7FD1C4; }
.safety h2 { color: #fff; }
.safety h2 em { color: #7FD1C4; }
.safety .sub { color: #A9C1BD; }
.safety-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.safety .sec-head { position: sticky; top: 100px; }
.safe-list { display: grid; }
.safe-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid rgba(228,239,236,.14); }
.safe-list li:first-child { border-top: 0; padding-top: 0; }
.sn { font-size: 12px; color: #7FD1C4; padding-top: 3px; }
.safe-list h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.safe-list p { color: #B4CAC6; font-size: 15px; }

/* ---------------- Pricing ---------------- */
.launch-tag { display: inline-block; margin: -4px auto 18px; font-size: 12px; padding: 5px 12px; border-radius: 8px; background: var(--amber-soft); color: var(--amber); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.plan-feature { border: 1.5px solid var(--accent); box-shadow: 0 30px 60px -36px rgba(11,122,113,.55); }
.plan-tag { position: absolute; top: -12px; left: 24px; font-size: 11px; padding: 4px 10px; border-radius: 7px; background: var(--accent); color: #fff; letter-spacing: .04em; }
.plan-for { margin-top: 4px; font-size: 14px; color: var(--muted); min-height: 2.9em; }
.price { margin-top: 18px; font-family: var(--font-display); font-size: 48px; line-height: 1; letter-spacing: -.02em; }
.price-talk { font-size: 40px; }
.price-mo { margin-top: 6px; font-size: 14px; color: var(--muted); }
.plan .ticks { margin: 22px 0 26px; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14.5px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 1.7px solid var(--accent); border-bottom: 1.7px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* ---------------- FAQ ---------------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; text-align: left; font-size: 16.5px; font-weight: 500; }
.qa button i { position: relative; width: 14px; height: 14px; flex: none; }
.qa button i::before, .qa button i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 1.6px; border-radius: 1px; background: var(--ink); transition: transform var(--t-ui) var(--ease-out); }
.qa button i::after { transform: rotate(90deg); }
.qa button[aria-expanded='true'] i::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-ui) var(--ease-out); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 2px 20px; color: var(--muted); max-width: 62ch; }
.qa button[aria-expanded='true'] + .qa-a { grid-template-rows: 1fr; }
@media (hover: hover) and (pointer: fine) { .qa button:hover span { color: var(--accent-deep); } }

/* ---------------- CTA ---------------- */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.cta-in { position: relative; overflow: hidden; text-align: center; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 64px); border-radius: 28px; background: var(--accent-deep); color: #fff; }
.cta-in h2 { margin-inline: auto; color: #fff; position: relative; }
.cta-in h2 em { color: #BDEBE3; }
.cta-in p { position: relative; margin: 18px auto 30px; max-width: 54ch; color: #D3EEE9; }
.cta-in .btn { position: relative; }
.cta-lines { position: absolute; inset: 0; display: grid; align-content: center; gap: 30px; opacity: .14; }
.cta-lines i { height: 1px; background: #fff; }

.footer { background: var(--surface); border-top: 1px solid var(--line); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .lang-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .hero-side { grid-template-columns: 1fr; }
  .hero-side .hero-actions { margin-top: 4px; }
  .stage { grid-template-columns: 1fr; }
  .stage-arrow { width: auto; height: 44px; transform: rotate(90deg); }
  .script { height: 330px; }
  .writes-grid, .cp-grid, .safety-grid, .faq-grid { grid-template-columns: 1fr; }
  .sheet, .safety .sec-head { position: static; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .translate { grid-template-columns: 1fr; }
  .tr-arrow { transform: rotate(90deg); margin: -4px auto; }
}
@media (max-width: 640px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .stage { padding: 8px; border-radius: 20px; margin-inline: -4px; }
  .pane-listen { padding: 14px 14px 0; }
  .pane-note { padding: 4px; }
  .rx { padding: 16px 16px 14px; }
  .rx-head { flex-direction: column; gap: 6px; }
  .rx-doc { text-align: left; }
  .nf { grid-template-columns: 1fr; gap: 2px; min-height: 58px; }
  .nf-rx { min-height: 72px; }
  .nf dt { padding-top: 0; }
  .sl { grid-template-columns: 1fr; gap: 2px; }
  .sl-who b { display: inline; margin-right: 6px; }
  .sig { width: 130px; }
  .sig-ink { width: 124px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .sheet { padding: 18px 16px 14px; }
  .sheet-head { flex-direction: column; gap: 6px; }
  .sheet-head .rx-doc { text-align: left; }
  .sheet-body > div { grid-template-columns: 22px 1fr; }
  .sheet-body dd { grid-column: 2; }
  .medtab th:nth-child(3), .medtab td:nth-child(3) { display: none; }
  .lang-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lcard { padding: 18px 16px; }
  .cp-row { grid-template-columns: 36px 1fr auto; gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
