/* Rynex landing. Light is the default; dark follows the device, and the toggle overrides both. */
:root {
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --ink-hover: #000000;
  --ink-2: #5E5E63;
  --muted: #6E6E73;
  --line: #E5E5EA;
  --line-2: #EDEDF0;
  --outline: #C7C7CC;
  --ring-a: #D9D9DE;
  --ring-b: #CFCFD4;
  --dot-dim: #A1A1A6;
  --dot-faint: #C7C7CC;
  --tag-line: #E0E0E5;
  --accent: #2457F5;
  --on-accent: #FFFFFF;
  --btn-ink-bg: #1D1D1F;
  --btn-ink-fg: #FFFFFF;
  --verified: #1D6B35;
  --red-bg: #FDECEC; --red-fg: #B3261E;
  --blue-bg: #E8EEFF; --blue-fg: #1F44C2;
  --green-bg: #E6F4EA; --green-fg: #1D6B35;
  --amber-bg: #FBF1DC; --amber-fg: #8A5A00;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A0A0C; --surface: #121215; --ink: #F5F5F7; --ink-hover: #FFFFFF; --ink-2: #A1A1A6; --muted: #8E8E93;
    --line: #232327; --line-2: #232327; --outline: #3A3A3F; --ring-a: #26262B; --ring-b: #2E2E34;
    --dot-dim: #8E8E93; --dot-faint: #5A5A60; --tag-line: #2E2E34; --accent: #3B7BFF; --on-accent: #FFFFFF;
    --btn-ink-bg: #F5F5F7; --btn-ink-fg: #0A0A0C; --verified: #8FD9A8;
    --red-bg: #2A1B1B; --red-fg: #FF8A80; --blue-bg: #16233D; --blue-fg: #8FB4FF;
    --green-bg: #1A2A20; --green-fg: #8FD9A8; --amber-bg: #2A2416; --amber-fg: #F2C879;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0A0A0C; --surface: #121215; --ink: #F5F5F7; --ink-hover: #FFFFFF; --ink-2: #A1A1A6; --muted: #8E8E93;
  --line: #232327; --line-2: #232327; --outline: #3A3A3F; --ring-a: #26262B; --ring-b: #2E2E34;
  --dot-dim: #8E8E93; --dot-faint: #5A5A60; --tag-line: #2E2E34; --accent: #3B7BFF; --on-accent: #FFFFFF;
  --btn-ink-bg: #F5F5F7; --btn-ink-fg: #0A0A0C; --verified: #8FD9A8;
  --red-bg: #2A1B1B; --red-fg: #FF8A80; --blue-bg: #16233D; --blue-fg: #8FB4FF;
  --green-bg: #1A2A20; --green-fg: #8FD9A8; --amber-bg: #2A2416; --amber-fg: #F2C879;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  /* System fonts only: no third-party font requests. Inter is used if the device has it. */
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.4;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: var(--surface); border: 1px solid var(--line); }

.header { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.accent-fill { fill: var(--accent); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; }
.nav > a:not(.btn) { color: var(--ink-2); }
.nav > a:not(.btn):hover { color: var(--ink); }
.theme-toggle {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--outline); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 26px; border-radius: 999px; font-size: 16px; font-weight: 500; }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-ink:hover { color: var(--btn-ink-fg); opacity: 0.9; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); opacity: 0.92; }
.btn-outline { border: 1px solid var(--outline); color: var(--ink); }

.hero { padding-top: 72px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-size: clamp(44px, 8vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.lead { margin: 0; max-width: 540px; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.fact { max-width: 540px; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.fact-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--verified); }
.fact-quote { margin: 0; font-size: 15px; line-height: 1.5; }
.fact p { margin: 0; }
.hero-copy > p.small { margin: 0; }

.radar-col { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.radar { position: relative; width: 440px; max-width: 100%; aspect-ratio: 1 / 1; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--ring-a); }
.r0 { inset: 0; } .r1 { inset: 16%; } .r2 { inset: 32%; border-color: var(--ring-b); }
.axis { position: absolute; background: var(--line); }
.ax-v { left: 50%; top: 0; bottom: 0; width: 1px; } .ax-h { top: 50%; left: 0; right: 0; height: 1px; }
.dot { position: absolute; border-radius: 50%; }
.dot.core { background: var(--ink); } .dot.acc { background: var(--accent); }
.dot.dim { background: var(--dot-dim); } .dot.faint { background: var(--dot-faint); }
.tag { position: absolute; max-width: 44%; overflow: hidden; text-overflow: ellipsis; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--tag-line); font-size: 12px; white-space: nowrap; }

.section-tight { padding-top: 40px; padding-bottom: 96px; }
.section { padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.panel { border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.h-small { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.h-big { margin: 0; max-width: 720px; font-size: clamp(32px, 5vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.03em; }
.changes { list-style: none; margin: 0; padding: 0; }
.changes li { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.change-text { flex: 1 1 320px; font-size: 15px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; min-width: 96px; text-align: center; }
.pill-red { background: var(--red-bg); color: var(--red-fg); }
.pill-blue { background: var(--blue-bg); color: var(--blue-fg); }
.pill-green { background: var(--green-bg); color: var(--green-fg); }
.pill-amber { background: var(--amber-bg); color: var(--amber-fg); }

.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.steps { list-style: none; margin: 0; padding: 0; }
.tile { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile h3 { margin: 0; font-size: 18px; font-weight: 600; }
.tile p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.tile .price { font-size: 28px; font-weight: 600; color: var(--ink); }
.step-n { font-size: 13px; font-weight: 600; color: var(--accent); }
.trust { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 8px; font-size: 14px; }
.access { align-items: flex-start; }
.access .btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
#signin p { margin: 0; }

.footer { border-top: 1px solid var(--line); }
.footer-in { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.doc { max-width: 720px; padding-top: 32px; padding-bottom: 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 16px; }
.draft-banner { border: 1px solid var(--amber-fg); background: var(--amber-bg); color: var(--amber-fg); border-radius: 12px; padding: 12px 16px; font-weight: 600; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 32px; }
  .panel, .tile { padding: 20px; }
  .lead { font-size: 18px; }
  .nav { gap: 10px 18px; }
  .tag { font-size: 11px; max-width: none; padding: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
