/* Layout: clinical grid — dark scan-room hero, then calm light sections; one teal accent. */
:root {
  --bg: #F3F6F6;
  --surface: #FFFFFF;
  --fg: #0F1B20;
  --muted: #56676D;
  --line: #DAE2E3;
  --accent: #0C8566;
  --accent-ink: #FFFFFF;
  --accent-soft: #E1F2EC;
  --hero-bg: #0A1316;
  --hero-fg: #E9F1F0;
  --hero-muted: #9DB1B0;
  --hero-line: #1F3036;
  --font-body: "Quicksand", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --font-mono: "Quicksand", "Noto Sans KR", system-ui, sans-serif;
  --wrap: 1120px;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1316; --surface: #121F23; --fg: #E4EDED; --muted: #93A6A8;
    --line: #213238; --accent: #2DBD92; --accent-ink: #052119; --accent-soft: #10302A;
    --hero-bg: #060C0E; --hero-line: #1A2A2F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1316; --surface: #121F23; --fg: #E4EDED; --muted: #93A6A8;
  --line: #213238; --accent: #2DBD92; --accent-ink: #052119; --accent-soft: #10302A;
  --hero-bg: #060C0E; --hero-line: #1A2A2F;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, canvas { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; line-height: 1.3; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--hero-bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hero-line);
  color: var(--hero-fg);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.14em; font-size: 15px; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo small { display: block; font-weight: 400; letter-spacing: 0.02em; font-size: 11px; color: var(--hero-muted); line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 6px; color: var(--hero-muted); }
.nav a:hover { color: var(--hero-fg); }
.nav a[aria-current="page"] { color: var(--hero-fg); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav a.nav-cta { background: var(--accent); color: var(--accent-ink); margin-left: 8px; font-weight: 600; }
@media (max-width: 560px) { .nav a { padding: 6px 8px; font-size: 13px; } .nav a.nav-cta { margin-left: 0; } }

/* ---------- shared bits ---------- */
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); border: 1px solid transparent; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .85; }
.section { padding-block: 96px; }
.section.tight { padding-block: 72px; }
.section-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.section-head p { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.placeholder { display: inline-block; border: 1px dashed var(--muted); color: var(--muted); border-radius: 6px; padding: 2px 10px; font-size: 13px; }

/* ---------- hero ---------- */
.hero { background: var(--hero-bg); color: var(--hero-fg); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: 88px 72px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { color: var(--hero-muted); font-size: 17px; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hero-line); }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta b { font-size: 15px; }
.hero-meta span { font-size: 12px; color: var(--hero-muted); font-family: var(--font-mono); letter-spacing: .06em; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-block: 56px; }
}

/* phone mockup */
.phone {
  width: min(300px, 100%); margin-inline: auto; aspect-ratio: 9 / 15.5; max-width: 100%;
  background: #1B2427; border-radius: 40px; padding: 12px;
  box-shadow: 0 0 0 1px #2C3A3E, 0 40px 80px -30px rgba(0,0,0,.7);
}
.screen { height: 100%; border-radius: 30px; background: #F4F7F7; color: #0F1B20; overflow: hidden; display: flex; flex-direction: column; }
.screen-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 10px; font-size: 12px; }
.screen-top b { font-size: 14px; }
.screen-top .tag { font-family: var(--font-mono); font-size: 10px; background: #E1F2EC; color: #0C6B53; padding: 2px 8px; border-radius: 99px; }
.screen .scan { background: #000; width: 100%; aspect-ratio: 6 / 5; height: auto; }
.screen-body { padding: 14px 18px; display: grid; gap: 10px; font-size: 12px; }
.screen-body .label { color: #56676D; font-size: 11px; }
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.stages span { text-align: center; font-family: var(--font-mono); font-size: 11px; padding: 6px 0; border-radius: 4px; background: #E3EAEB; color: #56676D; }
.stages span.on { background: #0C8566; color: #fff; font-weight: 500; }
.screen-note { font-size: 10px; color: #7A8A8F; }

/* ---------- what we do ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 2px solid var(--fg); }
.feature svg { width: 28px; height: 28px; color: var(--accent); }
.feature h3 { font-size: 17px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.scan-panel { background: #000; border-radius: var(--radius); padding: 20px; color: #9DB1B0; font-family: var(--font-mono); font-size: 11px; }
.scan-panel .scan { width: 100%; height: auto; aspect-ratio: 6 / 5; }
.scan-panel .row { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.prose { display: grid; gap: 18px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
.prose p { color: var(--muted); max-width: 36em; }
.facts { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
.facts dd { margin: 0; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 4px; }
.scale div { border-top: 3px solid var(--line); padding-top: 8px; display: grid; gap: 2px; }
.scale div:nth-child(1) { border-color: color-mix(in srgb, var(--accent) 20%, var(--line)); }
.scale div:nth-child(2) { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.scale div:nth-child(3) { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.scale div:nth-child(4) { border-color: color-mix(in srgb, var(--accent) 80%, var(--line)); }
.scale div:nth-child(5) { border-color: var(--accent); }
.scale b { font-family: var(--font-mono); font-size: 14px; }
.scale span { font-size: 12px; color: var(--muted); }

/* ---------- achievement band ---------- */
.band { background: var(--surface); border-block: 1px solid var(--line); }
.award { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .award { grid-template-columns: 1fr; gap: 32px; } }
.award h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-top: 12px; }
.award p { color: var(--muted); margin-top: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { background: var(--surface); padding: 24px; display: grid; gap: 4px; }
.stats b { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums; }
.stats span { font-size: 13px; color: var(--muted); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 700; background: var(--accent-soft); color: var(--accent); }
.member .field { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.member h3 { font-size: 22px; font-weight: 700; }
.member ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.member li { padding-left: 14px; position: relative; }
.member li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 1px; background: var(--muted); }
.member p.note { font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- process ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }
.flow li { list-style: none; padding: 0 20px 0 0; display: grid; gap: 8px; align-content: start; }
.flow li::before { counter-increment: step; content: "STEP " counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.flow h3 { font-size: 17px; font-weight: 600; }
.flow p { font-size: 14.5px; color: var(--muted); }
ol.flow { padding: 0; margin: 0; }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 32px 24px; position: relative; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline li.done::before { background: var(--accent); }
.timeline time { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.timeline h3 { font-size: 17px; font-weight: 600; }
.timeline p { font-size: 14.5px; color: var(--muted); }

/* page header (sub pages) */
.page-head { background: var(--hero-bg); color: var(--hero-fg); }
.page-head .wrap { padding-block: 72px 56px; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 700; }
.page-head p { color: var(--hero-muted); max-width: 40em; }

/* ---------- contact + footer ---------- */
.contact { background: var(--accent); color: var(--accent-ink); }
.contact .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 56px; }
.contact h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; }
.contact p { opacity: .85; margin-top: 6px; }
.contact .placeholder { border-color: currentColor; color: inherit; opacity: .9; font-size: 14px; padding: 8px 14px; }
.site-footer { background: var(--hero-bg); color: var(--hero-muted); font-size: 13px; }
.site-footer .wrap { padding-block: 40px; display: grid; gap: 14px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--hero-fg); }
.site-footer .biz { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* ---------- photos ---------- */
.member .photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--line); }
.member h3 span { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 4px; }

/* ---------- contact list ---------- */
.contact .wrap { align-items: flex-start; }
.contact-head p a { color: inherit; font-weight: 700; text-decoration: none; }
.contacts { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 40px; font-size: 14px; }
.contacts > div { display: grid; gap: 2px; min-width: 0; }
.contacts b { font-size: 15px; margin-bottom: 4px; }
.contacts a { color: inherit; text-decoration: none; opacity: .9; overflow-wrap: anywhere; }
.contacts a:hover { text-decoration: underline; opacity: 1; }
@media (max-width: 900px) { .contacts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- video ---------- */
.video-box { border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.video-box video { display: block; width: 100%; height: auto; aspect-ratio: 1324 / 720; background: #000; }

/* ---------- v3 components ---------- */
.stages.stages-3 { grid-template-columns: repeat(3, 1fr); }
.scale.scale-3 { grid-template-columns: repeat(3, 1fr); }
.scale.scale-3 div:nth-child(1) { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.scale.scale-3 div:nth-child(2) { border-color: color-mix(in srgb, var(--accent) 65%, var(--line)); }
.scale.scale-3 div:nth-child(3) { border-color: var(--accent); }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); vertical-align: middle; letter-spacing: 0; }
.page-head .pill { background: color-mix(in srgb, var(--accent) 25%, transparent); color: #7FE0BF; margin-left: 6px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.kpis > div { padding: 28px 24px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); }
.kpis > div:first-child { border-left: 0; padding-left: 0; }
.kpis b { font-size: clamp(24px, 3vw, 34px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpis b small { font-size: .55em; margin-left: 2px; }
.kpis b em { font-style: normal; color: var(--accent); }
.kpis span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .kpis { grid-template-columns: 1fr; }
  .kpis > div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .kpis > div:first-child { border-top: 0; }
}

.result { margin: 0; display: grid; gap: 10px; }
.result img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
.result figcaption { font-size: 13px; color: var(--muted); }

.partners-row { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: center; }
.partners-row .section-head { margin-bottom: 0; }
@media (max-width: 760px) { .partners-row { grid-template-columns: 1fr; } }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 560px) { .partners { grid-template-columns: 1fr; } }
.partner { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.partner > div { display: grid; gap: 2px; min-width: 0; }
.partner b { font-size: 16px; }
.partner > div span { font-size: 13px; color: var(--muted); }
.partner-mark { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--accent-soft); color: var(--accent); }

.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); display: grid; gap: 16px; }
.project-card h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; max-width: 40em; }
.project-tags { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.facts dd.num, .patent dd.num { font-variant-numeric: tabular-nums; }

.patents { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .patents { grid-template-columns: 1fr; } }
.patent { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; }
.patent .pill { justify-self: start; }
.patent h3 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.patent dl { margin: 0; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
.patent dl div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; font-size: 14px; }
.patent dt { color: var(--muted); }
.patent dd { margin: 0; }

.notice { font-size: 14px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.notice b { color: var(--fg); margin-right: 8px; }
.site-footer .disclaimer { font-size: 12.5px; color: var(--hero-muted); border-top: 1px solid var(--hero-line); padding-top: 14px; }

.member ul.career { font-size: 14px; }
@media (max-width: 860px) { .nav a { padding: 6px 8px; font-size: 13px; } }
.split.top { align-items: start; }

/* ---------- partner logos ---------- */
.partner-logo { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 20px 28px; min-height: 120px; min-width: 0; }
.partner-logo img { width: auto; max-width: 100%; max-height: 64px; height: auto; object-fit: contain; }

/* ---------- v4: logo balance + wide member cards ---------- */
.partner-logo img.logo-cbnu { max-height: 92px; }
.partner-logo img.logo-sch { max-height: 62px; }
.partner-logo { min-height: 132px; }

.team.team-rows { grid-template-columns: 1fr; gap: 20px; }
.team-rows .member { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; padding: 28px 32px; }
.team-rows .member .photo { width: 200px; }
.member-body { display: grid; gap: 10px; align-content: start; min-width: 0; }
.team-rows .member h3 { font-size: 24px; margin-bottom: 6px; }
.team-rows .member ul.career { font-size: 15px; gap: 8px; }
@media (min-width: 1000px) {
  .team-rows .member ul.career { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (max-width: 640px) {
  .team-rows .member { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .team-rows .member .photo { width: 160px; }
}
/* balance by matching the Korean name height in both logos */
.partner-logo img.logo-sch { max-height: none; width: min(360px, 92%); }
.partner-logo img.logo-cbnu { max-height: none; width: min(232px, 60%); }

/* ---------- v5: co-CEOs side by side, wider ---------- */
.wrap.wrap-wide { max-width: 1400px; }
.team.team-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-wide .member { padding: 24px 22px; gap: 14px; }
.team-wide .member .photo { width: 100%; aspect-ratio: 4 / 4.4; object-position: center top; }
.team-wide .member ul.career { font-size: 14px; gap: 7px; }
.team-wide .member ul.career li { letter-spacing: -0.01em; }
@media (max-width: 1000px) { .team.team-wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .team.team-wide { grid-template-columns: 1fr; } }

/* ---------- hero device (real UI screenshot) ---------- */
.device { margin: 0; width: 100%; max-width: 560px; justify-self: end; background: #121B1E; border: 1px solid #2C3A3E; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.device-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #22303A; font-size: 13px; color: #E9F1F0; }
.device-bar .dots { display: flex; gap: 6px; }
.device-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #2C3A3E; }
.device-bar .tag { margin-left: auto; font-size: 11px; font-weight: 700; background: rgba(45,189,146,.18); color: #7FE0BF; padding: 2px 10px; border-radius: 99px; }
.device img { display: block; width: 100%; height: auto; background: #000; }
.device-foot { padding: 14px 16px 16px; display: grid; gap: 10px; }
.device-foot .label { font-size: 12px; color: #9DB1B0; }
.device .stages span { background: #1C282C; color: #9DB1B0; }
.device .stages span.on { background: #0C8566; color: #fff; }
.device .screen-note { font-size: 11px; color: #7A8E8F; }
@media (max-width: 860px) { .device { justify-self: stretch; max-width: none; } }
/* smaller hero screen, never upscaled past the screenshot's real size */
.device { max-width: 440px; }
.device img { aspect-ratio: 643 / 347; object-fit: contain; }
@media (max-width: 860px) { .device { justify-self: center; max-width: 460px; } }

/* hero: the screenshot alone, at its own aspect ratio */
.hero-shot { margin: 0; justify-self: end; width: 100%; max-width: 420px; display: grid; gap: 10px; }
.hero-shot img { display: block; width: 100%; height: auto; aspect-ratio: 643 / 347; border-radius: 10px; border: 1px solid var(--hero-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.hero-shot figcaption { font-size: 12px; color: var(--hero-muted); }
@media (max-width: 860px) { .hero-shot { justify-self: start; } }
/* larger hero screenshot (same ratio); give its column more room */
.hero .wrap:has(.hero-shot) { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.hero-shot { max-width: 600px; }
@media (max-width: 860px) { .hero .wrap:has(.hero-shot) { grid-template-columns: 1fr; } .hero-shot { max-width: 100%; } }
.hero .wrap:has(.hero-shot) h1 { font-size: clamp(30px, 3.9vw, 46px); }
