:root {
  --navy-950: #04131d;
  --navy-900: #071b27;
  --navy-850: #0a2230;
  --navy-800: #0d2b3a;
  --navy-700: #153d4c;
  --teal-500: #18b8a2;
  --teal-400: #32d2bd;
  --mint-300: #7ce8d8;
  --cyan-200: #b8f4ed;
  --ink: #10262e;
  --ink-soft: #45616a;
  --muted: #6d858d;
  --line: #dbe8e9;
  --line-dark: rgba(184, 244, 237, 0.15);
  --surface: #f5fafa;
  --white: #ffffff;
  --danger: #d86c62;
  --shadow: 0 28px 80px rgba(1, 19, 29, 0.18);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 14px; background: white; color: var(--navy-900); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: rgba(255,255,255,.8);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.scrolled { background: rgba(4,19,29,.9); border-color: rgba(255,255,255,.08); box-shadow: 0 10px 32px rgba(1,12,18,.18); backdrop-filter: blur(18px); }
.nav-shell { width: var(--shell); height: 82px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--navy-950); background: var(--mint-300); border-radius: 10px 10px 10px 3px; font-weight: 850; font-size: 18px; letter-spacing: -.04em; }
.brand-word { color: white; font-size: 20px; letter-spacing: -.025em; }
.brand-by { color: rgba(255,255,255,.42); font-size: 12px; font-weight: 500; padding-left: 2px; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.primary-nav > a:not(.nav-cta) { position: relative; transition: color .2s ease; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--mint-300); transition: right .2s ease; }
.primary-nav > a:hover { color: white; }
.primary-nav > a:hover::after { right: 0; }
.nav-cta { padding: 10px 16px; color: var(--navy-950); background: var(--mint-300); border-radius: 9px; transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { background: white; transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-radius: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 21px; height: 1.5px; margin: 6px auto; background: white; transition: transform .2s ease; }

.hero { position: relative; min-height: 880px; padding: 156px 0 0; color: white; background: var(--navy-950); overflow: hidden; }
.hero-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(124,232,216,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(124,232,216,.25) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 83%); }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(10px); pointer-events: none; }
.hero-glow-one { width: 650px; height: 650px; top: 20px; right: -180px; background: radial-gradient(circle, rgba(30,194,174,.18), transparent 66%); }
.hero-glow-two { width: 420px; height: 420px; left: -160px; top: 410px; background: radial-gradient(circle, rgba(20,133,160,.15), transparent 70%); }
.hero-layout { position: relative; display: grid; grid-template-columns: .87fr 1.13fr; gap: 64px; align-items: center; }
.hero-copy { padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--mint-300); font-size: 12px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint-300); box-shadow: 0 0 0 5px rgba(124,232,216,.09); }
.hero h1 { max-width: 650px; margin: 0; font-size: clamp(3.25rem, 5.2vw, 5.3rem); line-height: .98; letter-spacing: -.065em; font-weight: 700; }
.hero-lede { max-width: 610px; margin: 30px 0 0; color: rgba(229,249,247,.72); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-950); background: var(--mint-300); box-shadow: 0 12px 30px rgba(51,210,189,.15); }
.button-primary:hover { background: white; box-shadow: 0 15px 36px rgba(51,210,189,.24); }
.button-secondary { color: white; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.055); }
.button-secondary:hover { background: rgba(255,255,255,.11); }
.clinical-note { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; margin: 25px 0 0; color: rgba(214,242,239,.52); font-size: 12px; line-height: 1.5; }
.clinical-note svg { width: 17px; min-width: 17px; margin-top: 1px; fill: none; stroke: var(--mint-300); stroke-width: 1.4; }

.product-stage { position: relative; min-width: 0; padding: 46px 0 65px; }
.stage-orbit { position: absolute; border: 1px solid rgba(124,232,216,.12); border-radius: 999px; }
.stage-orbit-one { width: 690px; height: 690px; left: -15px; top: -72px; }
.stage-orbit-two { width: 520px; height: 520px; left: 72px; top: 13px; border-style: dashed; }
.app-window { position: relative; z-index: 2; width: 690px; max-width: 100%; color: var(--ink); background: #f8fbfb; border: 1px solid rgba(184,244,237,.24); border-radius: 20px; box-shadow: 0 45px 100px rgba(0,6,12,.52); overflow: hidden; transform: perspective(1200px) rotateY(-3.5deg) rotateX(1deg); transform-origin: center left; }
.app-topbar { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: white; background: #0a202c; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 750; }
.app-logo { width: 23px; height: 23px; display: grid; place-items: center; color: var(--navy-900); background: var(--mint-300); border-radius: 6px 6px 6px 2px; font-size: 11px; }
.app-status { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.58); font-size: 10px; }
.app-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px rgba(50,210,189,.1); }
.case-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 12px; }
.micro-label { display: block; margin-bottom: 3px; color: #6c868d; font-size: 8px; line-height: 1.2; font-weight: 800; letter-spacing: .13em; }
.case-header h2 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
.icon-button { display: flex; gap: 3px; padding: 10px 8px; border: 1px solid #dfeaea; background: white; border-radius: 8px; }
.icon-button span { width: 3px; height: 3px; border-radius: 50%; background: #61777d; }
.case-summary { display: flex; align-items: center; gap: 11px; margin: 0 22px 15px; padding: 11px 13px; background: white; border: 1px solid #e2ecec; border-radius: 10px; }
.patient-avatar { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; color: #176d63; background: #dff7f3; border-radius: 50%; font-size: 10px; font-weight: 800; }
.case-summary div:nth-child(2) { min-width: 0; }
.case-summary strong { display: block; font-size: 11px; }
.case-summary div:nth-child(2) span { display: block; color: #70858a; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.case-tag { margin-left: auto; padding: 4px 7px; color: #547179; background: #f2f7f7; border: 1px solid #e2ebeb; border-radius: 5px; font-size: 8px; font-weight: 700; }
.analysis-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 12px; padding: 0 22px 22px; }
.analysis-main, .analysis-side > div { background: white; border: 1px solid #e2ecec; border-radius: 11px; }
.analysis-main { padding: 14px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.panel-heading h3 { margin: 0; font-size: 12px; }
.count-pill { padding: 4px 7px; color: #527078; background: #eff6f6; border-radius: 99px; font-size: 8px; }
.diagnosis-card { display: flex; gap: 9px; padding: 10px 9px; border-top: 1px solid #edf2f2; }
.diagnosis-card.active { margin: 0 0 3px; background: #f0fbf9; border: 1px solid #cceee9; border-radius: 8px; }
.rank { color: #719097; font: 700 9px/1 ui-monospace, monospace; padding-top: 3px; }
.diagnosis-copy { min-width: 0; flex: 1; }
.diagnosis-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.diagnosis-title strong { font-size: 10px; }
.diagnosis-title span { color: #158472; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.diagnosis-copy p { margin: 4px 0 0; color: #75888d; font-size: 8px; line-height: 1.5; }
.evidence-row { display: flex; gap: 10px; margin-top: 6px; color: #5e7d82; font-size: 7px; }
.analysis-side { display: flex; flex-direction: column; gap: 10px; }
.alert-card { display: flex; gap: 9px; padding: 12px; border-color: #f0d8d5 !important; background: #fffafa !important; }
.alert-icon { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; color: var(--danger); background: #fcebe9; border-radius: 7px; }
.alert-icon svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.alert-card strong { display: block; font-size: 10px; }
.alert-card p { margin: 3px 0 0; color: #8f7774; font-size: 8px; line-height: 1.4; }
.source-card { padding: 12px; }
.source-link { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; color: #37555c; border-top: 1px solid #edf2f2; font-size: 9px; font-weight: 700; }
.source-link svg { width: 13px; fill: none; stroke: #1c9d8c; stroke-width: 1.5; }
.stage-caption { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; width: max-content; margin: 18px 0 0 auto; color: rgba(220,246,243,.46); font: 600 10px/1.3 ui-monospace, monospace; letter-spacing: .03em; }
.stage-caption span { color: var(--mint-300); }
.affiliation-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 104px; margin-top: 22px; color: rgba(232,250,248,.42); border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.affiliation-items { display: flex; align-items: center; gap: 24px; }
.affiliation-items strong { color: rgba(255,255,255,.76); font-size: 13px; letter-spacing: -.01em; }
.affiliation-items i { width: 3px; height: 3px; border-radius: 50%; background: rgba(124,232,216,.45); }

.section { padding: 126px 0; }
.section-heading { display: grid; grid-template-columns: 170px 1fr .8fr; gap: 34px; align-items: start; }
.section-index { color: #178c7d; font: 750 11px/1.5 ui-monospace, monospace; letter-spacing: .1em; }
.section-index.light { color: var(--mint-300); }
.section h2 { margin: 0; font-size: clamp(2.7rem, 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 650; }
.section-heading p, .output-heading p { margin: 4px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.72; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 76px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.principle-card { position: relative; min-height: 330px; padding: 32px; background: white; }
.principle-number { color: #9bb0b4; font: 700 10px/1 ui-monospace, monospace; }
.line-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 65px 0 26px; color: #138f7f; background: #e8f8f5; border-radius: 13px; }
.line-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.principle-card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; }
.principle-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.workflow-section { color: white; background: var(--navy-900); overflow: hidden; }
.workflow-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 96px; align-items: center; }
.workflow-copy > h2 { max-width: 570px; margin-top: 20px; font-size: clamp(2.8rem, 4.7vw, 4.8rem); }
.workflow-copy > p { max-width: 540px; color: rgba(221,244,241,.6); font-size: 17px; }
.workflow-steps { margin-top: 46px; }
.workflow-step { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 21px 18px 21px 0; cursor: pointer; border-top: 1px solid rgba(255,255,255,.11); outline: none; transition: background .2s ease, padding .2s ease; }
.workflow-step:last-child { border-bottom: 1px solid rgba(255,255,255,.11); }
.workflow-step::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: transparent; }
.workflow-step.active::before { background: var(--mint-300); }
.workflow-step:focus-visible { box-shadow: 0 0 0 2px var(--mint-300); border-radius: 6px; }
.step-marker { width: 38px; height: 38px; display: grid; place-items: center; color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; font: 700 9px/1 ui-monospace, monospace; }
.workflow-step.active .step-marker { color: var(--navy-900); background: var(--mint-300); border-color: var(--mint-300); }
.workflow-step h3 { margin: 0 0 4px; font-size: 16px; }
.workflow-step p { max-width: 490px; margin: 0; color: rgba(224,246,243,.5); font-size: 13px; line-height: 1.6; }
.workflow-step.active p { color: rgba(224,246,243,.7); }
.workflow-visual { position: relative; }
.workflow-visual::before { content: ""; position: absolute; width: 480px; height: 480px; top: -70px; left: -80px; background: radial-gradient(circle, rgba(41,196,177,.16), transparent 68%); }
.workflow-screen { position: relative; z-index: 2; max-width: 590px; margin-left: auto; color: var(--ink); background: #f7fbfb; border: 1px solid rgba(124,232,216,.25); border-radius: 18px; box-shadow: 0 35px 80px rgba(0,7,12,.4); overflow: hidden; }
.screen-top { height: 48px; display: flex; align-items: center; gap: 9px; padding: 0 18px; color: rgba(255,255,255,.6); background: #061721; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .08em; }
.screen-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }
.screen-time { margin-left: auto; color: var(--mint-300); }
.screen-content { min-height: 440px; padding: 32px; transition: opacity .16s ease, transform .16s ease; }
.screen-content.switching { opacity: 0; transform: translateY(5px); }
.input-group { margin-bottom: 19px; }
.input-group label { display: block; margin-bottom: 7px; color: #5d777e; font-size: 10px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.fake-input { min-height: 48px; display: flex; align-items: center; padding: 12px 14px; color: #49656b; background: white; border: 1px solid #dce9e9; border-radius: 9px; font-size: 12px; }
.fake-input.tall { min-height: 98px; align-items: flex-start; justify-content: space-between; }
.fake-input.tall i { width: 7px; height: 7px; margin-top: 2px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 4px #e3f8f5; }
.fake-input.select { justify-content: space-between; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.screen-action { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 9px; padding: 12px 16px; color: white; background: #0b7368; border-radius: 9px; font-size: 12px; font-weight: 750; }
.screen-action svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.privacy-chip { position: relative; z-index: 3; display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: -16px 24px 0 auto; padding: 10px 13px; color: #c8eee9; background: #123543; border: 1px solid rgba(124,232,216,.18); border-radius: 99px; box-shadow: 0 12px 32px rgba(0,0,0,.2); font-size: 10px; }
.privacy-chip svg { width: 15px; fill: none; stroke: var(--mint-300); stroke-width: 1.5; }

.output-section { background: var(--surface); }
.output-heading { display: grid; grid-template-columns: 170px 1fr .8fr; gap: 34px; align-items: start; }
.output-board { display: grid; grid-template-columns: 68px 1fr; margin-top: 72px; background: white; border: 1px solid #d7e5e6; border-radius: 18px; box-shadow: 0 28px 70px rgba(11,49,60,.1); overflow: hidden; }
.output-rail { min-height: 570px; display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 18px 0; background: var(--navy-900); }
.rail-brand { margin-bottom: 25px; }
.rail-brand span { width: 29px; height: 29px; display: grid; place-items: center; color: var(--navy-900); background: var(--mint-300); border-radius: 8px 8px 8px 3px; font-size: 12px; font-weight: 850; }
.rail-item { width: 38px; height: 38px; display: grid; place-items: center; color: rgba(255,255,255,.43); background: transparent; border: 0; border-radius: 8px; }
.rail-item.active { color: var(--mint-300); background: rgba(124,232,216,.1); }
.rail-item svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.output-canvas { min-width: 0; padding: 28px; }
.output-topline { display: flex; align-items: center; justify-content: space-between; }
.output-topline h3 { margin: 0; font-size: 22px; letter-spacing: -.03em; }
.review-badge { padding: 7px 10px; color: #14766a; background: #e6f7f4; border: 1px solid #c9ebe6; border-radius: 99px; font-size: 9px; font-weight: 750; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 24px; }
.metric-card { padding: 14px; background: #f6fafa; border: 1px solid #e1ecec; border-radius: 10px; }
.metric-card span { display: block; color: #6f898f; font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.metric-card strong { display: inline-block; margin: 5px 7px 0 0; font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.metric-card small { color: #789097; font-size: 8px; }
.output-columns { display: grid; grid-template-columns: 1.55fr .68fr; gap: 14px; margin-top: 15px; }
.output-list, .missing-panel { border: 1px solid #e1ebec; border-radius: 11px; }
.output-list-head { display: flex; justify-content: space-between; padding: 13px 15px; color: #6b8389; border-bottom: 1px solid #e7eeee; font-size: 9px; }
.output-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; padding: 15px; border-bottom: 1px solid #edf2f2; }
.output-row:last-child { border-bottom: 0; }
.output-row.featured { background: #f3fbfa; }
.row-rank { color: #6f8b91; font: 750 9px/1.5 ui-monospace, monospace; }
.output-row strong { display: block; font-size: 11px; }
.output-row p { margin: 3px 0 8px; color: #7c9095; font-size: 8px; line-height: 1.4; }
.bar { height: 3px; background: #e8f0f0; border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: #1bb49f; border-radius: inherit; }
.relevance { align-self: start; padding: 4px 6px; color: #147c6f; background: #e3f6f3; border-radius: 5px; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.relevance.medium { color: #826b33; background: #faf3dc; }
.relevance.low { color: #62777c; background: #edf3f3; }
.missing-panel { padding: 17px; }
.missing-panel h4 { margin: 7px 0 14px; font-size: 14px; line-height: 1.3; }
.missing-panel ul { margin: 0; padding: 0; list-style: none; }
.missing-panel li { position: relative; padding: 8px 0 8px 17px; color: #607a80; border-top: 1px solid #edf2f2; font-size: 9px; }
.missing-panel li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border: 1px solid #36b9a7; border-radius: 50%; }
.missing-panel button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 17px; padding: 10px; color: white; background: var(--navy-800); border: 0; border-radius: 8px; font-size: 9px; font-weight: 750; cursor: pointer; }
.missing-panel button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.output-board.sources-highlight { box-shadow: 0 0 0 3px rgba(50,210,189,.28), 0 28px 70px rgba(11,49,60,.12); }

.source-section { background: white; overflow: hidden; }
.source-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: center; }
.source-copy h2 { max-width: 620px; margin: 19px 0 24px; }
.source-copy > p { max-width: 570px; color: var(--ink-soft); font-size: 17px; }
.source-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.source-tags span { padding: 7px 10px; color: #42656a; background: #f1f7f7; border: 1px solid #dfebeb; border-radius: 7px; font-size: 10px; font-weight: 700; }
.citation-stack { position: relative; min-height: 390px; }
.citation-stack::before { content: ""; position: absolute; width: 360px; height: 360px; top: 8px; left: 50%; transform: translateX(-50%); border: 1px dashed #c5dfdc; border-radius: 50%; }
.citation-card { position: absolute; width: 410px; max-width: 85%; padding: 27px; background: white; border: 1px solid #dce9e9; border-radius: 15px; box-shadow: 0 24px 60px rgba(10,55,63,.1); }
.top-card { z-index: 2; top: 30px; left: 4%; }
.under-card { right: 0; bottom: 5px; transform: rotate(3deg); opacity: .64; }
.citation-top { display: flex; justify-content: space-between; color: #718b91; font: 750 9px/1 ui-monospace, monospace; }
.citation-top i { color: #188d7f; font-style: normal; letter-spacing: .08em; }
.citation-card h3 { max-width: 310px; margin: 35px 0 11px; font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.citation-card p { margin: 0; color: #70868b; font-size: 12px; }
.citation-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 29px; padding-top: 16px; color: #167f73; border-top: 1px solid #e6eeee; font-size: 10px; font-weight: 750; }
.citation-footer svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.pilot-section { padding-top: 28px; background: white; }
.pilot-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 74px; color: white; background: var(--navy-900); border-radius: 22px; overflow: hidden; }
.pilot-glow { position: absolute; width: 520px; height: 520px; left: -170px; bottom: -300px; background: radial-gradient(circle, rgba(50,210,189,.2), transparent 68%); }
.pilot-copy, .pilot-details { position: relative; z-index: 1; }
.pilot-copy h2 { margin: 18px 0 23px; font-size: clamp(2.7rem, 4.5vw, 4.5rem); }
.pilot-copy p { max-width: 530px; margin: 0 0 29px; color: rgba(225,247,244,.63); font-size: 16px; }
.pilot-details { border-top: 1px solid rgba(255,255,255,.13); }
.pilot-item { display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.pilot-item > span { color: var(--mint-300); font: 750 10px/1.5 ui-monospace, monospace; }
.pilot-item strong { display: block; margin-bottom: 5px; font-size: 15px; }
.pilot-item p { margin: 0; color: rgba(225,247,244,.55); font-size: 12px; line-height: 1.6; }

.about-section { background: white; }
.about-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 120px; align-items: center; }
.about-copy h2 { max-width: 720px; margin: 20px 0 30px; }
.about-copy p { max-width: 660px; margin: 0 0 15px; color: var(--ink-soft); font-size: 17px; }
.team-card { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.team-top { display: flex; align-items: center; gap: 15px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.team-mark { width: 56px; height: 56px; display: grid; place-items: center; color: var(--navy-900); background: var(--mint-300); border-radius: 15px 15px 15px 5px; font-size: 24px; font-weight: 850; }
.team-top div:last-child span, .team-facts span { display: block; color: #789096; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.team-top strong { display: block; margin-top: 2px; font-size: 25px; letter-spacing: -.04em; }
.team-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; padding: 28px 0; }
.team-facts strong { display: block; margin-top: 5px; font-size: 13px; }
.team-affiliations { display: flex; gap: 9px; padding-top: 20px; border-top: 1px solid var(--line); }
.team-affiliations span { padding: 7px 10px; color: #3f6269; background: white; border: 1px solid #dce8e9; border-radius: 6px; font-size: 10px; font-weight: 750; }

.faq-section { background: var(--surface); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-heading h2 { margin-top: 20px; }
.faq-list { border-top: 1px solid #ccdddd; }
.faq-list details { border-bottom: 1px solid #ccdddd; }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 2px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 24px; height: 24px; flex: 0 0 auto; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; top: 11px; left: 5px; width: 14px; height: 1.5px; background: #178c7d; transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { max-width: 690px; margin: -5px 50px 25px 2px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

.final-cta { padding: 110px 0; color: white; text-align: center; background: linear-gradient(135deg, #071b27 0%, #0b2f3d 100%); }
.final-cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-kicker { color: var(--mint-300); font: 750 10px/1.5 ui-monospace, monospace; letter-spacing: .11em; }
.final-cta h2 { max-width: 850px; margin: 22px auto 32px; font-size: clamp(2.8rem, 5vw, 5.1rem); line-height: 1.02; letter-spacing: -.06em; font-weight: 650; }
.site-footer { padding: 55px 0 22px; color: rgba(255,255,255,.65); background: #031018; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .65fr; gap: 60px; align-items: start; }
.footer-brand .brand-mark { width: 30px; height: 30px; font-size: 15px; }
.footer-brand .brand-word { font-size: 18px; }
.footer-grid p { margin: 15px 0 0; color: rgba(255,255,255,.4); font-size: 12px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; font-size: 12px; }
.footer-links a:hover { color: var(--mint-300); }
.footer-company { display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.footer-company strong { color: white; font-size: 14px; }
.footer-company span:last-child { color: rgba(255,255,255,.35); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.08); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 40px, 940px); }
  .primary-nav { gap: 20px; }
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; padding-bottom: 0; }
  .product-stage { width: min(760px, 100%); margin: 0 auto; }
  .app-window { width: 760px; }
  .section-heading, .output-heading { grid-template-columns: 145px 1fr; }
  .section-heading p, .output-heading p { grid-column: 2; max-width: 650px; }
  .workflow-layout { gap: 50px; }
  .output-columns { grid-template-columns: 1.3fr .7fr; }
  .about-grid { gap: 70px; }
  .pilot-card { gap: 45px; padding: 56px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 720px); }
  .nav-shell { height: 70px; }
  .brand-by { display: none; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; top: 70px; left: 16px; right: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: rgba(7,27,39,.98); border: 1px solid rgba(255,255,255,.1); border-radius: 13px; box-shadow: 0 25px 70px rgba(0,0,0,.35); transform: translateY(-14px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 12px; }
  .primary-nav .nav-cta { margin-top: 7px; text-align: center; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }
  .hero { padding-top: 122px; }
  .hero h1 { font-size: clamp(3.2rem, 11vw, 5rem); }
  .hero-lede { font-size: 17px; }
  .affiliation-row { align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; padding: 25px 0; }
  .affiliation-items { flex-wrap: wrap; gap: 13px; }
  .section { padding: 92px 0; }
  .section-heading, .output-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading p, .output-heading p { grid-column: 1; }
  .principle-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .principle-card { min-height: 260px; }
  .line-icon { margin-top: 40px; }
  .workflow-layout, .source-layout, .about-grid, .faq-layout, .pilot-card { grid-template-columns: 1fr; }
  .workflow-visual { width: 100%; max-width: 620px; margin: 20px auto 0; }
  .output-board { grid-template-columns: 52px 1fr; }
  .output-rail { min-height: 0; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .output-columns { grid-template-columns: 1fr; }
  .source-layout { gap: 50px; }
  .citation-stack { min-height: 360px; }
  .pilot-card { gap: 50px; }
  .about-grid { gap: 55px; }
  .faq-layout { gap: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-company { grid-column: 2; grid-row: 1; align-items: flex-end; }
  .footer-links { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .brand-mark { width: 31px; height: 31px; }
  .brand-word { font-size: 18px; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: 3.35rem; }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .app-window { transform: none; border-radius: 13px; }
  .analysis-grid { grid-template-columns: 1fr; padding: 0 12px 12px; }
  .case-header { padding: 16px 13px 10px; }
  .case-summary { margin: 0 12px 11px; }
  .analysis-side { display: grid; grid-template-columns: 1fr 1fr; }
  .stage-caption { margin-right: 4px; }
  .section { padding: 78px 0; }
  .section h2, .workflow-copy > h2, .pilot-copy h2 { font-size: 2.85rem; }
  .principle-card { padding: 27px; }
  .workflow-layout { gap: 36px; }
  .workflow-step { grid-template-columns: 44px 1fr; }
  .screen-content { min-height: 400px; padding: 20px; }
  .privacy-chip { margin-right: 8px; }
  .output-board { display: block; margin-top: 48px; }
  .output-rail { min-height: auto; flex-direction: row; padding: 10px 13px; }
  .rail-brand { margin: 0 auto 0 0; }
  .output-canvas { padding: 15px; }
  .output-topline { align-items: flex-start; gap: 10px; }
  .review-badge { max-width: 115px; text-align: center; }
  .metric-row { gap: 6px; }
  .metric-card { padding: 10px; }
  .metric-card strong { font-size: 20px; }
  .output-row { grid-template-columns: 24px 1fr; }
  .output-row .relevance { grid-column: 2; width: max-content; }
  .citation-stack { min-height: 340px; }
  .citation-card { max-width: 94%; padding: 22px; }
  .top-card { left: 0; }
  .under-card { right: -2%; }
  .pilot-card { padding: 40px 25px; border-radius: 16px; }
  .team-facts { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-company { grid-column: 1; grid-row: auto; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Product photography: original screenshots, framed around the clinical work. */
figure { margin: 0; }
.hero { min-height: auto; padding-top: 144px; }
.hero-layout { grid-template-columns: .88fr 1.12fr; gap: 64px; padding-bottom: 46px; }
.hero-copy { padding-bottom: 0; }
.hero h1 { font-size: clamp(3.25rem, 4.85vw, 4.6rem); line-height: 1.06; letter-spacing: -.055em; }
.hero h1 > span { color: var(--mint-300); }
.hero-lede { margin-top: 26px; }
.clinical-note { font-size: .8125rem; color: #a4bbc0; }
.product-stage.real-product { padding: 12px 0 0; min-width: 0; width: 100%; }
.product-frame { overflow: hidden; border: 1px solid #cbdada; border-radius: 16px; background: #f6f8fa; box-shadow: 0 24px 66px #071b271a; }
.hero-product-frame { border-color: #3d5a65; box-shadow: 0 30px 90px #0008, 0 0 70px #32d2bd0b; }
.product-chrome { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 22px; color: #d8efec; background: #102c39; font-size: .875rem; font-weight: 600; line-height: 1.45; }
.product-wordmark { display: flex; align-items: center; gap: 12px; color: var(--mint-300); font-size: 1.25rem; font-weight: 800; }
.product-wordmark > span { color: white; font-size: .9375rem; font-weight: 650; }
.prototype-label { color: #a9c3c8; font-size: .75rem; font-weight: 500; }
.product-frame-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 22px; color: #d7eae9; background: #102c39; font-size: .8125rem; }
.product-frame-footer > span:last-child { color: var(--mint-300); font-family: ui-monospace, monospace; }
.product-caption { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: #a8c1c5; font-size: .8125rem; }
.caption-line { width: 24px; height: 1px; flex-shrink: 0; background: var(--mint-300); }
.screenshot-button { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #f5f7f9; text-align: left; cursor: zoom-in; }
.screenshot-crop { display: block; position: relative; width: 100%; overflow: hidden; background: #f5f7f9; aspect-ratio: var(--crop-ratio); }
.screenshot-crop img { position: absolute; display: block; max-width: none; width: var(--image-width); height: auto; left: var(--image-left); top: var(--image-top); }
.crop-result { --crop-ratio: 966 / 742; --image-width: 212.0083%; --image-left: -68.323%; --image-top: -40.97035%; }
.crop-input { --crop-ratio: 1345 / 1120; --image-width: 152.26766%; --image-left: -34.79554%; --image-top: -9.28571%; }
.crop-analysis { --crop-ratio: 720 / 612; --image-width: 284.44444%; --image-left: -110.27778%; --image-top: -66.17647%; }
.crop-reasoning { --crop-ratio: 970 / 650; --image-width: 211.13402%; --image-left: -67.21649%; --image-top: -89.38462%; }
.crop-sources { --crop-ratio: 930 / 132; --image-width: 220.21505%; --image-left: -72.47312%; --image-top: -843.93939%; }
.expand-hint { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 7px; padding: 8px 11px; color: #e8f7f4; background: #102c39ed; border: 1px solid #45616a; border-radius: 7px; font-size: .8125rem; line-height: 1.2; box-shadow: 0 3px 15px #071b2722; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.expand-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.screenshot-button:hover .expand-hint, .screenshot-button:focus-visible .expand-hint { opacity: 1; transform: translateY(0); }
.screenshot-button:focus-visible { outline: 3px solid var(--teal-500); outline-offset: -3px; }
.affiliation-row { margin-top: 24px; }
.affiliation-row > span { font-size: .8125rem; }
.section-index { font-size: .75rem; }
.principle-card p { font-size: 1rem; }
.workflow-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; }
.workflow-copy > h2 { font-size: clamp(2.6rem, 3.9vw, 3.6rem); line-height: 1.08; }
.workflow-copy > p { color: #acc5ca; }
.workflow-step { width: 100%; text-align: left; color: white; background: none; border: 0; border-top: 1px solid #ffffff24; border-radius: 0; padding: 22px 0; }
.workflow-step:hover .step-text > strong { color: var(--mint-300); }
.step-marker { font-size: .75rem; }
.step-text > strong { display: block; margin: 0 0 5px; font-size: 1rem; line-height: 1.5; font-weight: 650; }
.step-text > span { display: block; max-width: 490px; color: #98b4ba; font-size: .9375rem; line-height: 1.65; }
.workflow-step.active .step-text > span { color: #c5dedf; }
.workflow-visual { min-width: 0; max-width: none; margin: 0; }
.workflow-visual::before { display: none; }
.workflow-product-frame { border-color: #3d5a65; box-shadow: 0 25px 70px #0003; }
.workflow-product-frame .screenshot-button { aspect-ratio: 1.15; display: flex; align-items: center; }
.workflow-product-frame .crop-analysis { width: 91%; margin: 0 auto; }
.workflow-product-frame .crop-result { margin: 0; }
.workflow-caption { min-height: 50px; margin-top: 18px; color: #acc5ca; font-size: .875rem; line-height: 1.6; }
.reasoning-layout { display: grid; grid-template-columns: 1.45fr .8fr; gap: 64px; align-items: center; margin-top: 66px; }
.reasoning-figure { min-width: 0; }
.reasoning-frame .product-chrome { color: #35545e; background: #eaf0f1; border-bottom: 1px solid #d8e2e5; }
.reasoning-frame .prototype-label { color: #52717a; }
.image-note { margin-top: 14px; color: #607a82; font-size: .8125rem; }
.reasoning-note { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-top: 1px solid #d4e2e4; }
.reasoning-number { flex: 0 0 24px; padding-top: 4px; color: #168577; font: 600 .75rem/1.5 ui-monospace, monospace; }
.reasoning-note h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.025em; }
.reasoning-note p { margin: 0; color: #45616a; font-size: 1rem; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 15px; color: #096f64; font-size: .9375rem; font-weight: 650; line-height: 1.55; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link svg { width: 20px; flex: 0 0 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.source-layout { grid-template-columns: .9fr 1.1fr; gap: 80px; }
.source-copy h2 { font-size: clamp(2.6rem, 3.9vw, 3.6rem); line-height: 1.08; }
.source-tags span { font-size: .8125rem; }
.source-figure { position: relative; min-width: 0; padding: 34px; background: #eaf4f2; border: 1px solid #d3e5e1; border-radius: 20px; }
.source-image-heading { display: flex; flex-direction: column; gap: 7px; margin-bottom: 28px; }
.source-image-heading > span:first-child { color: #157d70; font: 650 .75rem/1.5 ui-monospace, monospace; letter-spacing: .09em; }
.source-image-heading > span:last-child { color: #173b43; font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; }
.source-screenshot { border: 1px solid #d3e0e3; border-radius: 11px; overflow: hidden; box-shadow: 0 12px 32px #123a4310; }
.source-screenshot .expand-hint { right: 8px; bottom: 8px; }
.source-figure figcaption { margin-top: 24px; color: #45616a; font-size: 1rem; line-height: 1.65; }
.screenshot-dialog { width: min(1120px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; color: var(--ink); background: white; border: 1px solid #c5d7d9; border-radius: 16px; box-shadow: 0 35px 120px #0006; overflow: auto; }
.screenshot-dialog[open] { display: flex; flex-direction: column; }
.screenshot-dialog::backdrop { background: #02141de6; backdrop-filter: blur(8px); }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; gap: 20px; padding: 18px 26px; border-bottom: 1px solid #dce6e7; }
.dialog-kicker { color: #147c70; font-size: .75rem; font-weight: 650; letter-spacing: .08em; }
.dialog-toolbar h2 { margin: 4px 0 0; font-size: 1.125rem; line-height: 1.4; }
.dialog-close { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; padding: 10px; color: #244954; background: #edf3f3; border: 1px solid #d7e3e4; border-radius: 50%; cursor: pointer; }
.dialog-close:hover { background: #daebe8; }
.dialog-close svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dialog-image-scroll { min-height: 0; overflow: auto; background: #f5f7f9; }
.dialog-image { min-width: 680px; }
.dialog-footer { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 26px; border-top: 1px solid #dce6e7; font-size: .8125rem; }
.dialog-footer > span { color: #58717a; }
.dialog-footer > a { color: #076d61; text-decoration: underline; text-underline-offset: 3px; }
body.has-image-dialog { overflow: hidden; }
@media (max-width: 1080px) {
  .hero-layout { grid-template-columns: .9fr 1.1fr; gap: 36px; }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4rem); }
  .hero-lede { font-size: 1rem; }
  .workflow-layout { gap: 42px; }
  .reasoning-layout { grid-template-columns: 1.25fr .8fr; gap: 36px; }
  .source-layout { gap: 42px; }
  .source-figure { padding: 26px; }
}
@media (max-width: 820px) {
  .hero { padding-top: 120px; }
  .hero-layout { grid-template-columns: 1fr; gap: 40px; padding-bottom: 26px; }
  .hero h1 { font-size: clamp(3.4rem, 8vw, 4.6rem); }
  .hero h1 br:first-child { display: none; }
  .hero h1 br:first-child::after { content: " "; }
  .hero h1 { max-width: 600px; }
  .hero-copy { max-width: 660px; }
  .product-stage.real-product { max-width: 680px; margin: 0 auto; padding: 0; }
  .workflow-layout, .reasoning-layout, .source-layout { grid-template-columns: 1fr; gap: 42px; }
  .workflow-copy > h2 { max-width: 620px; }
  .workflow-steps { margin-top: 26px; }
  .workflow-visual { max-width: 680px; margin: 0 auto; }
  .workflow-product-frame .screenshot-button { max-height: none; }
  .reasoning-layout { margin-top: 42px; }
  .reasoning-notes { display: grid; grid-template-columns: 1fr; }
  .reasoning-note { padding: 22px 0; }
  .source-figure { padding: 32px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 3.7rem); line-height: 1.08; }
  .hero h1 br:first-child { display: block; }
  .hero-layout { gap: 32px; }
  .hero-lede { line-height: 1.7; }
  .hero-actions { margin-top: 25px; }
  .eyebrow { font-size: .6875rem; letter-spacing: .07em; }
  .product-chrome { min-height: 52px; padding: 14px; font-size: .8125rem; gap: 10px; }
  .product-frame { border-radius: 12px; }
  .product-frame-footer { padding: 13px 14px; font-size: .75rem; }
  .product-caption { gap: 9px; font-size: .75rem; }
  .expand-hint { right: 9px; bottom: 9px; opacity: 1; transform: none; font-size: .75rem; padding: 7px 9px; }
  .workflow-copy > h2, .source-copy h2 { font-size: 2.6rem; }
  .workflow-step { grid-template-columns: 40px 1fr; gap: 13px; }
  .reasoning-layout { gap: 30px; }
  .source-figure { padding: 22px; border-radius: 14px; }
  .source-image-heading { margin-bottom: 18px; }
  .source-figure figcaption { margin-top: 18px; }
  .source-screenshot .expand-hint { display: none; }
  .screenshot-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 24px); border-radius: 12px; }
  .dialog-toolbar, .dialog-footer { padding: 15px; }
  .dialog-image { min-width: 760px; }
}
@media (hover: none) {
  .expand-hint { opacity: 1; transform: none; }
}
