/* G-Sessions public page. The G family look (GAiA Desk tokens: a near-black
   canvas, glass, green as light) told as one scene: the app's pieces lying on
   a tilted plane, joined by green light, the camera moving as you scroll. */

@font-face { font-family: 'Inter'; font-weight: 300 800; font-display: swap; src: url(/fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2192, U+2318, U+21E7; }
@font-face { font-family: 'Inter'; font-weight: 300 800; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+1E00-1EFF; }

:root {
  --brand: #18b451;
  --brand-hi: #2bd06b;
  --brand-soft: #7ee2a0;
  --glow: rgba(43, 208, 107, 0.55);
  --wash: rgba(24, 180, 81, 0.10);
  --line: rgba(24, 180, 81, 0.34);
  --bg: #0b0c0d;
  --card: rgba(255, 255, 255, 0.04);
  --card-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f4f5f4;
  --text-2: rgba(244, 245, 244, 0.72);
  --muted: rgba(244, 245, 244, 0.48);
  --s1: #7ee2a0;
  --s2: #8fb8ff;
  --s3: #f2bf6c;
  --rec: #ff5a5f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.55 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* One language at a time (English unless the reader picked Serbian). */
html[data-lang='en'] [lang='sr'], html[data-lang='sr'] [lang='en'] { display: none; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-hi);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; margin: 0; }
h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; }
.lead { color: var(--text-2); font-size: clamp(16px, 1.4vw, 19px); max-width: 560px; }

/* ------------------------------------------------------------ loader */
.loader {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center;
  background: var(--bg); pointer-events: none;
  animation: loader-out 0.6s var(--ease) 0.75s forwards;
}
.loader .orbit { position: absolute; border: 1px dashed rgba(126, 226, 160, 0.35); border-radius: 50%; }
.loader .o1 { width: min(84vw, 760px); height: min(42vw, 380px); animation: spin 9s linear infinite; }
.loader .o2 { width: min(42vw, 380px); height: min(42vw, 380px); animation: spin 12s linear infinite reverse; }
.loader-mark {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.05) url(/gaia-mark-white.png) center / 62% no-repeat;
  box-shadow: inset 0 0 0 1px var(--line), 0 0 40px -6px var(--glow);
  animation: breathe 1.2s ease-in-out infinite;
}
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(0.94); } }

/* ------------------------------------------------------------ header */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px clamp(16px, 3vw, 36px);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.top.scrolled { background: rgba(11, 12, 13, 0.72); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--border); }
.links { display: flex; gap: 26px; }
.links a { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); transition: color 0.2s ease; }
.links a:hover { color: var(--text); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0.22em; }
.mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.05) url(/gaia-mark-white.png) center / 64% no-repeat;
  box-shadow: inset 0 0 0 1px var(--border-2);
}
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); }
.lang button {
  font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--muted); background: none; border: 0; padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed='true'] { color: var(--text); background: var(--card-2); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 18px; border-radius: 999px; white-space: nowrap;
  transition: transform 0.3s var(--ease), background-color 0.3s ease, box-shadow 0.3s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill.ghost { color: var(--text); background: var(--card); box-shadow: inset 0 0 0 1px var(--border-2); }
.pill.ghost:hover { background: var(--card-2); }
.pill.solid { color: #04140a; background: var(--brand-hi); box-shadow: 0 10px 30px -12px var(--glow); }
.pill.solid:hover { background: #3be07a; box-shadow: 0 14px 34px -10px var(--glow); }
.pill.big { font-size: 13px; padding: 15px 26px; }

/* ------------------------------------------------------------ story: one pinned stage */
.story { --steps: 5; position: relative; height: calc((var(--steps) + 1.6) * 100vh); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(60% 55% at 62% 62%, rgba(24, 180, 81, 0.12), transparent 70%),
    radial-gradient(90% 60% at 50% -10%, #17191b, transparent 70%),
    var(--bg);
}
.stage::after { /* vignette */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(120% 90% at 50% 55%, transparent 55%, rgba(0, 0, 0, 0.55));
}

.camera {
  position: absolute; left: 0; top: 0; width: 1800px; height: 1200px;
  transform-origin: 0 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.world { position: absolute; inset: 0; transform-style: preserve-3d; }

/* The floor: a fine dotted field that fades out at the edges. */
.grid {
  position: absolute; inset: -400px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1.2px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent);
  mask-image: radial-gradient(closest-side, #000 40%, transparent);
}
/* A green pool of light under whatever the story is on. */
.spot {
  position: absolute; width: 760px; height: 760px;
  left: calc(var(--spot-x, 900px) - 380px); top: calc(var(--spot-y, 600px) - 380px);
  background:
    radial-gradient(closest-side, rgba(43, 208, 107, 0.2), transparent 70%),
    radial-gradient(rgba(126, 226, 160, 0.5) 1.3px, transparent 1.5px) 0 0 / 14px 14px;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 75%);
  mask-image: radial-gradient(closest-side, #000 25%, transparent 75%);
  transition: left 0.9s var(--ease), top 0.9s var(--ease), opacity 0.6s ease;
  opacity: var(--spot-o, 0);
}

/* Light between the pieces. */
.trails { position: absolute; left: 0; top: 0; width: 1800px; height: 1200px; overflow: visible; transform: translateZ(1px); }
.trails path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.trails .base { stroke: rgba(255, 255, 255, 0.09); stroke-width: 3; }
.trails .lit {
  stroke: var(--brand-hi); stroke-width: 4;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px var(--glow)) drop-shadow(0 0 14px rgba(43, 208, 107, 0.35));
  transition: stroke-dashoffset 1s var(--ease);
}
.trails .lit.on { stroke-dashoffset: 0; }
.trails .flow { stroke: #d7ffe6; stroke-width: 2.5; stroke-dasharray: 3 26; opacity: 0; transition: opacity 0.6s ease; animation: flow 1.1s linear infinite; }
.trails .flow.on { opacity: 0.9; }
@keyframes flow { to { stroke-dashoffset: -29; } }

/* A piece of the app lying on the floor: a glass slab with depth. */
.obj {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  transform-style: preserve-3d;
  transform: translateZ(18px);
  transition: transform 0.9s var(--ease), opacity 0.6s ease, filter 0.6s ease;
}
.obj::before { /* soft shadow on the floor */
  content: ''; position: absolute; inset: 6%; border-radius: 24px;
  background: rgba(0, 0, 0, 0.75); filter: blur(22px);
  transform: translateZ(-18px) translate(18px, 22px);
}
.obj::after { /* the slab's edge */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: #08090a; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: translateZ(-10px);
}
.obj .face {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: inherit;
  background: linear-gradient(160deg, #1b1e1f, #121415 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: box-shadow 0.6s ease;
}
.story.playing .obj { opacity: 0.38; filter: saturate(0.6); }
.story.playing .obj.on { opacity: 1; filter: none; transform: translateZ(54px); }
.obj.on .face { box-shadow: inset 0 0 0 1px rgba(43, 208, 107, 0.55), 0 0 60px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.14); }

/* Where each piece lies on the floor (world px). */
.panel { --x: 150px; --y: 300px; --w: 320px; --h: 440px; }
.bubble { --x: 520px; --y: 640px; --w: 150px; --h: 150px; }
.captions { --x: 660px; --y: 190px; --w: 560px; --h: 132px; }
.transcript { --x: 720px; --y: 440px; --w: 400px; --h: 430px; }
.minutes { --x: 1230px; --y: 330px; --w: 380px; --h: 470px; }
.tiles { --x: 1180px; --y: 900px; --w: 470px; --h: 110px; }

/* Panel */
.panel { border-radius: 26px; }
.panel .face { padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.p-top { display: flex; align-items: center; gap: 9px; }
.p-top b { font-weight: 600; }
.dot-mark { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.06) url(/gaia-mark-white.png) center / 64% no-repeat; }
.p-dots { margin-left: auto; display: flex; gap: 4px; }
.p-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.p-seg { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); font-size: 11px; text-align: center; color: var(--muted); }
.p-seg > span { padding: 6px 4px; border-radius: 8px; white-space: nowrap; }
.p-seg .on { color: var(--text); background: rgba(43, 208, 107, 0.14); box-shadow: inset 0 0 0 1px rgba(43, 208, 107, 0.45); }
.p-preview {
  position: relative; height: 112px; border-radius: 12px; padding: 16px;
  background: linear-gradient(135deg, #1f2b26, #15191a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: grid; align-content: start; gap: 8px;
}
.p-preview i { display: block; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.16); }
.p-preview .l1 { width: 60%; height: 10px; background: rgba(255, 255, 255, 0.3); }
.p-preview .l2 { width: 80%; }
.p-preview .l3 { width: 45%; }
.p-mini-bubble { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #8fa29a 22%, #46564f 23% 40%, #2a3530 41%); box-shadow: 0 0 0 2px var(--brand-hi); }
.p-row { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); font-size: 12.5px; }
.meter { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.meter i { width: 3px; border-radius: 2px; background: var(--brand-hi); transform-origin: bottom; animation: level 0.9s ease-in-out infinite alternate; }
.meter i:nth-child(1) { height: 30%; animation-delay: -0.2s; }
.meter i:nth-child(2) { height: 70%; animation-delay: -0.5s; }
.meter i:nth-child(3) { height: 100%; animation-delay: -0.1s; }
.meter i:nth-child(4) { height: 55%; animation-delay: -0.7s; }
.meter i:nth-child(5) { height: 80%; animation-delay: -0.3s; }
.meter i:nth-child(6) { height: 40%; animation-delay: -0.6s; }
.meter i:nth-child(7) { height: 20%; }
@keyframes level { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.tog { width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.15); position: relative; }
.tog::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.tog.on { background: var(--brand); }
.tog.on::after { left: 14px; }
.p-rec {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-radius: 14px; background: rgba(255, 90, 95, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 90, 95, 0.35);
}
.p-rec b { font-weight: 600; font-size: 13px; }
.p-rec kbd { margin-left: auto; font-family: inherit; font-size: 11px; font-weight: 600; color: var(--muted); }
.rec-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--rec); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); } }

/* Camera bubble */
.bubble { border-radius: 50%; }
.bubble .face { border-radius: 50%; background: radial-gradient(circle at 50% 30%, #3a4a43, #1a2220 70%); box-shadow: 0 0 0 4px var(--brand-hi), 0 0 40px -6px var(--glow); }
.bubble svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #8fa29a; opacity: 0.75; }

/* Captions */
.captions { border-radius: 20px; }
.captions .face { padding: 18px 22px; display: grid; align-content: center; gap: 10px; background: rgba(10, 11, 12, 0.94); font-size: 17px; font-weight: 500; }
.captions p { margin: 0; display: flex; align-items: center; gap: 12px; white-space: nowrap; overflow: hidden; }
.who { flex: none; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.who.them { color: var(--s2); background: rgba(143, 184, 255, 0.12); }
.who.me { color: var(--s1); background: rgba(126, 226, 160, 0.12); }
.caret { display: inline-block; flex: none; width: 2px; height: 18px; margin-left: -8px; background: var(--brand-hi); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Documents */
.doc { border-radius: 20px; }
.doc .face { padding: 22px 24px; font-size: 13px; background: linear-gradient(170deg, #1d2021, #141617); }
.doc header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.doc header b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.doc header small { color: var(--muted); font-size: 11.5px; }
.transcript ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.transcript li { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; color: var(--text-2); line-height: 1.45; }
.transcript time { grid-row: span 2; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.transcript li b { font-size: 12px; font-weight: 600; }
.s1 { color: var(--s1); }
.s2 { color: var(--s2); }
.s3 { color: var(--s3); }
.minutes h4 { margin: 16px 0 8px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.minutes header + h4 { margin-top: 0; }
.minutes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--text-2); }
.minutes .dec li { padding-left: 16px; position: relative; }
.minutes .dec li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-hi); box-shadow: 0 0 8px var(--glow); }
.minutes .tasks li { display: flex; align-items: center; gap: 10px; }
.minutes .tasks i { width: 15px; height: 15px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); flex: none; }
.minutes .tasks i.done { background: var(--brand); box-shadow: none; }
.minutes .tasks em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }

/* Where it goes */
.tiles { border-radius: 22px; }
.tiles .face { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px; background: rgba(16, 18, 19, 0.94); }
.tile { display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--border); color: var(--text-2); }
.tile b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; font-size: 15px; }
.tile b.w { background: #2b5797; color: #fff; }
.tile b.n { background: #f1f1ef; color: #111; }
.tile .i { width: 26px; height: 26px; color: var(--brand-hi); }
.tile small { font-size: 11px; }

/* Hero text over the scene */
.hero {
  position: absolute; z-index: 3; left: 0; right: 0; top: clamp(96px, 15vh, 150px);
  text-align: center; padding: 0 20px;
  opacity: var(--hero-o, 1); transform: translateY(var(--hero-y, 0px));
  visibility: var(--hero-v, visible);
}
.hero h1 { font-size: clamp(44px, 7.6vw, 108px); line-height: 0.98; letter-spacing: -0.045em; }
.hero h1 .soft { color: transparent; background: linear-gradient(180deg, #8cf0b2 10%, var(--brand) 95%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { margin: 26px auto 34px; }
.cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cue {
  position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2);
  padding-bottom: 6px; border-bottom: 1px solid var(--border-2); white-space: nowrap;
  opacity: var(--hero-o, 1); visibility: var(--hero-v, visible);
}

/* The steps, bottom left, like a chapter list, on a dark pool so they read over the scene. */
.stage::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(70% 60% at 0% 100%, rgba(11, 12, 13, 0.92), rgba(11, 12, 13, 0.6) 45%, transparent 75%);
  opacity: var(--steps-o, 0);
}
.steps {
  position: absolute; z-index: 3; left: clamp(16px, 4vw, 56px); bottom: clamp(24px, 6vh, 64px);
  width: min(420px, calc(100% - 32px));
  list-style: none; margin: 0; padding: 0;
  opacity: var(--steps-o, 0); transform: translateY(var(--steps-y, 20px));
  visibility: var(--steps-v, hidden);
}
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 7px 0; color: var(--muted); }
.steps .num { display: grid; place-items: center; width: 34px; height: 28px; border-radius: 8px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; }
.steps h3 { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--text-2); padding-top: 5px; transition: font-size 0.5s var(--ease), color 0.4s ease, padding 0.5s var(--ease); }
.steps p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: var(--text-2); font-size: 15px; position: relative; padding-left: 16px; transition: max-height 0.6s var(--ease), opacity 0.5s ease, margin 0.5s var(--ease); }
.steps p::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(var(--brand-hi) var(--step-p, 0%), rgba(255, 255, 255, 0.12) var(--step-p, 0%)); }
.steps li.on .num { color: #04140a; background: var(--brand-hi); box-shadow: 0 0 22px -4px var(--glow); }
.steps li.on h3 { font-size: clamp(22px, 2.2vw, 28px); color: var(--text); letter-spacing: -0.02em; padding-top: 0; }
.steps li.on p { max-height: 160px; opacity: 1; margin: 12px 0 8px; }

/* ------------------------------------------------------------ privacy */
.private {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
  max-width: 1240px; margin: 0 auto; padding: clamp(100px, 16vh, 180px) clamp(16px, 4vw, 56px);
}
.rings { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.rings span { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(126, 226, 160, 0.3); }
.rings span:nth-child(1) { width: 100%; height: 46%; animation: spin 40s linear infinite; }
.rings span:nth-child(2) { width: 62%; height: 62%; border-style: dotted; animation: spin 30s linear infinite reverse; }
.rings span:nth-child(3) { width: 34%; height: 34%; border: 1px solid var(--line); box-shadow: 0 0 60px -10px var(--glow), inset 0 0 40px -10px var(--glow); }
.rings .core { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 22px; background: rgba(255, 255, 255, 0.05) url(/gaia-mark-white.png) center / 60% no-repeat; box-shadow: inset 0 0 0 1px var(--line), 0 0 50px -6px var(--glow); }
.private h2 { margin-bottom: 36px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.facts .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; color: var(--brand-hi); background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.facts b { display: block; font-weight: 600; font-size: 17px; margin-bottom: 2px; }
.facts span span { color: var(--text-2); }

/* ------------------------------------------------------------ download */
.download, .install { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) clamp(16px, 4vw, 56px); scroll-margin-top: 40px; }
.head { max-width: 720px; margin-bottom: 44px; }
.head .lead { margin: 20px 0 0; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto 1fr; column-gap: 18px;
  min-height: 260px; padding: 30px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px var(--border);
  transition: transform 0.5s var(--ease), box-shadow 0.4s ease;
}
.dl::before { /* green light that follows the pointer */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 208, 107, 0.16), transparent 60%);
}
a.dl:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px var(--glow); }
a.dl:hover::before { opacity: 1; }
.dl .os { grid-row: span 4; width: 54px; height: 54px; padding: 13px; border-radius: 16px; background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border-2); }
.dl-name { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.dl-meta { color: var(--text-2); margin-top: 6px; }
.dl-req { color: var(--muted); font-size: 14px; }
.dl-go {
  align-self: end; justify-self: start; margin-top: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 999px; color: var(--text); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border-2);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.dl-go .i { width: 16px; height: 16px; }
.dl.mine .dl-go, a.dl:hover .dl-go { color: #04140a; background: var(--brand-hi); box-shadow: 0 10px 30px -12px var(--glow); }
.dl.mine { box-shadow: inset 0 0 0 1px var(--line); }
.dl.off { opacity: 0.5; }

/* ------------------------------------------------------------ install */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 26px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border); }
.tabs button {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--text-2); background: none; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer;
}
.tabs .i { width: 16px; height: 16px; }
.tabs button[aria-selected='true'] { color: var(--text); background: var(--card-2); box-shadow: inset 0 0 0 1px var(--border-2); }
.guide[hidden] { display: none; }
.guide ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide li {
  counter-increment: s; position: relative; padding: 56px 22px 22px; border-radius: 18px;
  color: var(--text-2); background: var(--card); box-shadow: inset 0 0 0 1px var(--border);
  animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--n, 0) * 60ms);
}
.guide li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--brand-hi);
}
.note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.note.update { margin-top: 28px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* ------------------------------------------------------------ footer */
footer { padding: 40px clamp(16px, 4vw, 56px) 32px; border-top: 1px solid var(--border); overflow: hidden; }
.foot-mark {
  font-size: clamp(64px, 17vw, 260px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; text-align: center; white-space: nowrap;
  color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text;
  margin-bottom: 30px; user-select: none;
}
.foot-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--text); }

/* ------------------------------------------------------------ reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].seen { opacity: 1; transform: none; }

/* ------------------------------------------------------------ small screens */
@media (max-width: 900px) {
  .top { grid-template-columns: auto 1fr; }
  .links { display: none; }
  .actions .ghost { display: none; }
  .private { grid-template-columns: 1fr; }
  .rings { max-width: 340px; }
  .dl-grid { grid-template-columns: 1fr; }
  .steps {
    left: 16px; right: 16px; bottom: 18px; width: auto; padding: 16px 16px 10px; border-radius: 18px;
    background: rgba(11, 12, 13, 0.82); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--border);
  }
  .steps li:not(.on) { display: none; }
  .steps li.on p { font-size: 14px; }
}
@media (max-width: 520px) {
  .actions .lang { display: none; }
  .cta .ghost { display: none; }
  .hero .lead { font-size: 15px; }
  .dl { padding: 24px; min-height: 0; }
  .dl-name { font-size: 28px; }
}

/* ------------------------------------------------------------ less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
