/* =========================================================================
   PixGlobe — an atlas you fall into.
   Cinematic / editorial / geographic. Self-hosted, no external requests.
   System serif for editorial headlines; system sans for UI; mono for coords.
   ========================================================================= */

:root {
  /* --- Deep, filmic ground — warmed + lifted a touch for an inviting feel --- */
  --void:     #071320;   /* top of the sky */
  --abyss:    #091a2a;
  --deep:     #0d2036;   /* primary page ground (warmer, brighter navy-teal) */
  --deep-2:   #122943;
  --ocean:    #123d5e;   /* deep ocean blue */
  --teal:     #16606b;   /* rich teal */
  --forest:   #1b6350;   /* forest green */
  --slate:    #3a5069;

  /* --- Light / ink (brighter for readability) --- */
  --paper:    #f7f1e7;   /* warm white — primary text */
  --paper-2:  #f2ebdd;
  --mist:     #cdd9e6;   /* secondary text — brighter, higher contrast */
  --mist-dim: #9fb1c3;   /* tertiary / captions (AA-checked on --deep) */
  --line:     rgba(203, 221, 240, 0.16);
  --line-2:   rgba(203, 221, 240, 0.32);

  /* --- Warm, inviting accents --- */
  --cyan:     #74d7e0;   /* satellite cyan */
  --aurora:   #86e3ab;   /* aurora green */
  --gold:     #f2c274;   /* golden sunrise (warmer, brighter) */
  --gold-ink: #f6d190;
  --warm:     #f0a96a;   /* sunrise amber for glows/CTA */

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
          "Liberation Mono", monospace;

  --measure: 60ch;
  --edge: clamp(22px, 5vw, 76px);   /* page side gutter */
  --maxw: 1280px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--paper);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint film grain + a fixed graticule, sitting under everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(64px, 8vw, 128px) clamp(64px, 8vw, 128px);
  opacity: 0.32;
  mask-image: radial-gradient(125% 95% at 50% 0%, #000 22%, transparent 72%);
  -webkit-mask-image: radial-gradient(125% 95% at 50% 0%, #000 22%, transparent 72%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--paper); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.08; letter-spacing: -0.018em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 0.5em; }
h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); line-height: 1.2; margin: 0 0 0.4em; }
p { margin: 0 0 1.15rem; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--paper); }

a { color: var(--paper); text-decoration: none; }
a:hover { color: var(--cyan); }

img, svg, canvas { display: block; max-width: 100%; }

/* Editorial helpers */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.3em;
  display: inline-block;
}
.coord {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mist-dim);
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  line-height: 1.42;
  color: var(--paper-2);
  font-style: italic;
}
.measure { max-width: var(--measure); }
.dim { color: var(--mist); }

/* thin map neatline */
.neatline { height: 1px; background: var(--line-2); border: 0; margin: 0; }

/* ---------- Skip link / a11y ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--paper); color: var(--deep);
  padding: 10px 16px; border-radius: 2px; font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; color: var(--deep); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Understated controls ---------- */
.link-underline {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.4s ease, color 0.4s ease;
}
.link-underline:hover { color: var(--gold-ink); border-color: var(--gold); }
.link-underline .arrow { display: inline-block; margin-left: 0.6em; transition: transform 0.4s ease; }
.link-underline:hover .arrow { transform: translateX(4px); }

/* the one bordered element we allow — a coming-soon plate, still frameless-feeling */
.plate {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  background: rgba(8, 18, 32, 0.35);
}
.plate .glyph { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; }
.plate .txt small {
  display: block; font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist-dim);
}
.plate .txt strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; color: var(--paper); }

/* Prominent, honest App Store CTA (no live download yet) */
.btn-app {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 22px 10px 11px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(19, 44, 68, 0.9), rgba(11, 28, 46, 0.92));
  border: 1px solid var(--line-2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.btn-app:hover {
  transform: translateY(-2px);
  border-color: rgba(116, 215, 224, 0.55);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(116, 215, 224, 0.22);
  color: var(--paper);
}
.btn-app .app-tile { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.35); }
.btn-app .txt { text-align: left; }
.btn-app .txt small {
  display: block; font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 2px;
}
.btn-app .txt strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.22rem; color: var(--paper); line-height: 1.05; }

/* ---------- Product showcase (device previews) ---------- */
.showcase { padding: clamp(80px, 12vh, 150px) var(--edge) clamp(70px, 10vh, 130px); position: relative; }
.showcase::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 50% 30%, rgba(22, 96, 107, 0.16), transparent 70%);
}
.showcase-inner { max-width: var(--maxw); margin: 0 auto; }
.showcase-head { max-width: 40ch; margin: 0 0 clamp(40px, 6vw, 64px); }
.showcase-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.showcase-head p { color: var(--mist); font-size: 1.1rem; margin-top: 0.4em; }
.devices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: end;
}
.device { text-align: center; }
.device.lift { transform: translateY(-26px); }
.device .frame {
  width: 100%; max-width: 260px; margin: 0 auto;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.5));
}
.device .cap { display: block; margin-top: 1.4em; }
.device .cap b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: var(--paper); }
.device .cap span { display: block; color: var(--mist-dim); font-size: 0.96rem; margin-top: 0.2em; max-width: 26ch; margin-left: auto; margin-right: auto; }
.showcase-note {
  margin-top: clamp(40px, 6vw, 64px); text-align: center;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--mist-dim);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--edge);
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 12, 22, 0.72);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; }
.brand .word {
  font-family: var(--serif); font-size: 1.24rem; letter-spacing: 0.02em; color: var(--paper);
}
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.site-nav a {
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mist); font-weight: 500;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: 116px var(--edge) clamp(56px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
/* the sky: warm, inviting — dawn light low, ocean glow behind the globe */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 90% at 78% 42%, rgba(26, 74, 108, 0.6) 0%, transparent 56%),
    radial-gradient(80% 70% at 62% 116%, rgba(240, 169, 106, 0.20) 0%, transparent 60%),
    radial-gradient(70% 50% at 12% -8%, rgba(118, 210, 224, 0.10) 0%, transparent 60%),
    linear-gradient(178deg, var(--void) 0%, var(--deep) 54%, #0a1e33 100%);
}
.globe-stage {
  position: relative;
  z-index: -1;
  width: 100%;
  max-width: min(62vh, 580px);
  aspect-ratio: 1;
  margin: 0 auto;
  justify-self: center;
  pointer-events: none;
}
.globe-stage canvas, .globe-stage .globe-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.globe-fallback { display: block; }
.js .globe-fallback { display: none; }   /* upgraded to canvas when JS runs */

.hero-copy { position: relative; max-width: 34ch; }
.hero-copy h1 {
  font-size: clamp(2rem, 3.9vw, 3.15rem); line-height: 1.13; letter-spacing: -0.015em;
  margin-bottom: 0.55em; text-wrap: balance;
}
.hero-copy h1 .glow { color: var(--gold-ink); }
.hero-copy .lede {
  max-width: 40ch; margin-bottom: 2em; font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  font-style: normal; color: var(--mist); line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(18px, 3vw, 30px); }
/* copy left, globe right (DOM keeps the globe first + aria-hidden, so readers hit the headline first) */
.hero > .hero-copy   { grid-column: 1; grid-row: 1; }
.hero > .globe-stage { grid-column: 2; grid-row: 1; }

.scroll-cue {
  position: absolute; left: var(--edge); bottom: 26px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--mist-dim);
}
.scroll-cue .tick { display: block; width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); }
.js .scroll-cue .tick { animation: drift 3.6s ease-in-out infinite; transform-origin: top; }
@keyframes drift { 0%,100% { transform: scaleY(0.5); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Chapters (flowing, asymmetric, mostly boxless) ---------- */
.chapter { padding: clamp(66px, 10vh, 132px) var(--edge); position: relative; }
.chapter-inner { max-width: var(--maxw); margin: 0 auto; }
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.col-left  { grid-column: 1 / span 6; }
.col-right { grid-column: 8 / span 5; }
.col-rightwide { grid-column: 7 / span 6; }
.col-narrow { grid-column: 2 / span 5; }
.col-push   { grid-column: 7 / span 5; }

/* intro holders (replaces inline max-width; CSP forbids inline styles) */
.chapter-lead { max-width: 56ch; }
.chapter-lead .lede { margin-top: 0.6em; }
.closing .coord { margin-bottom: 2em; }

.chapter .index {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 1.6em;
}
.chapter h2 + .body { margin-top: 1.4em; }
.body p { color: var(--mist); font-size: 1.06rem; }
.body p strong { color: var(--paper); }

/* an inline list that reads like marginalia, not a checklist card */
.marginal { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 0; }
.marginal li {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line);
  color: var(--mist);
}
.marginal li:last-child { border-bottom: 1px solid var(--line); }
.marginal .n { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; }

/* close-up globe/detail art holder (bleeds, no frame) */
.detail-art { position: relative; }
.detail-art svg { width: 100%; height: auto; overflow: visible; }

/* timeline neatline motif */
.timeline { margin-top: 2.2em; }
.timeline .rule { position: relative; height: 1px; background: var(--line-2); }
.timeline .ticks { display: flex; justify-content: space-between; margin-top: 12px; }
.timeline .ticks span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--mist-dim); }
.timeline .rule .dot {
  position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  transform: translate(-50%, -50%); background: var(--cyan); box-shadow: 0 0 0 4px rgba(111,214,223,0.14);
}
.timeline .dot.p1 { left: 6%; }
.timeline .dot.p2 { left: 34%; }
.timeline .dot.p3 { left: 58%; }
.timeline .dot.p4 { left: 88%; }
.timeline .unmapped {
  margin-top: 1.6em; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.14em; color: var(--gold-ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.timeline .unmapped::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Themes — circular vignettes, no boxes ---------- */
.themes-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(40px, 6vw, 72px);
}
.vignette { text-align: center; }
.vignette .disc {
  width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.vignette:hover .disc { transform: translateY(-8px) scale(1.02); }
.vignette .disc svg { width: 100%; height: 100%; }
.vignette .name { display: block; margin-top: 1.1em; font-family: var(--serif); font-size: 1.15rem; }
.vignette .note { display: block; font-style: italic; color: var(--mist-dim); font-family: var(--serif); font-size: 0.95rem; }

/* ---------- Privacy manifesto ---------- */
.manifesto { display: grid; gap: 0; margin-top: clamp(30px, 5vw, 56px); }
.creed {
  display: grid; grid-template-columns: 44px 1fr; gap: clamp(18px, 3vw, 34px);
  align-items: start; padding: clamp(26px, 4vw, 42px) 0;
  border-top: 1px solid var(--line);
}
.creed:last-child { border-bottom: 1px solid var(--line); }
.creed .sym { width: 30px; height: 30px; color: var(--cyan); margin-top: 6px; }
.creed .sym svg { width: 100%; height: 100%; }
.creed h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; margin: 0 0 0.35em; }
.creed p { margin: 0; color: var(--mist); max-width: 54ch; }
.creed a { color: var(--cyan); border-bottom: 1px solid var(--line-2); }
.creed a:hover { border-color: var(--cyan); }

/* ---------- Closing ---------- */
.closing {
  min-height: 92svh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 12vh var(--edge);
  position: relative; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 55% at 50% 60%, rgba(20, 84, 95, 0.35) 0%, transparent 62%);
}
.closing h2 { max-width: 16ch; margin-bottom: 0.6em; }
.closing .lede { max-width: 40ch; margin: 0 auto 2.4em; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(48px, 8vw, 84px) var(--edge) 40px; border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .word { font-family: var(--serif); font-size: 1.3rem; display: flex; align-items: center; gap: 12px; }
.footer-brand .mark { width: 28px; height: 28px; border-radius: 7px; }
.footer-brand p { margin-top: 1em; color: var(--mist-dim); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mist-dim); margin: 0 0 1.2em; font-weight: 400;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8em; }
.footer-col a { color: var(--mist); }
.footer-col a:hover { color: var(--paper); }
.footer-base {
  max-width: var(--maxw); margin: clamp(40px, 6vw, 64px) auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--mist-dim);
}

/* ---------- Long-form document pages (privacy / support) ---------- */
.doc-hero { padding: clamp(140px, 20vh, 220px) var(--edge) clamp(40px, 6vw, 64px); position: relative; }
.doc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 70% at 80% 0%, rgba(20, 84, 95, 0.3), transparent 60%),
              linear-gradient(180deg, var(--void), var(--deep) 70%);
}
.doc-hero .inner { max-width: var(--maxw); margin: 0 auto; }
.doc-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 0.4em; }
.doc-hero .lede { max-width: 46ch; }
.doc-meta { margin-top: 1.8em; }

.doc { max-width: 74ch; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--edge) 120px; }
.doc h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 2.4em 0 0.7em;
  padding-top: 1.1em; border-top: 1px solid var(--line);
}
.doc h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.doc h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; color: var(--paper); }
.doc p, .doc li { color: var(--mist); font-size: 1.08rem; line-height: 1.72; }
.doc strong { color: var(--paper); }
.doc a { color: var(--cyan); border-bottom: 1px solid var(--line-2); }
.doc a:hover { border-color: var(--cyan); }
.doc ul { padding-left: 1.1em; margin: 0 0 1.3rem; }
.doc li { margin-bottom: 0.6rem; }
.doc li::marker { color: var(--gold); }

/* The short version — a quiet field, not a card */
.short-version {
  margin: 0 0 2.6em; padding-left: clamp(18px, 3vw, 28px);
  border-left: 2px solid var(--teal);
}
.short-version h2 { border: 0; padding: 0; margin: 0 0 0.8em; font-size: 1.5rem; }
.short-version ul { padding-left: 1.1em; }

/* Contents — inline, editorial */
.contents { margin: 0 0 3em; }
.contents .label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist-dim); display: block; margin-bottom: 1em; }
.contents ol { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.contents li { counter-increment: toc; margin-bottom: 0.7em; break-inside: avoid; }
.contents a { color: var(--mist); font-size: 0.98rem; border: 0; }
.contents a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--mono); font-size: 0.72rem; color: var(--gold); }
.contents a:hover { color: var(--paper); }
.contents ol { counter-reset: toc; }

/* [PENDING] — an elegant editorial hold, not an amber box */
.pending {
  margin: 1.8em 0; padding-left: clamp(18px, 3vw, 26px);
  border-left: 2px solid var(--gold);
}
.pending .tag {
  display: inline-block; font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.7em;
}
.pending p { color: var(--mist); font-style: italic; margin: 0; }

/* Support: contact + FAQ, boxless */
.contact-line { margin: 0 0 3em; }
.contact-line .email { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.6rem); color: var(--paper); border-bottom: 1px solid var(--line-2); }
.contact-line .email:hover { color: var(--cyan); border-color: var(--cyan); }
.contact-line p { margin-top: 1.2em; max-width: 56ch; }

.qa { margin-top: 1em; }
.qa details { border-top: 1px solid var(--line); }
.qa details:last-of-type { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer; list-style: none; padding: 1.3em 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.qa summary .plus::before, .qa summary .plus::after {
  content: ""; position: absolute; background: var(--cyan); transition: transform 0.3s ease, opacity 0.3s ease;
}
.qa summary .plus::before { left: 0; top: 7px; width: 16px; height: 2px; }
.qa summary .plus::after  { left: 7px; top: 0; width: 2px; height: 16px; }
.qa details[open] summary .plus::after { transform: scaleY(0); opacity: 0; }
.qa .answer { padding: 0 0 1.6em; color: var(--mist); max-width: 62ch; }
.qa .answer p { margin: 0 0 0.9rem; }
.qa .answer p:last-child { margin: 0; }

.about-note { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--line); color: var(--mist-dim); max-width: 56ch; }

/* ---------- Scroll reveals (JS adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }
/* if JS never runs, never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* ---- Intentional tablet/mobile composition (not a stacked desktop) ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    text-align: left;
    min-height: auto;
    padding: 104px var(--edge) clamp(52px, 9vh, 80px);
    gap: clamp(26px, 6vw, 44px);
  }
  .hero > .globe-stage, .hero > .hero-copy { grid-column: auto; grid-row: auto; }
  .globe-stage { order: -1; max-width: min(62vw, 330px); }
  .hero-copy { max-width: 40ch; }
  .grid12 { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 48px); }
  .col-left, .col-right, .col-rightwide, .col-narrow, .col-push { grid-column: 1 / -1; }
  .devices { grid-template-columns: 1fr; gap: clamp(36px, 7vw, 52px); max-width: 340px; margin: 0 auto; }
  .device.lift { transform: none; }
  .device .frame { max-width: 248px; }
  .themes-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .brand .word { display: none; }
  .site-nav { gap: 15px; }
  .site-nav a { font-size: 0.76rem; letter-spacing: 0.06em; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8vw, 2.35rem); }
  .globe-stage { max-width: min(72vw, 300px); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .btn-app { justify-content: flex-start; }
  .hero-actions .link-underline { align-self: flex-start; }
  .themes-strip { grid-template-columns: 1fr 1fr; gap: 20px; }
  .contents ol { columns: 1; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Motion / contrast prefs ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media (prefers-contrast: more) {
  :root { --mist: #d3dde7; --mist-dim: #b3c1cf; --line: rgba(200,216,232,0.3); --line-2: rgba(200,216,232,0.5); }
}
