:root {
  /* Mature Swingers: cool near-black + clean crimson (from the masked-couple hero + crimson logo). */
  --navy: #0c0e11;        /* darkest anchor */
  --blue: #9c0c23;        /* deep crimson (gradient end) */
  --blue-bright: #e6394d; /* bright crimson (accents, highlights) */
  --red: #c8102e;         /* crimson, primary CTA / accent */
  --red-deep: #9c0c23;    /* deep crimson, hover */

  --ink: #f3f2f1;         /* near-white, headings on dark */
  --body: #c2c0bd;        /* cool light-grey, body text on dark */
  --muted: #86847f;

  --bg: #111317;          /* cool near-black page background */
  --bg-soft: #1a1d22;     /* elevated cool dark (cards, callouts, strip) */
  --line: rgba(255, 255, 255, 0.12);

  --chrome: #ffffff;      /* white header/footer so the dark-text logo shows */
  --chrome-ink: #14161a;
  --chrome-line: #e4e6ea;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--body); }

.eyebrow {
  display: inline-block; font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 14px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 32px; border: 2px solid transparent; border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: linear-gradient(120deg, var(--red) 0%, var(--blue) 100%);
  color: #fff; box-shadow: 0 8px 22px -8px rgba(200, 16, 46, 0.6);
}
.btn-join:hover { background: linear-gradient(120deg, var(--red-deep) 0%, #7d0a1c 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(200, 16, 46, 0.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* Header (white chrome so the dark-text logo is visible) */
.site-header {
  position: relative; z-index: 40; background: var(--chrome);
  border-bottom: 1px solid var(--chrome-line); box-shadow: 0 2px 16px -10px rgba(0, 0, 0, 0.5);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand img { width: clamp(160px, 21vw, 250px); height: auto; }
.header-right { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 20px); }
.login-link { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--chrome-ink); }
.login-link:hover { color: var(--red); }
.header-right .btn { padding: 11px 24px; font-size: .9rem; }

/* Hero (masked-couple image on the right, dark scrim on the left for white text) */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(74vh, 640px); padding: clamp(48px, 8vw, 96px) 0;
  background:
    linear-gradient(95deg, rgba(12,14,17,0.96) 0%, rgba(12,14,17,0.82) 38%, rgba(12,14,17,0.28) 66%, rgba(12,14,17,0) 100%),
    url('/images/hero-desktop.jpg?v=2') right center / cover no-repeat,
    var(--navy);
}
.hero-inner { max-width: 620px; }
.hero h1, .hero .hero-heading { font-family: var(--head); font-weight: 800; line-height: 1.04; color: #fff; font-size: clamp(2.5rem, 5.8vw, 4.3rem); margin-bottom: 18px; text-shadow: 0 2px 22px rgba(0,0,0,0.6); }
.hero h1 .accent, .hero .hero-heading .accent { color: var(--blue-bright); }
.hero-sub { color: rgba(255,255,255,0.94); font-size: 1.2rem; margin-bottom: 30px; max-width: 48ch; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* USP trust strip (right under the hero) */
.usp { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.usp-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(18px, 4vw, 54px); padding: 20px 0; }
.usp-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-weight: 600; font-size: .96rem; color: var(--ink); }
.usp-item .tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(200,16,46,0.16);
  color: var(--blue-bright); font-size: .8rem; flex-shrink: 0;
}

/* Feature trio (design lift below the intro) */
.features { padding: clamp(10px, 3vw, 24px) 0 clamp(40px, 6vw, 64px); background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 clamp(54px, 7vw, 88px); }
.feature-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; transition: transform .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(200,16,46,0.5); }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%); color: #fff;
}
.feature-card h3 { font-size: 1.35rem; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 1rem; line-height: 1.7; color: var(--body); margin: 0; }

/* Story (dark, moody long-form content) */
.story { padding: clamp(52px, 8vw, 96px) 0 clamp(20px, 4vw, 40px); background: var(--bg); }
.story .container { max-width: 1000px; }
.story-intro { max-width: 800px; margin: 0 auto clamp(30px, 5vw, 52px); text-align: center; }
.story-intro h1 { color: var(--ink); margin-bottom: 18px; font-size: clamp(2.1rem, 4.8vw, 3.1rem); font-weight: 800; }
.story-intro p { font-size: 1.16rem; line-height: 1.85; color: var(--body); margin-bottom: 16px; }
.story-intro p:last-child { margin-bottom: 0; }
.story-block { max-width: 760px; margin: 0 auto; }
.story-block p { font-size: 1.1rem; line-height: 1.9; color: var(--body); margin-bottom: 18px; }
.story-block p:last-child { margin-bottom: 0; }
.story-block h2 { color: var(--ink); margin-bottom: 18px; position: relative; padding-bottom: 14px; }
.story-block h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--red); }
.story-block h3 { color: var(--ink); margin-bottom: 12px; }
.story-block h3::before { content: ''; display: inline-block; width: 26px; height: 3px; background: var(--red); vertical-align: middle; margin-right: 12px; transform: translateY(-4px); }
.story-block ol { margin: 0 0 18px; padding-left: 4px; list-style: none; counter-reset: sw; }
.story-block ol li {
  position: relative; padding-left: 44px; margin-bottom: 14px; counter-increment: sw;
  font-size: 1.08rem; line-height: 1.8; color: var(--body);
}
.story-block ol li::before {
  content: counter(sw); position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--red);
  color: var(--blue-bright); font-family: var(--head); font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; justify-content: center;
}
.story-cta {
  font-size: 1.1rem; line-height: 1.7; color: var(--ink);
  margin: 24px 0 0; padding: 18px 24px;
  background: var(--bg-soft); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0;
}
.story-block + .story-block { margin-top: clamp(38px, 5vw, 60px); }

/* Final CTA band */
.cta-band {
  text-align: center; padding: clamp(56px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 60%, #7d0a1c 100%);
  color: #fff; position: relative;
}
.cta-band .eyebrow { color: #fff; opacity: .92; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.94); max-width: 52ch; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .btn-join { background: #fff; color: var(--red-deep); border-color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.4); }
.cta-band .btn-join:hover { background: #fff; color: var(--red-deep); transform: translateY(-2px); }

/* Footer (white chrome so the dark-text logo is visible) */
.site-footer { background: var(--chrome); color: var(--chrome-ink); padding: 48px 0 34px; text-align: center; border-top: 1px solid var(--chrome-line); }
.footer-logo img { width: clamp(190px, 24vw, 250px); height: auto; margin: 0 auto 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 20px 0; border-top: 1px solid var(--chrome-line); border-bottom: 1px solid var(--chrome-line); }
.footer-links a { color: #5a5560; text-decoration: underline; font-size: .9rem; }
.footer-links a:hover { color: var(--red); }
.footer-copy { margin-top: 18px; font-size: .85rem; color: #86847f; }

/* Cookie consent */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #14161a; color: #fff; padding: 16px var(--gutter); border-top: 1px solid rgba(200,16,46,0.5);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.9); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--blue-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--red); color: #fff; border-color: var(--red); }

/* Reveal-on-scroll: visible by default; only hidden/animated when JS is active. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto clamp(40px, 9vw, 60px); }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0; background: var(--navy); }
  .hero::before {
    content: ''; display: block; width: 100%; aspect-ratio: 767 / 710;
    background: url('/images/hero-mobile.jpg?v=2') center top / cover no-repeat;
  }
  .hero .container { padding-top: 32px; padding-bottom: 40px; }
  .hero-inner { max-width: 100%; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 10px; }
  .header-right { gap: 12px; }
  .brand img { width: clamp(140px, 40vw, 190px); }
  .header-right .btn { padding: 10px 16px; font-size: .82rem; }
  .login-link { font-size: .85rem; }
  .usp-row { gap: 14px 26px; }
  .usp-item { font-size: .9rem; }
}
@media (max-width: 520px) {
  .hero-ctas { width: 100%; }
}
