/* MoNomo public landing page. Outer Darkness by default, light when the device asks.
   Gold is only for the main call-to-action buttons. */
:root {
  --bg: #090d14;
  --surface: #111824;
  --surface-2: #1a2333;
  --ink: #e8edf5;
  --ink-soft: #8b96a8;
  --line: #1f2939;
  --gold: #dda941;
  --gold-ink: #10141c;
  --brand-ink: #f9ebd0;
  --link: #8cc2ff;
  --focus: #8cc2ff;
  --gather: #5aa9ff;
  --resources: #4cd38a;
  --network: #9b7bff;
  --news: #ff6fb5;
  --vent: #ff6b55;
  --journal: #f9ebd0;
  --you: #e8edf5;
  --glow: .55;
  --radius: 18px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --surface-2: #e9edf3;
    --ink: #10141c;
    --ink-soft: #5b6475;
    --line: #dfe4ec;
    --brand-ink: #0d0d0c;
    --link: #2458b8;
    --focus: #2458b8;
    --gather: #3d8bff;
    --resources: #22a565;
    --network: #7b5cf0;
    --news: #e0499a;
    --vent: #e2513b;
    --journal: #c9a35f;
    --you: #10141c;
    --glow: .35;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.wordmark { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--brand-ink); }
.wordmark b { color: var(--gold); font-weight: 800; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 0 rgb(221 169 65 / 0); }
.btn-gold:hover { box-shadow: 0 6px 24px rgb(221 169 65 / .35); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 16px; }
.cta-row.center { justify-content: center; }

/* Hero */
.hero { padding: 40px 0 24px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgb(90 169 255 / .14), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; gap: 24px; align-items: center; position: relative; }
.hero-mark img { width: 72px; height: auto; margin-bottom: 20px; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line);
}
h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 800; margin-bottom: .4em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }
.fine { font-size: .9rem; color: var(--ink-soft); }
.hero-art { width: 100%; max-width: 440px; margin: 0 auto; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 56px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .hero-art { max-width: 480px; }
}

/* Orbit illustration */
.orbit { width: 100%; height: auto; display: block; overflow: visible; }
.orbit .ring { fill: none; stroke: var(--line); stroke-width: 1.5; }
.orbit .ring-outer { stroke-dasharray: 2 8; opacity: .7; }
.orbit .spokes line { stroke: var(--ink-soft); stroke-opacity: .35; stroke-width: 1.2; }
.orbit .hub circle { fill: var(--surface); stroke: var(--c); stroke-width: 2.5; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) calc(var(--glow) * 100%), transparent)); }
.orbit .hub text { fill: var(--ink); font: 700 12.5px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-anchor: middle; }
.orbit .h-you circle { fill: var(--surface-2); stroke-width: 3; }
.orbit .h-you text { font-size: 17px; }
.h-gather { --c: var(--gather); }
.h-resources { --c: var(--resources); }
.h-network { --c: var(--network); }
.h-news { --c: var(--news); }
.h-vent { --c: var(--vent); }
.h-journal { --c: var(--journal); }
.h-you { --c: var(--you); }
.float { animation: float 7s ease-in-out infinite; }
.f2 { animation-duration: 8s; animation-delay: -2s; }
.f3 { animation-duration: 6.5s; animation-delay: -4s; }
.f4 { animation-duration: 7.5s; animation-delay: -1s; }
.f5 { animation-duration: 8.5s; animation-delay: -3s; }
.f6 { animation-duration: 6s; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(3px, -6px); }
  66% { transform: translate(-3px, 4px); }
}

/* Sections */
.band { padding: 56px 0; border-top: 1px solid var(--line); }
.section-lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 40em; }
#who p { font-size: 1.1rem; }

/* Feature cards */
.cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px 20px;
}
.card p { color: var(--ink-soft); margin: 0; }
.card .halo {
  display: block; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  border: 3px solid var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--c) calc(var(--glow) * 100%), transparent);
}
.card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 18%, transparent), transparent);
  pointer-events: none;
}
.c-gather { --c: var(--gather); }
.c-resources { --c: var(--resources); }
.c-network { --c: var(--network); }
.c-news { --c: var(--news); }
.c-journal { --c: var(--journal); }
.c-vent { --c: var(--vent); }

.extras { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 640px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.extra { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; }
.extra h3 { font-size: 1.05rem; }
.extra p { color: var(--ink-soft); margin: 0; }

/* Safety */
.safety-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .safety-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; } }
.safety-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.safety-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--gather); box-shadow: 0 0 8px color-mix(in srgb, var(--gather) 50%, transparent);
}
.safety-list strong { color: var(--ink); }

/* Private test CTA */
.join-card {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px 20px;
  box-shadow: 0 0 60px rgb(90 169 255 / .08);
}
.join-card p { color: var(--ink-soft); max-width: 34em; margin-left: auto; margin-right: auto; }

/* Crisis: plain and serious, no effects */
.crisis-band { padding: 32px 0; }
.crisis { border-left: 4px solid var(--ink-soft); padding: 4px 0 4px 16px; }
.crisis h2 { font-size: 1.15rem; letter-spacing: 0; }
.crisis p { margin: 0; color: var(--ink); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .92rem; color: var(--ink-soft); }
.foot-row { display: grid; gap: 20px; }
.foot-brand p { margin: 6px 0 0; max-width: 32em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a, .made a { color: var(--ink); }
.made { margin: 0; }
@media (min-width: 900px) {
  .foot-row { grid-template-columns: 1.5fr auto auto; align-items: start; gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .btn, .btn:hover { transition: none; transform: none; }
}
