/* ==========================================================================
   landing/style.css — self-contained styles for the promo subdomain.
   Crimson Tide identity: red + white, waves and circles.
   ========================================================================== */
:root {
  --red-700: #9e1228; --red-600: #c81e3a; --red-500: #e22d49;
  --red-300: #f78c9c; --red-200: #fcc0c9; --red-100: #ffe1e6;
  --ink: #160b0f;            /* footer / dark blocks */
  --paper: #0e0608;          /* page background (now dark) */
  --paper-2: #150a0e;        /* alt sections */
  --surface: #1d1016;        /* cards, modals, banners */
  --surface-2: #28161e;      /* raised */
  --wash: #2c131c;           /* dark crimson wash for circles/icons */
  --text: #f6ebee; --text-soft: #d8c4ca; --text-mute: #a78a91;
  --line: #38242e; --line-strong: #4c3039; --focus: #74a9ff;
  --font-display: "Cambria","Constantia","Palatino Linotype",Georgia,serif;
  --font-body: "Trebuchet MS","Segoe UI",system-ui,sans-serif;
  --r-md: 16px; --r-lg: 28px; --r-pill: 999px;
  --shadow-2: 0 8px 28px rgba(0,0,0,.45); --shadow-3: 0 18px 50px rgba(0,0,0,.6);
  --ease: cubic-bezier(.22,.61,.36,1); --dur: .7s;
}
@media (prefers-reduced-motion: reduce) { :root { --dur: .001s; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scrollbar-color: var(--red-700) var(--paper-2); scrollbar-width: thin; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track { background: var(--paper-2); }
*::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--red-500), var(--red-700)); border-radius: 999px; border: 3px solid var(--paper-2); }
*::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--red-300), var(--red-600)); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--red-300); }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }

body {
  font-family: var(--font-body); color: var(--text); line-height: 1.62;
  background: var(--paper);
  background-image:
    radial-gradient(circle at 10% -5%, rgba(226,45,73,.16) 0, transparent 38%),
    radial-gradient(circle at 95% 6%, rgba(158,18,40,.18) 0, transparent 32%);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.14; }

:where(a, button, input, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, 1080px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 700; color: var(--red-600); font-family: var(--font-body); }
.eyebrow--hero { color: #ffd7dd; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700;
  padding: .8em 1.6em; border-radius: var(--r-pill); text-decoration: none;
  transition: transform .15s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red-600); color: #fff; box-shadow: var(--shadow-2); }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }

/* --- Preloader ----------------------------------------------------------- */
#preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--paper); transition: opacity .5s var(--ease);
}
#preloader.is-done { opacity: 0; pointer-events: none; }
#preloader svg { width: 84px; height: 84px; }

/* --- Age gate ------------------------------------------------------------ */
#age-gate {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: rgba(29,12,17,.72); backdrop-filter: blur(6px); padding: 1.25rem;
}
.age-card {
  background: var(--surface); border-radius: var(--r-lg); max-width: 520px; padding: 2rem;
  box-shadow: var(--shadow-3); text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--line-strong);
}
.age-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px;
  border-radius: 50%; background: var(--wash);
}
.age-card > * { position: relative; }
.age-card h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.age-card p { color: var(--text-soft); margin-bottom: 1.25rem; }
.age-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.age-card .btn--link { color: var(--red-700); align-self: center; font-weight: 700; }

/* --- Cookie banner ------------------------------------------------------- */
#cookie-banner {
  position: fixed; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 140;
  max-width: 720px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 1.5rem;
}
#cookie-banner h3 { font-size: 1.1rem; }
#cookie-banner p { font-size: .92rem; margin: .5rem 0; color: var(--text-soft); }
.cc-cats { display: flex; flex-wrap: wrap; gap: 1rem; margin: .75rem 0; font-size: .9rem; }
.cc-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cc-actions .btn--ghost { border-color: var(--line-strong); color: var(--red-700); }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 80% 20%, var(--red-500) 0, transparent 45%),
    linear-gradient(150deg, var(--red-700), var(--red-600));
  padding: 4.5rem 0 0;
}
.hero__ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.22); pointer-events: none; }
.hero__ring.a { width: 520px; height: 520px; top: -160px; right: -120px; }
.hero__ring.b { width: 320px; height: 320px; top: -40px; right: 40px; border-style: dashed; }
.hero__ring.c { width: 140px; height: 140px; bottom: 30px; left: -40px; }
.hero__inner { position: relative; z-index: 2; max-width: 640px; }
.hero__logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.hero__logo img { width: 48px; height: 48px; }
.hero__wordmark { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--red-100); }
.hero p.lede { font-size: 1.15rem; color: #ffe7eb; max-width: 52ch; }
.hero__harm {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem;
  padding: .65rem 1.2rem; background: rgba(0,0,0,.28); border-radius: var(--r-pill); font-weight: 600;
}
.hero__harm .dot { width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.hero__18 { margin-top: 1rem; font-size: .9rem; color: #ffd7dd; }
.hero__cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__wave { color: var(--paper); margin-top: 3rem; }
.hero__wave svg { width: 100%; height: 70px; display: block; }

/* --- Cards --------------------------------------------------------------- */
.cards { padding: 4rem 0; }
.cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.lcard {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.5rem; box-shadow: 0 1px 3px rgba(92,10,26,.06);
  transition: transform .2s var(--ease);
}
.lcard:hover { transform: translateY(-4px); }
.lcard::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 100px; height: 100px; border-radius: 50%; background: var(--wash); }
.lcard > * { position: relative; }
.lcard__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--wash); color: var(--red-300); display: grid; place-items: center; margin-bottom: .75rem; }
.lcard h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.lcard p { font-size: .92rem; color: var(--text-soft); }
.lcard a { font-weight: 700; }
@media (max-width: 860px) { .cards__grid { grid-template-columns: 1fr 1fr; } .hero__ring.a, .hero__ring.b { opacity: .4; } }
@media (max-width: 520px) { .cards__grid { grid-template-columns: 1fr; } }

/* --- Caveat strip -------------------------------------------------------- */
.caveat { background: var(--paper-2); border-block: 1px solid var(--line); padding: 2rem 0; text-align: center; }
.caveat p { color: var(--text-soft); max-width: 60ch; margin-inline: auto; }

/* --- Footer -------------------------------------------------------------- */
.lfooter { background: var(--ink); color: #f3dfe3; padding: 3rem 0 2rem; }
.lfooter__rg {
  background: #fff; color: #000; border-radius: var(--r-md); padding: 1rem 1.25rem; text-align: center;
  font-weight: 700; margin-bottom: 2rem; transition: opacity .3s var(--ease);
}
.lfooter__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start; }
.lfooter h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .75rem; }
.lfooter a { color: #fbd4da; }
.lfooter p, .lfooter li { font-size: .9rem; color: #d8b8be; margin-bottom: .4rem; }
.lfooter__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .82rem; color: #cfa9b0; }
@media (max-width: 640px) { .lfooter__grid { grid-template-columns: 1fr; } }

/* --- Reveal -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
