@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/instrument-serif-italic-latin.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
.home {
  --inset: clamp(28px, 5vw, 88px);
  --mono: 'Geist Mono', monospace;
  --background: #080a0d;
  --foreground: #f0eee6;
  --line: #303337;
  --accent: #ff9a66;
  color: var(--foreground);
  background: var(--background);
}
.home .shell { max-width: 1800px; padding: 0; }
.home .masthead { min-height: 78px; padding-inline: var(--inset); border: 0; }
.home .masthead nav { flex-wrap: nowrap; gap: clamp(16px, 2vw, 30px); }
.home .masthead .wordmark { margin-right: auto; }
.home .masthead .account-nav { gap: 14px; padding-left: 20px; border-left: 1px solid var(--line); }
.account-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--foreground); white-space: nowrap; }
.account-nav a:hover { color: var(--accent); }
.account-nav .signup-link { padding: 8px 14px; border-radius: 5px; background: #f1e8da; color: #211d18; font-weight: 550; }
.account-nav .signup-link:hover { color: #17130f; background: #fff7eb; }
.home .skip-link { z-index: 5; }
.home :is(button, select, .switcher label, .example-method label, .example-scene) { touch-action: manipulation; }
.home .eyebrow { font: 500 10px/1.6 var(--mono); letter-spacing: .13em; color: #c4c2b9; }
.eyebrow-divider { color: #626568; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: 44% 56%;
  grid-template-areas: 'copy globe' 'tools tools';
  align-items: center;
}
.hero::before {
  content: '';
  z-index: -1;
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 49%, #242c382e 0%, transparent 58%),
    radial-gradient(1.2px 1.2px at 9px 21px, #98a4b487 55%, transparent) 0 0 / 137px 173px,
    radial-gradient(1px 1px at 52px 46px, #8499ad85 65%, transparent) 0 0 / 97px 113px,
    radial-gradient(circle at 1px 1px, #868f9a56 0 .7px, transparent 1px) 0 0 / 18px 18px;
  mask-image: radial-gradient(ellipse 68% 70% at 78% 40%, black, #0008 52%, transparent 97%);
}
.hero-copy { position: relative; z-index: 1; padding: 22px 0 34px var(--inset); }
.hero-copy .status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.home h1 {
  white-space: nowrap;
  margin: 27px 0 21px;
  font-size: clamp(52px, 6.65vw, 115px);
  letter-spacing: -.077em;
  line-height: .98;
  font-weight: 510;
}
.home h1 em { color: #e8d7c1; font: italic 400 1.2em/.94 'Instrument Serif', Georgia, serif; letter-spacing: -.044em; }
.description { max-width: 38ch; margin: 0; color: #b8b7b2; font-size: clamp(16px, 1.22vw, 20px); line-height: 1.55; }
.agent-entry { grid-area: agent; margin-top: clamp(20px, 2.8vh, 32px); }
.agent-actions, .dialog-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.agent-copy, .chat-trigger, .chat-link, .agent-guide {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 11px 17px; border: 1px solid transparent; border-radius: 6px;
  text-decoration: none; cursor: pointer; font: 550 14px/1.25 Geist, sans-serif;
}
.agent-copy, .chat-link, .agent-guide { background: #f1e8da; color: #211d18; }
.agent-copy:hover, .chat-link:hover, .agent-guide:hover { color: #17130f; background: #fff7eb; }
.chat-trigger { border-color: #474b50; color: #deded8; background: #15181b; }
.chat-trigger:hover { border-color: #838384; background: #1b1e22; }
.copy-icon, .chat-icon { position: relative; width: 15px; height: 15px; flex: none; }
.copy-icon::before, .copy-icon::after { content: ''; position: absolute; border: 1.4px solid currentColor; border-radius: 2px; width: 8px; height: 9px; }
.copy-icon::before { left: 1px; top: 1px; }
.copy-icon::after { left: 5px; top: 5px; background: #f1e8da; }
.chat-icon::before { content: ''; position: absolute; inset: 1px 0 3px; border: 1.4px solid currentColor; border-radius: 4px; }
.chat-icon::after { content: ''; position: absolute; left: 3px; bottom: 1px; width: 4px; height: 4px; border: solid currentColor; border-width: 0 0 1px 1px; transform: skewY(-35deg); background: #15181b; }
.command-trigger { display: flex; align-items: center; gap: 8px; max-width: 100%; width: fit-content; min-height: 44px; padding: 6px 0; margin-top: 2px; border: 0; background: none; color: #b9bab6; font: 12px/1.5 var(--mono); cursor: pointer; }
.command-sample { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.command-edit { color: #e2d6c4; text-decoration: underline; text-decoration-color: #787369; text-underline-offset: 3px; }
.command-trigger:hover { color: var(--foreground); }
.agent-entry button:focus-visible, .request-dialog :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.request-dialog {
  width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 36px); margin: auto;
  padding: clamp(19px, 3vw, 29px); border: 1px solid #494b4d; border-radius: 10px;
  background: #131619; color: var(--foreground); box-shadow: 0 24px 100px #0009; overflow: auto;
}
.request-dialog::backdrop { background: #07090ccc; }
body:has(.request-dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
.dialog-heading h2 { font-size: clamp(25px, 3.5vw, 34px); font-weight: 480; letter-spacing: -.055em; }
.dialog-close { min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #d0d1ca; font: 28px/1 Geist, sans-serif; cursor: pointer; }
.dialog-close:hover { background: #272b30; }
.request-dialog label { display: block; color: #d9d9d3; font: 500 14px/1.5 Geist, sans-serif; margin-bottom: 7px; }
.request-dialog textarea { display: block; width: 100%; min-height: 76px; padding: 12px 14px; border: 1px solid #55595c; border-radius: 5px; background: #0e1012; color: var(--foreground); font: 16px/1.5 Geist, sans-serif; resize: vertical; }
.request-dialog textarea::placeholder { color: #a2a5a1; }
.command-preview { margin-top: 16px; }
.command-preview summary { width: fit-content; padding: 5px 0; color: #d6c9b7; font: 12px/1.6 var(--mono); cursor: pointer; }
.command-preview pre { max-height: 20vh; overflow: auto; margin: 4px 0 0; padding: 12px; border-left: 2px solid #655244; background: #101215; color: #cfcdc6; font: 12px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.dialog-actions { margin-top: 18px; }
.manual-copy { margin-top: 15px; }
.earth-view { display: contents; }
.sky {
  --diameter: min(46.5vw, 72svh, 770px);
  grid-area: globe;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: calc(var(--diameter) * 1.16);
}
.globe {
  position: relative;
  width: var(--diameter);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #07090d;
  box-shadow: 1px 1px 7px -3px #a3c1dc77;
}
.poster, .earth-surface { display: block; width: 100%; height: 100%; border-radius: 50%; }
.earth-surface { position: absolute; inset: 0; pointer-events: none; }
.globe.interactive .poster { visibility: hidden; }
.sky[tabindex] { cursor: grab; touch-action: pinch-zoom; user-select: none; }
.sky[tabindex]:active { cursor: grabbing; }
.globe-hint { display: none; }
.sky[tabindex] .globe-hint {
  display: block; position: absolute; bottom: 3px; left: 12px; pointer-events: none;
  color: #a5abae; font: 10px/1.5 var(--mono);
}
.globe-hint .key-hint { display: none; }
.sky:focus-visible:not(.pointer-focus) .pointer-hint { display: none; }
.sky:focus-visible:not(.pointer-focus) .key-hint { display: inline; }
.sky.over-satellite { cursor: pointer; }
.sky:focus { outline: none; }
.sky:focus-visible:not(.pointer-focus) .globe-hint, .satellite-inspector :focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.satellite-layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.satellite-label { position: absolute; z-index: 3; pointer-events: none; border-bottom: 1px solid #a67451; padding: 2px 5px; background: #0d1015e8; color: #f4dfc3; font: 10px/1.4 var(--mono); letter-spacing: .04em; }
.place-pin {
  position: absolute;
  z-index: 2;
  left: 76.70%; top: 19.31%;
  display: flex; align-items: center;
  min-height: 34px; transform: translate(-5px, -50%);
  text-decoration: none; color: #ffe4c4;
}
.place-pin::before { content: ''; width: 8px; height: 8px; background: #ffb379; border: 1px solid #38281e; box-shadow: 0 0 0 3px #eaaa7640; }
.place-pin::after { content: ''; width: clamp(8px, 1.2vw, 23px); height: 1px; background: #e7ad85; order: 1; }
.place-pin span { order: 2; padding: 3px 5px; font: 11px/1.4 var(--mono); background: #090c10e3; letter-spacing: .05em; }
.place-pin small { color: #c6bdaf; font: 9px/1 var(--mono); }
.place-pin:hover span { color: white; text-decoration: underline; }
.globe-caption { grid-area: tools; min-width: 0; display: block; margin: 5px var(--inset) 0; border-block: 1px solid var(--line); color: var(--muted); font: 11px/1.5 var(--mono); }
.fallback-caption { display: block; padding: 16px 0; }
.satellite-inspector { display: grid; grid-template-columns: minmax(230px,1fr) auto auto; align-items: center; grid-template-areas: 'epoch missions controls' 'detail missions controls'; gap: 3px 26px; padding: 17px 0; }
.orbit-heading { grid-area: epoch; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; color: #a7aaa8; font-size: 10px; }
.orbit-heading span { color: #e7e6dd; }
.orbit-detail { grid-area: detail; margin: 0; min-height: 1.5em; color: #c0bbb4; }
.orbit-toolbar, .mission-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.orbit-toolbar { grid-area: controls; border-left: 1px solid var(--line); padding-left: 16px; }
.mission-row { grid-area: missions; }
.orbit-toolbar button, .mission-row button, .catalogue {
  display: inline-grid; place-items: center; min-height: 37px; padding: 6px 9px;
  color: #c0c2bf; background: transparent; border: 1px solid transparent; font: 11px/1.3 var(--mono); cursor: pointer;
}
.mission-row button, .catalogue { border-color: #363b3d; }
.mission-row button[aria-pressed=true] { color: #ffb787; border-color: #925e3f; background: #d7833d10; }
.satellite-inspector button:hover, .catalogue:hover { color: var(--foreground); background: #222326; }
.catalogue { position: relative; }
.catalogue:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.catalogue select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; color-scheme: dark; }
.orbit-toolbar button:disabled { opacity: .5; cursor: default; }
[hidden] { display: none !important; }
.scene, .method, .credits, .home .footer { margin-inline: var(--inset); }
.scene, .method { scroll-margin-top: 14px; }
.scene {
  display: grid;
  grid-template-columns: 1fr .98fr;
  grid-template-areas: 'image heading' 'image data';
  column-gap: clamp(36px, 7vw, 110px);
  padding-block: clamp(42px, 5.6vw, 84px);
}
.scene-heading { grid-area: heading; align-self: end; }
.scene-data { grid-area: data; min-width: 0; }
.scene-heading h2 { font-size: clamp(34px, 3.65vw, 54px); margin: 14px 0 8px; }
.coord, .scene-metadata, .example-label, .credits { font-family: var(--mono); }
.coord { color: var(--muted); font-size: 12px; }
.sr-only, .switcher input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.switcher { display: inline-flex; margin: 25px 0 14px; padding: 3px; background: #18191c; border: 1px solid #464442; border-radius: 2px; min-width: 0; }
.switcher label { cursor: pointer; }
.switcher span { display: block; min-width: 73px; padding: 8px 14px; color: var(--foreground); font: 500 12px/1.4 var(--mono); text-align: center; }
.switcher input:checked + span { background: var(--accent); color: var(--background); }
.switcher input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.layer-note, .method p, .example-prompt { color: #bcbab5; font-size: 15px; line-height: 1.65; }
.layer-note { min-height: 3.3em; max-width: 48ch; }
.scene .ndvi-layer, .scene:has(#ndvi:checked) .visual-layer { display: none; }
.scene:has(#ndvi:checked) .ndvi-layer { display: block; }
.index-key { max-width: 240px; margin-top: 14px; }
.index-ramp { height: 5px; background: linear-gradient(90deg, #a50026, #d73027, #f46d43, #fdae61, #fee08b, #ffffbf, #d9ef8b, #a6d96a, #66bd63, #1a9850, #006837); }
.index-values { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font: 10px/1.5 var(--mono); }
.scene-metadata { font-size: 12px; margin: 19px 0 0; }
.scene-metadata div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 11px 0; }
.scene-metadata dt { color: var(--muted); }
.scene-metadata dd { margin: 0; text-align: right; }
.scene-figure { grid-area: image; min-width: 0; align-self: center; }
.scene-frame { padding: 9px; border: 1px solid var(--line); background: repeating-linear-gradient(90deg, #8f8c804a 0 1px, transparent 1px 12px) top / 100% 4px no-repeat, #151618; }
.scene-frame img { display: block; width: 100%; height: auto; }
.scene-figure figcaption { margin: 10px 0 0; }
.scene-figure figcaption a { text-decoration: underline; color: var(--foreground); }
.scene-figure figcaption a:hover { color: var(--accent); }
.request { border-block: 1px solid var(--line); }
.request summary { cursor: pointer; color: var(--accent); width: fit-content; padding: 12px 0; font: 500 13px/1.5 Geist, sans-serif; }
.example-label { color: var(--muted); font-size: 11px; margin: 12px 0 5px; }
.request pre { padding: 15px; background: #19191b; overflow: auto; margin: 8px 0 16px; font: 12px/1.6 var(--mono); }
.method { padding-block: 42px 40px; border-top: 1px solid var(--line); }
.method h2 { font-size: clamp(30px, 2.8vw, 42px); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 68px); margin-top: 26px; }
.method h3 { margin: 0 0 9px; font-size: 17px; font-weight: 550; }
.capabilities {
  display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.3fr); align-items: start;
  gap: clamp(32px, 6vw, 96px); padding-block: clamp(38px, 5vw, 80px);
  margin-inline: var(--inset); scroll-margin-top: 14px; border-top: 1px solid var(--line);
}
.capabilities h2 { font-size: clamp(32px, 3.5vw, 54px); }
.sources { margin-inline: var(--inset); border-top: 1px solid var(--line); padding-block: clamp(36px, 4.5vw, 68px); scroll-margin-top: 14px; }
.sources h2 { font-size: clamp(32px, 3.5vw, 54px); }
.sources p { color: #bcbab5; font-size: 15px; line-height: 1.55; }
.sources > p { margin-top: 9px; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(16px, 3vw, 44px); margin-top: 25px; }
.source-grid article { display: flex; flex-direction: column; align-items: start; }
.source-grid img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: #080a0d; border: 1px solid var(--line); }
.source-grid h3 { margin: 15px 0 4px; font-size: 22px; font-weight: 510; letter-spacing: -.035em; }
.source-grid .source-date { font: 11px/1.6 var(--mono); color: #d7aa89; margin-bottom: 9px; }
.source-grid a { margin-top: auto; padding-top: 12px; color: var(--foreground); font-size: 14px; }
.source-grid a:hover { color: var(--accent); }
.capabilities h3 { margin: 28px 0 6px; font-size: 18px; font-weight: 550; }
.capability-intro p { margin: 12px 0 18px; max-width: 48ch; font-size: 15px; line-height: 1.6; color: #bcbab5; }
.capabilities code { font: 12px/1.55 var(--mono); overflow-wrap: anywhere; }
.terminal-example { margin-top: 10px; padding: 5px 14px 12px; background: #14171a; border: 1px solid var(--line); border-radius: 4px; }
.terminal-example > div { display: flex; align-items: center; justify-content: space-between; min-height: 34px; color: #cacbc4; font: 11px/1.5 var(--mono); }
.terminal-example pre { margin: 3px 0 0; white-space: pre-wrap; }
.terminal-example code { color: #f2ddc5; }
.terminal-example button { padding: 7px 0 7px 12px; border: 0; background: transparent; color: var(--accent); cursor: pointer; font: inherit; }
.terminal-example :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.image-example {
  grid-area: example; width: min(100%, 490px); margin-top: 12px; scroll-margin-top: 16px;
  container-type: inline-size; overflow: hidden; border: 1px solid #393d3e; border-radius: 5px; background: #101317;
}
.example-scene { display: grid; grid-template-columns: minmax(0, 1fr) 37%; text-decoration: none; color: var(--foreground); background: #151a19; }
.example-caption { align-self: center; padding: 16px; }
#example-label { color: #e4b08d; font: 500 10px/1.4 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.example-caption h2 { margin: 4px 0; font-size: clamp(22px, 2vw, 28px); font-weight: 450; line-height: 1.1; }
.example-acquisition { color: #c3c6bd; font: 11px/1.5 var(--mono); }
.example-acquisition time { white-space: nowrap; }
.example-thumbnail { position: relative; }
.example-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.example-thumbnail span { position: absolute; right: 7px; bottom: 7px; padding: 3px 6px; background: #0a0d0ee8; color: #fff; font: 11px/1.4 var(--mono); white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; }
.example-scene:hover h2 { color: #f1c79e; }
.example-scene:focus-visible { outline-offset: -3px; position: relative; z-index: 1; }
.example-toolbar { display: flex; align-items: center; gap: 10px; padding-inline: 14px; border-block: 1px solid var(--line); }
#example-method-label { font: 550 13px/1.4 Geist, sans-serif; }
.example-method { display: flex; flex: none; align-items: center; gap: 2px; min-width: 0; border: 0; padding: 0; margin: 0; }
.example-method label { cursor: pointer; }
.example-method span { display: grid; place-items: center; min-height: 44px; padding-inline: 6px; border-bottom: 2px solid transparent; color: #b7bab8; font: 12px/1.4 var(--mono); }
.example-method input:checked + span { border-color: var(--accent); color: #f1c79e; }
.example-toolbar button { min-height: 44px; min-width: 44px; padding: 0 2px; margin-left: auto; border: 0; background: transparent; color: var(--accent); font: 12px/1.4 var(--mono); cursor: pointer; }
.example-toolbar button:hover, .example-method label:hover span { color: var(--foreground); }
.example-toolbar :focus-visible, .example-method input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.example-body { padding: 12px 14px; }
.image-example pre { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.image-example code { color: #d2d7d9; font: 12px/1.5 var(--mono); }
.image-example pre span { white-space: nowrap; color: #f1c79e; }
.example-help { margin-top: 8px; color: #b9bab6; font-size: 12px; line-height: 1.5; }
#scene-prompt { color: #eadccf; font: 14px/1.5 Geist, sans-serif; }
.image-example .agent-method, .image-example:has(#example-agent:checked) .curl-method { display: none; }
.image-example:has(#example-agent:checked) .agent-method { display: block; }
@container (max-width: 325px) {
  .example-scene { grid-template-columns: minmax(0, 1fr) 30%; }
  .example-caption { padding: 12px; }
  .example-caption h2 { font-size: 20px; }
  .example-thumbnail span { right: 4px; padding-inline: 4px; }
  .example-toolbar { padding-inline: 8px; gap: 4px; }
  #example-method-label { font-size: 12px; }
  .example-method span { padding-inline: 4px; font-size: 11px; }
}
.capability-intro .access-note { font-size: 13px; }
.tool-list { width: 100%; border-collapse: collapse; text-align: left; }
.tool-list th, .tool-list td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.tool-list th:first-child { padding-right: 15px; }
.tool-list thead th { color: #c6c4bb; padding-top: 0; font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tool-list tbody th { font-size: 15px; font-weight: 500; line-height: 1.35; }
.tool-list tbody th code { display: block; margin-top: 2px; color: #d6aa8a; }
.tool-list td { color: #c2c5c4; }
.credits { margin-block: 12px 32px; font-size: 11px; line-height: 1.85; color: var(--muted); }
.credits a { text-underline-offset: 3px; }


@media (max-width: 1050px) {
  .satellite-inspector { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'epoch controls' 'detail controls' 'missions missions'; }
  .mission-row { margin-top: 5px; }
  .orbit-toolbar { border-left: 0; padding-left: 0; }
  .scene { column-gap: 34px; }
}
@media (max-width: 900px) {
  .capabilities { grid-template-columns: minmax(0,1fr); gap: 22px; }
}
@media (max-width: 700px) {
  .home { --inset: clamp(18px, 5vw, 30px); }
  .home .masthead { min-height: 62px; }
  .home .masthead nav[aria-label="Main navigation"] a:not([href="#capabilities"]) { display: none; }
  .home .masthead .account-nav { gap: 12px; padding-left: 14px; }
  .hero { grid-template-columns: minmax(0,1fr); grid-template-areas: 'status' 'title' 'desc' 'agent' 'example' 'globe' 'tools'; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { grid-area: status; margin: 17px var(--inset) 0; }
  .home h1 { grid-area: title; margin: 14px var(--inset); font-size: clamp(48px, 11.1vw, 78px); }
  .description { grid-area: desc; margin: 0 var(--inset); max-width: 40ch; font-size: 16px; }
  .agent-entry { margin: 16px var(--inset) 10px; }
  .agent-actions { gap: 8px; }
  .agent-actions button { padding-inline: 11px; font-size: 13px; gap: 7px; }
  .sky { --diameter: min(84vw, 450px); margin: 2px 0 12px; }
  .sky[tabindex] .globe-hint { left: var(--inset); bottom: 0; }
  .globe-hint span { display: block; }
  .globe-hint span::before { content: none; }
  .image-example { margin: 0 var(--inset) 14px; width: min(490px, calc(100% - var(--inset) * 2)); }
  .place-pin::after { width: 6px; }
  .place-pin span { font-size: 10px; }
  .globe-caption { margin-top: 0; }
  .satellite-inspector { grid-template-columns: 1fr; grid-template-areas: 'missions' 'epoch' 'detail' 'controls'; gap: 5px; padding-top: 6px; }
  .orbit-toolbar, .mission-row { gap: 3px; }
  .orbit-toolbar button, .mission-row button, .catalogue { min-height: 44px; }
  .orbit-toolbar button:first-child { padding-left: 0; }
  .mission-row { margin: 2px 0 0; }
  .mission-row button, .catalogue { min-width: 44px; padding-inline: 4px; }
  .scene { grid-template-columns: minmax(0,1fr); grid-template-areas: 'heading' 'image' 'data'; row-gap: 14px; }
  .switcher { margin-bottom: 0; }
  .switcher span { display: grid; place-items: center; min-height: 44px; }
  .scene-heading h2 { margin-top: 10px; }
  .layer-note { min-height: 0; }
  .method-grid { grid-template-columns: 1fr; gap: 20px; }
  .method h3 { margin-bottom: 4px; }
  .tool-list { table-layout: fixed; }
  .tool-list th:first-child { width: 51%; padding-right: 10px; }
  .tool-list tbody th { font-size: 14px; }
  .tool-list code { font-size: 11px; }
  .source-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
}

@media (max-width: 460px) {
  .home .masthead nav[aria-label="Main navigation"] { display: none; }
  .home .masthead .account-nav { padding-left: 0; border: 0; }
}
@media (max-width: 389px) {
  .mission-row { display: grid; grid-template-columns: 1fr 1fr; }
}

.scene-viewport { position: relative; }
.scene .compare-layer, .scene:has(#compare:checked) .visual-layer { display: none; }
.scene:has(#compare:checked) :is(.compare-layer, .scene-frame img, .index-key, .request pre) { display: block; }
.scene:has(#compare:checked) .scene-frame .ndvi-layer { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split, 50%)); }
.wipe, .wipe input { position: absolute; inset: 0; width: 100%; height: 100%; }
.wipe input { margin: 0; opacity: 0; cursor: ew-resize; }
.wipe:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.wipe-divider { position: absolute; top: 0; height: 100%; left: var(--split, 50%); width: 2px; background: #fff; box-shadow: 0 0 3px #222; transform: translateX(-50%); }
.wipe-divider::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 38px; border: 1px solid white; border-radius: 20px; transform: translate(-50%,-50%); background: linear-gradient(90deg, transparent 6px, #666 6px 7px, transparent 7px 10px, #666 10px 11px, transparent 11px) #eeeae2; }
