/* SRL 0.20.3: public website = design #1 "Stadium Night" (docs/mockups/site-designs.html): dark navy, stadium light beams, turf,
   gold buttons, the on-dark logo. Public pages only (body.theme-dark in _Layout); the owner portal and admin are unchanged.
   Every text color checked for WCAG AA (4.5:1; big text and buttons 3:1). The paper-sheet + phone illustration keeps its light look. */
.theme-dark {
  --ink: #FFFFFF; --ink-2: #E6ECF7; --ink-soft: #B8C4DC;
  --paper: #0A1428; --paper-2: #16284F; --grid: #2A3D6E; --white: #10204A;
  --hi: #FFC72C; --hi-deep: #C99400; --turf: #4ADE80; --live: #FF7B6B;
  background: #0A1428; color: #FFFFFF;
}
.theme-dark .skip { color: #0A1428; }
.theme-dark :focus-visible { outline-color: #FFC72C; box-shadow: none; }
/* buttons */
.theme-dark .btn--hi { background: #FFC72C; color: #0A1428; box-shadow: 0 3px 0 #C99400; }
.theme-dark .btn--hi:hover { background: #FFD65C; }
.theme-dark .btn--ink { background: #FFFFFF; color: #0A1428; }
.theme-dark .btn--ink:hover { background: #E6ECF7; }
.theme-dark .btn--ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,.45); }
.theme-dark .btn--ghost:hover { border-color: #FFC72C; }
/* header */
.theme-dark .topbar { background: rgba(10,20,40,.92); border-bottom-color: #2A3D6E; }
.theme-dark .mainnav a { color: #E6ECF7; }
.theme-dark .mainnav a:hover, .theme-dark .mainnav a.is-active { color: #FFFFFF; background: rgba(255,255,255,.1); }
.theme-dark .logo__img { height: 80px; }
@media (max-width: 860px) { .theme-dark .logo__img { height: 56px; } }
@media (max-width: 560px) { .theme-dark .logo__img { height: 50px; } }
/* hero + page heads: stadium lights + a strip of turf */
.theme-dark .hero, .theme-dark .phead { position: relative; overflow: hidden;
  background: radial-gradient(55% 90% at 12% -25%, rgba(255,236,170,.24), transparent 60%),
              radial-gradient(50% 80% at 88% -25%, rgba(255,236,170,.17), transparent 60%),
              linear-gradient(180deg, #0A1428, #081022); border-bottom: 1px solid #2A3D6E; }
.theme-dark .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: repeating-linear-gradient(90deg, #0f6b2e 0 80px, #128036 80px 160px); opacity: .45;
  -webkit-mask-image: linear-gradient(transparent, #000); mask-image: linear-gradient(transparent, #000); }
.theme-dark .hero > *, .theme-dark .phead > * { position: relative; z-index: 1; }
.theme-dark .hero h1 span, .theme-dark .phead h1 span { color: #FFC72C; }
/* sections and cards */
.theme-dark .sec--white { background: #0D1A36; border-color: #2A3D6E; }
.theme-dark .sec--ink, .theme-dark .band { background: radial-gradient(60% 120% at 50% -30%, rgba(255,199,44,.14), transparent 60%), #060D1C; color: #FFFFFF; }
.theme-dark .band p, .theme-dark .sec--ink .lede { color: #C9D3E6; }
.theme-dark .foot { background: #060D1C; color: #C9D3E6; border-top: 1px solid #1B2A4E; }
.theme-dark .foot a { color: #E6ECF7; }
.theme-dark .foot__col h2 { color: #FFFFFF; }   /* was navy on navy (contrast check) */
.theme-dark .steps li { border-top-color: #FFC72C; }
.theme-dark .steps li::before { color: #FFC72C; }
.theme-dark .fitem svg { color: #FFC72C; }
.theme-dark .plan { background: #10204A; }
.theme-dark .plan--pro { border-color: #FFC72C; box-shadow: 8px 8px 0 #FFC72C; }
.theme-dark .plan__tag { color: #0A1428; }
.theme-dark .compare thead th.us { background: #FFC72C; color: #0A1428; }
.theme-dark .snippet { background: #060D1C; color: #FFC72C; border: 1px solid #2A3D6E; }
.theme-dark .guide__cta { background: #13224A; border-color: #FFC72C; }
.theme-dark .guide-card { background: #10204A; }
.theme-dark .guide-card:hover { border-color: #FFC72C; }
.theme-dark .form--card { background: #10204A; }
.theme-dark .field input, .theme-dark .field select, .theme-dark .field textarea { background: #0A1428; color: #FFFFFF; border-color: #3A4F82; }
.theme-dark .field input::placeholder, .theme-dark .field textarea::placeholder { color: #93A1BE; }
.theme-dark .field input:focus, .theme-dark .field select:focus, .theme-dark .field textarea:focus { border-color: #FFC72C; box-shadow: 0 0 0 3px rgba(255,199,44,.35); }
.theme-dark .platforms li { background: #10204A; }
.theme-dark .swap__new { background: #10204A; border-color: #FFC72C; }
.theme-dark .notice { color: #0A1428; }
/* the hero illustration (paper sheet + phone) keeps its original light colors */
.theme-dark .scene { --ink: #14213D; --ink-2: #22335A; --ink-soft: #4A5775; --paper: #F7F8FA; --paper-2: #EEF1F6; --grid: #D8DEE9; --white: #FFFFFF; --hi: #FFE14D; --hi-deep: #F2C400; --turf: #1F7A4D; --live: #E4412B; color: #14213D; }
.theme-dark .foot__col h2 { color: #FFFFFF; }   /* SRL 0.20.3: was dark-on-dark (Lighthouse contrast) */
.theme-dark .compare td.us { background: #1E2E5C; color: #FFFFFF; box-shadow: inset 3px 0 0 #FFC72C; }   /* was pale yellow behind white text (contrast check) */
