/* The landing page. */
.landing { font-size: 16px; color: var(--ink-2); background: var(--bg); --gut: clamp(20px, 4.4vw, 64px); }
.landing h2 { margin: 14px 0 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); }
.landing .only-wide { display: none; }
@media (min-width: 900px) { .landing .only-wide { display: inline; } }

.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; background-color: var(--bg);
  display: grid; grid-template-columns: minmax(380px, 560px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); column-gap: clamp(16px, 2vw, 40px);
  transition: grid-template-columns 0.7s var(--ease-out);
  background-image: linear-gradient(rgba(30, 38, 36, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(30, 38, 36, 0.045) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }
.land-head { grid-column: 1 / -1; position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--gut); flex-wrap: wrap; }
.land-head .brand { font-size: 16px; }
.land-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.hero-text { position: relative; z-index: 4; grid-column: 1; grid-row: 2; align-self: start; max-width: 560px; margin-left: var(--gut); padding-top: clamp(24px, 6vh, 80px); min-width: 0;
  transition: opacity 0.45s ease, transform 0.6s var(--ease-out); }
.hero-text h1 { margin: 18px 0 0; font-size: clamp(48px, 6.4vw, 92px); font-weight: 300; line-height: 0.98; letter-spacing: -0.045em; color: var(--ink); }
.lede { margin: 24px 0 0; max-width: 470px; font-size: 18px; line-height: 1.55; color: var(--ink-3); }
.hero-search { margin-top: 30px; position: relative; z-index: 6; }
.search-hero .field { height: 54px; padding: 0 7px 0 18px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px rgba(30, 38, 36, 0.12), 0 14px 30px -22px rgba(30, 38, 36, 0.5); }
.search-hero .search-input { font-size: 16px; }
.search-hero .results { position: absolute; left: 0; right: 0; top: 62px; padding: 6px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(30, 38, 36, 0.55); max-height: 420px; overflow: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.found { margin-top: 18px; max-width: 470px; padding: 14px 16px; border-radius: 12px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); animation: rise 0.5s var(--ease-out) both; }
.found-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.found-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.found-lvl { font-size: 11px; color: var(--muted); white-space: nowrap; }
.found-sub { margin-top: 2px; font-size: 13px; color: var(--muted); }
.found-sub .mono { font-size: 11.5px; }
.found-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.found-hint { font-size: 11.5px; color: var(--ink-3); }
.found-sim { color: var(--faint); }
/* the globe fills whatever is left beside the text: as wide as the screen allows, as tall as the hero */
.hero-globe { position: relative; grid-column: 2; grid-row: 2; z-index: 2; min-width: 0; min-height: 0; margin: 0 clamp(12px, 2vw, 32px) 56px 0; container-type: size; display: grid; place-items: center; }
.hero-globe .globe-host { position: relative; width: calc(min(100cqw, 100cqh) * 0.88); height: calc(min(100cqw, 100cqh) * 0.88); transition: width 0.7s var(--ease-out), height 0.7s var(--ease-out), border-radius 0.7s var(--ease-out); }
/* two zooms in: the text steps aside and the globe becomes the whole view, like the app's map */
.hero.is-deep { grid-template-columns: 0px minmax(0, 1fr); }
.hero.is-deep .hero-text { opacity: 0; pointer-events: none; transform: translateX(-24px); }
.hero.is-deep .land-nav .link { opacity: 0; pointer-events: none; }
.hero.is-deep .hero-globe { margin: 0 clamp(12px, 2vw, 32px) 56px clamp(12px, 2vw, 32px); }
.hero.is-deep .hero-globe .globe-host { width: 100cqw; height: 100cqh; }
.hero.is-deep .hero-globe .globe-canvas.is-round, .hero.is-deep .hero-globe .globe-canvas.is-round ~ .live-map { border-radius: 18px; }
.hero.is-deep .hero-globe .globe-canvas.is-round ~ .globe-labels { clip-path: inset(0 round 18px); }
.land-nav .link { transition: opacity 0.35s ease; }
.hero-readout { position: absolute; right: var(--gut); bottom: 26px; z-index: 3; }
.hero-readout .mono { color: var(--ink); text-transform: none; white-space: pre; }

.facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.facts > div { padding: 20px clamp(16px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 4px; }
.facts > div + div { border-left: 1px solid var(--line-2); }
.facts b { font-size: 26px; font-weight: 400; color: var(--ink); }
.facts b.accent { color: var(--boundary); }
.facts span { font-size: 13.5px; color: var(--muted); }

.sec { padding: 110px var(--gut); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.sec-head p, .split p { margin: 0; max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.split p { margin-top: 20px; }
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 56px; }
.plate { margin: 0; display: flex; flex-direction: column; }
.plate-img { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; background: #F2F3EE; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.plate-img img { width: 84%; height: 80%; object-fit: contain; }
.plate-img span { position: absolute; left: 14px; top: 12px; font-size: 11px; color: var(--muted); }
.plate figcaption { margin-top: 16px; }
.plate h3 { margin: 0; font-size: 19px; font-weight: 500; color: var(--ink); }
.plate p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-3); }

.split { display: grid; gap: 48px; align-items: center; }
.model-sec { grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.4fr); padding-top: 30px; }
.model-sec .segs { margin-top: 26px; }
.spec { margin: 28px 0 0; display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 8px; font-size: 13px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); }
.model-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(ellipse 40% 12% at 50% 74%, rgba(30, 38, 36, 0.2), rgba(30, 38, 36, 0) 70%), var(--surface-2); box-shadow: inset 0 0 0 1px rgba(30, 38, 36, 0.08); }
.model-frame .mesh-host { position: absolute; inset: 0; }
.mf-top { position: absolute; left: 18px; top: 16px; pointer-events: none; }
.mf-bot { position: absolute; left: 18px; bottom: 16px; pointer-events: none; }

.dark { grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr); gap: 56px; padding: 100px var(--gut); background: var(--dark); color: var(--dark-text); }
.dark img { display: block; width: 100%; max-width: 640px; height: auto; justify-self: center; }
.dark .cap { color: var(--dark-muted); }
.dark h2 { color: var(--paper); }
.dark p { color: #BEC5BD; }
.prof-facts { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 13px; color: var(--dark-muted); }
.prof-facts b { font-weight: 400; color: var(--paper); }

.map-style { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.map-frame { position: relative; height: 640px; margin-top: 44px; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.map-card { position: absolute; left: 18px; bottom: 18px; z-index: 2; max-width: calc(100% - 36px); }

.files-sec { grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr); align-items: start; padding-top: 90px; padding-bottom: 40px; }
.files { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line-2); }
.files li { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 15px 0; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.f-key { font-size: 13px; color: var(--ink); }
.f-val { font-size: 12px; color: var(--muted); }

.table-wrap { overflow-x: auto; margin-top: 40px; }
.landing table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; text-align: left; }
.landing th { padding: 0 16px 12px 0; font-weight: 400; }
.landing td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.td-place { display: flex; align-items: center; gap: 12px; }
.td-place b { display: block; font-weight: 500; color: var(--ink); }
.td-place span span { display: block; font-size: 13px; color: var(--muted); }
.td-src { display: inline-flex; align-items: center; gap: 8px; }

.about { border-top: 1px solid var(--line-2); }
.notes { margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 36px; }
.note dt { font-size: 15px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.note dt::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--boundary); }
.note dd { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-3); }

.land-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 30px var(--gut) 36px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.land-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .hero { height: auto; min-height: 0; padding-bottom: 40px; display: block; }
  .hero-text { max-width: none; margin-right: var(--gut); }
  .hero-globe { display: block; container-type: normal; width: min(640px, 92vw); aspect-ratio: 1; margin: 40px auto 0; }
  .hero-globe .globe-host { width: 100%; height: 100%; }
  .hero.is-deep .hero-globe { width: 100vw; aspect-ratio: 4 / 5; margin: 24px auto 0; }
  .hero.is-deep .hero-text { display: none; }
  .hero-readout { position: static; display: block; margin: 16px var(--gut) 0; text-align: center; }
  .lz-mini { right: 0; }
  .split, .model-sec, .dark, .files-sec { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div:nth-child(4) { border-left: 0; }
  .facts > div:nth-child(n + 4) { border-top: 1px solid var(--line-2); }
}
@media (max-width: 640px) {
  .sec { padding-top: 72px; padding-bottom: 72px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { border-left: 0 !important; border-top: 1px solid var(--line-2); }
  .files li { grid-template-columns: 1fr auto; }
  .files li > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 14px; color: var(--muted); }
  .map-frame { height: 560px; }
  .map-card .site-card { width: auto; }
  .land-nav { gap: 16px; font-size: 14px; }
  .found-row { flex-direction: column; align-items: flex-start; }
}
