   GRADIFY Family+ — Hero animation exploration board
   Dark cinematic foundation. Tri-system color coding.
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

.fp-board {
  --ink: #060912;
  --bg: #0A0E1A;
  --bg-elev: #11172A;
  --bg-card: #0E1426;
  --paper: #F4EFE3;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --fg: #F4EFE3;
  --fg-soft: rgba(244, 239, 227, 0.78);
  --fg-muted: rgba(244, 239, 227, 0.50);
  --fg-faint: rgba(244, 239, 227, 0.32);

  /* ── master brand: GRADIFY GREEN — the ecosystem intelligence color ──
     Dominant signal for synchronization, systems-online, AI coordination,
     student core intelligence, pathway activation and primary CTAs. */
  --gradify: #7AC043;
  --gradify-soft: rgba(122, 192, 67, 0.16);
  --gradify-dim: rgba(122, 192, 67, 0.42);
  --gradify-glow: rgba(122, 192, 67, 0.55);
  --gradify-ink: #0C140A;            /* readable text on a green CTA */

  /* tri-system colors — pillar identities, never randomized.
     Family = warmth/support · School = structure · Community = opportunity.
     These sit UNDER the green master brand in the hierarchy. */
  --family: #FF6F4D;     /* coral — emotional warmth, family guidance, home */
  --family-soft: rgba(255, 111, 77, 0.16);
  --school: #6BA0F5;     /* cool blue — structured progression, coordination */
  --school-soft: rgba(107, 160, 245, 0.16);
  --community: #4DD4B3;  /* mint teal — opportunity, expansion, network */
  --community-soft: rgba(77, 212, 179, 0.16);

  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", "Geist Mono", ui-monospace, monospace;

  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  width: 1600px;
  position: relative;
  isolation: isolate;
}

/* —— atoms —— */
.fp-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}

.fp-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  background: rgba(255,255,255,0.02);
}
.fp-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.fp-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  font-variant-numeric: tabular-nums;
}

.fp-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.fp-stripe {
  position: relative;
  background-color: rgba(255,255,255,0.025);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 1px,
      transparent 1px 16px);
  border: 1px dashed rgba(255,255,255,0.10);
  border-radius: 4px;
  color: var(--fg-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 16px;
}

.fp-headline {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.024em;
}
.fp-headline em { font-style: italic; color: var(--family); }

.fp-h-section {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.0;
  letter-spacing: -0.024em;
}
.fp-h-section em { font-style: italic; color: var(--family); }

/* ===========================================================
   ANIMATIONS — all directions loop continuously
   =========================================================== */

/* ---- keyframes ---- */
@keyframes fp-ignite {
  0%           { opacity: 0.18; transform: scale(0.72); }
  18%, 78%     { opacity: 1;    transform: scale(1); }
  100%         { opacity: 0.18; transform: scale(0.72); }
}
@keyframes fp-breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
@keyframes fp-blink {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
@keyframes fp-blink-strong {
  0%, 100% { opacity: 0.15; transform: scale(0.85); }
  40%, 60% { opacity: 1;    transform: scale(1.1); }
}
@keyframes fp-arc-draw {
  0%        { stroke-dashoffset: 100; }
  35%, 85%  { stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: 100; }
}
@keyframes fp-line-draw {
  0%        { stroke-dashoffset: 200; }
  40%, 88%  { stroke-dashoffset: 0; }
  100%      { stroke-dashoffset: 200; }
}
@keyframes fp-ring-segment {
  0%        { stroke-dashoffset: var(--seg-len, 200); }
  40%, 88%  { stroke-dashoffset: var(--seg-off, 0); }
  100%      { stroke-dashoffset: var(--seg-len, 200); }
}
@keyframes fp-slide-r {
  0%       { opacity: 0; transform: translateX(36px); }
  20%, 80% { opacity: 1; transform: translateX(0); }
  100%     { opacity: 0; transform: translateX(36px); }
}
@keyframes fp-slide-l {
  0%       { opacity: 0; transform: translateX(-36px); }
  20%, 80% { opacity: 1; transform: translateX(0); }
  100%     { opacity: 0; transform: translateX(-36px); }
}
@keyframes fp-slide-up {
  0%       { opacity: 0; transform: translateY(28px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; transform: translateY(28px); }
}
@keyframes fp-drop-in {
  0%, 8%   { opacity: 0; transform: translateY(-26px); }
  30%      { opacity: 1; transform: translateY(0); }
  100%     { opacity: 1; transform: translateY(0); }
}
@keyframes fp-pulse-ring {
  0%   { transform: scale(0.35); opacity: 0.9; }
  80%  { transform: scale(1.6);  opacity: 0;   }
  100% { transform: scale(1.6);  opacity: 0;   }
}
@keyframes fp-orbit {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fp-orbit-rev {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@keyframes fp-drift-1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(6px, -10px); }
}
@keyframes fp-drift-2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-8px, 6px); }
}
@keyframes fp-particle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  20%  { opacity: 0.8; }
  100% { transform: translateY(-40px) translateX(var(--px, 0)); opacity: 0; }
}
@keyframes fp-reveal-r {
  0%        { clip-path: inset(0 100% 0 0); }
  25%, 88%  { clip-path: inset(0 0 0 0); }
  100%      { clip-path: inset(0 100% 0 0); }
}
@keyframes fp-count-flicker {
  0%, 10%  { opacity: 0.4; transform: translateY(2px); }
  25%      { opacity: 1;   transform: translateY(0); }
  85%      { opacity: 1; }
  100%     { opacity: 0.4; transform: translateY(2px); }
}
@keyframes fp-marker-trace {
  0%   { offset-distance: 0%; }
  90%  { offset-distance: 100%; }
  100% { offset-distance: 100%; }
}
@keyframes fp-grow-y {
  0%   { transform: scaleY(0); }
  35%  { transform: scaleY(1); }
  100% { transform: scaleY(1); }
}
@keyframes fp-globe-spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes fp-glow-pulse {
  0%, 100% { filter: brightness(0.9); }
  50%      { filter: brightness(1.4); }
}
@keyframes fp-shimmer {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* ---- utility classes ---- */
.fp-board [class*="fp-anim-"] {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}
.fp-anim-ignite      { animation: fp-ignite 5.4s ease-in-out infinite; }
.fp-anim-breathe     { animation: fp-breathe 3.4s ease-in-out infinite; }
.fp-anim-blink       { animation: fp-blink 2.6s ease-in-out infinite; }
.fp-anim-blink-strong{ animation: fp-blink-strong 3s ease-in-out infinite; }
.fp-anim-arc         { stroke-dasharray: 100; animation: fp-arc-draw 7s ease-in-out infinite; }
.fp-anim-line        { stroke-dasharray: 200; animation: fp-line-draw 6.5s ease-in-out infinite; }
.fp-anim-slide-r     { animation: fp-slide-r 6.5s ease-out infinite; }
.fp-anim-slide-l     { animation: fp-slide-l 6.5s ease-out infinite; }
.fp-anim-slide-up    { animation: fp-slide-up 6.5s ease-out infinite; }
.fp-anim-drop        { animation: fp-drop-in 5s ease-out infinite; }
.fp-anim-pulse       { animation: fp-pulse-ring 3.6s ease-out infinite; }
.fp-anim-orbit       { animation: fp-orbit 22s linear infinite; transform-box: view-box; }
.fp-anim-orbit-rev   { animation: fp-orbit-rev 28s linear infinite; transform-box: view-box; }
.fp-anim-drift-1     { animation: fp-drift-1 7s ease-in-out infinite; }
.fp-anim-drift-2     { animation: fp-drift-2 6s ease-in-out infinite; }
.fp-anim-particle    { animation: fp-particle 3.8s linear infinite; }
.fp-anim-reveal      { animation: fp-reveal-r 7s ease-out infinite; }
.fp-anim-count       { animation: fp-count-flicker 6s ease-out infinite; }
.fp-anim-marker      { offset-rotate: 0deg; animation: fp-marker-trace 6s ease-in-out infinite; }
.fp-anim-grow        { animation: fp-grow-y 5s ease-out infinite; transform-origin: bottom; }
.fp-anim-glow        { animation: fp-glow-pulse 3.2s ease-in-out infinite; }
.fp-anim-shimmer     { animation: fp-shimmer 4s ease-in-out infinite; }

/* delay variants (stagger the same animation across siblings) */
.fp-d-1 { animation-delay: 0.30s; }
.fp-d-2 { animation-delay: 0.60s; }
.fp-d-3 { animation-delay: 0.90s; }
.fp-d-4 { animation-delay: 1.20s; }
.fp-d-5 { animation-delay: 1.50s; }
.fp-d-6 { animation-delay: 1.80s; }
.fp-d-7 { animation-delay: 2.10s; }
.fp-d-8 { animation-delay: 2.40s; }
.fp-d-9 { animation-delay: 2.70s; }
.fp-d-n1 { animation-delay: -0.5s; }
.fp-d-n2 { animation-delay: -1.5s; }
.fp-d-n3 { animation-delay: -2.5s; }

@media (prefers-reduced-motion: reduce) {
  .fp-board [class*="fp-anim-"] {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
  }
}
   GRADIFY — Ecosystem Landing Experience
   Dark cinematic foundation. Builds on family-plus-hero/tokens.css.
   Root element carries class "fp-board gd" so it inherits all
   --tokens and .fp-anim-* utilities, then overrides for full-bleed.
   ===================================================================== */

.gd {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh;
  --shell: 1320px;       /* content max width */
  --gutter: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  scroll-behavior: smooth;
}

.gd a { color: inherit; text-decoration: none; }
.gd ::selection { background: var(--gradify); color: var(--gradify-ink); }

/* shared content wrapper */
.gd-wrap {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ----------------------------------------------------------------
   AMBIENT FIELD — deep space backdrop behind the whole page
   ---------------------------------------------------------------- */
.gd-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 78% -8%, rgba(107,160,245,0.10), transparent 60%),
    radial-gradient(1000px 700px at 12% 8%, rgba(255,111,77,0.07), transparent 55%),
    radial-gradient(1100px 900px at 50% 120%, rgba(77,212,179,0.06), transparent 60%),
    var(--bg);
}
.gd-field::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 3px 3px; opacity: 0.5;
}
.gd-stars { position: absolute; inset: 0; }
.gd-stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.gd-main { position: relative; z-index: 1; }

/* ----------------------------------------------------------------
   NAV
   ---------------------------------------------------------------- */
.gd-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.gd-nav[data-stuck="true"] {
  background: rgba(6,9,18,0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.gd-nav-inner {
  height: 68px; display: flex; align-items: center; gap: 28px;
}
.gd-nav img { height: 26px; width: auto; }
.gd-nav-links {
  display: flex; gap: 26px; margin-left: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
}
.gd-nav-links a { transition: color .2s; }
.gd-nav-links a:hover { color: var(--fg); }
.gd-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.gd-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 13px 22px; border-radius: 6px;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .3s;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
}
/* primary CTA is ALWAYS GRADIFY green — the master-brand ecosystem action,
   regardless of which pillar accent a section carries. */
.gd-btn-primary {
  background: var(--gradify); color: var(--gradify-ink); font-weight: 600;
  box-shadow: 0 0 0 0 var(--gradify);
}
.gd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -12px var(--gradify-glow);
}
.gd-btn-ghost {
  border-color: var(--line-strong); color: var(--fg-soft);
  background: rgba(255,255,255,0.015);
}
.gd-btn-ghost:hover { border-color: var(--fg-muted); color: var(--fg); transform: translateY(-2px); }
.gd-btn-sm { padding: 9px 15px; font-size: 12.5px; }

/* ----------------------------------------------------------------
   NAV UTILITIES + DROPDOWN MENUS (Log In portals · Score routing)
   ---------------------------------------------------------------- */
.gd-nav-cta .gd-navutil {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s; white-space: nowrap;
}
.gd-nav-cta .gd-navutil:hover, .gd-nav-cta .gd-navutil[data-open="true"] { color: var(--fg); }
.gd-caret {
  width: 6px; height: 6px; border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor; transform: translateY(-1px) rotate(45deg);
  opacity: 0.7; transition: transform .25s var(--ease);
}
.gd-navutil[data-open="true"] .gd-caret,
.gd-btn-primary[data-open="true"] .gd-caret { transform: translateY(1px) rotate(225deg); }
.gd-btn-primary .gd-caret { opacity: 0.85; }

.gd-navmenu { position: relative; display: inline-flex; }
.gd-navpop {
  position: absolute; top: calc(100% + 13px); right: 0; min-width: 256px;
  background: rgba(9,13,24,0.94); border: 1px solid var(--line-strong);
  border-radius: 13px; padding: 8px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 64px -22px rgba(0,0,0,0.85);
  opacity: 0; transform: translateY(-7px) scale(0.985); transform-origin: top right;
  pointer-events: none; z-index: 90;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.gd-navpop.is-left { right: auto; left: 0; transform-origin: top left; }
.gd-navpop[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
.gd-navpop::before {                   /* pointer bridge so hover doesn't drop */
  content: ""; position: absolute; top: -13px; left: 0; right: 0; height: 13px;
}
.gd-navpop-head {
  display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-faint);
  padding: 8px 12px 6px;
}
.gd-navpop-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 13px; border-radius: 9px; transition: background .18s;
}
.gd-navpop-item:hover { background: rgba(255,255,255,0.055); }
.gd-navpop-h {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--fg);
  display: flex; align-items: center; gap: 9px;
}
.gd-navpop-pip { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.gd-navpop-d {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em;
  color: var(--fg-muted); padding-left: 0;
}

/* ----------------------------------------------------------------
   PARTNER PROOF STRIP — real logos, muted monochrome, just under hero
   ---------------------------------------------------------------- */
.gd-partners {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
}
.gd-partners-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 34px 0 30px;
}
.gd-partners-kicker {
  display: inline-flex; align-items: center; gap: 10px; text-align: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--fg-muted);
}
/* restrained, premium green emphasis on the proof figure only — quiet, not a banner */
.gd-proof-accent {
  color: rgba(122, 192, 67, 0.72);
}
.gd[data-theme="light"] .gd-proof-accent {
  color: rgba(90, 150, 48, 0.82);
}
.gd-partners-kicker .dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--gradify); box-shadow: 0 0 10px var(--gradify-glow);
  animation: gd-online-pulse 2.6s ease-in-out infinite;
}
.gd-partners-row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 26px 52px; flex-wrap: wrap; width: 100%;
}
.gd-partner { display: flex; flex-direction: column; align-items: center; gap: 13px; }
.gd-partner-logo { height: 58px; display: flex; align-items: flex-end; }
.gd-partner-logo img {
  width: auto; display: block; opacity: 0.68;
  transition: opacity .3s var(--ease), filter .3s var(--ease);
}
.gd-partner:hover .gd-partner-logo img { opacity: 0.95; }
.gd-partner-cap {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--fg-faint); text-align: center;
  max-width: 132px; line-height: 1.5;
}
/* light mode: darken the same monochrome silhouettes for the ivory page */
.gd[data-theme="light"] .gd-partner-logo img { filter: brightness(0); opacity: 0.62; }
.gd[data-theme="light"] .gd-partner:hover .gd-partner-logo img { opacity: 0.85; }
@media (max-width: 1180px) { .gd-partners-row { gap: 24px 40px; } }
@media (max-width: 720px) { .gd-partners-row { gap: 22px 34px; } .gd-partners-kicker { max-width: 360px; } }

/* ----------------------------------------------------------------
   TYPE HELPERS
   ---------------------------------------------------------------- */
.gd-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 9px;
}
.gd-eyebrow .bar { width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.gd-display {
  font-family: var(--serif); font-weight: 400; line-height: 0.98;
  letter-spacing: -0.026em; color: var(--fg); margin: 0;
}
.gd-display em { font-style: italic; }
.gd-lede {
  font-family: var(--sans); font-size: 18px; line-height: 1.6;
  color: var(--fg-soft); margin: 0; font-weight: 300;
}
.gd-kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  color: var(--fg-faint); text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.gd-mono { font-family: var(--mono); }

/* ----------------------------------------------------------------
   SECTION SHELL
   ---------------------------------------------------------------- */
.gd-section { position: relative; padding: 132px 0; }
.gd-section + .gd-section { border-top: 1px solid var(--line); }
.gd-section-head {
  display: flex; align-items: baseline; gap: 18px; margin-bottom: 12px;
}
.gd-section-num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--sec-accent, var(--family)); font-weight: 600;
}
/* a faint section index line on the left edge */
.gd-rail {
  position: absolute; top: 132px; left: 0; width: 1px; bottom: 132px;
  background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}

/* ----------------------------------------------------------------
   CARDS / PANELS
   ---------------------------------------------------------------- */
.gd-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008));
  border: 1px solid var(--line); border-radius: 12px;
  position: relative; overflow: hidden;
}
.gd-panel-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 240px at 80% -10%, var(--sec-soft, rgba(255,111,77,0.16)), transparent 70%);
}
.gd-cornermark { position: absolute; width: 9px; height: 9px; }
.gd-cornermark.tl { top: 12px; left: 12px; border-top: 1px solid var(--fg-faint); border-left: 1px solid var(--fg-faint); }
.gd-cornermark.tr { top: 12px; right: 12px; border-top: 1px solid var(--fg-faint); border-right: 1px solid var(--fg-faint); }
.gd-cornermark.bl { bottom: 12px; left: 12px; border-bottom: 1px solid var(--fg-faint); border-left: 1px solid var(--fg-faint); }
.gd-cornermark.br { bottom: 12px; right: 12px; border-bottom: 1px solid var(--fg-faint); border-right: 1px solid var(--fg-faint); }

/* system chip */
.gd-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-soft);
}
.gd-chip .d { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* media placeholder (documentary / photo) */
.gd-media {
  position: relative; overflow: hidden; border-radius: 10px;
  background-color: rgba(255,255,255,0.022);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 17px);
  border: 1px solid var(--line);
}
.gd-media .lbl {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.gd-media .lbl .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.42);
}
.gd-media .lbl .t {
  font-family: var(--serif); font-size: 19px; color: rgba(255,255,255,0.86);
  line-height: 1.18; letter-spacing: -0.01em;
}
.gd-media .recdot {
  position: absolute; top: 14px; left: 14px;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.gd-media .recdot b { width: 7px; height: 7px; border-radius: 50%; background: var(--family); box-shadow: 0 0 9px var(--family); }

/* ----------------------------------------------------------------
   SCROLL REVEAL
   ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-r.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-l, .reveal-r, .reveal-scale { opacity: 1 !important; transform: none !important; }
}

/* ----------------------------------------------------------------
   FIXED RIGHT-EDGE SCROLL PROGRESS + SECTION INDEX
   ---------------------------------------------------------------- */
.gd-progress {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%);
  z-index: 55; display: flex; flex-direction: column; gap: 13px;
  align-items: flex-end;
}
.gd-progress button {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-faint);
  transition: color .25s; background: none; border: none;
}
.gd-progress button .tk { width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: width .25s, background .25s; }
.gd-progress button .nm { opacity: 0; transition: opacity .2s; }
.gd-progress button:hover .nm, .gd-progress button[data-active="true"] .nm { opacity: 1; }
.gd-progress button[data-active="true"] { color: var(--fg); }
.gd-progress button[data-active="true"] .tk { width: 30px; background: var(--accent, var(--family)); }

/* ----------------------------------------------------------------
   VARIANT SWITCH (the primary A/B comparison control)
   ---------------------------------------------------------------- */
.gd-switch {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 22px; z-index: 70;
  display: flex; align-items: stretch;
  background: rgba(10,14,26,0.82); border: 1px solid var(--line-strong);
  border-radius: 10px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.8); overflow: hidden;
}
.gd-switch .lab {
  display: flex; align-items: center; padding: 0 16px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-faint);
  border-right: 1px solid var(--line);
}
.gd-switch button {
  padding: 13px 20px; text-align: left; background: none; border: none;
  transition: background .25s; min-width: 188px;
  border-right: 1px solid var(--line);
}
.gd-switch button:last-child { border-right: none; }
.gd-switch button .vk {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--fg-faint); display: block; margin-bottom: 3px;
}
.gd-switch button .vt {
  font-family: var(--sans); font-size: 13px; color: var(--fg-soft); font-weight: 500;
}
.gd-switch button[data-active="true"] { background: rgba(255,255,255,0.05); }
.gd-switch button[data-active="true"] .vk { color: var(--accent, var(--family)); }
.gd-switch button[data-active="true"] .vt { color: var(--fg); }

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.gd-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 68px;
}
.gd-hero-copy { position: relative; z-index: 3; }
.gd-hero-stage { position: absolute; inset: 0; z-index: 1; }
.gd-hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6,9,18,0.82) 40%, rgba(6,9,18,0.2) 62%, transparent 74%);
}

/* stat row */
.gd-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.gd-stat .v {
  font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--fg);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.gd-stat .l {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted); margin-top: 9px;
}

/* live status chip used in heroes */
.gd-live {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-soft);
}
/* systems-online / ecosystem-synchronization status pulses through GREEN */
.gd-live b { width: 7px; height: 7px; border-radius: 50%; background: var(--gradify); box-shadow: 0 0 10px var(--gradify-glow); animation: gd-online-pulse 2.6s ease-in-out infinite; }
@keyframes gd-online-pulse { 0%,100% { opacity: 0.55; transform: scale(0.82); } 50% { opacity: 1; transform: scale(1); } }

/* a small floating UI card for hero OS variant */
.gd-uicard {
  background: rgba(10,14,26,0.82); border: 1px solid var(--cc, var(--family));
  border-radius: 9px; padding: 13px 15px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.7);
}

/* readout (concept dossier) metrics */
.gd-meter { display: flex; gap: 5px; }
.gd-meter i { width: 9px; height: 9px; border-radius: 2px; background: var(--line-strong); }
.gd-meter i.on { background: var(--accent, var(--family)); }

/* ----------------------------------------------------------------
   FOOTER — launch-ready operational shell
   ---------------------------------------------------------------- */
.gd-foot { background: var(--ink); border-top: 1px solid var(--line-strong); }
.gd-foot-inner { padding: 84px 0 52px; }
.gd-foot-top { display: grid; grid-template-columns: 1.25fr 2fr; gap: 64px; }
.gd-foot-brand img { height: 27px; width: auto; margin-bottom: 22px; }
.gd-foot-mission {
  font-family: var(--serif); font-size: 22px; line-height: 1.34; letter-spacing: -0.012em;
  color: var(--fg-soft); max-width: 350px; margin: 0 0 26px;
}
.gd-foot-apps { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.gd-store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: rgba(255,255,255,0.03);
  transition: border-color .2s, transform .2s var(--ease), background .2s;
}
.gd-store:hover { border-color: var(--fg-muted); background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.gd-store .glyph { width: 21px; height: 21px; color: var(--fg-soft); display: flex; }
.gd-store .glyph svg { width: 21px; height: 21px; }
.gd-store .txt { display: flex; flex-direction: column; line-height: 1.15; }
.gd-store .txt .s {
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-faint);
}
.gd-store .txt .n { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--fg); }
.gd-foot-social { display: flex; gap: 10px; }
.gd-soc {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; color: var(--fg-muted);
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.gd-soc:hover { color: var(--fg); border-color: var(--fg-muted); transform: translateY(-2px); }

.gd-foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.gd-foot-col .gd-eyebrow { display: inline-flex; margin-bottom: 18px; }
.gd-foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gd-foot-col a {
  font-family: var(--sans); font-size: 14px; color: var(--fg-soft); transition: color .2s;
}
.gd-foot-col a:hover { color: var(--fg); }

.gd-foot-trust {
  display: flex; align-items: center; gap: 14px 26px; flex-wrap: wrap;
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
}
.gd-foot-pledge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--fg);
}
.gd-foot-pledge b {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gradify);
  box-shadow: 0 0 10px var(--gradify-glow);
}
.gd-foot-base {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-top: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-faint);
}
.gd-foot-base-links { display: flex; gap: 18px; flex-wrap: wrap; }
.gd-foot-base-links a { transition: color .2s; }
.gd-foot-base-links a:hover { color: var(--fg-soft); }

/* ---- launch-shell responsiveness ---- */
@media (max-width: 1180px) { .gd-nav-cta .hide-md { display: none; } }
@media (max-width: 1040px) {
  .gd-nav-links { display: none; }
  .gd-foot-top { grid-template-columns: 1fr; gap: 48px; }
  .gd-foot-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 560px) {
  .gd-foot-cols { grid-template-columns: 1fr 1fr; }
  .gd-foot-base { flex-direction: column; align-items: flex-start; }
}

/* ---- phone heading guard: section display headings carry large inline
   px sizes (up to 92px) that media queries can't reach; clamp them only on
   phones so no word can push past the viewport. Desktop/tablet untouched. ---- */
@media (max-width: 640px) {
  .gd-section .gd-display {
    font-size: clamp(32px, 9.2vw, 50px) !important;
    line-height: 1.04;
    overflow-wrap: break-word;
  }
}

/* utility */
.gd-hr { height: 1px; background: var(--line); border: none; margin: 0; }
.gd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gd-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* ================================================================
   ECOSYSTEM SPINE — one continuous intelligence line running the
   whole page. A green pulse travels down it as you read, so the
   page reads as ONE synchronized ecosystem, not stacked sections.
   ================================================================ */
.gd-spine {
  position: absolute; top: 0; bottom: 0;
  left: calc((100vw - var(--shell)) / 2 + var(--gutter));
  width: 1px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, var(--line) 4%, var(--line) 96%, transparent 100%);
}
@media (max-width: 1480px) { .gd-spine { left: var(--gutter); } }
.gd-spine::before {           /* travelling synchronization pulse */
  content: ""; position: absolute; left: -2.5px; width: 6px; height: 130px;
  border-radius: 6px;
  background: linear-gradient(180deg, transparent, var(--gradify), transparent);
  box-shadow: 0 0 16px var(--gradify-glow);
  animation: gd-spine-pulse 9s cubic-bezier(0.45,0,0.55,1) infinite;
  opacity: 0.85;
}
@keyframes gd-spine-pulse {
  0%   { top: -10%; opacity: 0; }
  8%   { opacity: 0.9; }
  92%  { opacity: 0.9; }
  100% { top: 102%; opacity: 0; }
}

/* a node where the spine meets each section head — the "layer activates" */
.gd-section-head { position: relative; }
.gd-layer-tick {
  position: absolute; left: 0; top: 3px;
  width: 11px; height: 11px; border-radius: 50%; transform: translateX(-50%);
  background: var(--ink); border: 1px solid var(--sec-accent, var(--family));
  box-shadow: 0 0 0 0 var(--sec-accent, var(--family));
  transition: background .5s var(--ease), box-shadow .6s var(--ease);
}
.reveal.in .gd-layer-tick, .gd-section-head.in .gd-layer-tick {
  background: var(--sec-accent, var(--family));
  box-shadow: 0 0 14px var(--sec-accent, var(--family));
}
/* layer status word — "layer online" — pulses green once the section is in view */
.gd-layer-status {
  display: inline-flex; align-items: center; gap: 7px; margin-left: auto;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-faint);
}
.gd-layer-status b {
  width: 6px; height: 6px; border-radius: 50%; background: var(--fg-faint);
  transition: background .5s, box-shadow .5s;
}
.reveal.in .gd-layer-status b, .gd-section-head.in .gd-layer-status b {
  background: var(--gradify); box-shadow: 0 0 9px var(--gradify-glow);
  animation: gd-online-pulse 2.6s ease-in-out infinite;
}
.reveal.in .gd-layer-status, .gd-section-head.in .gd-layer-status { color: var(--fg-soft); }

/* ================================================================
   PREMIUM ATMOSPHERIC LIGHT MODE
   Ivory editorial framing with cinematic dark "viewports" punched
   into it for every ecosystem stage. Restrained green intelligence
   glow. NOT sterile white SaaS.
   ================================================================ */
.gd[data-theme="light"] {
  --ink: #ECE7DA;
  --bg: #F1ECE0;
  --bg-elev: #FBF8F1;
  --bg-card: #FBF8F1;
  --line: rgba(28, 32, 24, 0.10);
  --line-strong: rgba(28, 32, 24, 0.18);
  --fg: #1A1E16;
  --fg-soft: rgba(26, 30, 22, 0.74);
  --fg-muted: rgba(26, 30, 22, 0.52);
  --fg-faint: rgba(26, 30, 22, 0.34);
}
/* pale environmental fog + soft green intelligence haze */
.gd[data-theme="light"] .gd-field {
  background:
    radial-gradient(1200px 820px at 80% -6%, rgba(122,192,67,0.12), transparent 60%),
    radial-gradient(1000px 720px at 10% 6%, rgba(255,111,77,0.06), transparent 58%),
    radial-gradient(1100px 900px at 50% 118%, rgba(107,160,245,0.07), transparent 60%),
    linear-gradient(180deg, #F4EFE4, #ECE6D8);
}
.gd[data-theme="light"] .gd-field::after { opacity: 0.18; background-image: radial-gradient(rgba(28,32,24,0.05) 1px, transparent 1px); }
.gd[data-theme="light"] .gd-stars i { background: rgba(122,192,67,0.5); }

/* nav glass goes pale */
.gd[data-theme="light"] .gd-nav[data-stuck="true"] {
  background: rgba(247,243,234,0.78); border-bottom-color: var(--line);
}

/* cinematic VIEWPORTS stay dark — windows into the live ecosystem.
   This is what keeps light mode atmospheric instead of flat. */
.gd[data-theme="light"] .gd-panel {
  background:
    radial-gradient(420px 300px at 78% -12%, var(--sec-soft, rgba(122,192,67,0.18)), transparent 70%),
    linear-gradient(180deg, #0E1322, #0A0E1A);
  border-color: rgba(28,32,24,0.12);
  box-shadow: 0 30px 70px -34px rgba(20,28,16,0.45);
}
.gd[data-theme="light"] .gd-panel * {
  --fg: #F4EFE3; --fg-soft: rgba(244,239,227,0.78); --fg-muted: rgba(244,239,227,0.5); --fg-faint: rgba(244,239,227,0.32);
}
.gd[data-theme="light"] .gd-media {
  background-color: #0C1120;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 17px);
  border-color: rgba(28,32,24,0.12);
  box-shadow: 0 30px 70px -34px rgba(20,28,16,0.45);
}
/* panels that are CONTENT cards (not scene viewports) read light + editorial */
.gd[data-theme="light"] .gd-panel.gd-card-light {
  background: rgba(251,248,241,0.9);
  border-color: var(--line); box-shadow: 0 14px 36px -22px rgba(20,28,16,0.30);
}
.gd[data-theme="light"] .gd-panel.gd-card-light * {
  --fg: #1A1E16; --fg-soft: rgba(26,30,22,0.74); --fg-muted: rgba(26,30,22,0.52); --fg-faint: rgba(26,30,22,0.34);
}
.gd[data-theme="light"] .gd-panel.gd-card-light .gd-panel-glow::before { opacity: 0.5; }

/* hero in light mode: the ecosystem stage stays a cinematic dark frame,
   set into the ivory page with a soft transition at its base.
   Text tokens stay LIGHT inside the hero (it's a dark stage in both modes). */
.gd[data-theme="light"] .gd-hero {
  background: linear-gradient(180deg, #0A0E1A 0%, #0A0E1A 72%, #0E1322 100%);
  --fg: #F4EFE3; --fg-soft: rgba(244,239,227,0.78); --fg-muted: rgba(244,239,227,0.5); --fg-faint: rgba(244,239,227,0.32);
}
.gd[data-theme="light"] .gd-hero-copy-xl .gd-display,
.gd[data-theme="light"] .gd-hero .gd-display { color: #F4EFE3; }
.gd[data-theme="light"] .gd-hero .gd-lede { color: rgba(244,239,227,0.82); }
.gd[data-theme="light"] .gd-hero-fog {
  background: linear-gradient(180deg, rgba(10,14,26,0.86) 0%, transparent 24%, transparent 60%, #0E1322 100%);
}
.gd[data-theme="light"] .gd-vig-a {
  background:
    linear-gradient(90deg, #0A0E1A 0%, rgba(10,14,26,0.86) 34%, rgba(10,14,26,0.32) 56%, transparent 72%),
    radial-gradient(900px 700px at 8% 50%, rgba(10,14,26,0.5), transparent 60%);
}

/* footer back to ivory-dark */
.gd[data-theme="light"] .gd-foot {
  background: #15190F; border-top-color: rgba(122,192,67,0.25);
}
.gd[data-theme="light"] .gd-foot * { --fg: #F4EFE3; --fg-soft: rgba(244,239,227,0.74); --fg-faint: rgba(244,239,227,0.4); }
.gd[data-theme="light"] .gd-foot .gd-display, .gd[data-theme="light"] .gd-foot p { color: rgba(244,239,227,0.9); }

/* switch + tweaks chrome stays dark glass in both modes (it's tooling) */
.gd[data-theme="light"] .gd-spine::before { opacity: 0.7; }
   GRADIFY — Login Concept
   The secure doorway into the ecosystem. Reuses tokens.css + landing.css
   foundations (GRADIFY green, tri-system accents, glass, mono labels,
   green-glow student core). Calm motion — NOT as busy as the hero.
   ===================================================================== */

.gl {
  min-height: 100vh;
  width: 100% !important;
  max-width: none !important;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.gl a { color: inherit; text-decoration: none; }
.gl ::selection { background: var(--gradify); color: var(--gradify-ink); }

/* ----------------------------------------------------------------
   AMBIENT FIELD — same deep-space backdrop as the landing page
   ---------------------------------------------------------------- */
.gl-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 760px at 82% 18%, rgba(122,192,67,0.10), transparent 60%),
    radial-gradient(900px 680px at 12% 4%, rgba(255,111,77,0.05), transparent 56%),
    radial-gradient(1000px 820px at 60% 120%, rgba(77,212,179,0.05), transparent 60%),
    var(--bg);
}
.gl-field::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 3px 3px; opacity: 0.5;
}
/* deterministic starfield laid down by JS */
.gl-stars { position: absolute; inset: 0; }
.gl-stars i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
}

/* ----------------------------------------------------------------
   TOP BAR — logo + a single quiet utility link
   ---------------------------------------------------------------- */
.gl-top {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px clamp(22px, 5vw, 52px);
}
.gl-top img { height: 26px; width: auto; display: block; }
.gl-top .util {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.gl-top .util:hover { color: var(--fg); }
.gl-top .util .pip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gradify);
  box-shadow: 0 0 10px var(--gradify-glow);
  animation: gd-online-pulse 2.6s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   STAGE — the two-column doorway
   ---------------------------------------------------------------- */
.gl-stage {
  position: relative; z-index: 2; flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  width: 100%; max-width: 1240px; margin: 0 auto;
  padding: clamp(16px, 3vw, 40px) clamp(22px, 5vw, 52px) clamp(40px, 6vw, 72px);
}

/* ================================================================
   LEFT — GLASS LOGIN CARD
   ================================================================ */
.gl-card {
  position: relative; overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(520px 300px at 86% -12%, rgba(122,192,67,0.10), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.05);
  padding: clamp(30px, 3.2vw, 46px);
  max-width: 480px; width: 100%; justify-self: end;
}
.gl-card .corner { position: absolute; width: 10px; height: 10px; pointer-events: none; }
.gl-card .corner.tl { top: 14px; left: 14px; border-top: 1px solid var(--fg-faint); border-left: 1px solid var(--fg-faint); }
.gl-card .corner.tr { top: 14px; right: 14px; border-top: 1px solid var(--fg-faint); border-right: 1px solid var(--fg-faint); }

.gl-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--fg-muted); margin-bottom: 20px;
}
.gl-eyebrow .lock {
  width: 13px; height: 13px; color: var(--gradify); display: block;
}
.gl-eyebrow .bar { width: 18px; height: 1px; background: currentColor; opacity: 0.5; }

.gl-card h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(31px, 3.7vw, 40px);
  line-height: 1.08; letter-spacing: -0.022em; color: var(--fg); margin: 0 0 18px;
}
.gl-card h1 em { font-style: italic; color: var(--gradify); }
.gl-sub {
  font-family: var(--sans); font-size: 15px; line-height: 1.55; font-weight: 300;
  color: var(--fg-soft); margin: 0 0 14px; max-width: 380px;
}
/* reassurance / audience line */
.gl-audience {
  display: flex; align-items: center; gap: 9px; margin: 0 0 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--fg-muted);
}
.gl-audience-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--gradify);
  box-shadow: 0 0 9px var(--gradify-glow);
}

/* ---- form ---- */
.gl-form { display: flex; flex-direction: column; gap: 18px; }
.gl-field-group { display: flex; flex-direction: column; gap: 8px; }
.gl-label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-muted);
}
.gl-input-wrap { position: relative; display: flex; align-items: center; }
.gl-input {
  width: 100%; height: 54px;
  background: rgba(8,11,20,0.55);
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 0 16px;
  font-family: var(--sans); font-size: 15.5px; color: var(--fg);
  transition: border-color .2s var(--ease), box-shadow .25s var(--ease), background .2s;
  -webkit-appearance: none; appearance: none;
}
.gl-input::placeholder { color: var(--fg-faint); }
.gl-input:hover { border-color: var(--fg-faint); }
.gl-input:focus {
  outline: none;
  border-color: var(--gradify);
  box-shadow: 0 0 0 3px var(--gradify-soft), 0 0 22px -8px var(--gradify-glow);
  background: rgba(8,11,20,0.7);
}
.gl-input.has-toggle { padding-right: 58px; }
/* autofill — keep dark glass, light text */
.gl-input:-webkit-autofill,
.gl-input:-webkit-autofill:hover,
.gl-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--fg);
  -webkit-box-shadow: 0 0 0 1000px rgba(14,19,34,0.96) inset, 0 0 0 3px var(--gradify-soft);
  caret-color: var(--fg);
  transition: background-color 9999s ease-out;
}

/* show / hide password */
.gl-pw-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  height: 38px; padding: 0 12px; border-radius: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  transition: color .2s, border-color .2s, background .2s;
}
.gl-pw-toggle:hover { color: var(--fg); border-color: var(--line-strong); background: rgba(255,255,255,0.07); }
.gl-pw-toggle:focus-visible { outline: 2px solid var(--gradify); outline-offset: 2px; }

/* remember me + forgot row */
.gl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 2px;
}
.gl-check {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--sans); font-size: 13.5px; color: var(--fg-soft);
  user-select: none;
}
.gl-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.gl-check .box {
  width: 20px; height: 20px; border-radius: 6px; flex: none;
  border: 1px solid var(--line-strong); background: rgba(8,11,20,0.55);
  display: grid; place-items: center;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.gl-check .box svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.6); transition: opacity .18s, transform .18s; color: var(--gradify-ink); }
.gl-check input:checked + .box { background: var(--gradify); border-color: var(--gradify); }
.gl-check input:checked + .box svg { opacity: 1; transform: scale(1); }
.gl-check input:focus-visible + .box { box-shadow: 0 0 0 3px var(--gradify-soft); }
.gl-check:hover .box { border-color: var(--fg-faint); }
.gl-forgot {
  font-family: var(--sans); font-size: 13.5px; color: var(--fg-soft);
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.gl-forgot:hover { color: var(--fg); border-bottom-color: var(--gradify-dim); }
.gl-forgot:focus-visible { outline: 2px solid var(--gradify); outline-offset: 3px; border-radius: 2px; }

/* primary login button — GRADIFY green master action */
.gl-submit {
  height: 54px; width: 100%; margin-top: 6px;
  border-radius: 11px; border: none; cursor: pointer;
  background: var(--gradify); color: var(--gradify-ink);
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), filter .2s;
  box-shadow: 0 16px 44px -16px var(--gradify-glow);
}
.gl-submit:hover { transform: translateY(-2px); box-shadow: 0 22px 56px -16px var(--gradify-glow); filter: brightness(1.04); }
.gl-submit:active { transform: translateY(0); }
.gl-submit:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.gl-submit .arr { transition: transform .25s var(--ease); }
.gl-submit:hover .arr { transform: translateX(4px); }

/* ---- secondary actions ---- */
.gl-divider {
  display: flex; align-items: center; gap: 14px; margin: 26px 0 22px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--fg-faint);
}
.gl-divider::before, .gl-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.gl-secondary { display: flex; flex-direction: column; gap: 12px; }
.gl-ghost {
  height: 50px; width: 100%;
  border-radius: 11px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.015); color: var(--fg-soft);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: border-color .2s, color .2s, transform .2s var(--ease), background .2s;
  cursor: pointer;
}
.gl-ghost:hover { border-color: var(--fg-muted); color: var(--fg); transform: translateY(-1px); background: rgba(255,255,255,0.03); }
.gl-ghost:focus-visible { outline: 2px solid var(--gradify); outline-offset: 2px; }
.gl-ghost .ic { width: 15px; height: 15px; color: var(--gradify); display: block; flex: none; }

/* Account activation — clearly visible & useful: two-line, taller, left-aligned */
.gl-ghost--activate {
  height: auto; padding: 13px 16px;
  justify-content: flex-start; gap: 13px;
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.028);
}
.gl-ghost--activate:hover { background: rgba(255,255,255,0.05); border-color: var(--fg-muted); }
.gl-ghost-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.gl-ghost-text .t { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--fg); }
.gl-ghost-text .s {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-muted);
}

/* the new-user conversion line — green-tinted, distinct from activation */
.gl-newuser {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; border-radius: 12px;
  border: 1px solid rgba(122,192,67,0.30);
  background: linear-gradient(180deg, rgba(122,192,67,0.10), rgba(122,192,67,0.03));
  transition: border-color .25s, transform .2s var(--ease), box-shadow .3s;
  cursor: pointer;
}
.gl-newuser:hover { border-color: var(--gradify-dim); transform: translateY(-1px); box-shadow: 0 18px 44px -24px var(--gradify-glow); }
.gl-newuser:focus-visible { outline: 2px solid var(--gradify); outline-offset: 2px; }
.gl-newuser .l { display: flex; flex-direction: column; gap: 3px; }
.gl-newuser .l .k {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(122,192,67,0.85);
}
.gl-newuser .l .t { font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--fg); }
.gl-newuser .go {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  border: 1px solid var(--gradify-dim); display: grid; place-items: center;
  color: var(--gradify); transition: background .25s, transform .25s var(--ease);
}
.gl-newuser:hover .go { background: var(--gradify-soft); transform: translateX(2px); }

.gl-foot-links {
  display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap;
  margin-top: 22px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-faint);
}
.gl-foot-links a { transition: color .2s; }
.gl-foot-links a:hover { color: var(--fg-soft); }
.gl-foot-links .sep { opacity: 0.4; }

/* ================================================================
   RIGHT — BRAND / PATHWAY PANEL  (calm, simplified)
   ================================================================ */
.gl-brand {
  position: relative; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 560px;
  padding: 8px 8px 8px clamp(8px, 2vw, 30px);
}

/* the simplified orbit stage */
.gl-orbit {
  position: relative; width: 100%; max-width: 480px;
  aspect-ratio: 1 / 1; margin: 0 auto 8px;
}
.gl-orbit svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* orbiting pillar planet captions, positioned over the SVG */
.gl-planet {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 9px;
  padding: 8px 13px 8px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(9,13,24,0.66);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 38px -20px rgba(0,0,0,0.8);
  white-space: nowrap;
}
.gl-planet .dot { width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--ac); box-shadow: 0 0 12px var(--ac); }
.gl-planet .nm {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-soft);
}

/* brand copy */
.gl-brand-copy { max-width: 460px; margin: 14px auto 0; text-align: center; }
.gl-brand-copy h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 31px);
  line-height: 1.12; letter-spacing: -0.018em; color: var(--fg); margin: 0 0 22px;
}
.gl-brand-copy h2 em { font-style: italic; color: var(--gradify); }

/* status micro-cards */
.gl-cards {
  display: flex; flex-wrap: wrap; gap: 9px; justify-content: center;
  margin-bottom: 24px;
}
.gl-mini {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.022);
}
.gl-mini .pip { width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--ac, var(--gradify)); box-shadow: 0 0 9px var(--ac, var(--gradify)); }
.gl-mini .lbl {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-soft);
}

/* trust line */
.gl-trust {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid rgba(122,192,67,0.28); background: rgba(122,192,67,0.06);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--fg);
}
.gl-trust b {
  width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--gradify);
  box-shadow: 0 0 11px var(--gradify-glow);
  animation: gd-online-pulse 2.6s ease-in-out infinite;
}

/* ================================================================
   CALM MOTION — slow core breath + gentle orbit drift only
   ================================================================ */
@keyframes gl-breathe { 0%,100% { opacity: 0.55; transform: scale(0.97); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes gl-spin    { to { transform: rotate(360deg); } }
@keyframes gl-spin-rev{ to { transform: rotate(-360deg); } }
@keyframes gl-pulse-ring { 0% { transform: scale(0.55); opacity: 0.85; } 80%,100% { transform: scale(1.5); opacity: 0; } }

.gl-orbit .gl-core-glow { transform-box: view-box; transform-origin: center;
  animation: gl-breathe 5.6s ease-in-out infinite; }
.gl-orbit .gl-ring-rot  { transform-box: view-box; transform-origin: center;
  animation: gl-spin 60s linear infinite; }
.gl-orbit .gl-ring-rot-rev { transform-box: view-box; transform-origin: center;
  animation: gl-spin-rev 80s linear infinite; }
.gl-orbit .gl-pulse { transform-box: view-box; transform-origin: center;
  animation: gl-pulse-ring 4.2s ease-out infinite; }

/* the whole planet ring drifts as one calm system (JS keeps captions level) */
.gl-orbit-systems { position: absolute; inset: 0; }

/* boot reveal — critical content is ALWAYS visible (base opacity 1).
   We only animate the decorative orbit, never the form/card, so nothing
   essential can be trapped behind a paused/throttled animation. */
.gl-rise { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .gl-orbit .gl-core-glow, .gl-orbit .gl-ring-rot, .gl-orbit .gl-ring-rot-rev,
  .gl-orbit .gl-pulse, .gl-top .util .pip, .gl-trust b { animation: none !important; }
}

/* ================================================================
   RESPONSIVE — stack to single column; card first, trust panel below
   ================================================================ */
@media (max-width: 960px) {
  .gl-stage {
    grid-template-columns: 1fr;
    gap: 30px; max-width: 560px;
  }
  .gl-card { justify-self: center; max-width: 520px; }
  .gl-brand { min-height: 0; align-self: auto; padding: 0; }
  .gl-orbit { max-width: 320px; }
  /* compact trust panel: drop the big orbit weight, keep core + cards + trust */
}
@media (max-width: 560px) {
  .gl-top { padding: 20px 20px; }
  .gl-stage { padding: 8px 18px 40px; }
  .gl-card { padding: 26px 22px; border-radius: 16px; }
  .gl-orbit { max-width: 240px; }
  .gl-cards { gap: 8px; }
  .gl-row { flex-wrap: wrap; }
}
  
    html { scroll-behavior: smooth; }
    body { margin: 0; background: #060912; font-family: "Inter", system-ui, sans-serif; }
