/* Aveth Health: the deck's navy, teal and coral; big type, few words. */
:root {
  --navy: #0A1628;
  --navy-2: #112038;
  --navy-3: #1B2E4D;
  --ink: #0A1628;
  --body: #3D4B60;
  --muted: #66758C;
  --line: #DCE3EC;
  --paper: #FBFCFD;
  --mist: #F3F6F9;
  --mint: #DDF3F0;
  --teal: #2EC4B6;
  --teal-deep: #0B7A72;
  --coral: #FF7A88;
  --coral-deep: #C23A50;
  --slate: #9FB3CC;
  --on-navy: #E9EFF7;
  --on-navy-soft: #A9B8CC;
  --radius: 22px;
  --wrap: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { letter-spacing: -0.03em; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--teal); color: var(--navy); font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; box-shadow: 0 8px 24px rgba(46,196,182,.28); }
.btn:hover { transform: translateY(-1px); background: #45d2c5; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--on-navy); box-shadow: inset 0 0 0 1.5px rgba(233,239,247,.35); }
.btn-ghost:hover { background: rgba(233,239,247,.08); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-navy); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.brand b { font-weight: 800; color: var(--teal); }
.brand-mark { width: 36px; height: 24px; object-fit: contain; }
.mark-dark { display: none; }
.links { display: flex; align-items: center; gap: 30px; }
.links a:not(.btn) { color: var(--on-navy-soft); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.links a:not(.btn):hover { color: #fff; }
.nav.solid { background: rgba(251,252,253,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .brand { color: var(--ink); }
.nav.solid .brand b { color: var(--teal-deep); }
.nav.solid .mark-light { display: none; }
.nav.solid .mark-dark { display: block; }
.nav.solid .links a:not(.btn) { color: var(--body); }
.nav.solid .links a:not(.btn):hover { color: var(--ink); }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu span { display: block; height: 2px; background: var(--on-navy); border-radius: 2px; transition: transform .25s ease; }
.menu span + span { margin-top: 8px; }
.nav.solid .menu span { background: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: 160px 0 56px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -260px; background: radial-gradient(circle, rgba(46,196,182,.22), rgba(46,196,182,0) 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(159,179,204,.25), transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--on-navy-soft); background: rgba(233,239,247,.06); border: 1px solid rgba(233,239,247,.12); padding: 7px 14px 7px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(46,196,182,.2); animation: beat 2.4s ease-in-out infinite; }
@keyframes beat { 50% { box-shadow: 0 0 0 8px rgba(46,196,182,0); } }
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; font-weight: 800; margin-top: 28px; color: #fff; }
.lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; margin-top: 26px; color: var(--on-navy-soft); max-width: 34ch; }

/* the action queue illustration */
.queue { background: linear-gradient(180deg, rgba(27,46,77,.9), rgba(17,32,56,.92)); border: 1px solid rgba(159,179,204,.18); border-radius: 26px; padding: 26px; box-shadow: 0 40px 90px rgba(0,0,0,.35); }
.queue-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 18px; border-bottom: 1px solid rgba(159,179,204,.14); }
.queue-title { font-weight: 700; font-size: 18px; color: #fff; }
.queue-count { font-size: 14px; color: var(--on-navy-soft); }
.queue-count b { color: #fff; }
.queue-list { display: grid; gap: 12px; margin-top: 18px; }
.q { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(10,22,40,.55); border: 1px solid rgba(159,179,204,.12); transition: border-color .5s ease, background-color .5s ease; }
.q-ic { width: 34px; height: 34px; border-radius: 50%; border: 2px dashed var(--coral); transition: all .5s ease; position: relative; }
.q-body { display: flex; flex-direction: column; min-width: 0; }
.q-t { font-weight: 700; font-size: 16px; color: #fff; }
.q-s { font-size: 14px; color: var(--on-navy-soft); transition: color .4s; }
.chip { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; transition: all .4s ease; }
.chip-open { background: rgba(255,122,136,.16); color: var(--coral); }
.chip-run { background: rgba(159,179,204,.18); color: #D3DEEC; }
.chip-done { background: rgba(46,196,182,.18); color: var(--teal); }
.q.run .q-ic { border: 2px solid var(--slate); border-top-color: transparent; animation: spin 1s linear infinite; }
.q.done { border-color: rgba(46,196,182,.35); background: rgba(46,196,182,.07); }
.q.done .q-ic { border: 2px solid var(--teal); background: var(--teal); animation: none; }
.q.done .q-ic::after { content: ""; position: absolute; left: 10px; top: 6px; width: 8px; height: 14px; border: solid var(--navy); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.q.done .q-s { color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }
.queue-foot { margin-top: 16px; font-size: 13px; color: rgba(169,184,204,.7); text-align: right; }

.rails { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 72px; color: var(--on-navy-soft); font-size: 15px; }
.rails ul { display: flex; flex-wrap: wrap; gap: 10px; }
.rails li { padding: 6px 14px; border: 1px solid rgba(159,179,204,.22); border-radius: 999px; color: #D3DEEC; font-weight: 600; }

/* sections */
.sec { padding: 128px 0; }
.sec-mist { background: var(--mist); }
.sec-navy { background: var(--navy); color: var(--on-navy); }
.kicker { font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.kicker-light { color: var(--teal); }
.sec h2, .end h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; font-weight: 800; margin-top: 16px; max-width: 28ch; }
.sec-navy h2 { color: #fff; }
.soft { color: var(--muted); }
.accent { color: var(--teal-deep); }
.accent-light { color: var(--teal); }
.note { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 70ch; }
.note-light { color: var(--on-navy-soft); }
.num { font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.num-sm { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.02em; }
.num-sm span { font-size: .6em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.l-name { font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* problem */
.switch { display: inline-flex; margin-top: 44px; padding: 5px; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; }
.switch button { border: 0; background: transparent; font: 700 16px var(--font); color: var(--body); padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: all .25s ease; }
.switch button.on { background: var(--navy); color: #fff; }
.gaps { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.gap-head, .gap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 18px 28px; }
.gap-head { background: var(--mist); font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.gap + .gap, .gap-head + .gap { border-top: 1px solid var(--line); }
.g-what { font-size: 20px; font-weight: 700; color: var(--ink); }
.g-next { position: relative; font-size: 20px; font-weight: 600; min-height: 1.6em; }
.g-next i { font-style: normal; display: inline-flex; align-items: center; gap: 12px; transition: opacity .35s ease, transform .35s ease; }
.g-next i::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.miss { color: var(--coral-deep); }
.miss::before { border: 2px dashed var(--coral); }
.fix { color: var(--teal-deep); position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(6px); }
.fix::before { background: var(--teal); }
.gaps[data-mode="aveth"] .miss { opacity: 0; transform: translateY(-6px); }
.gaps[data-mode="aveth"] .fix { opacity: 1; transform: none; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.stat { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(159,179,204,.14); }
.stat .num { color: var(--coral); font-size: clamp(40px, 3.6vw, 54px); white-space: nowrap; }
.stat p:not(.num) { color: var(--on-navy); font-size: 17px; line-height: 1.5; }
.stat a { margin-top: auto; color: var(--on-navy-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.stat a:hover { color: var(--teal); }

/* why now */
.rails-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.big { padding: 34px 30px; border-radius: var(--radius); background: var(--mint); }
.big .num { color: var(--teal-deep); font-size: clamp(40px, 4vw, 58px); white-space: nowrap; }
.big p:not(.num) { margin-top: 12px; font-size: 19px; font-weight: 600; color: var(--ink); }
.src { margin-top: 16px; font-size: 15px; color: var(--muted); }
.src a, .callout a { color: var(--teal-deep); font-weight: 700; text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.callout { padding: 32px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.callout p:not(.num) { margin-top: 14px; font-size: 18px; color: var(--body); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.step { position: relative; padding: 36px 32px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-deep)); }
.step-n { font-size: 15px; font-weight: 800; color: var(--teal-deep); }
.step h3 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; }
.step ul { margin-top: 20px; display: grid; gap: 12px; }
.step li { position: relative; padding-left: 26px; font-size: 18px; color: var(--body); line-height: 1.45; }
.step li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--teal); }
.loop { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 26px 30px; border-radius: var(--radius); background: var(--navy); color: var(--on-navy); }
.loop p { font-size: 20px; }
.loop b { color: var(--teal); font-weight: 700; }
.loop-ring { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--teal); border-right-color: transparent; animation: spin 3.2s linear infinite; }

/* architecture */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; margin-top: 56px; }
.layers { display: grid; gap: 12px; }
.layer { padding: 22px 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.l-items { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.l-items span { padding: 8px 14px; border-radius: 12px; background: var(--mist); font-weight: 600; font-size: 16px; color: var(--ink); }
.l-core { background: var(--navy); border-color: var(--navy); box-shadow: 0 24px 60px rgba(10,22,40,.25); }
.l-core .l-name { color: var(--teal); }
.l-core .l-items span { background: rgba(46,196,182,.14); color: #fff; }
.l-int .l-items span { background: transparent; padding: 0; font-weight: 500; color: var(--body); }
.l-serve .l-items span { background: var(--mint); }
.gov { padding: 22px 26px; border-radius: 18px; background: var(--mint); }
.gov ul { display: grid; gap: 14px; margin-top: 16px; }
.gov li { position: relative; padding-left: 28px; font-size: 17px; font-weight: 700; color: var(--ink); }
.gov li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--teal-deep); }
.gov li::after { content: ""; position: absolute; left: 5.5px; top: calc(.35em + 3px); width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* use cases */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.case { padding: 36px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.case:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(10,22,40,.08); }
.case-n { font-size: 15px; font-weight: 800; color: var(--teal-deep); }
.case h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; line-height: 1.2; }
.case dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px 18px; margin-top: 22px; }
.case dt { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case dd { font-size: 17px; color: var(--body); }
.case dd:last-of-type { color: var(--teal-deep); font-weight: 700; }

/* safety */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile { padding: 30px 26px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(159,179,204,.14); }
.tile h3 { font-size: 22px; font-weight: 800; color: #fff; }
.tile p { margin-top: 10px; font-size: 17px; color: var(--on-navy-soft); }

/* pilot */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; counter-reset: p; position: relative; }
.path::before { content: ""; position: absolute; left: 28px; right: calc(25% - 43px); top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 18px); }
.path li { position: relative; }
.p-n { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--teal); font-weight: 800; font-size: 22px; box-shadow: 0 0 0 8px var(--paper); }
.path h3 { font-size: 26px; font-weight: 800; margin-top: 22px; letter-spacing: -0.02em; }
.path p { margin-top: 8px; font-size: 18px; color: var(--body); }

/* vision */
.vision { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.vision li { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.vision .here { background: var(--navy); border-color: var(--navy); }
.v-n { display: inline-block; font-size: 14px; font-weight: 800; color: var(--muted); }
.here .v-n { color: var(--navy); background: var(--teal); padding: 4px 12px; border-radius: 999px; }
.vision h3 { font-size: 22px; font-weight: 800; margin-top: 16px; line-height: 1.25; }
.here h3 { color: #fff; }
.vision p { margin-top: 8px; font-size: 17px; color: var(--body); }
.here p { color: var(--on-navy-soft); }

/* team */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.founder { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.founder img { width: 180px; height: 210px; object-fit: cover; border-radius: 16px; }
.founder h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.role { color: var(--teal-deep); font-weight: 700; margin-top: 2px; }
.founder figcaption p:not(.role) { margin-top: 10px; font-size: 16px; color: var(--body); }
.extended { margin-top: 32px; }
.extended ul { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.extended li { padding: 10px 18px; border-radius: 999px; background: var(--mist); font-size: 17px; font-weight: 600; color: var(--body); }
.extended b { color: var(--teal-deep); }

/* close */
.end { position: relative; overflow: hidden; background: var(--navy); color: var(--on-navy); padding: 140px 0; }
.end::before { content: ""; position: absolute; width: 1000px; height: 1000px; left: 50%; top: 40%; transform: translate(-50%, -20%); background: radial-gradient(circle, rgba(46,196,182,.18), rgba(46,196,182,0) 60%); pointer-events: none; }
.end-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.end h2 { color: #fff; font-size: clamp(44px, 6vw, 84px); margin: 0 auto; }
.end .lead { margin: 26px auto 0; text-align: center; max-width: 40ch; }
.end .cta-row { justify-content: center; }
.mail { color: var(--on-navy); font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 2px solid rgba(46,196,182,.5); padding-bottom: 2px; }
.mail:hover { border-color: var(--teal); }

/* footer */
.foot { background: #07101E; color: var(--on-navy-soft); padding: 48px 0; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 18px; }
.foot-brand b { color: var(--teal); font-weight: 800; }
.foot-brand img { width: 30px; height: 20px; object-fit: contain; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot-links a { color: var(--on-navy); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--teal); }

/* reveal on scroll (only when scripts run and motion is welcome) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .queue { max-width: 620px; }
  .stats, .tiles, .vision { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { display: block; }
  .links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: var(--paper); box-shadow: 0 20px 40px rgba(10,22,40,.15); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s ease; }
  .links a:not(.btn) { color: var(--ink) !important; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 16px; }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: var(--paper); }
  .nav.open .brand { color: var(--ink); }
  .nav.open .mark-light { display: none; }
  .nav.open .mark-dark { display: block; }
  .nav.open .menu span { background: var(--ink); }
  .nav.open .menu span:first-child { transform: translateY(5px) rotate(45deg); }
  .nav.open .menu span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .sec { padding: 88px 0; }
  .steps, .cases, .rails-grid, .split { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .path::before { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 128px 0 44px; }
  .queue { padding: 18px; border-radius: 22px; }
  .q { grid-template-columns: 28px minmax(0, 1fr); padding: 12px 14px; }
  .q-ic { width: 28px; height: 28px; }
  .q.done .q-ic::after { left: 7.5px; top: 4px; width: 7px; height: 12px; }
  .chip { grid-column: 2; justify-self: start; }
  .stats, .tiles, .vision, .path { grid-template-columns: 1fr; }
  .gap-head { display: none; }
  .gap { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .g-what { font-size: 17px; color: var(--muted); }
  .g-next { font-size: 19px; }
  .case dl { grid-template-columns: 1fr; gap: 4px; }
  .case dd { margin-bottom: 12px; }
  .founder { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .founder img { width: 110px; height: 140px; }
  .loop { flex-direction: column; align-items: flex-start; }
  .switch button { padding: 10px 16px; font-size: 15px; }
}
@media print {
  .js .rv { opacity: 1; transform: none; }
  .nav, .menu, .queue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
