/* dcs-site — the Kural website, in his design of 27 Sep 2026 (Claude Design, "Kural website and API console", from brief
 * 03): teal on black; Sora for headings and keys, Hanken Grotesk for text, IBM Plex Mono for prices and codes, Source
 * Serif 4 on the sample paper. The fonts are the app's own files, served from this origin (SIL OFL, licences beside
 * them). The page runs no script: the hero's one moment is CSS, plays once, and is simply in place with reduced motion. */

@font-face{font-family:"Hanken Grotesk";font-weight:400 700;font-display:swap;src:url(/assets/fonts/hanken-grotesk-wght-latin.woff2) format("woff2");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:"Hanken Grotesk";font-weight:400 700;font-display:swap;src:url(/assets/fonts/hanken-grotesk-wght-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-weight:600;font-display:swap;src:url(/assets/fonts/sora-wght-latin.woff2) format("woff2");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:"Sora";font-weight:600;font-display:swap;src:url(/assets/fonts/sora-wght-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sora";font-weight:700;font-display:swap;src:url(/assets/fonts/sora-700-latin.woff2) format("woff2");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:"Sora";font-weight:700;font-display:swap;src:url(/assets/fonts/sora-700-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-500-latin.woff2) format("woff2");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:"IBM Plex Mono";font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-600-latin.woff2) format("woff2");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:"IBM Plex Mono";font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-600-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-weight:400 700;font-display:swap;src:url(/assets/fonts/source-serif-4-wght-latin.woff2) format("woff2");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:"Source Serif 4";font-weight:400 700;font-display:swap;src:url(/assets/fonts/source-serif-4-wght-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root {
  --night: #07090b; --surface: #0d1114; --raised: #141a1e; --ink: #eef1f4; --ink-soft: #9aa3ad;
  --teal: #4f9e92; --teal-light: #7fb6ab; --key-ink: #04201b; --amber: #cbb489; --red: #e0786e;
  --paper: #e8e6e1; --paper-ink: #16181a; --edge: rgba(255,255,255,.07); --edge-strong: rgba(255,255,255,.16);
  --display: 'Sora', system-ui, sans-serif; --text: 'Hanken Grotesk', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace; --serif: 'Source Serif 4', Georgia, serif;
  --ease: cubic-bezier(.2,.7,.3,1); --gutter: 16px;
}
@media (min-width: 700px) { :root { --gutter: 40px; } }
@media (min-width: 1280px) { :root { --gutter: 100px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ol, ul, dl { margin: 0; }
a { color: var(--teal-light); text-underline-offset: 4px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.wrap { width: 100%; max-width: calc(1240px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.small { font-size: 15px; line-height: 22px; color: var(--ink-soft); }
.mono { font-family: var(--mono); font-weight: 500; }
.soft { color: var(--ink-soft); }
.pending { color: var(--amber); border-bottom: 1px dashed var(--amber); }

/* ── Keys: the app's teal key, stepping down when pressed. ── */
.key, .button.primary { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 40px; border-radius: 8px; border: 0; background: var(--teal); color: var(--key-ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: .02em; box-shadow: 0 6px 0 rgba(0,0,0,.45); transition: transform 140ms var(--ease), box-shadow 140ms var(--ease), filter 140ms var(--ease); }
.key:hover, .button.primary:hover { color: var(--key-ink); filter: brightness(1.08); }
.key:active, .button.primary:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.45); transition-duration: 60ms; }
.key-small { height: 48px; padding: 0 22px; font-size: 16px; line-height: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--edge-strong); background: var(--raised); color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 16px; }
.button:hover { color: var(--ink); border-color: var(--teal-light); }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 17px; line-height: 24px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; transition: text-underline-offset 140ms var(--ease); }
.link:hover { text-underline-offset: 6px; }
.link svg { transition: transform 140ms var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ── Header and footer. ── */
.preview-banner { margin: 0; padding: 8px var(--gutter); background: rgba(203,180,137,.14); color: var(--amber); text-align: center; font-size: 14px; font-weight: 600; }
.site-header { border-bottom: 1px solid var(--edge); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
@media (min-width: 700px) { .header-row { min-height: 88px; } }
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 20px; letter-spacing: .22em; color: var(--ink); }
.brand-sub { font-size: 15px; line-height: 20px; color: var(--ink-soft); }
@media (max-width: 799px) { .site-header .brand-sub { display: none; } }
.site-nav { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
@media (min-width: 700px) { .site-nav { gap: 32px; } }
.site-nav a:not(.key) { display: inline-flex; align-items: center; min-height: 48px; color: var(--teal-light); font-size: 17px; line-height: 24px; font-weight: 500; text-decoration: none; }
.site-nav a:not(.key):hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 419px) { .site-nav a:not(.key) { display: none; } }
.site-footer { margin-top: 0; border-top: 1px solid var(--edge); padding-block: 48px 56px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 18px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; column-gap: 28px; row-gap: 4px; font-size: 15px; line-height: 22px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.footer-dom { font-size: 15px; line-height: 22px; color: var(--ink); }
.footer-note { font-size: 15px; line-height: 22px; color: var(--ink); }

/* ── Home: the hero. ── */
.band { border-top: 1px solid var(--edge); padding-block: 56px; }
@media (min-width: 700px) { .band { padding-block: 96px; } }
.hero { padding-block: 24px 56px; }
.hero-grid { display: grid; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; }
.hero-kicker { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 18px; color: var(--ink-soft); margin-bottom: 14px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 40px; letter-spacing: -.02em; }
.hero h1 span { display: block; }
.hero .lead { margin-top: 20px; max-width: 520px; font-size: 18px; line-height: 27px; }
.hero-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
.hero-cta .small { max-width: 460px; }
@media (min-width: 700px) {
  .hero { padding-block: 64px 88px; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: 58px; line-height: 64px; }
  .hero .lead { margin-top: 28px; font-size: 21px; line-height: 31px; }
  .hero-cta { margin-top: 40px; align-items: flex-start; }
}
@media (min-width: 1280px) { .hero-grid { grid-template-columns: 560px 640px; column-gap: 40px; align-items: start; } .hero-copy { padding-top: 56px; } }

/* The picture: a phone, a viewing box lit from below, and the two-part sample page that rises out of the phone. */
.hero-figure { display: flex; flex-direction: column; gap: 16px; }
.art { position: relative; width: 358px; max-width: 100%; }
.vbox { position: relative; height: 496px; background: var(--raised); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.vb-glow { position: absolute; inset: 0; border-radius: 14px; background: radial-gradient(80% 55% at 55% 100%, rgba(67,227,195,.20), rgba(67,227,195,0) 72%); box-shadow: inset 0 -2px 0 rgba(67,227,195,.55); }
.phone { position: relative; z-index: 2; width: 300px; margin: 20px auto 0; padding: 14px 12px; border-radius: 32px; border: 1px solid var(--edge-strong); background: var(--night); box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--edge); display: flex; flex-direction: column; gap: 10px; }
.ph-top { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 4px; }
.ph-top .wordmark { font-size: 13px; line-height: 16px; letter-spacing: .2em; }
.ph-dom { padding: 10px; background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; }
.ph-dom-who { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 500; font-size: 13px; line-height: 17px; letter-spacing: .09em; color: var(--teal-light); }
.ph-ring { display: block; width: 12px; height: 12px; border-radius: 9999px; border: 2px solid var(--teal-light); }
.ph-lines { display: grid; font-size: 14px; line-height: 20px; }
.ph-lines p { grid-area: 1 / 1; }
.ph-note { padding: 8px; background: var(--raised); border: 1px solid var(--edge); border-radius: 4px; font-size: 13px; line-height: 18px; }
.ph-boxes { position: relative; }
.bx-outline { position: absolute; inset: -4px; border: 1px dashed var(--edge-strong); border-radius: 6px; }
.bx-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.bx { position: relative; min-width: 0; padding: 6px 8px; background: var(--raised); border: 1px solid var(--edge); border-radius: 4px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 17px; }
.bx b { font-family: var(--display); font-weight: 600; font-size: 13px; line-height: 16px; color: var(--ink-soft); }
.bx-wide { grid-column: span 2; }
.bx-age { border-color: var(--edge-strong); }
.age-val { display: grid; }
.age-val span { grid-area: 1 / 1; }
.age-e { color: var(--ink-soft); }
.age-ring { position: absolute; inset: -4px; border: 2px solid var(--teal-light); border-radius: 6px; }
.kk { position: relative; height: 52px; margin-top: 6px; margin-bottom: 6px; border-radius: 8px; background: var(--raised); border: 1px solid var(--edge); box-shadow: 0 6px 0 rgba(0,0,0,.45); }
.kk-teal { position: absolute; inset: -1px; border-radius: 8px; background: var(--teal); }
.kk-labels { position: relative; display: grid; place-items: center; height: 100%; }
.kk-labels span { grid-area: 1 / 1; font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 18px; letter-spacing: .06em; color: var(--key-ink); }
.kk-labels .kk-fill { color: var(--ink); }
.pp { position: absolute; z-index: 3; left: 14px; top: 16px; width: 330px; height: 460px; transform-origin: 0 0; }
.page { position: absolute; padding: 16px 16px 14px; background: var(--paper); color: var(--paper-ink); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(67,227,195,.28); overflow: hidden; font-family: var(--serif); display: flex; flex-direction: column; }
.page-1 { left: 0; top: 0; width: 230px; height: 280px; }
.page-2 { left: 100px; top: 96px; width: 230px; height: 364px; box-shadow: 0 18px 40px -12px rgba(67,227,195,.28), 0 -1px 0 rgba(22,24,26,.08); }
.page h4 { margin: 0; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .12em; }
.page h4 + p { font-size: 13px; line-height: 18px; }
.page h4:not(:first-child) { margin-top: 10px; }
.page hr { border: 0; height: 1px; background: var(--paper-ink); margin: 8px 0 10px; }
.page .who { font-size: 15px; line-height: 20px; font-weight: 700; }
.page .when { margin-top: 2px; font-size: 13px; line-height: 18px; }
.page .code { margin-top: auto; font-size: 13px; line-height: 17px; }
.watermark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-32deg); font-weight: 700; font-size: 52px; line-height: 52px; letter-spacing: .18em; color: rgba(22,24,26,.09); pointer-events: none; }
.page-1 .p-hide, .page-2 .p-hide { display: none; }
@media (min-width: 700px) {
  .art { width: 640px; height: 620px; }
  .vbox { position: absolute; left: 170px; top: 0; width: 470px; height: 600px; }
  .vb-glow { background: radial-gradient(75% 60% at 60% 100%, rgba(67,227,195,.20), rgba(67,227,195,0) 72%); }
  .phone { position: absolute; left: 0; top: 50px; width: 240px; height: 570px; margin: 0; }
  .kk { margin-top: auto; }
  .pp { left: 254px; top: 32px; width: 346px; height: 548px; }
  .page { padding: 20px 20px 16px; }
  .page-1 { width: 300px; height: 340px; }
  .page-2 { left: 46px; top: 192px; width: 300px; height: 356px; }
  .page .who { font-size: 17px; line-height: 22px; }
  .page h4 + p { font-size: 15px; line-height: 22px; }
  .page-2 h4 + p { font-size: 14px; line-height: 20px; }
  .page-1 .p-hide, .page-2 .p-hide { display: block; }
  .watermark { font-size: 60px; line-height: 60px; }
}
@media (min-width: 1280px) { .hero-figure .link { margin-left: 170px; } }

/* The one moment (brief 03): DRAFT IT pressed, the boxes fill, DOM counts six of seven, the age goes in, WRITE THE
 * SUMMARY is pressed, DOM says it is writing, and the page rises out of the phone onto the lit box. 5.4 s, once. */
.hero .dom-a, .hero .dom-b, .hero .dom-c, .hero .bx-outline, .hero .age-ring, .hero .age-e, .hero .age-v, .hero .kk,
.hero .kk-teal, .hero .kk-draft, .hero .kk-fill, .hero .kk-write, .hero .pp, .hero .vb-glow { animation-duration: 5.4s; animation-fill-mode: both; animation-timing-function: var(--ease); }
.hero .dom-a { animation-name: dom-a; }
.hero .dom-b { animation-name: dom-b; }
.hero .dom-c { animation-name: dom-c; }
.hero .bx-outline { animation-name: outline; }
.hero .age-ring { animation-name: ring; }
.hero .age-e { animation-name: age-e; }
.hero .age-v { animation-name: age-v; }
.hero .kk { animation-name: press; }
.hero .kk-teal { animation-name: teal; }
.hero .kk-draft { animation-name: kk-draft; }
.hero .kk-fill { animation-name: kk-fill; }
.hero .kk-write { animation-name: kk-write; }
.hero .pp { animation-name: rise-m; }
.hero .vb-glow { animation-name: glow; }
.hero .bx { animation: bx-in 140ms var(--ease) both; }
.hero .bx:nth-child(1) { animation-delay: 900ms; } .hero .bx:nth-child(2) { animation-delay: 1040ms; }
.hero .bx:nth-child(3) { animation-delay: 1180ms; } .hero .bx:nth-child(4) { animation-delay: 1320ms; }
.hero .bx:nth-child(5) { animation-delay: 1460ms; } .hero .bx:nth-child(6) { animation-delay: 1600ms; }
.hero .bx:nth-child(7) { animation-delay: 1740ms; }
@media (min-width: 700px) { .hero .pp { animation-name: rise-d; } }
@keyframes dom-a { 0%, 37.963% { opacity: 1; transform: none; } 42.037%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes dom-b { 0%, 37.963% { opacity: 0; transform: translateY(4px); } 42.037%, 77.037% { opacity: 1; transform: none; } 81.111%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes dom-c { 0%, 77.037% { opacity: 0; transform: translateY(4px); } 81.111%, 100% { opacity: 1; transform: none; } }
@keyframes outline { 0%, 37.963% { opacity: 1; } 45.741%, 100% { opacity: 0; } }
@keyframes bx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0%, 37.963% { opacity: 0; } 40.556%, 61.111% { opacity: 1; } 63.704%, 100% { opacity: 0; } }
@keyframes age-e { 0%, 53.704% { opacity: 1; } 57.778%, 100% { opacity: 0; } }
@keyframes age-v { 0%, 53.704% { opacity: 0; transform: translateY(3px); } 57.778%, 100% { opacity: 1; transform: none; } }
@keyframes press {
  0%, 12.963% { transform: none; box-shadow: 0 6px 0 rgba(0,0,0,.45); } 14.074%, 16.667% { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.45); }
  19.259%, 72.222% { transform: none; box-shadow: 0 6px 0 rgba(0,0,0,.45); } 73.333%, 77.037% { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0,0,0,.45); }
  79.63%, 100% { transform: none; box-shadow: 0 6px 0 rgba(0,0,0,.45); }
}
@keyframes teal { 0%, 16.667% { opacity: 1; } 20.741%, 61.111% { opacity: 0; } 65.185%, 100% { opacity: 1; } }
@keyframes kk-draft { 0%, 16.667% { opacity: 1; } 19.259%, 100% { opacity: 0; } }
@keyframes kk-fill { 0%, 16.667% { opacity: 0; } 19.259%, 61.111% { opacity: 1; } 63.704%, 100% { opacity: 0; } }
@keyframes kk-write { 0%, 61.111% { opacity: 0; } 63.704%, 100% { opacity: 1; } }
@keyframes rise-d { 0%, 83.333% { opacity: 0; transform: translate(-182px, 226px) scale(.28); } 87.407% { opacity: 1; } 95.185%, 100% { opacity: 1; transform: none; } }
@keyframes rise-m { 0%, 83.333% { opacity: 0; transform: translate(119px, 612px) scale(.28); } 87.407% { opacity: 1; } 95.185%, 100% { opacity: 1; transform: none; } }
@keyframes glow { 0%, 90.37% { opacity: 0; } 98.148%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero *, .key, .link, .link svg { animation: none !important; transition: none !important; }
  .hero .dom-a, .hero .dom-b, .hero .bx-outline, .hero .age-ring, .hero .age-e, .hero .kk-draft, .hero .kk-fill { opacity: 0; }
}

/* ── Home: the sections under the hero. ── */
.values { display: grid; gap: 40px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 56px; } }
.value { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid var(--edge-strong); }
.value h2 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.01em; }
.value .says { font-size: 18px; line-height: 27px; }
.value .how { margin-top: 4px; font-size: 15px; line-height: 22px; color: var(--ink-soft); }
@media (min-width: 700px) { .value h2 { font-size: 34px; line-height: 40px; } .value .says { font-size: 20px; line-height: 29px; } }
.two { display: grid; gap: 48px; }
@media (min-width: 900px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; align-items: start; } }
.two > div { display: flex; flex-direction: column; gap: 16px; }
.two h2, .keep h2 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 34px; letter-spacing: -.01em; }
.price-wrap { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 32px; }
.price-card { padding: 28px 20px; background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; display: flex; flex-direction: column; }
@media (min-width: 700px) { .price-card { padding: 40px 44px; } }
.caps { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 18px; letter-spacing: .1em; color: var(--ink-soft); }
.price-head { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 30px; }
.price-head .figure { font-family: var(--mono); font-weight: 600; font-size: 56px; line-height: 60px; letter-spacing: -.02em; }
@media (min-width: 700px) { .price-head { font-size: 30px; line-height: 36px; } .price-head .figure { font-size: 64px; line-height: 64px; } }
.price-card .why { margin-top: 12px; }
.price-card .terms { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.price-card hr { border: 0; height: 1px; background: var(--edge); margin: 32px 0; }
.placeholder-price { font-family: var(--mono); font-weight: 600; color: var(--amber); border-bottom: 1px dashed var(--amber); }
.study-tag { margin-top: 10px; align-self: flex-start; padding: 3px 10px; border: 1px solid var(--amber); border-radius: 4px; font-size: 14px; line-height: 20px; color: var(--amber); }
.price-card .notes { display: flex; flex-direction: column; gap: 6px; color: var(--ink-soft); }
.facts-list { border-top: 1px solid var(--edge); }
.facts-list p { padding: 18px 0; border-bottom: 1px solid var(--edge); }
.facts-list strong, .price-card strong { font-weight: 600; }
.price-wrap .key { align-self: stretch; }
@media (min-width: 700px) { .price-wrap .key { align-self: flex-start; } }
.also { display: grid; gap: 16px; }
@media (min-width: 900px) { .also { grid-template-columns: 280px repeat(2, minmax(0, 1fr)); column-gap: 32px; align-items: start; } }
.also > h2 { padding-top: 4px; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 26px; color: var(--ink-soft); }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; display: flex; flex-direction: column; gap: 10px; transition: border-color 220ms var(--ease); }
.card:hover { border-color: var(--edge-strong); }
.card-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.card-title b { font-family: var(--display); font-weight: 600; font-size: 14px; line-height: 18px; letter-spacing: .1em; }
.card-title span { font-size: 15px; line-height: 20px; color: var(--ink-soft); }
.keep { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 700px) { .keep { flex-direction: row; align-items: center; gap: 40px; } }
.qr-box { flex-shrink: 0; width: 136px; height: 136px; padding: 12px; background: var(--paper); border-radius: 8px; }
.qr-box .qr { display: block; width: 112px; height: 112px; }
.keep-words { display: flex; flex-direction: column; gap: 10px; }
.keep .app-address { font-family: var(--mono); font-weight: 500; color: var(--ink); }

/* ── Inner pages: the same look, one readable column. ── */
main > :not(.band):not(.hero):not(.page-band) { width: min(100% - 2 * var(--gutter), 880px); margin-inline: auto; }
main > h1:first-child, main > section:first-child > h1:first-child { margin-top: 48px; }
main h1 { font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 40px; letter-spacing: -.02em; margin: 48px 0 16px; }
main h2 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 30px; margin: 40px 0 12px; }
main h3 { font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 24px; margin: 0 0 6px; }
main .band h2, main .hero h1, main .value h2, main .also > h2 { margin: 0; }
@media (min-width: 700px) { main h1 { font-size: 44px; line-height: 50px; } }
main p + p, main ul, main ol, main dl, main .table-wrap, main pre { margin-top: 12px; }
.lead { font-size: 19px; line-height: 29px; color: var(--ink); max-width: 44em; }
main section { margin-bottom: 8px; }
main ul, main ol { padding-left: 1.3em; }
main li + li { margin-top: 6px; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { padding: 20px; background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; margin: 0; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 700px) { .two-col { grid-template-columns: 1fr 1fr; } }
.screens { display: flex; gap: 16px; overflow-x: auto; }
.screens figure { flex: 0 0 auto; }
.screens img { width: 200px; height: auto; border-radius: 12px; border: 1px solid var(--edge); }
figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--edge); }
th { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .04em; color: var(--ink-soft); }
code, pre { font-family: var(--mono); font-size: 14px; }
pre { background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; padding: 12px 14px; overflow-x: auto; }
code { color: var(--ink); overflow-wrap: anywhere; }
.doc-meta { font-size: 14px; color: var(--ink-soft); }
.doc { margin-top: 20px; padding: 20px; background: var(--surface); border: 1px solid var(--edge); border-radius: 8px; }
.doc p + p { margin-top: 10px; }
.placeholder-note { color: var(--amber); font-weight: 600; }
.notice { padding: 14px 16px; border: 1px solid var(--edge-strong); border-radius: 8px; background: var(--surface); }
main > .price-card { margin-top: 24px; }
main > .facts-list { margin-top: 24px; }
main > :last-child { margin-bottom: 72px; }
main > .band:last-child { margin-bottom: 0; }

/* ── For hospitals: DOM, drawn from the DOM OPD mock (opd-cockpit, 2026), with invented patients. ── */
.dom-shot { margin-top: 24px; padding: 16px; background: var(--surface); border: 1px solid var(--edge); border-radius: 14px; display: grid; gap: 16px; }
@media (min-width: 760px) { .dom-shot { grid-template-columns: 280px 1fr; padding: 24px; } }
.dom-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.dom-head b { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 32px; }
.dom-head span { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .3em; color: var(--ink-soft); }
.dom-col { display: flex; flex-direction: column; gap: 10px; }
.dom-label { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .3em; color: var(--ink-soft); }
.dom-card { padding: 14px; background: var(--night); border: 1px solid var(--edge); border-radius: 10px; }
.dom-card.now { border-color: rgba(224,120,110,.5); background: rgba(224,120,110,.07); }
.dom-card.late { border-color: rgba(203,180,137,.5); }
.dom-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dom-row b { font-family: var(--display); font-weight: 600; font-size: 17px; }
.dom-row .t { font-family: var(--mono); font-size: 14px; color: var(--ink); }
.dom-row + p { font-size: 14px; color: var(--ink-soft); }
.dom-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; padding: 1px 6px; border: 1px solid var(--edge-strong); border-radius: 4px; color: var(--ink-soft); }
.dom-card.now .t, .dom-card.now .dom-tag { color: var(--red); border-color: rgba(224,120,110,.5); }
.dom-key { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 8px; background: var(--teal); color: var(--key-ink); font-family: var(--display); font-weight: 700; letter-spacing: .06em; box-shadow: 0 5px 0 rgba(0,0,0,.45); }
.dom-patient b { font-family: var(--display); font-weight: 700; font-size: 26px; }
.dom-complaint { margin-top: 10px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 8px; background: var(--raised); font-family: var(--display); font-weight: 600; font-size: 19px; }
.dom-allergy { margin-top: 8px; color: var(--amber); font-size: 15px; }
.dom-med { display: flex; align-items: baseline; gap: 12px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 8px; background: var(--night); }
.dom-med b { font-family: var(--display); font-weight: 600; font-size: 17px; }
.dom-med span { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); }
.dom-print { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid var(--edge-strong); border-radius: 8px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.dom-caption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
/* The ward-rounds screen (his "DOM IPD - Rounds (web)" design): three columns on a wide screen, one on a phone. */
@media (min-width: 1000px) { .dom-shot.dom-ipd { grid-template-columns: 240px 1fr 260px; width: min(100vw - 2 * var(--gutter), 1240px); position: relative; left: 50%; transform: translateX(-50%); } }
@media (min-width: 760px) and (max-width: 999px) { .dom-shot.dom-ipd { grid-template-columns: 220px 1fr; } .dom-ipd > .dom-col:last-child { grid-column: 1 / -1; } }
.dom-pill { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; padding: 2px 10px; border: 1px solid var(--edge-strong); border-radius: 9999px; color: var(--ink-soft); }
.dom-vitals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 1000px) { .dom-vitals { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.dom-vitals p { padding: 10px; background: var(--night); border: 1px solid var(--edge); border-radius: 8px; display: flex; flex-direction: column; gap: 2px; }
.dom-vitals b { font-family: var(--display); font-weight: 600; font-size: 18px; }
.dom-vitals span, .dom-labs span { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); }
.dom-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }
.dom-labs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.dom-labs p { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.dom-labs b { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--amber); }
.dom-trend { display: block; width: 100%; height: 40px; margin: 6px 0; }
.dom-discharge { border-color: var(--teal); display: flex; flex-direction: column; gap: 8px; }
.enquire { margin-top: 24px; padding: 24px; border: 1px solid var(--teal); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.enquire b { font-family: var(--display); font-weight: 700; font-size: 20px; }
.contact-photo { width: 96px; height: 96px; border-radius: 9999px; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--teal-light); }
.dom-lede { font-size: 19px; line-height: 28px; }
.dom-features { margin-top: 28px; display: grid; gap: 24px; }
@media (min-width: 760px) { .dom-features { grid-template-columns: 1fr 1fr; gap: 32px; } }
.dom-features h3 { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.dom-features h3 + ul { margin-top: 0; }
.dom-features ul + h3 { margin-top: 20px; }
.dom-features li b { font-weight: 600; }
