/* ThinkGeo GIS Server — shared site styles (landing-v2, product, pricing, compare) */

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-alt: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #fafbfc;
  --surface-3: #f3f5f8;

  --text: #0b1320;
  --text-muted: #5c6b7e;

  --border: #e3e8ee;
  --border-strong: var(--text-on-dark-soft);

  --accent: #2f6f9f;
  --accent-2: #5bb6dc;
  --accent-soft: #eaf4fa;
  --accent-line: #b9d4e8;
  --accent-line-2: #9ec9e1;
  --on-accent: #ffffff;
  --warn: #e67e22;
  --gold: #e3be70;

  /* Dark bands: hero, footer, compare, customer band. In dark these become elevated
     surfaces rather than darker ones, so the hierarchy survives. */
  --bg-dark: #0b1320;
  --bg-dark-2: #0f1b2e;
  --bg-dark-3: #0d1b2a;
  --bg-dark-deep: #253551;
  --text-on-dark: #e6edf6;
  --text-on-dark-muted: #95a3b6;
  --text-on-dark-soft: #c3ccd6;
  --on-dark-strong: #ffffff;
  --border-dark: #1d2a40;

  --code-bg: #0f1b2e;
  --code-key: #ff79c6;
  --code-str: #50fa7b;
  --code-name: #8be9fd;
  --code-comment: #8a97cc;
  --code-text: #f8f8f2;

  --veil-weak: rgba(0, 0, 0, .08);
  --veil-strong: rgba(0, 0, 0, .35);
  --sheen: rgba(255, 255, 255, 0.04);
  --sheen-line: rgba(255, 255, 255, 0.25);
  --sheen-line-2: rgba(255, 255, 255, .2);
  --sheen-line-3: rgba(255, 255, 255, .08);
  --frost: rgba(255, 255, 255, 0.85);
  --accent-veil: rgba(91, 182, 220, 0.08);
  --accent-line-veil: rgba(91, 182, 220, 0.3);

  --table-head-bg: #eef3f7;
  --table-head-text: #45566b;
  --col-highlight: #f0f7fb;
  --col-highlight-head: #dfedf5;
  --ok: #126b49;
  --bad: #ba4141;
  --mixed: #8a5c0f;

  --shadow: 0 4px 18px rgba(11, 19, 32, 0.08);
  --shadow-lg: 0 18px 60px rgba(11, 19, 32, 0.18);
  --shadow-card: 0 1px 2px rgba(18, 50, 78, .05);
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, .10);
}

/* Dark tokens, defined once and applied twice below. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;

  --bg: #0b1320;
  --bg-alt: #101a29;
  --surface: #131d2e;
  --surface-2: #1a2740;
  --surface-3: #1f2d47;

  --text: #e8eef7;
  --text-muted: #9aa8bd;

  --border: #243248;
  --border-strong: #33455f;

  --accent: #6cc0e4;
  --accent-2: #8bd4ee;
  --accent-soft: #16283a;
  --accent-line: #2b4c66;
  --accent-line-2: #35607e;
  /* The accent is brightened for contrast on a dark ground, so text sitting on it
     has to go dark rather than stay white. */
  --on-accent: #07121e;
  --warn: #f0a04b;
  --gold: #e3be70;

  /* Elevated, not darker: these bands must stay distinct from the page behind them. */
  --bg-dark: #17233a;
  --bg-dark-2: #1d2c47;
  --bg-dark-3: #16243a;
  --bg-dark-deep: #2b3d5c;
  --text-on-dark: #e8eef7;
  --text-on-dark-muted: #9aa8bd;
  --text-on-dark-soft: #c3ccd6;
  --on-dark-strong: #ffffff;
  --border-dark: #2c3d59;

  --code-bg: #0a1424;
  --code-text: #f8f8f2;

  --veil-weak: rgba(0, 0, 0, .35);
  --veil-strong: rgba(0, 0, 0, .55);
  --sheen: rgba(255, 255, 255, 0.05);
  --sheen-line: rgba(255, 255, 255, 0.18);
  --sheen-line-2: rgba(255, 255, 255, .16);
  --sheen-line-3: rgba(255, 255, 255, .08);
  --frost: rgba(19, 29, 46, 0.85);
  --accent-veil: rgba(108, 192, 228, 0.10);
  --accent-line-veil: rgba(108, 192, 228, 0.35);

  --table-head-bg: #1a2740;
  --table-head-text: #9aa8bd;
  --col-highlight: #17293c;
  --col-highlight-head: #1f3b53;
  --ok: #4ecb95;
  --bad: #f58a8a;
  --mixed: #e3ab54;

  --shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0b1320;
  --bg-alt: #101a29;
  --surface: #131d2e;
  --surface-2: #1a2740;
  --surface-3: #1f2d47;

  --text: #e8eef7;
  --text-muted: #9aa8bd;

  --border: #243248;
  --border-strong: #33455f;

  --accent: #6cc0e4;
  --accent-2: #8bd4ee;
  --accent-soft: #16283a;
  --accent-line: #2b4c66;
  --accent-line-2: #35607e;
  /* The accent is brightened for contrast on a dark ground, so text sitting on it
     has to go dark rather than stay white. */
  --on-accent: #07121e;
  --warn: #f0a04b;
  --gold: #e3be70;

  /* Elevated, not darker: these bands must stay distinct from the page behind them. */
  --bg-dark: #17233a;
  --bg-dark-2: #1d2c47;
  --bg-dark-3: #16243a;
  --bg-dark-deep: #2b3d5c;
  --text-on-dark: #e8eef7;
  --text-on-dark-muted: #9aa8bd;
  --text-on-dark-soft: #c3ccd6;
  --on-dark-strong: #ffffff;
  --border-dark: #2c3d59;

  --code-bg: #0a1424;
  --code-text: #f8f8f2;

  --veil-weak: rgba(0, 0, 0, .35);
  --veil-strong: rgba(0, 0, 0, .55);
  --sheen: rgba(255, 255, 255, 0.05);
  --sheen-line: rgba(255, 255, 255, 0.18);
  --sheen-line-2: rgba(255, 255, 255, .16);
  --sheen-line-3: rgba(255, 255, 255, .08);
  --frost: rgba(19, 29, 46, 0.85);
  --accent-veil: rgba(108, 192, 228, 0.10);
  --accent-line-veil: rgba(108, 192, 228, 0.35);

  --table-head-bg: #1a2740;
  --table-head-text: #9aa8bd;
  --col-highlight: #17293c;
  --col-highlight-head: #1f3b53;
  --ok: #4ecb95;
  --bad: #f58a8a;
  --mixed: #e3ab54;

  --shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* An anchor with no href is deliberate - a product named in place, not yet linkable.
   It still takes the link colour, but must not promise a link on hover. */
a:not([href]) { cursor: default; }
a:not([href]):hover { text-decoration: none; }
code, pre { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.1rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--frost);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.logo-mark { width: 28px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, var(--accent), #2c3e50); display: grid; place-items: center; color: var(--on-dark-strong); font-weight: 800; }
.logo-mark-image { display: block; width: 28px; height: 28px; object-fit: contain; }

/* Header lockup 30% larger than the base .logo, which the footer also uses.
   16px -> 20.8px wordmark, 28px -> 36px mark, 10px -> 13px gap. The source PNG
   is 180px, so the mark is still being scaled down. */
.nav .logo { font-size: 20.8px; gap: 13px; }
.nav .logo-mark-image { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
/* nowrap because two labels contain a space.  At the tighter desktop widths "GIS
   Server" and "Docs & Support" broke onto a second line inside their own anchor,
   which made them taller than their neighbours and pushed them out of alignment -
   the list is flex-wrap: nowrap, so the nav was never the thing wrapping.

   0.9rem, not 0.95: with nine links the list was 726px wide and `.nav-inner` is
   capped at 1180px, so every screen from 1180 up left exactly 17px between the
   logo and "SDKs" and 17 between "Blog" and the search icon - reported as them
   touching, which they effectively were.  14.4px with a 22px gap puts the list
   at 652px and those gaps at 54px, near the ~69px they had before GIS Server
   was added. */
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; white-space: nowrap; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; transition: all 0.15s ease; cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--bg-dark-deep); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); text-decoration: none; }
.btn-on-dark { background: var(--on-dark-strong); color: var(--bg-dark); }  /* sits on a dark band in BOTH themes, so its surface must not flip */
.btn-on-dark:hover { background: var(--text-on-dark); text-decoration: none; }
.btn-ghost-on-dark { background: transparent; color: var(--on-dark-strong); border: 1px solid var(--sheen-line); }
.btn-ghost-on-dark:hover { border-color: rgba(255,255,255,0.6); text-decoration: none; }

/* mobile menu (checkbox hack, no JS) */
.nav-toggle { display: none; }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 4px; cursor: pointer; padding: 10px 6px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; }

/* ---------- hero (homepage) ---------- */
.hero {
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(91, 182, 220, 0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 0%, rgba(52, 152, 219, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-on-dark);
  padding: 88px 0 88px;
  position: relative;
  overflow: hidden;
}

/* The grid sheen behind the dark headers.  Restored and widened on 2026-10-21: it was
   removed earlier the same day for bleeding through the hero video, then wanted back on
   every header with the right third kept clear instead.

   Two masks intersected - the original soft ellipse, and a horizontal ramp that is gone
   by 66%.  A right-hand hero video is width: 33.333% anchored right, so it begins at
   66.67%: the lattice stops just before it starts, and cannot show through its faded
   left edge.

   Not on .blog-article-hero, whose background is --bg-alt: --sheen is white at 4% and
   there would be nothing to see.  Not on .gov-hero, whose ::before is already the dark
   wash over its background map. */
.page-hero,
.blog-hero { position: relative; }
.hero::before,
.page-hero::before,
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--sheen) 1px, transparent 1px),
    linear-gradient(90deg, var(--sheen) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image:
    radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%),
    linear-gradient(90deg, #000 0%, #000 52%, transparent 66%);
          mask-image:
    radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%),
    linear-gradient(90deg, #000 0%, #000 52%, transparent 66%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  pointer-events: none;
}
/* An absolutely positioned ::before paints over static content, so the headings have to
   be raised above it.  The homepage's grids already carry position: relative. */
.page-hero > .container,
.blog-hero > .container { position: relative; z-index: 1; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.hero-inner { position: relative; max-width: 880px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(91, 182, 220, 0.15);
  color: var(--accent-2);
  padding: 6px 12px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid var(--accent-line-veil);
}
.hero h1 { color: var(--on-dark-strong); margin-bottom: 20px; font-size: 2.9rem; }
.hero h1 .accent { background: linear-gradient(120deg, var(--accent-2), #8bd4ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: 1.15rem; color: var(--text-on-dark-muted);
  max-width: 640px; margin-bottom: 32px;
}
/* The product names carry the line, so they get the same white the meta strip
   below already uses for emphasis on dark: 6.73:1 against the hero gradient
   becomes 17.26:1. Bold alone left them the exact colour of the body text. */
.hero p.lead strong { color: var(--on-dark-strong); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta .btn { padding: 13px 22px; font-size: 1rem; }
.hero-note {
  margin-top: 12px; color: var(--text-on-dark-muted); font-size: 0.82rem;
  max-width: 560px;
}
.hero-meta {
  margin-top: 36px; display: flex; gap: 32px; flex-wrap: wrap;
  color: var(--text-on-dark-muted); font-size: 0.9rem;
}
.hero-meta strong { color: var(--on-dark-strong); font-weight: 600; }
.hero-meta a { color: var(--text-on-dark-muted); }
.hero-meta a:hover { color: var(--on-dark-strong); text-decoration: none; }
.hero-meta a:hover strong { color: var(--accent-2); }

/* Homepage map panel: copy stays readable beside the map; mobile stacks below it. */
.hero-map-layout { padding: 48px 0; }
.hero-map-grid {
  position: relative; max-width: 1280px;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px; align-items: center;
}
.hero-map-copy { min-width: 0; }
.hero-map-panel {
  position: relative; margin: 0; min-width: 0;
  /* 16:10, not square: square forced a 542px panel against a 393px copy
     column and square-cropped a landscape source. */
  aspect-ratio: 16 / 10;
  overflow: hidden; border-radius: 18px;
}
/* display:contents so the <img> inside <picture> stays a direct child for layout and
   every .hero-map-panel img rule below still reaches it. */
.hero-map-panel picture { display: contents; }
.hero-map-panel img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  mask-image: linear-gradient(90deg, transparent, #000 18%);
}

/* The hero image settles into place once on load, then holds.  Variant A of three
   prototyped on 2026-10-20.  It starts 6.5% in and eases out to its natural framing,
   so the frame it comes to rest on is the composition that shipped before this
   existed - the resting state is what the page looks like for the whole visit, and
   a push-in would have left it on a crop nobody chose.

   Costs no bytes: the image is already downloaded with fetchpriority="high", so the
   LCP element is untouched.  No JavaScript, because the panel is above the fold at
   every width down to 390px, where its top sits 148px inside it - there is nothing
   to wait for.  If the image is still in flight the animation runs out and it simply
   appears, which is today's behaviour.  No will-change: a transform animation is
   composited anyway, and it would pin a layer for the life of the page for a move
   that happens once. */
.hero-map-panel img { animation: hero-settle 6s cubic-bezier(.16,.8,.3,1) 1 both; }
@keyframes hero-settle {
  from { transform: scale(1.065); }
  to   { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-map-panel img { animation: none; }
}
.hero-map-panel figcaption {
  position: absolute; right: 16px; bottom: 16px; margin: 0;
  padding: 6px 10px; border-radius: 6px;
  background: rgba(11, 19, 32, .82); color: var(--text-on-dark-soft); font-size: .75rem;
}
@media (max-width: 980px) {
  .hero-map-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 800px; }
  .hero-map-panel { aspect-ratio: 16 / 9; }
  .hero-map-panel img { mask-image: none; }
}
@media (max-width: 480px) {
  .hero-map-panel { aspect-ratio: 4 / 3; }
}

/* The hero video: variant B of three prototyped on 2026-10-21.  A 6s tail of the 3D
   navigation capture, graded down so a daylight map sits inside the dark band, filling
   the hero's right third edge to edge.  Plays once and holds: autoplay + muted + playsinline
   with no loop does that in markup alone, so there is no JavaScript here.

   height:100% is not redundant beside top/bottom:0.  A <video> is a replaced element with
   an intrinsic ratio, so height:auto resolves from the ratio and the box came out 483px
   tall in a 489px hero - a 6px strip of band along the bottom edge. */
.hero-map-layout,
.page-hero.has-video { position: relative; overflow: hidden; }
/* No clip sets its own height or cap any more.  Every header on the site is 400px,
   every clip is cut to 2.1425:1, and the shared 856px cap above is what400px of
   height can hold at that aspect.  The four used to differ; they no longer do, so
   the per-page overrides that used to live here are gone.

   The cap is the load-bearing part.  A box allowed to outgrow its height trims the
   TOP and BOTTOM, not the sides - on /cloud that is the search box, on the homepage
   the skyline.  Below 1902 the box narrows while the height holds, so it grows
   squarer than the clip and the sides are trimmed instead: fade on one edge, hard
   edge on the other, nothing lost. */
/* .container carries margin: 0 auto, and an auto cross-axis margin beats align-items:
   stretch - the item sizes to its content and the margins centre the remainder, which
   pulled the copy off the left margin and made it read as centred.  width: 100% fills
   the line again; max-width still caps it at 1180 and the auto margins still centre
   that, exactly as .container behaves everywhere else on the page. */
.page-hero.has-video > .container { width: 100%; }
.hero-map-layout > .container,
.page-hero.has-video > .container { position: relative; z-index: 1; }
.hero-video {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 0;
  width: 45%; min-width: 380px; max-width: 856px; height: 100%;
  object-fit: cover; pointer-events: none;
  /* left fade long enough to be a gradient rather than a seam, plus feathered top
     and bottom; the right edge stays hard so it reads as continuing off-screen. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
@media (min-width: 981px) {
  .hero-map-panel { display: none; }
  /* The clip's first frame, standing in for the poster attribute so it is not
     fetched on phones.  A video paints its background when it has no frame yet,
     and the mask above applies to the background too, so the fade matches. */
  .hero-video { background-size: cover; background-position: center; }
  .hero-map-layout .hero-video { background-image: url('assets/renders/hero-3d-navigation-poster.webp'); }
  .hv-data .hero-video { background-image: url('assets/renders/hero-mapping-data-poster.webp'); }
  .hv-showcase .hero-video { background-image: url('assets/renders/hero-showcase-poster.webp'); }
  .hv-sdks .hero-video { background-image: url('assets/renders/hero-sdks-poster.webp'); }
  .hv-3d .hero-video { background-image: url('assets/renders/hero-3d-navigation-poster.webp'); }
  /* 7% of the header, top and bottom, is the default: enough to take the hard line
     off the join with the nav without eating into the frame. */
  .has-video .hero-video {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  }
}
/* Below 980 the hero stacks and a right-hand strip means nothing, so the boxed panel
   comes back exactly as it was.  Same for reduced motion, which must win over the
   rule above and so is written after it. */
/* The subpage header has no boxed panel to fall back to, so below 981 the clip simply
   goes and /cloud reads as it always has. */
@media (max-width: 980px) { .hero-video { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-map-panel { display: block; }
}

/* ---------- subpage header ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-on-dark);
  padding: 68px 0 52px;
}
/* Every subpage header is the same height, and its crumb starts at the same y and
   the same x.  400px clears the tallest copy on the site - /about at 249px - and
   is a height all three clips can be cut to.  Measured before this: heights ran
   239 to 453 and the three clip pages sat their crumbs 70 to 94px lower than the
   rest, because they centred their copy where every other header tops it out.

   Desktop only.  Below 981 the clips are gone and the copy wraps taller, so a
   floor there would only add dead band to the short pages. */
@media (min-width: 981px) {
  .page-hero,
  .blog-hero,
  /* .hero-map-layout, not .hero: .hero is also on gis-server/landing-v2.html,
     and that directory is frozen.  This class is index.html alone. */
  .hero-map-layout { min-height: 400px; }
}
.page-hero .crumb {
  color: var(--accent-2); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.page-hero h1 { color: var(--on-dark-strong); font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p { color: var(--text-on-dark-muted); font-size: 1.08rem; max-width: 700px; margin: 0; }
.page-hero .hero-cta { margin-top: 24px; }
.page-hero p.legal-effective { margin-top: 14px; font-size: 0.95rem; }

/* A typed right-hand column, shared by two pages: the licensing terms on /pricing
   and three of its own questions on /faq.  Neither page shows a product - the five
   clips all answer "what can it do", and a visitor on either of these has moved
   past that.

   Styled as prose, not as a code panel: these are sentences, and monospace in a
   bordered box would read as terminal output.  An accent rule down the left
   anchors them instead.  The class is named for its first use; it carries
   questions just as happily. */
.page-hero.has-claims .hero-claims-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  gap: 40px; align-items: center;
}
.hero-claims-copy { min-width: 0; }
.hero-claims {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 420px; margin: 0; padding-left: 20px;
  border-left: 2px solid var(--accent-line-veil);
  white-space: pre-line;
  font-size: 1.06rem; line-height: 2.05; font-weight: 600;
  color: var(--on-dark-strong);
}
.hero-claims .ch { visibility: hidden; }
.hero-claims .ch.on { visibility: visible; }
.hero-claims.typing::after {
  content: ''; display: inline-block; width: 7px; height: 1.02em;
  margin-left: 2px; vertical-align: -2px;
  background: var(--accent-2); animation: claims-caret .9s steps(1,end) infinite;
}
@keyframes claims-caret { 50% { opacity: 0; } }
@media (max-width: 980px) {
  .page-hero.has-claims .hero-claims-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-claims { position: static; transform: none; width: auto;
                 font-size: 1rem; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-claims .ch { visibility: visible; }
  .hero-claims.typing::after { content: none; }
}

/* The /cloud header: four curl lines against one host and one key.  Same .cmd parts
   as the GIS Server header, which is the treatment this was modelled on, but its own
   grid: that one holds a short docker command and these are long URLs, so the
   column has to be wider.  Coupling two pages' hero layout to save ten declarations
   would cost more than it saves. */
.page-hero.has-curl .cmd-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 40px; align-items: center;
}
.cmd-hero-copy { min-width: 0; }
.cmd-hero-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cmd-hero-side .hero-meta { margin: 0; }
/* .cmd is an inline-flex pill built for one line; this is a block of four.
   Two classes, because .cmd is declared further down the file and would otherwise
   win display on source order. */
.cmd.cmd-block {
  display: block; width: 100%; box-sizing: border-box; position: relative;
  text-align: left; padding: 14px 16px 14px 14px;
  font-size: 0.75rem; line-height: 2.05;
}
/* The lines scroll, the button does not.  They were the same element once, which
   put the copy chip on top of the first line and moved the text under it rather
   than out from under it. */
.cmd-block .cmd-lines { display: block; padding-right: 46px; }
.cmd-block .cl { display: block; white-space: nowrap; }
.cmd-block .copy-hint { position: absolute; right: 12px; top: 10px; }
@media (max-width: 980px) {
  .page-hero.has-curl .cmd-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  /* A URL cannot wrap anywhere sensible, so on a phone the block scrolls sideways
     rather than breaking mid-path. */
  .cmd-block .cmd-lines { overflow-x: auto; }
}

/* ---------- hero browser mock ---------- */
.browser {
  background: #101c30;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.8rem;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  background: #0c1626; padding: 10px 14px;
  border-bottom: 1px solid var(--border-dark);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-url {
  flex: 1; margin-left: 8px;
  background: rgba(255,255,255,0.06); border-radius: 6px;
  color: var(--text-on-dark-muted);
  font-family: 'JetBrains Mono', monospace; font-size: 0.72rem;
  padding: 5px 10px; white-space: nowrap; overflow: hidden;
}
.mockmap { position: relative; display: block; width: 100%; height: auto; }
.mock-popup {
  position: absolute; top: 18%; left: 44%;
  background: var(--surface); color: var(--text);
  border-radius: 8px; box-shadow: var(--shadow-lg);
  padding: 10px 12px; font-size: 0.72rem; line-height: 1.5;
  min-width: 170px;
}
.mock-popup .t { font-weight: 700; margin-bottom: 2px; }
.mock-popup .kv { display: flex; justify-content: space-between; gap: 14px; color: var(--text-muted); }
.mock-popup .kv b { color: var(--text); font-weight: 600; }
.mock-search {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255,255,255,0.95); border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-size: 0.72rem; padding: 7px 12px;
  display: flex; align-items: center; gap: 8px; min-width: 180px;
}
.mock-services {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mock-chip {
  background: rgba(11,19,32,0.78); color: #d9f7ee;
  border: 1px solid var(--accent-line-veil);
  border-radius: 100px; padding: 3px 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.64rem;
}

/* The /sdks install command, in the hero's copy column rather than a second column:
   the right 45% of that header is the clip.  Reuses .cmd, which is declared just
   below, so nothing here needs to fight it on display. */
.sdk-install { margin-top: 22px; display: flex; flex-direction: column;
               gap: 10px; align-items: flex-start; max-width: 100%; }
.sdk-seg { display: flex; gap: 4px; }
.sdk-seg button {
  appearance: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: 5px 12px; border-radius: 7px; font: inherit; font-size: 0.78rem;
  font-weight: 600; color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, .07);
  transition: background .15s ease, color .15s ease;
}
.sdk-seg button:hover { background: rgba(255, 255, 255, .15); color: var(--on-dark-strong); }
.sdk-seg button.is-on { background: var(--accent-2); color: #07121f; }
.sdk-seg button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.sdk-install .cmd { font-size: 0.8rem; }
.sdk-install .pkg { color: var(--code-name); }
@media (max-width: 980px) {
  .sdk-install .cmd { position: relative; padding-right: 52px; align-items: flex-start; text-align: left; }
  .sdk-install .cmd .copy-hint { position: absolute; right: 14px; top: 12px; }
}

/* The first-map block.  Full width on purpose: the longest line needs about 1040px
   and the container gives 1180, which is why this could never live in the 420px
   hero column it was taken out of. */
.code-block {
  margin: 0; padding: 22px 24px; border-radius: 12px; overflow-x: auto;
  background: var(--code-bg); border: 1px solid var(--border-dark);
  font: 400 13px/1.75 'JetBrains Mono', ui-monospace, monospace;
  color: var(--code-text);
}
.code-block code { font: inherit; color: inherit; background: none; padding: 0; white-space: pre; }
.code-block .k { color: var(--code-key); }
.code-block .n { color: var(--code-name); }
.code-block .s { color: var(--code-str); }
.code-block .c { color: var(--code-comment); }
@media (max-width: 700px) { .code-block { font-size: 11.5px; padding: 16px; } }

/* ---------- /sdks: run the samples ----------
   Light, on the page's gray band.  The command panel stays a dark code panel like
   .code-block below it; the buttons and link card follow the page around it. */
.smp-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.smp-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.smp-seg button {
  appearance: none; cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.smp-seg button:hover { border-color: var(--accent); color: var(--text); }
.smp-seg button.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.smp-seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.smp-term { background: var(--code-bg); border: 1px solid var(--border-dark); border-radius: 12px; overflow: hidden; }
.smp-term-bar {
  display: flex; align-items: center; justify-content: space-between; padding: 9px 14px;
  border-bottom: 1px solid var(--border-dark); font-size: 0.75rem; font-weight: 600;
  color: var(--text-on-dark-muted); letter-spacing: .04em; text-transform: uppercase;
}
.smp-copy {
  appearance: none; cursor: pointer; font: 600 0.7rem 'Inter', sans-serif; letter-spacing: 0;
  text-transform: none; color: var(--text-on-dark-muted); background: none;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; padding: 2px 8px;
}
.smp-copy:hover { color: var(--on-dark-strong); border-color: rgba(255, 255, 255, .4); }
.smp-copy:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
/* pre-wrap with anywhere: the clone URL is one 80-character token, and at phone
   width it has to break somewhere or the page scrolls sideways. */
.smp-cmds {
  margin: 0; padding: 16px 18px; font: 400 13px/1.85 'JetBrains Mono', ui-monospace, monospace;
  color: var(--code-text); white-space: pre-wrap; overflow-wrap: anywhere;
}
.smp-cmds .p { color: var(--accent-2); user-select: none; }
.smp-cmds .aside { color: var(--text-on-dark-muted); }
.smp-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--text-muted); }
.smp-vs {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--border); font-size: 0.92rem; color: var(--text-muted);
}
.smp-vs strong { color: var(--text); }
.smp-vs code { font: 400 0.82rem 'JetBrains Mono', ui-monospace, monospace; color: var(--text); overflow-wrap: anywhere; }
.smp-links { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.smp-links h3 { font-size: 1rem; margin: 0 0 4px; }
.smp-links ul { list-style: none; margin: 0; padding: 0; }
.smp-links li { padding: 11px 0; border-bottom: 1px solid var(--border); }
.smp-links li:last-child { border-bottom: 0; padding-bottom: 0; }
.smp-links li[hidden] { display: none; }
.smp-links li > span { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 900px) { .smp-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .smp-cmds { font-size: 11.5px; padding: 14px; } }

/* ---------- /features/data-visualization ----------
   The two-ways panel, then a two-column grid of technique cards: screenshot, text, and a
   row of per-platform sample links, grayed where a platform has no sample. */
.dv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dv-way { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 24px 26px; }
.dv-way .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px; }
.dv-way h3 { margin: 0 0 8px; font-size: 1.15rem; }
.dv-way p { margin: 0 0 10px; color: var(--text-muted); }
.dv-way p:last-child { margin-bottom: 0; }
.dv-way .where { font-size: .9rem; color: var(--text); }
.dv-legend { margin: 0 0 18px; font-size: .9rem; color: var(--text-muted); max-width: 820px; }
.dv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dv-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; }
.dv-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-alt);
  border-bottom: 1px solid var(--border); }
.dv-body { padding: 18px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.dv-body h3 { margin: 0 0 6px; font-size: 1.1rem; }
.dv-body p { margin: 0 0 14px; color: var(--text-muted); font-size: .95rem; flex: 1; }
.dv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dv-chip { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--accent); background: var(--bg); text-decoration: none; }
a.dv-chip:hover { border-color: var(--accent); }
a.dv-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dv-chip.is-none { color: var(--text-muted); opacity: .45; }
.dv-next { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) { .dv-two, .dv-grid { grid-template-columns: 1fr; } }

/* Shared by the /features pages: a three-column card grid, a rule list inside a card, a
   card with no picture, a card whose picture is a short clip, and the links to the other
   feature pages at the foot. */
.dv-card video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.dv-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dv-rules { margin: -6px 0 14px; padding-left: 18px; font-size: .86rem; color: var(--text-muted); }
.dv-rules li { margin: 2px 0; }
/* With a rule list the list takes the spare height, so the text stays under the heading. */
.dv-body > p:has(+ .dv-rules) { flex: none; }
.dv-body > .dv-rules { flex: 1; }
.dv-card.no-img .dv-body { padding-top: 22px; }
.dv-more { font-size: .9rem; color: var(--text-muted); }
.dv-more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.dv-more a:hover { text-decoration: underline; }
@media (max-width: 980px) { .dv-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .dv-grid.is-3 { grid-template-columns: 1fr; } }

/* ---------- /features/3d-and-gpu ----------
   The one feature page with a section per SDK family, so it needs a little more than the
   dv-* cards: three summary cards that are links, a text-and-media split, a row of phone
   recordings, and a frame for the Blazor recordings.
   The frame's bar is decoration: it names the address the clip was recorded at, in the
   markup, and is not part of the recording. */
.g3-jump { display: flex; gap: 10px; flex-wrap: wrap; }
.g3-cardlink { flex: none; margin: 0; }
.g3-platform { padding: 72px 0; scroll-margin-top: 70px; }
.g3-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.g3-split.is-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.g3-text h2 { margin: 6px 0 12px; }
.g3-text > p { color: var(--text-muted); }
.g3-list { margin: 16px 0; padding-left: 20px; }
.g3-list li { margin: 8px 0; }
.g3-text > p.g3-req, .g3-req { font-size: .92rem; color: var(--text); }
/* .tile-links is defined further down this file, so the class is doubled to outrank it. */
.tile-links.g3-links { font-size: .9rem; gap: 6px 20px; margin-top: 14px; }
.g3-text > p.g3-live, .g3-live { font-size: .92rem; margin-top: 14px; color: var(--text); }
.g3-live a { color: var(--accent); font-weight: 600; text-decoration: none; }
.g3-live a:hover { text-decoration: underline; }
.g3-wide { display: block; width: 100%; height: auto; border-radius: 12px; background: #000; box-shadow: var(--shadow-lg); }
.g3-cap { font-size: .85rem; color: var(--text-muted); text-align: center; margin: 8px 0 0; }
/* minmax(0, ...) here and in the one-column layout below: the address bars in the browser
   frames do not wrap, and a plain 1fr track grows to fit them, which pushed the page
   sideways on a phone. */
.g3-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.g3-pair figure { margin: 0; }
.g3-pair > figure > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.g3-pair figcaption { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.g3-browser { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #000; }
.g3-browser video { display: block; width: 100%; height: auto; }
.g3-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #e9ebef; }
.g3-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3c7cf; }
.g3-bar span { margin-left: 8px; flex: 1; min-width: 0; background: #fff; border-radius: 999px; padding: 3px 12px; font-size: .72rem; color: #5b6472; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g3-pair .g3-browser { box-shadow: none; }
.g3-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 200px)) minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 26px; }
.g3-phone { margin: 0; }
.g3-phone video { display: block; width: 100%; height: auto; border-radius: 22px; background: #000; box-shadow: var(--shadow-lg); border: 3px solid #111; }
.g3-phone figcaption { font-size: .82rem; color: var(--text-muted); text-align: center; margin-top: 10px; }
.g3-phone figcaption strong { display: block; color: var(--text); font-size: .92rem; }
.g3-phone-side { padding-left: 14px; }
.g3-phone-side .g3-list { margin-top: 0; }
.g3-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.g3-linkcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.g3-linkcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.g3-linkcard img.g3-contain { object-fit: contain; }
@media (max-width: 980px) {
  .g3-split, .g3-split.is-flip { grid-template-columns: minmax(0, 1fr); }
  .g3-split.is-flip .g3-media { order: 2; }
  .g3-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3-phones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g3-phone-side { grid-column: 1 / -1; padding-left: 0; }
}
@media (max-width: 560px) {
  .g3-phones { grid-template-columns: 1fr; justify-items: center; }
  .g3-phone { max-width: 240px; }
  .g3-four { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .g3-linkcard { transition: none; } }

/* The homepage band for the same page: copy on the left, one short clip per SDK family on
   the right.  The two wide clips stack and the phone stands beside them at their combined
   height: .615 is what makes a 300x650 phone as tall as two 3:2 clips and the gap.
   Gray since 2026-11-24 (it was a dark band for a few hours): Phil wanted it in the page's
   ordinary white and gray alternation, which starts on white with the product cards.
   Its heading, text and eyebrow therefore need no colors of their own. */
.g3-home { background: var(--bg-alt); padding: 36px 0; }
/* The clips are capped at 400px across.  At the full width of their column the phone stood
   488px tall and the band 616; Phil asked for a shorter band, and this makes it about 400. */
.g3-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; align-items: center; }
.g3-home h2 { margin: 6px 0 12px; }
.g3-home-text p { color: var(--text-muted); font-size: 1.08rem; margin: 0; }
.g3-home-text p.g3-home-cta { margin-top: 24px; }
.g3-home-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .615fr); gap: 14px; }
.g3-home-clip { position: relative; display: block; grid-column: 1; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: #000; }
.g3-home-clip video { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g3-home-clip.is-phone { grid-column: 2; grid-row: 1 / span 2; border-radius: 20px; }
.g3-home-clip.is-phone video { aspect-ratio: auto; }
.g3-home-clip span { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px;
  background: rgba(11, 19, 32, .78); color: #fff; font-size: .75rem; font-weight: 700; }
.g3-home-clip:hover, .g3-home-clip:focus-visible { border-color: var(--accent); }
.g3-home-clip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 980px) { .g3-home-grid { grid-template-columns: 1fr; gap: 28px; } .g3-home-media { max-width: 400px; } }

/* An announcement band.  One line, the whole of it a link.  Under a page header it needs
   only its bottom rule; between two sections (.is-mid) it takes one on top as well. */
.news-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px;
  padding: 12px 24px; background: var(--accent-soft); border-bottom: 1px solid var(--accent-line);
  color: var(--text); font-size: .98rem; text-decoration: none; }
.news-band.is-mid { border-top: 1px solid var(--accent-line); }
.news-band:hover { text-decoration: none; }
.news-band:hover .news-go { text-decoration: underline; }
.news-pill { padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-go { color: var(--accent); font-weight: 600; }
/* On a phone the three parts wrapped onto four centered lines, 133px of band.  As running
   text they take three short ones. */
@media (max-width: 700px) {
  .news-band { display: block; padding: 10px 16px; text-align: center; font-size: .9rem; line-height: 1.5; }
  .news-pill { margin-right: 6px; }
  .news-go { margin-left: 4px; white-space: nowrap; }
}

/* ---------- homepage: built with ThinkGeo mosaic ----------
   One large tile and five small ones on three columns; two columns on a tablet,
   with the last tile taking the full row so none sits alone; one column on a phone. */
.mosaic { padding: 56px 0; }   /* the homepage gives it the gray background inline */
.mosaic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mosaic-more { margin: 18px 0 0; }
.m-tile { position: relative; display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 2 / 1;
  background: var(--bg-dark); border: 1px solid var(--border); text-decoration: none; }
.m-tile.is-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.m-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.m-tile:hover video, .m-tile:focus-visible video { transform: scale(1.03); }
.m-tile:hover, .m-tile:focus-visible { border-color: var(--accent); }
.m-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px;
  padding: 36px 14px 12px; background: linear-gradient(180deg, transparent, rgba(4, 10, 18, .82)); color: #fff; }
.m-cap strong { font-size: .95rem; font-weight: 700; }
.m-cap span { font-size: .78rem; font-weight: 600; color: var(--accent-2); }
.m-tile.is-big .m-cap { padding: 48px 20px 18px; }
.m-tile.is-big .m-cap strong { font-size: 1.25rem; }
@media (max-width: 900px) {
  .mosaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-tile.is-big { grid-row: span 1; aspect-ratio: 16 / 10; }
  /* five small tiles in two columns leave one over: let it take the full row */
  .m-tile:last-child { grid-column: span 2; aspect-ratio: 16 / 7; }
}
@media (max-width: 600px) {
  .mosaic-grid { grid-template-columns: 1fr; }
  .m-tile.is-big, .m-tile:last-child { grid-column: auto; aspect-ratio: 16 / 10; }
}

/* ---------- command chip ---------- */
.cmd {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07); color: #d7e3f0;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px; padding: 12px 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.86rem;
  cursor: pointer; transition: border-color .15s ease;
}
.cmd:hover { border-color: rgba(255,255,255,0.5); }
.cmd .p { color: var(--accent-2); }
.cmd .copy-hint {
  font-family: 'Inter', sans-serif; font-size: 0.7rem; font-weight: 600;
  color: var(--text-on-dark-muted); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 5px; padding: 2px 7px; margin-left: 4px;
}

/* ---------- service strip ---------- */
.services-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.services-strip-inner {
  display: flex; gap: 36px; flex-wrap: wrap; align-items: center;
  color: var(--text-muted); font-size: 0.9rem;
}
.services-strip-label { font-weight: 600; color: var(--text); }
.service-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 0.8rem;
  color: var(--text);
}
.service-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- I/O diagram ---------- */
.io {
  display: grid;
  grid-template-columns: 1.15fr auto 1fr auto 1.15fr;
  gap: 16px; align-items: center;
}
.io-col { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.io-col-label {
  grid-column: 1 / -1;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px;
}
.io-chip {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 7px;
  padding: 6px 10px; font-size: 0.82rem; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.io-chip code { color: var(--text-muted); font-weight: 400; font-size: 0.68rem; background: none; padding: 0; }
.io-more { grid-column: 1 / -1; font-size: 0.8rem; color: var(--accent); font-weight: 600; padding: 2px 2px 0; }
.io-arrow { color: var(--accent); font-size: 1.6rem; font-weight: 700; text-align: center; }
.io-box {
  background:
    radial-gradient(400px 240px at 30% -20%, rgba(91, 182, 220, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-dark), var(--bg-dark-2));
  border-radius: 14px; color: var(--text-on-dark);
  padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.io-box .logo-mark { margin: 0 auto 10px; width: 32px; height: 32px; border-radius: 8px; }
.io-box h3 { color: var(--on-dark-strong); font-size: 1rem; margin-bottom: 4px; }
.io-box p { color: var(--text-on-dark-muted); font-size: 0.8rem; margin: 0; }
.io-consumers { margin-top: 18px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.io-consumers strong { color: var(--text); }

/* ---------- I/O spec panel ---------- */
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.iox { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.iox-label {
  text-align: center; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
}
.iox-grid {
  display: grid; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  height: calc(100% - 30px);
}
.iox-grid.in { grid-template-columns: repeat(3, 1fr); }
.iox-grid.out { grid-template-columns: repeat(2, 1fr); }
.iox-cell {
  background: var(--surface); padding: 14px 8px; min-height: 62px;
  display: flex; flex-direction: column; justify-content: center; gap: 1px;
  text-align: center; font-weight: 600; font-size: 0.95rem; color: var(--text);
}
.iox-cell code { font-size: 0.7rem; color: var(--text-muted); background: none; padding: 0; font-weight: 400; }
a.iox-cell { color: var(--text); }
a.iox-cell:hover { text-decoration: none; background: var(--accent-soft); }
a.iox-cell.more { color: var(--accent); }
.iox-arrow { display: grid; place-items: center; color: var(--accent); font-size: 1.7rem; font-weight: 700; }
.iox-note { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin: 24px 0 0; }
.iox-note strong { color: var(--text); }
.iox-links { text-align: center; color: var(--text-muted); font-size: 0.88rem; margin: 6px 0 0; }

/* ---------- input formats row ---------- */
.fmt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fmt-pill {
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 18px; font-weight: 600; font-size: 0.95rem; color: var(--text);
}
.fmt-pill code {
  color: var(--text-muted); font-weight: 400; font-size: 0.74rem;
  background: none; padding: 0; margin-left: 4px;
}
.fmt-pill-more { color: var(--accent); }
.fmt-pill-more:hover { text-decoration: none; border-color: var(--accent); }

/* ---------- input→output connector ---------- */
.io-connector {
  text-align: center;
  color: var(--accent); font-size: 1.5rem; font-weight: 700;
  line-height: 1; margin: -14px 0;
  position: relative; z-index: 2;
}

/* ---------- output services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px 16px;
  transition: all 0.2s ease; }
/* same lift as .feature, so every card on the site answers the pointer the same way */
/* The lift reads as "this card does something", so only a card that can be clicked
   gets it.  Three ways that happens: a stretched ::after over its single link
   (.is-card-link), the card element being the anchor itself (a.svc-tile, as the
   latest-post cards are built), or an ordinary link inside it.  Only the last needs
   :has(), so it keeps its own rule - one invalid selector would otherwise throw out
   the whole list in a browser without :has(), taking the other two with it. */
.svc-tile.is-card-link:hover,
a.svc-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.svc-tile:has(a[href]):hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.svc-tile h3 {
  font-size: 1.02rem; margin: 0 0 4px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.svc-tile h3 code {
  font-size: 0.72rem; color: var(--text-muted); font-weight: 400;
  background: var(--bg-alt); padding: 2px 7px; border-radius: 4px;
}
.svc-tile p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }
/* Trial: the service's own map as a square beside the card text rather than a band
   above it.  Decorative at this size - the heading names the service - so the
   images carry empty alt text.  The text comes first in source order; only the
   layout puts the picture on the right.  min-width: 0 because a flex child floors
   at min-content otherwise, the same trap that pushed the footer off a 320px
   screen. */
/* Only the Cloud tiles, which carry a square beside their text.  Unscoped this
   flexed the /sdks capability tiles and the /mapping-data dataset tiles too,
   laying their heading and paragraphs out side by side. */
.svc-tile.has-shot { display: flex; align-items: flex-start; gap: 14px; }
.svc-text { flex: 1 1 auto; min-width: 0; }
.svc-shot { flex: none; width: 128px; height: 128px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
/* Not align-self: stretch with aspect-ratio, which looks like the obvious way to
   make the square fit the card height: the image width then feeds back into the
   text width and the row height it was measuring, and it runs away - 361px
   squares, 396px cards, the text crushed to 84px.  A fixed size is the only
   stable way to do this. */
@media (max-width: 420px) { .svc-shot { width: 88px; height: 88px; } }
/* Each Cloud service tile carries the same three destinations: a live sample, the
   documentation page and the API explorer.  Three links across fourteen tiles is
   forty-two, so the labels are short and the row is one line - spelled-out labels
   crowd a grid whose body text is 0.88rem.  A tile with three links cannot be
   whole-card clickable; it keeps the hover lift via :has(a[href]). */
/* 14px of gap put the three links 8px over a 183px text column, so every one of
   the fourteen cards wrapped them onto a second line.  10px and a slightly
   smaller face fit them on one row with room to spare. */
.tile-links { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.75rem; }
.tile-links a { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); text-decoration: none; font-weight: 600; }
.tile-links a:hover { text-decoration: underline; }
.tile-links svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.svc-consumers { margin-top: 20px; color: var(--text-muted); font-size: 0.9rem; }
.svc-consumers strong { color: var(--text); }

/* ---------- trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--border); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-line { color: var(--text-muted); font-size: 0.92rem; max-width: 340px; }
.trust-line strong { color: var(--text); }
.trust-logos { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.ph-logo {
  width: 122px; height: 38px; border: 1.5px dashed var(--text-on-dark-soft); border-radius: 6px;
  display: grid; place-items: center;
  color: #9aa7b5; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em;
  background: repeating-linear-gradient(-45deg, #fafbfc, #fafbfc 8px, #f3f5f8 8px, #f3f5f8 16px);
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent); font-weight: 700; font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { color: var(--text-muted); font-size: 1.1rem; margin: 0; }

/* ---------- how strip (homepage compact) ---------- */
.howline {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 28px; box-shadow: var(--shadow);
  font-size: 0.98rem;
}
.howline .hstep { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.howline .hnum {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 700;
}
.howline .harrow { color: var(--accent); font-weight: 700; }
.howline .hlink { margin-left: auto; color: var(--accent); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.howline-note { color: var(--text-muted); font-size: 0.92rem; margin: 14px 4px 0; }

/* ---------- how it works (full, product page) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); padding: 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-muted); font-size: 0.95rem; }
.step pre {
  background: var(--code-bg); color: var(--code-text);
  padding: 14px; border-radius: 8px;
  overflow-x: auto; font-size: 0.76rem; line-height: 1.55;
  margin: auto 0 0;
}
.code-key { color: var(--code-key); }
.code-str { color: var(--code-str); }
.code-name { color: var(--code-name); }
.code-comment { color: var(--code-comment); }
.steps-note {
  margin-top: 28px; text-align: center;
  color: var(--text-muted); font-size: 0.98rem;
}
.steps-note strong { color: var(--text); }

/* ---------- workbench grid (homepage condensed tour) ---------- */
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tour-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tour-card {
  display: block; color: var(--text);
  padding: 28px;
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface);
  transition: all 0.2s ease;
}
.tour-card[href]:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); text-decoration: none; }
.tour-card h3 { font-size: 1.15rem; margin: 0 0 6px; }
/* The icon and the words share a line, so the heading is the flex row. */
.tour-card h3 { display: flex; align-items: center; gap: 9px; }

/* A product page's cards next to /cloud's: same padding, same heading size.
   A modifier rather than a change to .tour-card, because the homepage uses the
   same component and its cards are meant to be the bigger ones. */
.tour-grid-tight .tour-card { padding: 18px 20px 16px; border-radius: 12px; }
.tour-grid-tight .tour-card h3 { font-size: 1.02rem; }
.tour-grid-tight .tour-card p { font-size: 0.9rem; }

/* Card heading icons. Stroked, inherit nothing but the accent, and sized to sit
   on a heading rather than in a link row - the same drawing style as the Sample,
   Docs and API glyphs, which is the only icon vocabulary the rest of the site has.
   They replaced emoji, which were the only pictorial ones anywhere on it. */
.card-ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.tour-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 12px; }
.tour-card .go { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* Product picture in the top right corner of a homepage product card. The heading
   and the tagline sit beside it and the description starts below it, so no text
   has to wrap around the picture. Decorative (empty alt): the heading beside it
   names the product. The files in assets/home/cards are 248x156, twice the
   displayed size, cut from pictures the product pages already use. */
.tour-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin: -6px -6px 12px 0;
}
.tour-top-copy { padding-top: 6px; min-width: 0; }
/* The product name is the card's headline, so it is larger here than the 1.15rem
   a .tour-card heading has elsewhere. Scoped to .tour-top, which only the homepage
   product cards have. */
.tour-top h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
.tour-card .tour-tag { margin: 0; }
.tour-pic {
  flex: none; display: block; width: 124px; height: 78px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
/* The two ranges where a card is narrow enough for the heading to wrap beside a
   full-size picture: three columns just above the 980px collapse, and small phones.
   There the picture and the heading both step down so the longest name,
   "SDKs for .NET", stays on one line. */
@media (min-width: 981px) and (max-width: 1180px), (max-width: 420px) {
  .tour-top { gap: 10px; }
  .tour-pic { width: 88px; height: 55px; }
  .tour-top h3 { font-size: 1.25rem; }
}

/* ---------- tour (full rows, product page) ---------- */
.tour-section { background: var(--bg-alt); }
.tour-row {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px;
  align-items: center; margin-bottom: 88px;
}
.tour-row:last-child { margin-bottom: 0; }
.tour-row.flip .tour-visual { order: -1; }
.tour-copy h3 { font-size: 1.6rem; margin-bottom: 12px; }
.tour-copy p { color: var(--text-muted); font-size: 1.02rem; }
.tour-copy ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tour-copy li {
  padding: 6px 0 6px 26px; position: relative;
  color: var(--text); font-size: 0.95rem;
}
.tour-copy li::before {
  content: ''; position: absolute; left: 2px; top: 13px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.tour-visual .panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
}
.panel-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: #d5dce4; }
.panel-body { padding: 18px; font-size: 0.8rem; }

/* quickstyle mock */
.qs { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
.qs-controls { display: flex; flex-direction: column; gap: 10px; }
.qs-field label { display: block; font-size: 0.68rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.qs-field .sel {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 6px 10px; font-size: 0.78rem; background: var(--surface);
  display: flex; justify-content: space-between; color: var(--text);
}
.qs-ramp { display: flex; border-radius: 6px; overflow: hidden; height: 22px; }
.qs-ramp span { flex: 1; }
.qs-legend { font-size: 0.72rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.qs-legend .row { display: flex; align-items: center; gap: 8px; }
.qs-legend .swatch { width: 14px; height: 14px; border-radius: 3px; }
.qs-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.qs-map svg { display: block; width: 100%; height: auto; }
.qs-apply {
  position: absolute; bottom: 10px; right: 10px;
  background: var(--accent); color: var(--on-accent);
  padding: 5px 14px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600;
}

/* table mock */
.mock-table { width: 100%; border-collapse: collapse; font-size: 0.74rem; }
.mock-table th { text-align: left; color: var(--text-muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.mock-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); }
.mock-table tr.hl td { background: var(--accent-soft); }

/* share mock */
.share-tabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.share-tab {
  border: 1px solid var(--border); border-radius: 100px;
  padding: 4px 12px; font-size: 0.72rem; color: var(--text-muted);
}
.share-tab.on { background: var(--bg-dark); color: var(--on-dark-strong); border-color: var(--bg-dark); }
.share-code {
  background: var(--code-bg); color: var(--code-text); border-radius: 8px;
  padding: 14px; font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; line-height: 1.6; overflow-x: auto; white-space: pre;
}

/* csv mock */
.csv-flow { display: flex; align-items: center; gap: 10px; }
.csv-flow .arrow { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.csv-card {
  flex: 1; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; background: var(--surface); font-size: 0.72rem;
}
.csv-card .t { font-weight: 700; margin-bottom: 6px; font-size: 0.76rem; }
.csv-card .mono { font-family: 'JetBrains Mono', monospace; color: var(--text-muted); line-height: 1.7; }

/* ---------- live teaser band ---------- */
.live-band {
  display: flex; align-items: center; gap: 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
  color: var(--text); transition: box-shadow .15s ease;
}
.live-band:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.live-band svg { display: block; width: 300px; flex: none; align-self: stretch; height: auto; }
.live-band-body { padding: 20px 28px 20px 0; }
.live-band-body .t { font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.live-band-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 8px; }
.live-band-body .go { color: var(--accent); font-weight: 600; font-size: 0.92rem; }
@media (max-width: 980px) {
  .live-band { flex-direction: column; align-items: stretch; gap: 0; }
  .live-band svg { width: 100%; }
  .live-band-body { padding: 16px 20px 18px; }
}

/* ---------- live gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-card {
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow); transition: transform .15s ease;
  display: block; color: var(--text);
}
.gallery-card:hover { transform: translateY(-3px); text-decoration: none; box-shadow: var(--shadow-lg); }
.gallery-card svg { display: block; width: 100%; height: auto; }
.gallery-body { padding: 18px 20px 20px; }
.gallery-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  border-radius: 100px; padding: 2px 10px; margin-bottom: 10px;
}
.gallery-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.gallery-body p { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 10px; }
.gallery-cta { color: var(--accent); font-weight: 600; font-size: 0.88rem; }

/* ---------- features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: all 0.2s ease;
}
/* Scoped like .svc-tile:hover above - see the note there. */
.feature.is-card-link:hover,
a.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature:has(a[href]):hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
/* The category glyph sits in the card's top-right corner.  Small rather than the old
   40px tile: out of flow the paragraph starts 55px down, so a 20px inset leaves
   35px of room and 40px would have overlapped the first line of body text.
   pointer-events:none so it can never intercept the .is-card-link overlay if one of
   these cards ever gains a link.  The GIS Server subsite has its own .feature-icon
   in gis-server/styles.css and is not affected. */
.feature.has-icon { position: relative; }
.feature.has-icon h3 { padding-right: 38px; }
.feature-icon {
  position: absolute; top: 20px; right: 20px; pointer-events: none;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.feature-icon svg { width: 16px; height: 16px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
/* .feature p above sets 0.95rem and margin 0, and beats the base .tile-links rule on
   both specificity and source order, so the link row needs its sizing back. */
.feature .tile-links { margin: 12px 0 0; font-size: 0.75rem; }
/* /sdks "Pick your platform": the three platform cards carry more than a plain
   .feature - a larger name, a larger glyph, the frameworks as tags under the name,
   and a link row big enough to read as the next step.  Scoped to .platform-cards so
   every other .feature card keeps the compact form above.  The card is a flex column
   so the link rows line up along the bottom whatever the length of the copy. */
.platform-cards .feature { padding-top: 26px; display: flex; flex-direction: column; }
.platform-cards .feature h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 10px; padding-right: 62px; }
.platform-cards .feature-icon { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--accent-line); }
.platform-cards .feature-icon svg { width: 24px; height: 24px; }
.platform-cards .platform-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.platform-tags span {
  font-size: 0.78rem; font-weight: 700; line-height: 1.3; padding: 4px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.platform-tags .is-legacy { background: transparent; color: var(--text-muted); border-color: var(--border); font-weight: 600; }
.platform-tags small { font-size: inherit; font-weight: 400; }
.platform-cards .tile-links { font-size: 0.9rem; gap: 6px 20px; margin-top: auto; padding-top: 16px; }
.platform-cards .tile-links svg { width: 15px; height: 15px; }
/* The Mobile card has a fourth link, to the iOS sample app, on a line of its own under
   the row all three cards share.  Side by side, the cards share one set of rows
   (subgrid), so Samples, Docs and 3D and GPU sit at the same height on all three, and
   the Desktop and Web cards leave the fourth link's line empty.  Stacked on a phone,
   or in a browser without subgrid, each card is the plain flex column above. */
.platform-cards .tile-links-more { margin-top: 6px; padding-top: 0; }
@media (min-width: 981px) {
  @supports (grid-template-rows: subgrid) {
    .platform-cards { row-gap: 0; }
    .platform-cards .feature {
      display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid;
      grid-row: span 5; row-gap: 0;
    }
  }
}
/* QR code for the iOS sample app (assets/sdks/ios-sample-app-qr.svg).  It encodes Apple's
   short address, apps.apple.com/app/id1559817900, which keeps the grid at 29 by 29.
   Always on a white tile, in either theme, or a phone will not read it.  Hidden on a
   phone, where the link beside it opens the App Store directly.
   /sdks, Mobile card: a small button after the iOS link.  The code appears above it on
   hover, focus or tap, so the card keeps the rows it shares with the other two cards.
   The ::after strip bridges the gap so the pointer can travel from button to code. */
.platform-cards .tile-links-more { align-items: center; column-gap: 12px; }
.qr-pop { position: relative; display: inline-flex; }
.qr-btn { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; font: inherit; font-size: .72rem;
  font-weight: 700; letter-spacing: .04em; color: var(--accent); background: transparent;
  border: 1px solid var(--accent-line); border-radius: 6px; cursor: pointer; }
.qr-btn:hover, .qr-btn:focus-visible { background: var(--bg-alt); }
.platform-cards .tile-links .qr-btn svg { width: 13px; height: 13px; }
.qr-card { position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 5; width: 150px; padding: 8px 8px 6px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.22);
  line-height: 0; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s; }
.qr-card::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.qr-card img { display: block; width: 132px; height: 132px; }
.qr-card small { display: block; margin-top: 6px; text-align: center; font-size: .68rem; line-height: 1.3;
  font-weight: 600; color: #333; }
.qr-pop:hover .qr-card, .qr-pop:focus-within .qr-card, .tile-links-more > a:hover + .qr-pop .qr-card {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* /features/3d-and-gpu, mobile section: the same code, always visible, under the link row. */
.g3-qr { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.g3-qr img { flex: none; box-sizing: border-box; width: 72px; height: 72px; padding: 2px; background: #fff;
  border: 1px solid var(--border); border-radius: 8px; }
.g3-qr span { max-width: 20ch; font-size: .85rem; line-height: 1.45; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .qr-card { transition: none; } }
@media (max-width: 700px) { .qr-pop, .g3-qr { display: none; } }
/* /support "From the blog": a small thumbnail of the post's main image floated to the
   card's top right.  The title and description run down its left side and take the full
   width once they pass below it.  104x73 is the 10:7 shape the blog index uses, so cover
   crops next to nothing.  flow-root keeps a short card from letting the float hang out
   of its bottom edge. */
.blog-mini { display: flow-root; }
.blog-mini .golink { white-space: nowrap; }
.blog-mini-thumb {
  float: right; margin: 0 0 8px 14px;
  width: 104px; height: 73px; object-fit: cover; display: block;
  border-radius: 6px; border: 1px solid var(--border); background: var(--bg-alt);
}

/* The GIS Server header's second column.  The command, the demo button and the sample-maps
   line used to stack under the lead, which made the header 401px tall; side by side its
   height is max(left, right) instead of the sum. */
.page-hero.has-cmd .gs-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 40px; align-items: center;
}
/* The command must not wrap.  At 0.86rem in a 440px column it needed 438px and
   broke onto a second line; nowrap plus a smaller face plus a slightly wider
   column leaves about 70px of slack rather than 2. */
.has-cmd .cmd { font-size: 0.78rem; }
/* nowrap only where there is room for it.  At 390px the command, the $ and the copy
   hint need ~378px in a ~310px box, and forbidding the wrap just pushed the hint onto
   its own row - a 94px button, worse than the two lines it replaced. */
@media (min-width: 981px) {
  .has-cmd .cmd { white-space: nowrap; }
}
/* A link, not a filled button: the header is trying to lose height, and a second
   solid control next to the command was the heaviest thing in the column. */
.gs-hero-side .demo-link {
  color: var(--accent-2); font-weight: 600; font-size: 0.92rem;
}
.gs-hero-side .demo-link:hover { text-decoration: underline; }
.gs-hero-copy { min-width: 0; }
.gs-hero-copy p { margin-bottom: 0; }
.gs-hero-side {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-width: 0;
}
.gs-hero-side .hero-meta { margin: 0; }
/* .ch only exists once the script has wrapped the characters, so with no script
   there is nothing hidden and the whole command shows. */
.cmd-text .ch { visibility: hidden; }
.cmd-text .ch.on { visibility: visible; }
.cmd-text.typing::after {
  content: '\25AE'; color: var(--accent-2); margin-left: 1px;
  animation: code-caret 1s steps(1) infinite;
}
@media (max-width: 980px) {
  .page-hero.has-cmd .gs-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  /* The command needs two rows at this width whatever we do.  Taking the copy hint
     out of the flow stops it claiming a third. */
  /* <button> is text-align:center in the UA stylesheet, which only shows once the
     command wraps - on desktop it is one line and never appears. */
  .has-cmd .cmd { position: relative; padding-right: 52px; align-items: flex-start;
                  text-align: left; }
  .has-cmd .cmd .copy-hint { position: absolute; right: 14px; top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmd-text .ch { visibility: visible; }
  .cmd-text.typing::after { content: none; }
}

/* /gis-server is a preview of an unreleased product: the body's links are stood down
   and a banner says so.  An <a> with no href is not a link - no navigation, no focus,
   no pointer - which is why the markup keeps the element and only drops the href: every
   card, cell and chip keeps its box and styling. */
/* The notice is a bar of its own between the hero and the live map (2026-11-18, the
   owner's decision).  It is sticky, so it sits there until the page scrolls past it
   and then pins under the site header.  top is the header's height: a 64px row and
   its 1px border.  It stays below the header's z-index so the More menu and the
   phone menu open over it. */
.gs-notice {
  position: sticky; top: 65px; z-index: 90;
  background: var(--bg-dark); color: var(--text-on-dark);
  border-bottom: 3px solid var(--warn);
  padding: 13px 0; font-size: 1.02rem; line-height: 1.5;
  box-shadow: 0 6px 18px rgba(11, 19, 32, 0.22);
}
.gs-notice .container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.gs-notice-tag {
  background: var(--warn); color: #1b1104;
  font-weight: 800; font-size: 0.8rem; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 6px; white-space: nowrap;
}
@media (max-width: 700px) {
  .gs-notice { padding: 9px 0; font-size: 0.88rem; }
  .gs-notice .container { gap: 5px 10px; }
  .gs-notice-tag { font-size: 0.7rem; padding: 3px 8px; }
}
/* Everything under the notice is at half strength, to say at a glance that the page
   is not live yet.  One class on <body>: take gs-faded off and the page is back. */
.gs-faded .page-hero, .gs-faded .livemap-wrap, .gs-faded > section, .gs-faded .price-strip { opacity: .5; }
/* One tag for "Coming Q1 2027" wherever it appears in running text or beside a
   heading.  Replaces .gs-badge and three hardcoded inline styles in the homepage
   decision table.

   An outline, not the solid fill the old badge used: in that table the tag sits
   straight after "GIS Server", which is itself an accent link, and a solid accent
   block against an accent link reads as one smear.

   The cards keep their stamp and wash instead, because the wash says something
   this cannot: the card is inert, not merely labelled. */
.soon {
  display: inline-block; vertical-align: 1px; margin-left: 6px;
  padding: 2px 7px; border-radius: 5px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--accent); border: 1px solid var(--accent-line);
}
/* On a dark band the light-theme accent has too little contrast, so there it
   takes the on-dark pair. */
.page-hero .soon { color: var(--accent-2); border-color: var(--accent-line-veil); }
.gs-preview a:not([href]) { cursor: default; }
/* .tour-card[href]:hover is already gated on [href], so those six lose their lift on
   their own.  These three are not gated and would still react to a pointer. */
.gs-preview .iox-cell:not([href]):hover { background: transparent; }
.gs-preview .demo-link:not([href]) { color: var(--text-on-dark-muted); }
.gs-preview .demo-link:not([href]):hover { text-decoration: none; }
/* The demo copy-buttons are disabled rather than silently inert: a button has a real
   disabled state and reads correctly to assistive tech. */
.gs-preview .cmd[disabled] { opacity: .5; cursor: default; }
.gs-preview .cmd[disabled]:hover { border-color: rgba(255,255,255,0.22); }

/* ---------- data source matrix ---------- */
.matrix {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow-x: auto;
}
.matrix table { width: 100%; border-collapse: collapse; min-width: 640px; }
.matrix th, .matrix td {
  padding: 13px 18px; text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.matrix th {
  background: var(--bg-alt);
  font-weight: 600; font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.matrix tr:last-child td { border-bottom: 0; }
.matrix .yes { color: var(--accent); font-weight: 600; }
.matrix .later { color: var(--warn); font-weight: 500; }
.matrix code {
  background: var(--bg-alt); padding: 2px 6px; border-radius: 4px;
  font-size: 0.85rem;
}
.matrix-note { color: var(--text-muted); font-size: 0.9rem; margin-top: 16px; }

/* ---------- code showcase ---------- */
.code-showcase {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center;
}
.code-showcase pre {
  background: var(--code-bg); color: var(--code-text);
  padding: 24px; border-radius: 12px;
  /* 0.75rem, not 0.85: the code column is 415px and the samples run past it, so a
     smaller face shows more of each line before it scrolls. It does not remove the
     scroll - the longest line needs 926px even at this size - and 12px is the floor
     worth going to; below it legibility costs more than the few characters gained. */
  overflow-x: auto; font-size: 0.75rem;
  line-height: 1.6;
  box-shadow: var(--shadow-lg);
}
.code-showcase ul { padding-left: 0; list-style: none; }
.code-showcase li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.code-showcase li strong { color: var(--text); display: block; margin-bottom: 2px; font-weight: 600; }
.code-showcase li:last-child { border-bottom: 0; }

/* ---------- comparison ---------- */
.compare-section { background: var(--bg-dark); color: var(--text-on-dark); }
.compare-section h2 { color: var(--on-dark-strong); }
.compare-section .section-head p { color: var(--text-on-dark-muted); }
.compare-section .section-eyebrow { color: var(--accent-2); }
.compare-wrap { overflow-x: auto; }
.compare {
  background: var(--bg-dark-2); border: 1px solid var(--border-dark);
  border-radius: 12px; overflow: hidden; min-width: 760px;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.92rem;
}
.compare th {
  background: var(--sheen);
  font-weight: 600; font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.compare th.us, .compare td.us {
  background: var(--accent-veil);
  color: var(--on-dark-strong);
}
.compare tr:last-child td { border-bottom: 0; }
.compare .check { color: var(--accent-2); }
.compare .cross { color: #ff7e7e; }
.compare .partial { color: #f1c40f; }
.compare-honest {
  margin-top: 28px; padding: 18px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-left: 3px solid var(--accent-2);
  border-radius: 8px;
  color: var(--text-on-dark-muted); font-size: 0.95rem;
}
.compare-honest strong { color: var(--on-dark-strong); }

/* ---------- honest callout (light variant, homepage) ---------- */
.honest-light {
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  color: var(--text-muted); font-size: 1rem;
  box-shadow: var(--shadow);
}
.honest-light strong { color: var(--text); }

/* Signup prompt under the caps explainer on the download tools. Shares the explainer's
   width, sits tight beneath it, and uses the accent border so it reads as the next step
   rather than a second aside. */
.upsell-note {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px; padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--accent); border-radius: 10px;
  box-shadow: var(--shadow);
}
.upsell-note p { margin: 0; color: var(--text-muted); font-size: 0.97rem; max-width: 46rem; }
.upsell-note strong { color: var(--text); }
.upsell-note .btn { flex: none; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; background: var(--surface);
  display: flex; flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 159, 0.12);
}
.price-card.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -10px; right: 18px;
  background: var(--accent); color: var(--on-accent); font-size: 0.7rem;
  padding: 4px 10px; border-radius: 100px; letter-spacing: 0.06em; font-weight: 700;
}
.price-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.price-amount { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.price-amount .unit { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.price-tag { font-size: 0.85rem; color: var(--text-muted); margin: 6px 0 16px; }
.price-features { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.price-features li {
  padding: 7px 0; padding-left: 22px;
  position: relative; font-size: 0.92rem; color: var(--text);
}
.price-features li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-features li.muted { color: var(--text-muted); }
.price-features li.muted::before { border-color: var(--text-muted); opacity: 0.5; }

/* ---------- pricing comparison table ---------- */
.ptable-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow-x: auto; box-shadow: var(--shadow);
}
.ptable { width: 100%; border-collapse: collapse; min-width: 860px; }
.ptable th, .ptable td {
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  text-align: center; font-size: 0.92rem; vertical-align: middle;
}
.ptable th:first-child, .ptable td:first-child { text-align: left; color: var(--text); }
.ptable thead th { border-bottom: 2px solid var(--border); vertical-align: top; padding-top: 24px; padding-bottom: 20px; width: 17.5%; }
.ptable thead th:first-child { width: 30%; }
.ptable .ed-name { font-weight: 700; font-size: 1.05rem; }
.ptable .ed-price { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 2px; }
.ptable .ed-price .unit { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.ptable .ed-tag { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }
.ptable .pop {
  display: inline-block; background: var(--accent); color: var(--on-accent);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 100px; padding: 2px 9px; margin-bottom: 8px;
}
.ptable .grp td {
  background: var(--bg-alt); text-align: left;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted); padding: 8px 16px;
}
.ptable .ok { color: var(--accent); font-weight: 700; }
.ptable .no { color: var(--text-on-dark-soft); }
.ptable td.feat, .ptable th.feat { background: rgba(47, 111, 159, 0.05); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .btn { padding: 8px 14px; font-size: 0.85rem; white-space: nowrap; }

/* ---------- pricing strip (homepage) ---------- */
.price-strip {
  background: var(--accent-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0; text-align: center;
}
.price-strip h2 { font-size: 1.7rem; }
.price-strip p { color: var(--text-muted); max-width: 640px; margin: 0 auto 24px; }

/* ---------- transparency ---------- */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope-card {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); padding: 32px;
}
.scope-card h3 { display: flex; align-items: center; gap: 10px; }
.scope-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.scope-card li {
  padding: 7px 0 7px 26px; position: relative;
  font-size: 0.95rem; color: var(--text);
}
.scope-card.in li::before {
  content: ''; position: absolute; left: 2px; top: 14px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.scope-card.out li { color: var(--text-muted); }
.scope-card.out li::before {
  content: '—'; position: absolute; left: 2px; top: 7px;
  color: var(--text-muted);
}
.scope-note { color: var(--text-muted); font-size: 0.92rem; margin-top: 20px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-card { border: 1.5px dashed var(--text-on-dark-soft); border-radius: 14px; padding: 28px; background: var(--surface); }
.quote-text { font-size: 1.02rem; color: var(--text); margin: 8px 0 14px; }
.quote-who { color: var(--text-muted); font-size: 0.88rem; }
.ph-badge {
  display: inline-block; background: #fef9e7; color: #9c640c;
  border: 1px solid #f0d48a; border-radius: 100px;
  font-size: 0.66rem; font-weight: 700; padding: 2px 10px; letter-spacing: .05em;
}

/* ---------- faq ---------- */
.faq { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-weight: 400; font-size: 1.5rem; color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-muted); margin: 14px 0 0; }

/* ---------- FAQ page ---------- */
.faq-page { background: var(--bg-alt); }
.faq-overview { padding-bottom: 56px; }
.faq-overview-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 72px; align-items: start; }
.faq-overview h2 { max-width: 650px; margin: 10px 0 16px; }
.faq-overview p { color: var(--text-muted); max-width: 650px; line-height: 1.7; margin: 0; }
.faq-jump-nav { display: grid; gap: 10px; }
.faq-jump-nav a { display: flex; align-items: center; gap: 14px; padding: 15px 17px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; font-weight: 600; box-shadow: 0 6px 18px rgba(18, 50, 78, .04); }
.faq-jump-nav a:hover { border-color: var(--accent-line); color: var(--accent); }
.faq-content-section { padding-top: 0; }
.faq-category-list { display: grid; gap: 28px; }
.faq-category { scroll-margin-top: 94px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; padding: 40px 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 32px var(--shadow-card); }
.faq-category-heading h2 { font-size: 1.55rem; margin: 10px 0 0; }
.faq-category .faq { max-width: none; }
.faq-category .faq-item:first-child { padding-top: 0; }
.faq-category .faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.faq-category .faq-item summary { gap: 24px; }
.faq-category .faq-item p { line-height: 1.72; padding-right: 44px; }
.faq-category .faq-item a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(51, 104, 143, .35); text-underline-offset: 3px; }
.faq-category .faq-item strong { color: var(--text); }
@media (max-width: 900px) {
  .faq-overview-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-category { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .faq-category { padding: 28px 22px; }
  .faq-category .faq-item p { padding-right: 8px; }
  .faq-hero .hero-cta { display: grid; }
}

/* ---------- final cta ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--accent), var(--bg-dark-deep));
  color: var(--on-accent); text-align: center;
  padding: 80px 0;
}
.final-cta h2 { color: var(--on-accent); }
.final-cta p { color: var(--frost); font-size: 1.1rem; max-width: 580px; margin: 0 auto 32px; }
.final-cta .btn { padding: 14px 26px; font-size: 1.05rem; }

/* ---------- footer ---------- */
footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 48px 0 32px;
  font-size: 0.9rem;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
  margin-bottom: 36px;
}
footer h4 {
  color: var(--on-dark-strong); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 14px;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: var(--text-on-dark-muted); }
footer a:hover { color: var(--on-dark-strong); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* The nav reaches the hamburger before the rest of the layout does.  Measured at 981px,
   the narrowest width that used to show all nine links: they leave 0px between "Blog"
   and the search icon at a 15px gap, 1px at 11px, 5px at 10px, and 7px even with the
   logo shrunk - there is no value that gives this band room, so it gets the menu instead.
   1024px, iPad landscape, still shows the full nav.

   These rules used to live in the 980px block below.  They are here instead because that
   block also collapses .features, .tour-grid, .svc-grid, the heading sizes and the section
   padding, and widening it to 1023 would have moved all of that too. */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-links.cta-only { display: flex; gap: 10px; }
  .nav-links.cta-only .btn-ghost { display: none; }  /* Live demo moves into the menu */
  .nav-links.cta-only .btn { padding: 8px 14px; font-size: 0.9rem; }
  .menu-btn { display: flex; }
  .mobile-menu {
    flex-direction: column;
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 6px 24px 14px;
  }
  .mobile-menu a {
    padding: 12px 0; color: var(--text); font-weight: 500;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu a:last-child { border-bottom: 0; }
  .mobile-menu a:hover { text-decoration: none; color: var(--accent); }
  .mobile-menu a.active {
    color: var(--accent); font-weight: 600;
    box-shadow: inset 3px 0 0 var(--accent);
  }
  .nav-toggle:checked ~ .mobile-menu { display: flex; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.6rem; }
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.8rem; }

  .hero-grid, .steps, .features, .pricing, .code-showcase, .scope,
  .tour-row, .qs, .gallery, .quotes, .tour-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .iox { grid-template-columns: 1fr; gap: 4px; }
  .iox-arrow { transform: rotate(90deg); padding: 6px 0; }
  .iox-grid { height: auto; }
  .tour-row.flip .tour-visual { order: 0; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-logos { justify-content: flex-start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .page-hero { padding: 44px 0 36px; }
  .tour-row { margin-bottom: 56px; gap: 28px; }
  .csv-flow { flex-direction: column; }
  .csv-flow .arrow { transform: rotate(90deg); }
  .howline { flex-direction: column; align-items: flex-start; gap: 12px; }
  .howline .harrow { display: none; }
  .howline .hlink { margin-left: 0; }

  /* command chip: fit narrow screens */
  .cmd { max-width: 100%; flex-wrap: wrap; font-size: 0.76rem; padding: 10px 12px; }

  /* I/O diagram: chips flow horizontally instead of one tall stack */
  .io { grid-template-columns: 1fr; gap: 12px; }
  .io-arrow { transform: rotate(90deg); }
  .io-col { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .io-col-label { flex-basis: 100%; margin-bottom: 2px; }
  .io-chip { flex: 0 0 auto; padding: 5px 10px; font-size: 0.78rem; gap: 6px; }
  .io-more { flex-basis: 100%; }

  .final-cta { padding: 56px 0; }
  .price-strip { padding: 44px 0; }
}

/* ============================================================
   main-site additions (thinkgeomain) — appended to shared kit
   ============================================================ */
.golink { color: var(--accent); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.golink:hover { color: var(--accent-2); }

/* ---------- whole-card links ----------
   Opt-in, because .feature is shared by sixteen pages and most of them should not become
   links. The card's one link stretches an overlay across the card rather than the card being
   wrapped in an anchor: the accessible name stays the link's own short label instead of the
   whole card's text, and only one thing lands in the tab order either way.
   A card with two destinations must never get this class - the overlay would swallow the
   other link. Children that must stay interactive or selectable sit above the overlay. */
.is-card-link { position: relative; }
.is-card-link .golink::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
}
/* video controls stay clickable; the MCP URL stays selectable so it can be copied */
/* The one exception to "never two destinations": a second link marked is-also.  It gets
   no overlay of its own and sits above the first link's, so the card still goes to the
   first link and these words go to the second. */
.is-card-link .golink.is-also { position: relative; z-index: 1; margin-left: 2px; white-space: nowrap; }
.is-card-link .golink.is-also::after { content: none; }
.is-card-link > video,
.is-card-link code.url { position: relative; z-index: 1; }
/* The card shows the focus ring, since the link itself is only a few words inside it.
   Keyboard focus only: :focus-within also matched when the browser restored focus to the
   link after a back navigation, which left the last card you clicked outlined on return.
   :has(:focus-visible) leaves that case alone, because a click does not raise focus-visible.
   The :focus-within fallback is kept for engines without :has(), where a stray ring is a
   far smaller problem than no focus indicator at all. */
.is-card-link:has(.golink:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
@supports not selector(:has(*)) {
  .is-card-link:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
}

.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
/* the mapping data card shares the pricing cards' eyebrow, heading and sub-line,
   so one definition covers both rather than the two drifting apart */
.hub-card .model, .data-buy .model {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.hub-card h3, .data-buy h3 { margin: 0 0 2px; font-size: 1.4rem; letter-spacing: -0.01em; }
.hub-card .price { font-size: 1.65rem; font-weight: 800; margin: 12px 0 0; }
.hub-card .price .unit { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.hub-card .sub, .data-buy .sub { color: var(--text-muted); font-size: 0.88rem; margin: 2px 0 0; }
.hub-card ul { margin: 16px 0 20px; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; }
.hub-card ul li { margin-bottom: 6px; }
/* a link that ends a bullet (Contact Sales, Start 30-day trial) moves to the next line whole */
.hub-card ul li .golink { white-space: nowrap; }
.hub-card .btn { margin-top: auto; text-align: center; justify-content: center; }
/* One row per edition on a pricing card: name, what it covers, price, Buy.  The whole
   row is the /check-out link.  A size container, so in a narrow card the "covers" text
   drops to a second line instead of squeezing the price. */
.plan-rows {
  margin: 16px 0 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  container: plan-rows / inline-size;
}
.plan-row {
  display: grid; grid-template-columns: 60px minmax(0, 1fr) auto auto; align-items: center;
  gap: 2px 8px; padding: 9px 8px 9px 10px; border-top: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 0.9rem;
}
.plan-row:first-child { border-top: 0; }
.plan-row:hover, .plan-row.is-best { background: var(--accent-soft); text-decoration: none; }
.plan-name { grid-column: 1; grid-row: 1; font-weight: 700; }
.plan-covers { grid-column: 2; grid-row: 1; color: var(--text-muted); font-size: 0.8rem; }
.plan-price { grid-column: 3; grid-row: 1; font-weight: 700; }
.plan-buy {
  grid-column: 4; grid-row: 1; background: var(--accent); color: var(--on-accent);
  font-weight: 700; font-size: 0.8rem; padding: 5px 11px; border-radius: 7px;
}
.plan-row:hover .plan-buy { filter: brightness(1.08); }
@container plan-rows (max-width: 295px) {
  .plan-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .plan-covers { grid-column: 1 / -1; grid-row: 2; }
  .plan-price { grid-column: 2; }
  .plan-buy { grid-column: 3; padding: 5px 9px; }
}

.chooser { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.chooser td { padding: 14px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.chooser td:first-child { color: var(--text-muted); width: 55%; }
.chooser td:last-child { font-weight: 600; }
.chooser td:last-child a { color: var(--accent); text-decoration: none; }

@media (max-width: 860px) {
  .hub-cards { grid-template-columns: 1fr; }
}

/* fix: .nav-links a (0,1,1) outranks .btn-primary (0,1,0), muting nav CTA text */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--on-accent); }
.nav-links a.btn-ghost { color: var(--text); }

/* ---------- live map embed + map-rendering gallery (2026-07-14) ---------- */
.livemap-wrap { max-width: 1000px; margin: 24px auto 0; padding: 0 24px; position: relative; z-index: 2; }
/* 820px rather than the full 1000px wrap: at 1440 the map was 952x536, 60% of the
   viewport height, which dominated the page.  Same 16:9 shape, smaller frame. */
.livemap { position: relative; aspect-ratio: 16/9; max-width: 820px; margin-inline: auto;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.22); border: 1px solid var(--veil-weak); background: var(--bg-dark-3); }
.livemap-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.livemap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; background: transparent; }
.livemap-cap { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.livemap-cap strong { color: var(--text); }
/* On phones a 16:9 map is a ~200px strip — the tabs + caption crowd it out. Give it a
   tall portrait-ish height so the map itself has room. */
@media (max-width: 640px) {
  .livemap { aspect-ratio: auto; height: 72vh; min-height: 420px; max-height: 640px; }
  .livemap-wrap { padding: 0 12px; margin-top: 20px; }
  .livemap-cap { font-size: 12.5px; }
}

/* The /sdks map gallery, as a mosaic: the .m-tile tiles of the homepage mosaic on four
   columns, the large tile two by two and eight small ones round it.  Two columns on a
   tablet (eight small tiles pair up, so the homepage's last-tile rule is undone here),
   one on a phone.  Still images sit in a tile the same way the clips do. */
.gal-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gal-mosaic .m-tile { aspect-ratio: 3 / 2; }
.gal-mosaic .m-tile.is-big { aspect-ratio: auto; }
.m-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.m-tile:hover img, .m-tile:focus-visible img { transform: scale(1.03); }
@media (max-width: 900px) {
  .gal-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-mosaic .m-tile.is-big { aspect-ratio: 16 / 10; }
  .gal-mosaic .m-tile:last-child { grid-column: auto; aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  .gal-mosaic { grid-template-columns: 1fr; }
  .gal-mosaic .m-tile.is-big { grid-column: auto; aspect-ratio: 3 / 2; }
}

.showcase { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }
.showcase figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--veil-weak);
  box-shadow: 0 10px 30px rgba(0,0,0,.12); background: var(--bg-dark-3); }
.showcase img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Standards-interop strip under the live map: copyable service URLs so visitors can
   load the demo in their own QGIS/ArcGIS — proof it's a real OGC server, not a widget. */
.livemap-tools { text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--text-muted); }
.livemap-tools .lt-label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--text); }
.livemap-tools .lt-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cmd.cmd-light {
  background: var(--bg-alt, #f4f6f8); color: var(--text); border: 1px solid rgba(0,0,0,0.14);
  font-size: 0.78rem; padding: 7px 12px; border-radius: 8px;
}
.cmd.cmd-light:hover { border-color: rgba(0,0,0,0.35); }
.cmd.cmd-light .copy-hint { color: var(--text-muted); }
.livemap-tools .lt-hint { display: block; margin-top: 8px; font-size: 12px; }

/* ---------- about page (2026-08-14) ---------- */
/* 1180 like every other header, so the crumb starts at the same x.  The 820px
   cap on the paragraph below keeps the reading measure it had. */
.about-hero .container { max-width: 1180px; }
.about-hero p { max-width: 820px; }
.about-story-section { padding-bottom: 72px; }
.about-story {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-story-copy h2, .about-industries h2, .about-contact h2 { margin-bottom: 18px; }
.about-lead { color: var(--text-muted); font-size: 1.08rem; line-height: 1.75; }
.about-office-photo {
  margin: 0; overflow: hidden; border-radius: 16px; background: var(--bg-dark);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.about-office-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-office-photo figcaption { padding: 11px 16px; background: var(--surface); color: var(--text-muted); font-size: 0.82rem; }
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px;
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden;
}
.about-stat { padding: 24px; text-align: center; border-right: 1px solid var(--border); }
.about-stat:last-child { border-right: 0; }
.about-stat strong { display: block; color: var(--accent); font-size: 1.55rem; line-height: 1.2; margin-bottom: 5px; }
.about-stat span { color: var(--text-muted); font-size: 0.86rem; }
.about-principles { background: var(--bg-alt); }
.about-customer-band { background: var(--bg-dark); color: var(--on-dark-strong); padding: 68px 0; }
.about-customer-band .container { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
.about-customer-band h2 { color: var(--on-dark-strong); font-size: 1.8rem; margin-bottom: 14px; }
.about-customer-band p { color: var(--text-on-dark-muted); margin: 0; }
.about-customer-band .section-eyebrow { color: var(--accent-2); }
.about-customer-logos { display: block; width: 100%; max-height: 150px; object-fit: contain; }
.about-industry-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.about-word-map { margin: 0; }
.about-word-map img { display: block; width: 100%; height: auto; }
.about-contact { background: var(--bg-alt); }
.about-contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: center; }
.about-address-card {
  display: flex; flex-direction: column; gap: 6px; padding: 30px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); color: var(--text); font-style: normal;
}
.about-address-label { color: var(--accent); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.about-address-card strong { font-size: 1.12rem; }
.about-address-card span { color: var(--text-muted); }
.about-address-card hr { width: 100%; border: 0; border-top: 1px solid var(--border); margin: 16px 0 12px; }
.about-address-card a { color: var(--accent); font-weight: 600; }
.about-final-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .about-story, .about-customer-band .container, .about-industry-grid, .about-contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-stat:nth-child(2) { border-right: 0; }
  .about-stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .about-contact-grid { align-items: stretch; }
}
@media (max-width: 520px) {
  /* Every other grid goes to one column at 980px; svc-grid stops at two because
     the tiles are small, which left phones with 200px tiles at 480px and 120px at
     320px. At 600px a two-column tile is still 260px and its link row fits one
     line, so the last step belongs below that rather than at 980 with the rest. */
  .svc-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .about-stat:nth-child(3) { border-bottom: 1px solid var(--border); }
  .about-stat:last-child { border-bottom: 0; }
}

/* ---------- government solutions (2026-08-15) ---------- */
.gov-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--text-on-dark);
  background: linear-gradient(135deg, #0b1320 0%, #101d32 58%, #152942 100%);
  padding: 64px 0 72px;
}
.gov-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7,15,27,.98) 0%, rgba(9,20,35,.9) 48%, rgba(11,24,42,.64) 100%);
}
.gov-hero-map {
  position: absolute; inset: 0; z-index: -2;
  background: url('assets/government/government-map.png') center / cover no-repeat;
  filter: saturate(.72) contrast(1.05);
}
.gov-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 68px; align-items: center;
}
.gov-hero-copy { max-width: 650px; }
.gov-hero .crumb {
  color: #79c5e5; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 18px;
}
.gov-hero h1 { color: var(--on-dark-strong); font-size: clamp(2.35rem, 4vw, 3.6rem); line-height: 1.07; margin-bottom: 22px; }
.gov-hero-copy > p { max-width: 630px; color: #c1ccda; font-size: 1.13rem; line-height: 1.75; margin-bottom: 30px; }
.gov-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.gov-hero-actions .btn { min-height: 46px; padding: 12px 20px; }
.gov-trust-line {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px;
  color: #aab8ca; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.gov-trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.gov-trust-line span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }
.gov-contract-card {
  background: rgba(13,24,46,.96); border: 1px solid rgba(221,177,85,.75); border-radius: 16px;
  box-shadow: 0 26px 70px rgba(0,0,0,.34); padding: 30px;
  backdrop-filter: blur(8px);
}
.gov-contract-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.gov-contract-heading h2 {
  margin: 0; color: var(--gold); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.gov-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(227,190,112,.11); }
.gov-contract-list { margin: 0; }
.gov-contract-list > div {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--sheen-line-3);
}
.gov-contract-list dt {
  color: #8494ab; font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
}
.gov-contract-list dd { margin: 0; color: #f2f6fb; font-family: 'JetBrains Mono', monospace; font-size: .76rem; text-align: right; }
.gov-contract-list .gov-highlight { color: var(--gold); font-size: .82rem; }
.gov-contract-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.gov-contract-links a {
  display: flex; align-items: center; justify-content: space-between; color: #dbe5f1; padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 7px; font-size: .72rem; font-weight: 600;
}
.gov-contract-links a:hover { color: var(--on-dark-strong); border-color: rgba(255,255,255,.35); text-decoration: none; }
.gov-sins { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.gov-sins span {
  color: #8494ab; font-family: 'JetBrains Mono', monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; margin-right: auto;
}
.gov-sins strong {
  color: var(--gold); background: rgba(227,190,112,.1); border: 1px solid rgba(227,190,112,.22);
  border-radius: 100px; padding: 5px 9px; font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 500;
}
.gov-capabilities-section, .gov-value-section, .gov-past-section, .gov-comparison-section { padding: 76px 0; }
/* Past performance reuses the value cards without their icons. */
.gov-past-card h3 { margin-top: 0; }
.gov-section-intro { max-width: 760px; margin-bottom: 34px; }
.gov-section-intro h2 { margin-bottom: 12px; }
.gov-section-intro p { color: var(--text-muted); font-size: 1.03rem; margin: 0; }
.gov-document-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gov-document-card {
  position: relative; display: flex; flex-direction: column; min-height: 255px; padding: 25px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gov-document-card:hover { transform: translateY(-3px); border-color: var(--accent-line-2); box-shadow: 0 12px 34px rgba(11,19,32,.12); text-decoration: none; }
.gov-doc-type {
  align-self: flex-start; color: var(--accent); background: var(--accent-soft); border-radius: 5px;
  padding: 4px 7px; font-family: 'JetBrains Mono', monospace; font-size: .66rem; font-weight: 700; letter-spacing: .07em;
}
.gov-document-card h3 { margin: 20px 0 10px; font-size: 1.08rem; }
.gov-document-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.6; }
.gov-doc-link { margin-top: auto; color: var(--accent); font-size: .84rem; font-weight: 700; }
.gov-value-section { background: var(--bg-alt); }
.gov-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gov-value-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 27px; box-shadow: 0 8px 24px var(--shadow-card); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.gov-value-card::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--accent), #78bcea); opacity: 0; transition: opacity .22s ease; }
.gov-value-card:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 14px 32px rgba(18, 50, 78, .1); }
.gov-value-card:hover::after { opacity: 1; }
.gov-value-icon { display: grid; place-items: center; width: 56px; height: 56px; color: var(--accent); background: linear-gradient(145deg, #edf6fc, #dceefa); border: 1px solid #c9e2f3; border-radius: 12px; }
.gov-value-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gov-value-icon circle[r="1"] { fill: currentColor; stroke: none; }
.gov-value-card h3 { margin: 18px 0 10px; font-size: 1.08rem; }
.gov-value-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.66; margin: 0; }
@media (prefers-reduced-motion: reduce) { .gov-value-card { transition: none; } }
.gov-proof-band { padding: 38px 0; background: var(--accent); color: var(--on-accent); }
.gov-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gov-proof-grid > div { padding: 8px 26px; text-align: center; border-right: 1px solid var(--sheen-line-2); }
.gov-proof-grid > div:last-child { border-right: 0; }
.gov-proof-grid strong { display: block; font-size: 1.8rem; line-height: 1.2; margin-bottom: 4px; }
.gov-proof-grid span { color: var(--on-accent); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
.gov-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); background: var(--surface); }
.gov-table-wrap:focus-visible { outline: 3px solid rgba(47,111,159,.28); outline-offset: 3px; }
.gov-comparison-table { width: 100%; min-width: 900px; border-collapse: collapse; font-size: .87rem; }
.gov-comparison-table th, .gov-comparison-table td { padding: 16px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.gov-comparison-table thead th { background: var(--table-head-bg); color: var(--table-head-text); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; }
.gov-comparison-table tbody th { width: 23%; font-weight: 600; }
.gov-comparison-table tbody tr:last-child th, .gov-comparison-table tbody tr:last-child td { border-bottom: 0; }
.gov-comparison-table .gov-thinkgeo-col { background: var(--col-highlight); }
.gov-comparison-table thead .gov-thinkgeo-col { color: var(--accent); background: var(--col-highlight-head); }
.gov-table-note { margin: 14px 2px 0; font-size: .78rem; color: var(--text-muted); }
.gov-yes { color: var(--ok); font-weight: 800; }
.gov-no { color: var(--bad); font-weight: 800; }
.gov-mixed { color: var(--mixed); font-weight: 800; }
.gov-final-cta .section-eyebrow { color: #8bd4ee; margin-bottom: 14px; }
.gov-final-actions { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.gov-phone { color: var(--on-dark-strong); font-weight: 600; padding: 10px 4px; }
.gov-phone:hover { color: var(--on-dark-strong); }

@media (max-width: 980px) {
  .gov-hero { padding: 50px 0 60px; }
  .gov-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .gov-hero-copy { max-width: 760px; }
  .gov-contract-card { max-width: 640px; }
  .gov-document-grid { grid-template-columns: repeat(2, 1fr); }
  .gov-value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .gov-hero { padding: 42px 0 48px; }
  .gov-hero h1 { font-size: 2.15rem; }
  .gov-hero-copy > p { font-size: 1rem; }
  .gov-contract-card { padding: 23px 20px; }
  .gov-contract-links { grid-template-columns: 1fr; }
  .gov-document-grid, .gov-value-grid { grid-template-columns: 1fr; }
  .gov-document-card { min-height: 220px; }
  .gov-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .gov-proof-grid > div:nth-child(2) { border-right: 0; }
  .gov-proof-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--sheen-line-2); padding-bottom: 20px; }
  .gov-proof-grid > div:nth-child(n+3) { padding-top: 20px; }
}
@media (max-width: 420px) {
  .gov-contract-list > div { grid-template-columns: 1fr; gap: 4px; }
  .gov-contract-list dd { text-align: left; }
  .gov-sins span { flex-basis: 100%; }
}


/* purchase entry points on the pricing page (wired to /check-out) */
.buy-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.buy-label {
  width: 100%; margin-bottom: 2px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
}
/* Solid, like the Buy buttons in the edition rows (.plan-buy) above them on /pricing.
   The only buy buttons left are the two on the Mapping data card, which /pricing and
   /mapping-data share. */
.buy-btn {
  display: inline-block; padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent);
  font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.buy-btn:hover { filter: brightness(1.08); color: var(--on-accent); text-decoration: none; }
/* The GIS Server card on /pricing is a link target (/faq); keep it clear of the sticky header. */
.hub-card[id] { scroll-margin-top: 94px; }
.data-buy {
  scroll-margin-top: 94px;
  margin-top: 32px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; box-shadow: var(--shadow);
}
.data-buy .buy-row { margin-top: 16px; }
@media (max-width: 600px) { .buy-btn { width: 100%; text-align: center; } }
.buy-note {
  margin: -10px 0 16px; font-size: 0.85rem; font-style: italic; color: var(--text-muted);
}


/* Active-section indicator in the shared header. The partial sets .active and
   aria-current from $REQUEST_URI, which nginx keeps as the original client request
   even inside an SSI subrequest, so this needs no per-page markup.
   The underline is an absolutely positioned pseudo-element and every nav link
   carries one, transparent until active, so switching sections cannot shift the
   layout. Scoped away from .cta-only so the Sign in / Get started buttons are
   unaffected. */
.nav-links:not(.cta-only) a { position: relative; }
.nav-links:not(.cta-only) a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px; background: transparent;
}
.nav-links:not(.cta-only) a.active { color: var(--text); font-weight: 600; }
.nav-links:not(.cta-only) a.active::after { background: var(--accent); }

/* ---------- the "More" menu in the header ----------
   Blog, About ThinkGeo and Government Solutions behind one item, so the bar stays at nine
   and About and Government get into the navigation. It is a button, not a link: it goes
   nowhere itself. It opens on hover and, without the script, on keyboard focus; with
   /assets/js/nav.js it also pins open on a click and closes on Escape. See that file for
   the js / open / dismissed classes. Below 1024px the whole link row is hidden and the
   three pages are plain rows in the phone menu instead. */
.nav-more { position: relative; display: flex; align-items: center; }
.nav-more-btn {
  position: relative; display: inline-flex; align-items: center; gap: 5px;
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); white-space: nowrap;
}
.nav-more-btn:hover, .nav-more.open .nav-more-btn, .nav-more:not(.dismissed):hover .nav-more-btn { color: var(--text); }
.nav-more-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.nav-more-btn svg { transition: transform .15s ease; }
.nav-more.open .nav-more-btn svg, .nav-more:not(.dismissed):hover .nav-more-btn svg { transform: rotate(180deg); }
/* the same mark the plain links carry on their own page */
.nav-more.is-active .nav-more-btn { color: var(--text); font-weight: 600; }
.nav-more.is-active .nav-more-btn::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav-more-menu {
  display: none; position: absolute; top: calc(100% + 20px); right: -14px; z-index: 60;
  flex-direction: column; min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 19, 32, .14);
}
/* An invisible bridge across the gap between the button and the card, so moving the
   pointer down to the menu does not close it on the way. */
.nav-more-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-more:not(.dismissed):hover .nav-more-menu,
.nav-more:not(.js):focus-within .nav-more-menu,
.nav-more.open .nav-more-menu { display: flex; }
.nav-links:not(.cta-only) .nav-more-menu a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 0.92rem; font-weight: 500;
}
.nav-links:not(.cta-only) .nav-more-menu a::after { display: none; }   /* no underline mark inside the card */
.nav-links:not(.cta-only) .nav-more-menu a:hover { background: var(--bg-alt); color: var(--accent); }
.nav-links:not(.cta-only) .nav-more-menu a:focus-visible { background: var(--bg-alt); color: var(--accent); outline: 2px solid var(--accent); outline-offset: -2px; }
.nav-links:not(.cta-only) .nav-more-menu a.active { color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .nav-more-btn svg { transition: none; } }


/* ---------- colour theme control (footer) ----------
   Three labelled buttons rather than a cycling icon: the current setting is always
   visible and any other is one click away. The selected option uses a raised surface
   rather than a filled accent, which reads clearly in both themes and avoids giving a
   display preference the weight of a primary button. */
.theme-picker { display: flex; align-items: center; gap: 10px; }
.theme-picker-label {
  color: var(--text-on-dark-muted); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.theme-picker-options {
  display: inline-flex; padding: 2px; border-radius: 999px;
  border: 1px solid var(--border-dark); background: var(--bg-dark-2);
}
.theme-option {
  border: none; background: transparent; color: var(--text-on-dark-muted);
  font: inherit; font-size: 0.8rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.theme-option:hover { color: var(--on-dark-strong); }
.theme-option:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.theme-option.is-on {
  background: var(--bg-dark-deep); color: var(--on-dark-strong);
  box-shadow: inset 0 0 0 1px var(--border-dark);
}
/* Without JS the control cannot do anything, so do not imply it can. */
.theme-picker { opacity: 1; }
@media (max-width: 600px) {
  .theme-picker { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom .theme-picker { margin-top: 14px; }
}


/* A page may pin its own theme - the checkout does, because it is built on Bulma and
   would otherwise render half-themed. Offering a control that cannot work is worse than
   offering none, so hide it there. */
:root[data-theme-lock] .theme-picker { display: none; }


/* Footer contact block. <address> is italic by default, which does not suit a
   postal address rendered as plain contact detail. */
/* Indent to the wordmark: .logo-mark-image is 28px and .logo has a 10px gap, so the
   "ThinkGeo" text starts 38px in. Expressed as the sum so the link stays obvious. */
:root { --footer-brand-indent: calc(28px + 10px); }
.footer-address {
  font-style: normal; color: var(--text-on-dark-muted);
  font-size: 0.9rem; line-height: 1.7; margin: 0 0 12px;
  padding-left: var(--footer-brand-indent); max-width: 300px;
}
.footer-contact {
  margin: 0; font-size: 0.9rem; line-height: 1.7;
  padding-left: var(--footer-brand-indent);
}


/* The header carries nine links plus two buttons. Between the hamburger breakpoint
   and about 1150px that no longer fits at the full gap, so tighten it there
   rather than move the breakpoint, which shares its media block with hero sizing.
   18px rather than the 15 the 0.95rem face needed: 1024px is this band's narrowest
   point and is clear at 20px and below. */
@media (max-width: 1150px) {
  .nav-links { gap: 16px; }
}
/* 1024-1080px is the last stretch that shows the full nav, and the tightest. It was
   12px, which left 16px either side of the links at 1024px (iPad landscape). The More
   menu is about 15px wider than the Blog link it replaced and bold on its own pages,
   which cut that to 12px, so the gap gives 1px back per link to keep the 16. */
@media (max-width: 1080px) {
  .nav-links { gap: 11px; }
}


/* GIS Server ships after the site launches. The card stays clickable so the content
   is still reachable internally; the mark is decorative and hidden from assistive
   tech, with a visually-hidden equivalent carrying the meaning instead. */
.is-coming-soon { position: relative; overflow: hidden; container-type: inline-size; }
.is-coming-soon::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--surface); opacity: 0.55;
}
.coming-soon-mark {
  position: absolute; top: 50%; left: 50%; z-index: 2; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-12deg);
  font-size: clamp(0.95rem, 9cqw, 2rem); font-weight: 800; letter-spacing: -0.01em;
  text-transform: uppercase; white-space: nowrap;
  color: var(--accent);
  border: 3px solid var(--accent); border-radius: 10px;
  padding: 8px 18px; opacity: 0.9;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}




/* The two product sub-headings on /mapping-data. Sized to sit clearly between the
   section h2 (33.6px) and the tile headings (16.3px) so the page has three legible
   levels, with enough space above that each product reads as its own block. */
.dataset-note { margin: 16px 0 0; max-width: 70ch; font-size: .85rem; color: var(--text-muted); }
/* The download tool is the one thing to click in a dataset block, so it is a button;
   the documentation and online sample links follow it on the same row.  The two links
   are one group: where the column is too narrow for all three they drop under the
   button together, rather than one beside it and one alone. */
.dataset-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 16px 0 18px; }
.dataset-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.dataset-head {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 56px 0 8px;
}
/* The site's h2 drops to 1.6rem at 980px. Without a matching step here the two would
   render at the same size and the section would lose its heading hierarchy. */
@media (max-width: 980px) { .dataset-head { font-size: 1.35rem; margin-top: 44px; } }
@media (max-width: 640px) { .dataset-head { margin-top: 40px; } }

/* Each dataset's render sits beside the words describing it. The image column is
   about half the container, which also keeps the 1000px source above 1:1 rather
   than upscaling it as a full-width image would. */
.dataset-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin: 0 0 22px; }
.dataset-copy p { max-width: 60ch; }
.dataset-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--veil-weak);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); background: var(--surface); }
.dataset-shot img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.dataset-shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--veil-weak); }
@media (max-width: 860px) { .dataset-row { grid-template-columns: 1fr; } }

/* Inside the copy column the tiles stack. Three across a half-width column is about
   170px each, which is too narrow for the tile copy. Specificity beats the base
   .svc-grid rule and its responsive steps, so this holds at every width. */
.dataset-copy .svc-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 16px;
  width: 75%; margin-inline: auto; }
/* On a phone the copy column is already narrow; 75% of it crowds the tile text. */
@media (max-width: 640px) { .dataset-copy .svc-grid { width: 100%; } }


/* ---- Maps Street download demo -------------------------------------------------- */
.msd-status { font-size: 13px; color: var(--text-muted); margin: 0 0 18px;
  padding: 10px 14px; border: 1px solid var(--veil-weak); border-radius: 10px;
  background: var(--surface); }
.msd-status.is-error { color: var(--bad); }

.msd-layout { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .msd-layout { grid-template-columns: 1fr; } }

.msd-howto { list-style: none; margin: 0 0 20px; padding: 0; }
.msd-howto li { position: relative; padding-left: 34px; margin-bottom: 10px;
  font-size: 0.93rem; color: var(--text-muted); }
.msd-n { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700;
  display: grid; place-items: center; }

.msd-field { margin-bottom: 16px; }
.msd-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.msd-input { width: 100%; padding: 9px 11px; border-radius: 8px; font: inherit;
  color: var(--text); background: var(--surface); border: 1px solid var(--veil-weak); }
.msd-hint { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0; }

.msd-readout { padding: 12px 14px; border-radius: 10px; font-weight: 600;
  background: var(--bg-alt); border: 1px solid var(--veil-weak); margin-bottom: 14px; }
.msd-readout.is-over { color: var(--bad); border-color: var(--bad); }

.msd-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.msd-note { font-size: 13px; color: var(--text-muted); margin: 12px 0 0; min-height: 1.2em; }

.msd-progress { height: 4px; border-radius: 2px; overflow: hidden;
  background: var(--veil-weak); margin-top: 12px; }
.msd-progress-bar { width: 40%; height: 100%; background: var(--accent);
  animation: msd-slide 1.1s ease-in-out infinite; }
@keyframes msd-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

.msd-map-wrap { position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--veil-weak); box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.msd-map { height: 520px; background: var(--bg-alt); }
@media (max-width: 900px) { .msd-map { height: 380px; } }
.msd-map.is-error { display: grid; place-items: center; color: var(--text-muted); font-size: 14px; }
.msd-zoombadge { position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: var(--surface); color: var(--text-muted); border: 1px solid var(--veil-weak); }

/* The drawing controls ship with their own light styling; keep them legible in dark. */
:root[data-theme="dark"] .maplibregl-ctrl-group,
:root:not([data-theme="light"]) .maplibregl-ctrl-group { background: var(--surface); }


/* ---- /cloud live map ------------------------------------------------------------ */
/* One floating bar over a full-bleed map, after the "Explore Mapbox live" section on
   mapbox.com: tiny uppercase labels, one row of controls, and nothing else competing
   with the map.  The chrome is dark in both themes on purpose - it sits over aerial
   imagery as often as over paper, and a light bar disappears on snow and sand. */
.cloudmap-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.cloudmap {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--veil-weak); box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  background: var(--surface-3);
}
/* MapLibre sets position: relative on its container through its own stylesheet, which
   is injected at runtime and so wins on source order.  Two classes beat it on
   specificity, where source order does not apply. */
.cloudmap .cm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The poster carries the section until MapLibre has drawn, and stays as the whole
   answer when it cannot: no key, no quota, reduced motion, no IntersectionObserver. */
.cloudmap-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: opacity .4s ease;
}
.cloudmap.is-live .cloudmap-poster { opacity: 0; pointer-events: none; }

.cm-note {
  position: absolute; inset-inline: 0; bottom: 16px; z-index: 3; text-align: center;
  font-size: 13px; color: var(--text-on-dark-soft); display: none;
}
.cloudmap.is-error .cm-note, .cloudmap.is-static .cm-note { display: block; }
.cloudmap.is-error .cm-bar, .cloudmap.is-static .cm-bar,
.cloudmap.is-error .cm-panel, .cloudmap.is-static .cm-panel { display: none; }

/* ---- the bar ---- */
.cm-bar {
  /* A column down the left at every width. Standing it up is what makes it narrow
     enough for the panel to sit beside it instead of under it. */
  position: absolute; z-index: 4; top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 11px; align-items: stretch;
  /* 118 rather than 112: the scrollbar the cap introduced eats into the content
     box, and at 112 it was enough to wrap the TRY A SERVICE label onto two lines. */
  width: 118px;
  /* Capped and scrollable rather than free to grow. The bar has gained a button
     most times this map has been touched, and adding Clear was what first ran it
     into the attribution at the foot of a phone-sized map - the same licensing
     problem the panel had. 52px is the 14 above it plus the attribution's 24 and
     14 of air, so the bar now stops short of it however many tools arrive. */
  max-height: calc(100% - 52px); overflow-y: auto; overscroll-behavior: contain;
  /* A full-width scrollbar on a 118px bar is a quarter of the button. */
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent;
  padding: 9px 10px; border-radius: 12px;
  background: rgba(10, 18, 30, .82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
}
.cm-bar::-webkit-scrollbar { width: 6px; }
.cm-bar::-webkit-scrollbar-track { background: transparent; }
.cm-bar::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 3px; }
.cm-group { display: flex; flex-direction: column; gap: 5px; }
.cm-label {
  font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  color: rgba(255, 255, 255, .55); padding-left: 2px;
}
.cm-seg { display: flex; flex-direction: column; gap: 4px; }
.cm-seg button {
  appearance: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: 5px 9px; border-radius: 7px; font: inherit; font-size: 11.5px; font-weight: 600;
  color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .07);
  transition: background .15s ease, color .15s ease;
}
.cm-seg button:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.cm-seg button.is-on { background: var(--accent-2); color: #07121f; }
/* Set apart from the tools above it: it undoes them rather than joining them, and
   it is never the thing you reach for first. */
.cm-seg button.cm-clear {
  margin-top: 6px; background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .6); font-weight: 500;
}
.cm-seg button.cm-clear:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.cm-seg button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
/* 3D is road only, so the button goes dim rather than disappearing: a control
   that vanishes on one basemap reads as a bug. */
.cm-seg button:disabled { opacity: .38; cursor: not-allowed; }
.cm-seg button:disabled:hover { background: rgba(255, 255, 255, .07);
                               color: rgba(255, 255, 255, .78); }

/* 3D sits with the zoom buttons, not in the bar: it changes how the camera looks
   at the map rather than what the map shows.  Matched to them deliberately - 29px
   square, their corner radius, their hairline shadow - so the three read as one
   cluster.  The offset is the corner's own 14px inset plus the group's 29 plus 8
   of air. */
.cm-3d {
  position: absolute; z-index: 4; top: 14px; right: 51px;
  width: 29px; height: 29px; padding: 0;
  appearance: none; border: 0; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 11.5px; font-weight: 700; line-height: 29px;
  background: #fff; color: #333;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .1);
}
.cm-3d:hover { background: #f4f6f9; }
.cm-3d.is-on { background: var(--accent-2); color: #07121f; }
.cm-3d:disabled { opacity: .45; cursor: not-allowed; }
.cm-3d:disabled:hover { background: #fff; }
.cm-3d:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
/* Same two scopes the control glyphs use, for the same reason: the selector alone
   means dark unless explicitly light, which is only true inside the query. */
:root[data-theme="dark"] .cm-3d { background: var(--surface); color: #e8eef7; }
:root[data-theme="dark"] .cm-3d:hover { background: #1b2740; }
:root[data-theme="dark"] .cm-3d:disabled:hover { background: var(--surface); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cm-3d { background: var(--surface); color: #e8eef7; }
  :root:not([data-theme="light"]) .cm-3d:hover { background: #1b2740; }
  :root:not([data-theme="light"]) .cm-3d:disabled:hover { background: var(--surface); }
}

/* ---- the panel ---- */
/* Left, not centred: identify and route both ask for a click on the map, and a panel
   over the middle would be covering the thing it is asking you to click. */
.cm-panel {
  /* Beside the bar, not under it: 14px inset + the bar's 112px + 14px of air.
     Still off to one side, because identify and route both ask for a click on
     the map and a panel over the middle would cover the thing it asks for. */
  /* 146 = the bar's 14 inset + its 118 + 14 of air, the same rhythm as everywhere
     else on this map. */
  position: absolute; z-index: 4; left: 146px; top: 14px;
  width: min(320px, calc(100% - 154px));
  padding: 12px 14px; border-radius: 10px;
  background: rgba(10, 18, 30, .88); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
  color: var(--text-on-dark); font-size: 13px;
}
.cm-panel[hidden] { display: none; }

/* The elevation strip: wide and short, so it takes the foot of the map rather
   than the panel's corner. It sits clear of the attribution for the same reason
   the panel does, and it hides the panel while it is up rather than fighting it
   for the same room at narrow widths. */
.cm-profile {
  position: absolute; z-index: 4; left: 146px; right: 14px; bottom: 44px;
  padding: 10px 12px 6px; border-radius: 10px;
  background: rgba(10, 18, 30, .88); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .3);
  color: var(--text-on-dark);
}
.cm-profile[hidden] { display: none; }
.cloudmap.cm-profiling .cm-panel { display: none; }
.cm-prof-head { display: flex; align-items: baseline; gap: 10px; font-size: 12.5px; }
.cm-prof-head span { color: rgba(255, 255, 255, .62); font-size: 11.5px; }
.cm-prof-close {
  margin-left: auto; appearance: none; border: 0; background: transparent;
  color: rgba(255, 255, 255, .6); font-size: 16px; line-height: 1; cursor: pointer;
  padding: 0 2px;
}
.cm-prof-close:hover { color: #fff; }
/* Fixed height, stretched width: the viewBox is 1000 wide and does not care.
   The gutter is for the y labels, which are HTML rather than SVG text because
   preserveAspectRatio="none" would stretch text sideways with everything else. */
.cm-prof-plot { position: relative; height: 74px; margin-top: 6px; padding-left: 46px; }
.cm-prof-svg { display: block; width: 100%; height: 100%; }
.cm-prof-y {
  position: absolute; left: 0; width: 40px; text-align: right;
  transform: translateY(-50%); pointer-events: none;
  font-size: 10px; line-height: 1; color: rgba(255, 255, 255, .55);
  font-variant-numeric: tabular-nums;
}
.cm-tip { margin: 0; color: rgba(255, 255, 255, .72); }
/* The query layer picker. Sits above whatever the tool is saying, so there is
   always a way to ask the same shape about something else. */
.cm-pick {
  display: flex; align-items: center; gap: 8px; margin-bottom: 9px;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: rgba(255, 255, 255, .55);
}
.cm-pick select {
  flex: 1; appearance: none; font: inherit; font-size: 12px; letter-spacing: 0;
  text-transform: none; font-weight: 600; padding: 5px 8px; border-radius: 7px;
  color: #fff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18); cursor: pointer;
}
.cm-pick select:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 1px; }
/* The menu itself is drawn by the OS, which does not know about the dark panel. */
.cm-pick option { color: #0b1320; background: #fff; }
.cm-search input {
  width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08);
  color: #fff; font: inherit; font-size: 13px;
}
.cm-search input::placeholder { color: rgba(255, 255, 255, .45); }
.cm-search input:focus { outline: 2px solid var(--accent-2); outline-offset: 1px; }

.cm-results { list-style: none; margin: 8px 0 0; padding: 0; max-height: 190px; overflow: auto; }
.cm-results[hidden] { display: none; }
.cm-results button {
  display: block; width: 100%; text-align: left; appearance: none; border: 0;
  cursor: pointer; padding: 7px 8px; border-radius: 6px; font: inherit;
  background: transparent; color: inherit;
}
.cm-results button:hover, .cm-results button:focus-visible {
  background: rgba(255, 255, 255, .1); outline: none;
}
.cm-r-name { display: block; font-weight: 600; font-size: 12.5px; }
.cm-r-addr { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .6); }

.cm-card-eyebrow {
  display: block; font-size: 10px; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 700; color: rgba(255, 255, 255, .5); margin-bottom: 3px;
}
.cm-card strong { display: block; font-size: 14px; }
.cm-card-sub { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.cm-card-list { list-style: none; margin: 9px 0 0; padding: 9px 0 0; font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12); }
.cm-card-list li { padding: 2px 0; color: rgba(255, 255, 255, .8); }
.cm-card-list em { font-style: normal; color: rgba(255, 255, 255, .45); }
.cm-steps li { counter-increment: cm-step; }
.cm-steps li::before { content: counter(cm-step) ". "; color: var(--accent-2); font-weight: 700; }
.cm-steps { counter-reset: cm-step; }

/* ---- pins ---- */
.cm-pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.cm-pin-found, .cm-pin-drop { background: var(--accent-2); }
.cm-pin-start { background: #4ade80; }
.cm-pin-end { background: #f87171; }

/* MapLibre's own chrome, pulled toward the site's: the attribution and the zoom
   buttons are the only parts of the library that paint themselves. */
.cloudmap .maplibregl-ctrl-group { border-radius: 8px; overflow: hidden; }
.cloudmap .maplibregl-ctrl-attrib { font-size: 10.5px; }
/* Top right, opposite the bar, which is a column down the left at every width.
   The corner container carries the inset so it lines up with the bar. */
.cloudmap .maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 14px 14px 0 0; }
/* Above the cooperative-gestures scrim, which covers the whole map at z-index
   99999 while it says "Use Ctrl + scroll to zoom the map".  That scrim is pointer-
   events: none, so the buttons underneath it still work, but they are dimmed along
   with everything else and read as disabled - which is exactly how it was reported.
   The map behind it still dims, which is the point of it; the controls no longer do.
   Their children keep pointer-events, so lifting the corner changes nothing else. */
.cloudmap .maplibregl-ctrl-top-right { z-index: 100000; }

/* MapLibre draws these glyphs #333, and the compass needle's south half #ccc.
   On the dark surface the site gives the control group the zoom glyphs nearly
   vanish.  An inverting filter would fix that and break the compass, swapping its
   two halves so the needle read as pointing south.  Same paths redrawn instead.

   Written twice on purpose, and that is the whole point of the shape of this.
   `:root:not([data-theme="light"])` means "dark unless explicitly light", and it
   is only true inside the dark media query - everywhere else in this file it sits
   in one, and sets a token that resolves per theme anyway.  These set a fixed
   near-white, so left outside the query they painted white glyphs onto the
   white control group of a light system that had not set data-theme yet.  Light
   now gets no rule at all here, which is MapLibre's own styling untouched. */
:root[data-theme="dark"] .cloudmap .maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e8eef7' viewBox='0 0 29 29'><path d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/></svg>");
}
:root[data-theme="dark"] .cloudmap .maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e8eef7' viewBox='0 0 29 29'><path d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/></svg>");
}
:root[data-theme="dark"] .cloudmap .maplibregl-ctrl-compass .maplibregl-ctrl-icon {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e8eef7' viewBox='0 0 29 29'><path d='m10.5 14 4-8 4 8z'/><path fill='%236d7c93' d='m10.5 16 4 8 4-8z'/></svg>");
}
:root[data-theme="dark"] .cloudmap .maplibregl-ctrl-group button:hover {
  background-color: rgba(255, 255, 255, .09);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cloudmap .maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e8eef7' viewBox='0 0 29 29'><path d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/></svg>");
  }
  :root:not([data-theme="light"]) .cloudmap .maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e8eef7' viewBox='0 0 29 29'><path d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/></svg>");
  }
  :root:not([data-theme="light"]) .cloudmap .maplibregl-ctrl-compass .maplibregl-ctrl-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e8eef7' viewBox='0 0 29 29'><path d='m10.5 14 4-8 4 8z'/><path fill='%236d7c93' d='m10.5 16 4 8 4-8z'/></svg>");
  }
  :root:not([data-theme="light"]) .cloudmap .maplibregl-ctrl-group button:hover {
    background-color: rgba(255, 255, 255, .09);
  }
}

.cloudmap-cap { max-width: 1100px; margin: 14px auto 0; padding: 0 24px;
  text-align: center; font-size: 13px; color: var(--text-muted); }
.cloudmap-cap strong { color: var(--text); }

/* The popup stacks a name over an address; MapLibre gives its content no layout. */
/* Above the control bar, which sits at z-index 4. A popup is transient and was
   asked for by the click that opened it, so it wins over the bar. */
.cloudmap .maplibregl-popup { z-index: 5; }
.cloudmap .maplibregl-popup-content { padding: 10px 26px 10px 12px; border-radius: 8px; font-size: 12.5px; }
.cloudmap .maplibregl-popup-content strong { display: block; }
.cloudmap .maplibregl-popup-content span { display: block; color: var(--text-muted); margin-top: 2px; }
/* The attribute list on a queried feature. Two columns, and a cap on the height
   because some layers carry a lot of tags. */
.cm-attrs {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px;
  margin: 7px 0 0; padding: 7px 0 0; font-size: 11.5px;
  border-top: 1px solid var(--veil-weak);
  max-height: 168px; overflow: auto;
}
.cm-attrs dt { color: var(--text-muted); white-space: nowrap; }
.cm-attrs dd { margin: 0; word-break: break-word; }

@media (max-width: 860px) {
  /* The bar wraps rather than scrolls - two short rows beat one that runs off the
     edge of a phone - and the panel takes the bottom, clear of both. */
  .cloudmap { aspect-ratio: 4 / 5; }
  /* The bar is already a column on the left here, so it does not change. Only the
     panel moves, to the bottom, where it is clear of the zoom buttons in the
     opposite corner and still clear of the bar beside it. */
  /* 44px, not 14px: the attribution sits in the last 24px of the map and the
     panel is above it in the stacking order, so at 14px it hid the OpenMapTiles
     and OpenStreetMap credits whenever a tool was open. */
  .cm-panel { top: auto; bottom: 44px; left: 146px; right: 14px; width: auto; }
  .cloudmap-wrap, .cloudmap-cap { padding: 0 12px; }
}


/* ---- /industries reference applications ----------------------------------------- */
/* The featured row reuses .dataset-row, which already stacks at 860px. Only the
   figure differs: these are 16/10 diagrams rather than 5/4 map renders. */
.solution-shot { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--veil-weak);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); background: var(--surface-3); }
.solution-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.solution-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
/* Direct child, so the rule cannot reach into anything later added to the body. */
.solution-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; border-bottom: 1px solid var(--border); background: var(--surface-3); }
.solution-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.solution-card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.solution-card p { color: var(--text-muted); font-size: 0.93rem; margin: 0 0 14px; }

/* Neutral rather than amber text: --warn on --surface is about 3:1, which fails for
   something this small and bold. The colour moves to the dot, which carries no meaning
   on its own, and the label stays legible in both themes. */
.solution-status {
  display: inline-flex; align-items: center; gap: 7px; align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px;
  padding: 3px 10px; margin: 0 0 10px;
}
.solution-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }

/* Pinned to the bottom so the "Leans on" line sits level across a row of cards whose
   copy runs to different lengths. The type selector is load-bearing: .solution-card p
   is (0,1,1) and plain .solution-built is only (0,1,0), so the base margin won and the
   line floated wherever the copy happened to end. Measured gaps were 101/35/35 across
   one row before this. */
.solution-card p.solution-built { margin: auto 0 0; padding-top: 12px;
  border-top: 1px dashed var(--border); font-size: 0.82rem; }
.solution-built strong { color: var(--text); font-weight: 600; }
/* The data credits line under Leans on, on the showcase detail pages. */
.solution-credits { font-size: .82rem; color: var(--text-muted); }
.solution-credits strong { color: var(--text); font-weight: 600; }

/* Three cards of this copy length are about 300px each on a laptop, which is fine, but
   below 980px the third column squeezes the "Leans on" line onto four rows. */
@media (max-width: 980px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .solution-grid { grid-template-columns: 1fr; } }


/* ---- /maps-imagery-download ----------------------------------------------------- */
/* The page reuses the street tool's .msd-* layout wholesale. Only the job panel is new,
   because an imagery build is asynchronous and the street one is not. */
.mid-job {
  margin-top: 16px; padding: 14px 16px;
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; background: var(--surface);
}
.mid-job-head { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.mid-job-meta { margin: 4px 0 0; font-size: 0.86rem; color: var(--text-muted); }
/* Only ever shown once the build is ready, so nothing can prefetch the file. */
.mid-job-link { margin-top: 12px; }

.mid-coverage { margin: 14px 0 0; font-size: 0.86rem; color: var(--text-muted); max-width: 80ch; }

/* The zoom options carry a metres-per-pixel figure, which is long enough to clip in a
   select sized for "z12". */
#mid-zoom { min-width: 15rem; max-width: 100%; }

/* A capture keeps its own shape. The diagrams are 16/10 by construction; a screen recording
   is whatever the window was, and cropping one into 16/10 would cut off the control panel,
   which is the most interesting thing in it. */
.solution-video { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--veil-weak);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .12); background: var(--surface-3); }
.solution-video video { display: block; width: 100%; height: auto; }
.solution-video figcaption { padding: 10px 14px; font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--veil-weak); }

/* A video inside a card sits in the same 16/10 slot the diagrams use, but letterboxed
   rather than cropped: these captures are near-square and cropping one to 16/10 cuts the
   head and the feet off the wide shots. The backdrop is sampled from the recording itself,
   so the bars are invisible and the slot reads as the application's own dark canvas. */
/* height:auto is load-bearing. The height="" attribute on <video> maps to a presentational
   hint, author CSS that sets only width leaves it standing, and an explicit height defeats
   aspect-ratio. Without this the card renders 1282px tall. */
.solution-card > video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: contain; background: #0f1016; border-bottom: 1px solid var(--border); }

/* ---- /showcase/<app> detail pages ------------------------------------------------ */
/* The captures are near-square, so a full-container video would run past 1000px tall.
   Capped and centred instead, which also keeps it beside a readable measure of text. */
.detail-media { margin: 0 auto; max-width: 760px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--veil-weak); box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
  background: #0f1016; }
.detail-media video { display: block; width: 100%; height: auto; }
.detail-media figcaption { padding: 10px 14px; font-size: 13px; color: var(--text-muted);
  background: var(--surface); border-top: 1px solid var(--veil-weak); }

.detail-copy { max-width: 760px; margin: 0 auto; }
.detail-copy p { margin: 0 0 16px; }
.detail-copy p:last-child { margin-bottom: 0; }

/* The crumb carries a link back up on these pages; the hero crumb is accent-coloured
   already, so only the underline needs asking for. */
.page-hero .crumb a { color: inherit; text-decoration: underline; }
.page-hero .crumb a:hover { color: var(--on-dark-strong); }

/* An address somebody is meant to copy into a tool, not a code fragment to read. <code>
   is already monospace site-wide, so the accent colour is what makes it read as an
   address; anywhere is there because ai.thinkgeo.com/mcp has no spaces to break on. */
code.url { color: var(--accent); font-size: 0.92em; overflow-wrap: anywhere; }

/* Four licensing tiers on one pricing card. No single headline price, because none of the
   four is "the" price: a reader needs to find the row that describes them. Each tier is its
   own block, separated by a rule, name left and price right on one line with the scope
   under it. */
/* Indented and bulleted so the four read as a list hanging off the card heading rather
   than as four more blocks competing with it. The rule indents with them. */
.hub-card .tier { border-top: 1px solid var(--border); margin: 14px 0 0 16px;
  padding-top: 14px; position: relative; }
.hub-card .tier:first-of-type { margin-top: 18px; }
.hub-card .tier::before { content: ''; position: absolute; left: -14px; top: 21px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier-name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.tier-price { font-weight: 700; font-size: 0.95rem; color: var(--accent); white-space: nowrap; }
.tier-scope { margin: 5px 0 0; font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); }
/* Narrow cards cannot hold "Department Unlimited" and a price on one line. */
@media (max-width: 1100px) {
  .tier-head { display: block; }
  .tier-price { display: block; margin-top: 2px; }
}
/* Applies to all four tiers, so it sits under them rather than inside one. */
.tier-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); }
/* The coming-soon wash is a ::after over the whole card at 55% opacity. Clicks pass
   through it, but a link under it reads as disabled, so this one is lifted clear:
   the tiers are not purchasable yet, talking to sales is. */
.tier-contact { position: relative; z-index: 3; margin: 10px 0 0;
  font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); }
/* The callout holds more than one paragraph now. */
.honest-light p { margin: 0 0 12px; }
.honest-light p:last-child { margin-bottom: 0; }

/* ---- /search --------------------------------------------------------------------- */
.search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 0 18px; }
.search-input { flex: 1; min-width: 0; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; }
.search-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.search-status { margin: 0 0 20px; color: var(--text-muted); font-size: 0.92rem; }

.search-results { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.search-hit { padding: 16px 0; border-top: 1px solid var(--border); }
.search-hit:first-child { border-top: 0; }
.search-hit-title { font-size: 1.05rem; font-weight: 700; color: var(--text); text-decoration: none; }
.search-hit-title:hover { color: var(--accent); text-decoration: underline; }
/* A small flag for whether this is a product page or a blog post: the two want reading
   differently, and the URL alone does not say so at a glance. */
.search-hit-kind { margin-left: 10px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 8px; vertical-align: 2px; }
.search-hit-snippet { margin: 6px 0 4px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }
.search-hit-url { font-size: 0.8rem; color: var(--accent); overflow-wrap: anywhere; }
.search-results mark { background: var(--accent-soft); color: var(--text); padding: 0 2px; border-radius: 3px; }

/* The nav is already full; the search entry is an icon-sized link rather than a field. */
.nav-search { display: inline-flex; align-items: center; gap: 6px; }
.nav-search svg { width: 15px; height: 15px; }

/* Below 480px the logo, search, Sign in, Get started and the hamburger stop
   fitting one 64px row.  They wrap instead of overflowing, so nothing is
   clipped and no horizontal scroll appears - Sign in just renders two lines
   tall and Get started three, both taller than the bar.  Measured clean at
   480 and broken at 430.  Search and Sign in are already in the mobile menu,
   so the bar keeps only Get started, which is not in the menu and is the
   conversion path. */
@media (max-width: 480px) {
  .nav-links.cta-only .nav-search,
  .nav-links.cta-only .nav-signin { display: none; }
  .nav-links.cta-only .btn { white-space: nowrap; }
  /* Giving the CTA a single line left the bar 3px wider than a 320px screen, so
     the header lockup gives that back.  It is deliberately 30% larger than the
     base .logo the footer uses; here it returns to about base size, freeing
     roughly 22px.  Scoped to .nav, so the footer lockup is unaffected. */
  .nav .logo { font-size: 18px; gap: 10px; }
  .nav .logo-mark-image { width: 30px; height: 30px; }

  /* Two footer tracks cannot fit 320px: a 1fr track is minmax(auto, 1fr), so its
     floor is min-content, and "SDKs for .NET" held the second column open to
     323px against a container edge near 304px - the last 3px of sideways scroll
     on a phone.  Stacked, each block gets about 288px and the floor stops
     binding. */
  .footer-inner { grid-template-columns: 1fr; }
}

/* /professional-services: three showcase clips in one row, on the homepage mosaic's
   tiles.  Last in the file on purpose: the phone rule below has to follow the mosaic's
   own breakpoints, which have the same weight. */
.ps-clips .m-tile, .ps-clips .m-tile:last-child { grid-column: auto; aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .ps-clips { grid-template-columns: 1fr; } }

/* The two legal pages, /licensing-agreement and /privacy-policy: one reading column.
   Last in the file because these rules used to be an inline <style> block on both
   pages, which came after everything here; keeping them last keeps the same order.
   .legal-party and .legal-name are the two title lines at the top of the licence:
   they look like the <h2> and <h3> they replaced, but are not headings, because the
   <h1> above them already says the same thing.  A clause is a <p id="section-N">, so
   it can be linked to; the scroll margin keeps it clear of the sticky header. */
.legal-body { max-width: 780px; margin: 0 auto; padding: 48px 24px 72px; }
.legal-body h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal-body h3 { font-size: 1.08rem; margin: 30px 0 8px; }
.legal-body p  { margin: 0 0 14px; line-height: 1.7; color: var(--text-muted); }
.legal-body li { margin: 0 0 10px; line-height: 1.7; color: var(--text-muted); }
.legal-body p.legal-party, .legal-body p.legal-name { color: var(--text); line-height: 1.2; letter-spacing: -0.01em; }
.legal-body p.legal-party { font-size: 1.35rem; font-weight: 700; margin: 34px 0 10px; }
.legal-body p.legal-name { font-size: 1.08rem; font-weight: 600; margin: 30px 0 8px; }
.legal-body p[id] { scroll-margin-top: 94px; }
