@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --paper: #fff;
  --ink: #111;
  --muted: #595959;
  --quiet: #777;
  --line: #e5e5e5;
  --accent: #1763b1;
  --sans: Inter, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: #dceafa; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #111; color: white; padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; z-index: 50; top: 0; height: 64px; border-bottom: 1px solid transparent; background: rgba(255,255,255,.96); transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 15px rgba(0,0,0,.035); }
.header-inner { max-width: 1500px; margin: auto; padding: 0 30px; height: 100%; display: flex; align-items: center; gap: 36px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1rem; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.wordmark-light { font-weight: 500; }
.mark { width: 21px; height: 21px; border: 1.5px solid #111; border-radius: 5px; position: relative; overflow: hidden; flex: none; }
.mark i { display: block; position: absolute; border: 2px solid transparent; border-radius: 50%; transform: rotate(-28deg); }
.mark i:first-child { width: 21px; height: 27px; left: -1px; top: 1px; border-top-color: #111; }
.mark i:last-child { width: 17px; height: 23px; left: 7px; top: 4px; border-top-color: #111; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; }
.site-header nav a, .footer-links a { color: #444; text-decoration: none; font-size: .85rem; font-weight: 500; }
.site-header nav a:hover, .footer-links a:hover { color: var(--accent); }
.header-action { display: none; }

.hero { padding: 62px 24px 0; }
.hero-copy { max-width: 1040px; margin: auto; text-align: center; }
.eyebrow { color: var(--quiet); text-transform: uppercase; font-size: .69rem; font-weight: 600; letter-spacing: .17em; margin-bottom: 20px; }
.eyebrow-line, .eyebrow-dot { display: none; }
.hero h1 { margin: 0; font-size: clamp(3.45rem, 5.9vw, 5.65rem); letter-spacing: -.065em; line-height: 1.02; font-weight: 700; }
.hero h1 span { display: block; }
.hero h1 small { display: block; max-width: 900px; margin: 14px auto 0; font-size: clamp(1.42rem, 2.35vw, 2.35rem); letter-spacing: -.042em; line-height: 1.27; font-weight: 500; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 19px; border: 1px solid #111; border-radius: 999px; font-size: .87rem; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #111; color: #fff; }
.button-primary:hover { background: #333; }
.button-text { background: #fff; color: #111; }
.button-text:hover { background: #f3f3f3; }
.resource-button { min-width: 126px; cursor: default; }
.resource-button:hover { transform: none; }
.resource-button img { width: 19px; height: 19px; flex: none; }
.resource-button.button-primary img { filter: brightness(0) invert(1); }
.hero-media { max-width: 1510px; margin: 45px auto 0; }
.panorama-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #bbb transparent; }
.hero-demo-track { width: 100%; }
.hero-demo-labels { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-demo-labels span { padding: 11px 15px; text-align: center; font-size: .94rem; font-weight: 600; }
.hero-demo-labels span + span { border-left: 1px solid var(--line); }
.hero-demo-labels b { color: var(--quiet); font-size: .7rem; font-weight: 500; letter-spacing: .05em; margin-right: 10px; }
.hero-video { width: 100%; aspect-ratio: 2160 / 406; object-fit: contain; background: #fff; }
.hero-demo-footer { display: flex; justify-content: space-between; gap: 20px; padding: 11px 1px; color: var(--quiet); font-size: .76rem; }
.hero-demo-footer .legend-dot:not(:first-child) { margin-left: 12px; }
.hero-explain { max-width: 900px; margin: 12px auto 0; color: var(--muted); text-align: center; font-size: .92rem; line-height: 1.6; }
.panorama-hint { display: none; }
.hero-foot { display: none; }
.legend-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; }
.legend-gold { background: #ddb04a; }
.legend-cyan { background: #29c3d4; }

.section { max-width: 1170px; margin: 0 auto; padding: 88px 30px; }
.intro-section { padding-top: 100px; }
.section-grid, .section-top { display: block; }
.section-kicker { color: var(--quiet); font-size: .73rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; text-align: center; margin-bottom: 15px; }
.section-kicker span { display: none; }
h2 { margin: 0 0 20px; font-size: clamp(2rem, 3.1vw, 2.95rem); font-weight: 600; letter-spacing: -.053em; line-height: 1.15; text-align: center; }
.section-top { margin: 0 auto 34px; text-align: center; }
.section-top p { max-width: 790px; margin: 0 auto; color: var(--muted); line-height: 1.7; font-size: 1rem; }
.narrow-grid > div:last-child { max-width: 900px; margin: auto; }
.body-copy { margin: 0 auto; color: var(--muted); line-height: 1.7; font-size: 1.15rem; }
.highlights-title { margin: 35px 0 17px; font-size: 1.32rem; font-weight: 600; letter-spacing: -.025em; }
.highlights { margin: 0; padding-left: 1.6rem; }
.highlights li { padding-left: .3rem; margin-bottom: 15px; line-height: 1.55; }
.highlights li::marker { color: #555; font-size: .9rem; }
.highlights strong { font-size: 1.08rem; font-weight: 600; }
.highlights p { color: var(--muted); font-size: 1.05rem; line-height: 1.62; margin: 4px 0 0; }
.figure-section, .dataset-section, .video-section { border-top: 1px solid var(--line); }
.dataset-section { max-width: 1440px; }
.dataset-section > .wide-figure, .dataset-section > .instrument-figure { max-width: 1110px; margin-left: auto; margin-right: auto; }
.wide-figure, .instrument-figure { margin: 0; }
.wide-figure a { display: block; }
.wide-figure img, .instrument-figure img { width: 100%; background: #fff; }
.wide-figure figcaption, .instrument-figure figcaption { padding-top: 13px; text-align: center; color: var(--quiet); line-height: 1.5; font-size: .82rem; }
.wide-figure figcaption span { font-weight: 600; color: #333; margin-right: 9px; }

.instrument-figure { margin-top: 40px; }
.dataset-video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; row-gap: 30px; max-width: 1110px; margin: 42px auto 0; }
.dataset-video-item { min-width: 0; margin: 0; }
.dataset-video-item video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.dataset-video-item figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; padding-top: 10px; }
.dataset-video-item strong { font-size: .86rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.dataset-video-item span { color: var(--quiet); font-size: .69rem; white-space: nowrap; }
.video-section { max-width: 1170px; background: #fff; }
.video-section > .section-top { margin-bottom: 24px; }
.case-tabs, .feature-video-wrap { max-width: none; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
.case-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; overflow-x: auto; }
.case-tab { min-width: 220px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .83rem; font-weight: 500; white-space: nowrap; transition: background .2s, border-color .2s; }
.case-tab:hover { background: #f7f7f7; }
.case-tab.active { color: #fff; background: #111; border-color: #111; }
.feature-video-wrap { margin: 0; }
.feature-video-wrap video { width: 100%; aspect-ratio: 4320 / 1340; background: #000; }
.comparison-videos { display: grid; gap: 52px; margin-top: 74px; }
.comparison-video { min-width: 0; }
.comparison-video h3 { margin: 0 0 14px; font-size: 1.28rem; font-weight: 600; letter-spacing: -.025em; }
.condition-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -1px 0 14px; }
.condition-tab { min-width: 200px; padding: 10px 18px; border: 1px solid var(--chip); border-radius: 999px; background: var(--chip-light); color: #25303d; font-size: .88rem; font-weight: 600; transition: background .2s, transform .2s; }
.condition-tab:hover { transform: translateY(-1px); }
.condition-tab.active { background: var(--chip); color: var(--chip-ink); }
.condition-tab[data-condition="r5"] { --chip: #647492; --chip-light: #e1e5ec; --chip-ink: #fff; }
.condition-tab[data-condition="r10"] { --chip: #a4b9d1; --chip-light: #ecf0f5; --chip-ink: #182636; }
.condition-tab[data-condition="r15"] { --chip: #e5d2db; --chip-light: #f7eff3; --chip-ink: #352836; }
.condition-tab[data-condition="r20"] { --chip: #a08194; --chip-light: #f0e9ed; --chip-ink: #fff; }
.real-case-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -1px 0 14px; }
.real-case-tab { min-width: 126px; padding: 10px 18px; border: 1px solid #cbd5db; border-radius: 999px; background: #f5f8fa; color: #33424e; font-size: .88rem; font-weight: 600; transition: background .2s, transform .2s; }
.real-case-tab:hover { transform: translateY(-1px); }
.real-case-tab.active { background: #334e61; border-color: #334e61; color: #fff; }
.comparison-video video { display: block; max-width: none; background: #111820; }
.synthetic-comparison video { width: 100%; aspect-ratio: 2160 / 1104; }
.real-comparison video { width: 100%; aspect-ratio: 2160 / 552; }
.site-footer { border-top: 1px solid var(--line); max-width: 1170px; margin: auto; padding: 44px 30px 30px; display: grid; grid-template-columns: 2fr 1fr; gap: 35px; }
.site-footer p { color: var(--muted); max-width: 460px; font-size: .85rem; line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; align-content: start; }
.site-footer small { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; color: var(--quiet); font-size: .74rem; }

html.has-js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
html.has-js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .header-inner { padding: 0 18px; gap: 15px; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: .76rem; }
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(4) { display: none; }
  .hero { padding: 58px 0 0; }
  .hero-copy { padding: 0 22px; }
  .hero h1 { font-size: clamp(3.1rem, 12vw, 5rem); }
  .hero h1 small { font-size: clamp(1.24rem, 5.5vw, 1.7rem); }
  .hero-media { margin-top: 35px; }
  .hero-demo-track { width: 1080px; min-width: 1080px; }
  .hero-video { max-width: none; width: 1080px; height: 203px; aspect-ratio: auto; }
  .hero-demo-labels span { font-size: .84rem; padding: 10px 7px; }
  .hero-demo-footer { padding: 9px 18px; font-size: .67rem; }
  .hero-demo-footer span:last-child { display: none; }
  .hero-explain { padding: 0 22px; font-size: .83rem; }
  .panorama-hint { display: flex; justify-content: space-between; margin: 0; padding: 0 18px 10px; color: var(--quiet); font-size: .69rem; }
  .section { padding: 78px 22px; }
  .intro-section { padding-top: 84px; }
  .dataset-video-row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; row-gap: 24px; }
  .case-tabs { justify-content: start; }
  .case-tab { min-width: 208px; }
  .feature-video-wrap video { max-width: none; width: 1440px; min-width: 1440px; height: 447px; aspect-ratio: auto; }
  .comparison-videos { gap: 46px; margin-top: 60px; }
  .condition-tab { min-width: 0; flex: 1 1 calc(50% - 4px); }
  .real-case-tab { min-width: 0; flex: 1 1 calc(33.333% - 6px); }
  .synthetic-comparison video { width: 900px; height: 460px; aspect-ratio: auto; }
  .real-comparison video { width: 1080px; height: 276px; aspect-ratio: auto; }
  .site-footer { grid-template-columns: 1fr; padding: 38px 22px 25px; }
  .site-footer small { grid-column: 1; }
}

@media (max-width: 560px) {
  .dataset-video-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-js .reveal { opacity: 1; transform: none; transition: none; }
  .button, .site-header { transition: none; }
}
