/* OddStorm modern homepage — full-width SECTION layout (replaces the legacy
   column home). Shared `.hm-*` primitives + per-variant scopes `.home-v1..v5`.
   Light theme is the prod default (data-ui-locked); dark supported via tokens.
   Type scale + kicker + reveal patterns follow the interactive-landing playbook
   (weight-based hierarchy, clamp sizes, transform/opacity-only animation). */

/* ── Page shell ──────────────────────────────────────────────────────── */
body.os-modern .hm { position: relative; z-index: 1; overflow-x: clip; }
body.os-modern .hm-section { padding: clamp(64px, 9vh, 96px) 24px; }
body.os-modern .hm-section--tight { padding: clamp(40px, 6vh, 56px) 24px; }
body.os-modern .hm-section--alt { background: var(--surface-container, #f0f4ed); }
body.os-modern .hm-container { max-width: 1140px; margin: 0 auto; }
body.os-modern .hm-container--narrow { max-width: 760px; }
body.os-modern .hm-center { text-align: center; }

/* Kicker — uppercase, wide tracking (playbook: 0.75rem / +0.4em) */
body.os-modern .hm-kicker {
  display: block; margin: 0 0 14px;
  font: 700 0.75rem/1.4 var(--font-body);
  letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--primary-soft, #79b247);
}
body.os-modern .hm-h2 {
  margin: 0 0 16px; font: 800 clamp(1.75rem, 3.6vw, 2.6rem)/1.16 var(--font-body);
  letter-spacing: -0.02em; color: var(--text);
}
body.os-modern .hm-lead {
  margin: 0 auto 40px; max-width: 660px;
  font: 400 clamp(1.0125rem, 1.4vw, 1.1875rem)/1.62 var(--font-body); color: var(--text-muted, #5d6a62);
}
body.os-modern .hm-lead--left { margin-left: 0; }

/* Reveal on scroll — opacity+translate only, IO adds .is-in */
body.os-modern .hm-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out, ease-out), transform .6s var(--ease-out, ease-out); }
body.os-modern .hm-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  body.os-modern .hm-reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Hero (shared) ───────────────────────────────────────────────────── */
body.os-modern .hm-hero { position: relative; overflow: hidden; padding: clamp(64px, 10vh, 110px) 24px clamp(56px, 8vh, 88px); }
body.os-modern .hm-hero::before {
  content: ""; position: absolute; inset: -30% 0 auto 0; height: 540px; z-index: 0; pointer-events: none;
  background: radial-gradient(46% 58% at 50% 4%, color-mix(in srgb, var(--primary) 17%, transparent), transparent 72%);
}
body.os-modern .hm-hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; }
body.os-modern .hm-h1 {
  margin: 0 0 20px; font: 800 clamp(2.35rem, 5.4vw, 4.1rem)/1.06 var(--font-body);
  letter-spacing: -0.035em; color: var(--text);
}
body.os-modern .hm-h1 .hm-accent {
  background: var(--brand-gradient, linear-gradient(90deg, #58872a, #79b247));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.os-modern .hm-hero-sub {
  margin: 0 0 14px; max-width: 580px;
  font: 400 clamp(1.05rem, 1.7vw, 1.25rem)/1.58 var(--font-body); color: var(--text-muted, #5d6a62);
}
body.os-modern .hm-hero-sub strong { color: var(--text); font-weight: 700; }
body.os-modern .hm-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
body.os-modern .hm-cta-row .btn { font-size: 16px; padding: 13px 30px; }
body.os-modern .hm-cta-note { margin: 16px 0 0; font: 400 13px/1.5 var(--font-body); color: var(--text-dim, #84918a); }
body.os-modern .hm-cta-note svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--primary-soft); }

/* Split hero (copy left, visual right) */
body.os-modern .hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) {
  body.os-modern .hm-hero-grid { grid-template-columns: 1fr; }
  body.os-modern .hm-hero-grid .hm-cta-row { justify-content: flex-start; }
}

/* ── Surebet example card — THE product artifact ────────────────────── */
body.os-modern .hm-arbcard {
  background: linear-gradient(165deg, #1a241c, #141d16);
  border: 1px solid #3a4d3c; border-radius: 18px;
  padding: 20px 20px 16px; max-width: 460px; width: 100%;
  box-shadow: 0 20px 50px -24px rgba(20, 40, 22, 0.4);
  text-align: left; color: #f2f7f3; font-family: var(--font-body);
}
body.os-modern .hm-arbcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
body.os-modern .hm-arbcard-title { font: 700 13px/1.3 var(--font-body); color: #c0cdc3; letter-spacing: 0.04em; }
body.os-modern .hm-arbcard-roi {
  font: 800 14px/1 var(--font-body); color: #12190f; background: linear-gradient(90deg, #79b247, #9ad36a);
  padding: 6px 12px; border-radius: 999px;
}
body.os-modern .hm-arbcard-match { font: 700 15px/1.35 var(--font-body); color: #f2f7f3; margin: 0 0 14px; }
body.os-modern .hm-arbcard-match span { color: #aebbb1; font-weight: 400; font-size: 12.5px; display: block; margin-top: 2px; }
body.os-modern .hm-arbrow {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 12px; background: #202c22; border: 1px solid #354536;
}
body.os-modern .hm-arbrow + .hm-arbrow { margin-top: 8px; }
body.os-modern .hm-arbrow-book { font: 700 14px/1.25 var(--font-body); color: #f2f7f3; }
body.os-modern .hm-arbrow-book span { display: block; font: 400 12px/1.3 var(--font-body); color: #aebbb1; }
body.os-modern .hm-arbrow-odd { font: 800 17px/1 var(--font-mono, ui-monospace); color: #a5dd76; }
body.os-modern .hm-arbrow-stake { font: 600 13px/1.2 var(--font-body); color: #d4ded6; text-align: right; min-width: 86px; }
body.os-modern .hm-arbcard-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; padding: 12px 12px 4px; border-top: 1px dashed #3a4d3c;
}
body.os-modern .hm-arbcard-total b { font: 800 19px/1 var(--font-body); color: #a5dd76; }
body.os-modern .hm-arbcard-total span { font: 400 12.5px/1.4 var(--font-body); color: #c0cdc3; }
body.os-modern .hm-arbcard-note { margin: 10px 2px 0; font: 400 12px/1.5 var(--font-body); color: #a3b2a6; }

/* ── Live pulse dot ──────────────────────────────────────────────────── */
body.os-modern .hm-live { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
body.os-modern .hm-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--primary-soft, #79b247);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary-soft) 60%, transparent);
  animation: hm-pulse 2s infinite;
}
@keyframes hm-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary-soft) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-live i { animation: none; } }

/* ── Metrics — big gradient count-up numbers ─────────────────────────── */
body.os-modern .hm-metrics-tabs { display: flex; gap: 8px; justify-content: center; margin: 18px 0 26px; }
body.os-modern .hm-metrics-tab {
  font: 700 12px/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); cursor: pointer;
}
body.os-modern .hm-metrics-tab.is-active { background: var(--brand-gradient); color: var(--on-primary, #fff); border-color: transparent; }
body.os-modern .hm-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px) clamp(14px, 2.5vw, 32px); }
@media (max-width: 700px) { body.os-modern .hm-metrics { grid-template-columns: repeat(2, 1fr); } }
body.os-modern .hm-metric { text-align: center; }
body.os-modern .hm-metric-num {
  display: block; font: 800 clamp(2rem, 4.6vw, 3.4rem)/1 var(--font-body);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--text), var(--primary-soft, #79b247));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.os-modern .hm-metric-label {
  display: block; margin-top: 9px; font: 700 11.5px/1.3 var(--font-body);
  letter-spacing: 0.16em; color: var(--text-muted, #5d6a62); text-transform: uppercase;
}

/* ── Bookmaker marquee ───────────────────────────────────────────────── */
body.os-modern .hm-marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--border); position: relative; }
body.os-modern .hm-marquee::before, body.os-modern .hm-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
body.os-modern .hm-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
body.os-modern .hm-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
body.os-modern .hm-marquee-track { display: flex; gap: 44px; width: max-content; animation: hm-marquee 46s linear infinite; }
body.os-modern .hm-marquee span { font: 700 15px/1 var(--font-body); color: var(--text-dim, #84918a); white-space: nowrap; letter-spacing: 0.02em; }
body.os-modern .hm-marquee span b { color: var(--text-muted); font-weight: 800; }
@keyframes hm-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ── Bento feature grid (v1) ─────────────────────────────────────────── */
/* 6-col canvas: lead = 4 cols x 2 rows; side cards = 2 cols; bottom row =
   two half cards (3+3 = 50:50). On <=920px collapses to an even 2-col grid
   (lead full width, then 2x2); single column on phones. */
body.os-modern .hm-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
body.os-modern .hm-bento-card {
  grid-column: span 2;
  text-align: left; padding: 26px 24px; background: var(--surface, #fff);
  border: 1px solid var(--border); border-radius: 18px; position: relative; overflow: hidden;
  transition: border-color var(--t-base, .2s), transform var(--t-base, .2s), box-shadow var(--t-base, .2s);
}
body.os-modern .hm-bento-card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); transform: translateY(-3px); box-shadow: var(--elev-2, 0 8px 24px rgba(0,0,0,.08)); }
body.os-modern .hm-bento-card--lead { grid-column: span 4; grid-row: span 2; display: flex; flex-direction: column; }
body.os-modern .hm-bento-card--half { grid-column: span 3; }
@media (max-width: 920px) {
  body.os-modern .hm-bento { grid-template-columns: 1fr 1fr; }
  body.os-modern .hm-bento-card { grid-column: span 1; }
  body.os-modern .hm-bento-card--lead { grid-column: span 2; }
  body.os-modern .hm-bento-card--half { grid-column: span 1; }
}
@media (max-width: 620px) {
  body.os-modern .hm-bento { grid-template-columns: 1fr; }
  body.os-modern .hm-bento-card,
  body.os-modern .hm-bento-card--lead,
  body.os-modern .hm-bento-card--half { grid-column: auto; grid-row: auto; }
}
/* Icon + title on one line, body below */
body.os-modern .hm-feature-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
body.os-modern .hm-feature-head .hm-feature-ic { margin-bottom: 0; flex: 0 0 auto; }
body.os-modern .hm-feature-head .hm-feature-title { margin: 0; }
body.os-modern .hm-bento-card--lead .hm-arbcard { margin-top: auto; max-width: none; }
body.os-modern .hm-feature-ic {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px;
  border-radius: 12px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary-deep, #58872a);
}
body.os-modern .hm-feature-ic svg { width: 24px; height: 24px; }
body.os-modern .hm-feature-title { margin: 0 0 8px; font: 800 18px/1.3 var(--font-body); color: var(--text); }
body.os-modern .hm-feature-body { margin: 0; font: 400 14.5px/1.6 var(--font-body); color: var(--text-muted, #5d6a62); }

/* Plain feature grid (v3/v5) */
body.os-modern .hm-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
body.os-modern .hm-feature {
  text-align: left; padding: 26px 22px; background: var(--surface, #fff);
  border: 1px solid var(--border); border-radius: 18px;
  transition: border-color var(--t-base, .2s), transform var(--t-base, .2s);
}
body.os-modern .hm-feature:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); transform: translateY(-2px); }

/* ── App window mockup ───────────────────────────────────────────────── */
body.os-modern .hm-window {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: var(--surface); box-shadow: 0 30px 70px -30px rgba(15, 35, 18, 0.35);
}
body.os-modern .hm-window-bar { display: flex; gap: 6px; padding: 11px 14px; background: var(--surface-container-high, #e8eee3); border-bottom: 1px solid var(--border); }
body.os-modern .hm-window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong, #c4cfbb); }
body.os-modern .hm-window img { display: block; width: 100%; height: auto; }

/* ── Steps ───────────────────────────────────────────────────────────── */
body.os-modern .hm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: hmstep; }
@media (max-width: 760px) { body.os-modern .hm-steps { grid-template-columns: 1fr; } }
body.os-modern .hm-step { text-align: left; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; position: relative; }
body.os-modern .hm-step-n {
  width: 42px; height: 42px; margin-bottom: 16px; display: grid; place-items: center;
  border-radius: 50%; background: var(--brand-gradient); color: var(--on-primary, #fff);
  font: 800 18px/1 var(--font-body);
}
body.os-modern .hm-step-title { margin: 0 0 8px; font: 800 17px/1.3 var(--font-body); color: var(--text); }
body.os-modern .hm-step-body { margin: 0; font: 400 14.5px/1.6 var(--font-body); color: var(--text-muted, #5d6a62); }

/* ── Plans ───────────────────────────────────────────────────────────── */
body.os-modern .hm-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 760px) { body.os-modern .hm-plans { grid-template-columns: 1fr; } }
body.os-modern .hm-plan {
  text-align: left; padding: 30px 28px; background: var(--surface, #fff);
  border: 1px solid var(--border); border-radius: 20px; display: flex; flex-direction: column;
}
body.os-modern .hm-plan--paid {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary) 28%, transparent), var(--elev-1, 0 2px 10px rgba(0,0,0,.06));
}
body.os-modern .hm-plan-tag {
  align-self: flex-start; margin-bottom: 14px; padding: 5px 13px; border-radius: 999px;
  font: 700 11px/1.2 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
}
body.os-modern .hm-plan-tag--free { background: var(--surface-container-high, #e8eee3); color: var(--text-muted); }
body.os-modern .hm-plan-tag--paid { background: var(--brand-gradient); color: var(--on-primary, #fff); }
body.os-modern .hm-plan-title { margin: 0 0 18px; font: 800 21px/1.25 var(--font-body); color: var(--text); }
body.os-modern .hm-plan-list { list-style: none; margin: 0; padding: 0; }
body.os-modern .hm-plan-list li { position: relative; padding: 0 0 11px 30px; font: 400 14.5px/1.55 var(--font-body); color: var(--text); }
body.os-modern .hm-plan-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px;
  background: color-mix(in srgb, var(--primary) 16%, transparent); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358872a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}
body.os-modern .hm-plan .btn { align-self: flex-start; margin-top: 22px; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
body.os-modern .hm-faq { max-width: 780px; margin: 0 auto; text-align: left; }
body.os-modern .hm-faq-item { border-bottom: 1px solid var(--border); }
body.os-modern .hm-faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 38px 20px 4px; position: relative;
  font: 700 16.5px/1.4 var(--font-body); color: var(--text);
}
body.os-modern .hm-faq-item summary::-webkit-details-marker { display: none; }
/* +/− icon as two bars: the vertical bar collapses on open → animated plus→minus */
body.os-modern .hm-faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 30px; width: 16px; height: 2px;
  border-radius: 2px; background: var(--primary-soft);
}
body.os-modern .hm-faq-item summary::before {
  content: ""; position: absolute; right: 13px; top: 23px; width: 2px; height: 16px;
  border-radius: 2px; background: var(--primary-soft);
  transition: transform .28s var(--ease-out, ease-out);
}
body.os-modern .hm-faq-item[open] summary::before { transform: scaleY(0); }
body.os-modern .hm-faq-item p { margin: 0 4px 20px; font: 400 15px/1.65 var(--font-body); color: var(--text-muted, #5d6a62); }

/* ── Partners / Resources ────────────────────────────────────────────── */
body.os-modern .hm-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 660px; margin: 0 auto; }
body.os-modern .hm-partner {
  padding: 22px; text-align: center; background: var(--surface, #fff);
  border: 1px solid var(--border); border-radius: 18px;
}
body.os-modern .hm-partner img { max-width: 150px; height: auto; border-radius: 10px; margin-bottom: 12px; }
body.os-modern .hm-partner p { margin: 0; font: 400 13.5px/1.55 var(--font-body); color: var(--text-muted, #5d6a62); }
body.os-modern .hm-reslist { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; text-align: left; justify-items: center; }
body.os-modern .hm-reslist > div { min-width: 150px; }
body.os-modern .hm-reslist h3 { margin: 0 0 12px; font: 800 11.5px/1.3 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
body.os-modern .hm-reslist ul { list-style: none; margin: 0; padding: 0; }
body.os-modern .hm-reslist li { margin: 0 0 9px; }
body.os-modern .hm-reslist a { font: 400 14.5px/1.4 var(--font-body); color: var(--text); text-decoration: none; }
body.os-modern .hm-reslist a:hover { color: var(--primary-deep, #58872a); }

/* ── Final CTA band ──────────────────────────────────────────────────── */
body.os-modern .hm-cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #1c2d18, #2f4d1f 55%, #58872a);
  padding: clamp(64px, 9vh, 92px) 24px;
}
body.os-modern .hm-cta-band .hm-h2 { color: #fff; }
body.os-modern .hm-cta-band .hm-lead { color: rgba(255, 255, 255, 0.78); }
body.os-modern .hm-cta-band .hm-cta-row { justify-content: center; }
body.os-modern .hm-cta-band .btn.btn-primary { background: #fff; color: #2f4d1f; }
body.os-modern .hm-cta-band .hm-cta-note { color: rgba(255, 255, 255, 0.6); }
body.os-modern .hm-cta-band .hm-cta-note svg { color: #9ad36a; }

/* ── Video facade ────────────────────────────────────────────────────── */
body.os-modern .hm-video {
  /* aspect-ratio, NOT the padding-bottom:56.25% hack — padding-% resolves
     against the PARENT's width (1140px container), so with max-width:760px
     the box came out ~1.19:1 (square-ish) instead of 16:9. */
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  max-width: 760px; margin: 0 auto; border-radius: 16px;
  border: 1px solid var(--border); background: #000;
}
body.os-modern .hm-video iframe, body.os-modern .hm-video > div { position: absolute; inset: 0; width: 100%; height: 100%; }
body.os-modern .hm-video img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter .3s; }
body.os-modern .hm-video img:hover { filter: brightness(0.8); }
body.os-modern .hm-video .hm-video-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px;
  background: rgba(0, 0, 0, 0.55); border-radius: 12px; cursor: pointer; display: grid; place-items: center;
}
body.os-modern .hm-video .hm-video-play::before {
  content: ""; border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}

/* ════ v2 — EDITORIAL ════════════════════════════════════════════════ */
body.os-modern .home-v2 .hm-hero { text-align: center; padding-bottom: clamp(40px, 6vh, 64px); }
body.os-modern .home-v2 .hm-h1 { font-size: clamp(2.7rem, 6.6vw, 5rem); max-width: 980px; margin-inline: auto; }
body.os-modern .home-v2 .hm-hero-sub { margin-inline: auto; }
body.os-modern .home-v2 .hm-cta-row { justify-content: center; }
body.os-modern .home-v2 .hm-promise { padding: clamp(56px, 9vh, 90px) 24px; text-align: center; }
body.os-modern .home-v2 .hm-promise p { margin: 0 auto; letter-spacing: -0.02em; color: var(--text); font-weight: 800; line-height: 1.25; }
body.os-modern .home-v2 .hm-promise p:nth-child(1) { font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--text-muted); }
body.os-modern .home-v2 .hm-promise p:nth-child(2) { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-top: 10px; }
body.os-modern .home-v2 .hm-promise p:nth-child(3) {
  font-size: clamp(2.3rem, 5vw, 3.7rem); margin-top: 12px;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.os-modern .home-v2 .hm-chapter { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 880px) { body.os-modern .home-v2 .hm-chapter { grid-template-columns: 1fr; } }
body.os-modern .home-v2 .hm-chapter--flip > :first-child { order: 2; }
@media (max-width: 880px) { body.os-modern .home-v2 .hm-chapter--flip > :first-child { order: 0; } }
body.os-modern .home-v2 .hm-chapter .hm-h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
body.os-modern .home-v2 .hm-chapter p { font: 400 16px/1.7 var(--font-body); color: var(--text-muted); margin: 0 0 14px; }
body.os-modern .home-v2 .hm-chapter p strong { color: var(--text); }
body.os-modern .home-v2 .hm-chlist { list-style: none; margin: 18px 0 0; padding: 0; }
body.os-modern .home-v2 .hm-chlist li { padding: 0 0 10px 28px; position: relative; font: 400 15px/1.55 var(--font-body); color: var(--text); }
body.os-modern .home-v2 .hm-chlist li::before { content: "→"; position: absolute; left: 0; color: var(--primary-soft); font-weight: 800; }

/* ════ v3 — SPLIT / TWO PATHS ════════════════════════════════════════ */
body.os-modern .home-v3 .hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 40px auto 0; text-align: left; }
@media (max-width: 680px) { body.os-modern .home-v3 .hm-split { grid-template-columns: 1fr; } }
body.os-modern .home-v3 .hm-split-card { padding: 28px 26px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); transition: transform var(--t-base, .2s); }
body.os-modern .home-v3 .hm-split-card:hover { transform: translateY(-3px); }
body.os-modern .home-v3 .hm-split-card--bad { border-color: color-mix(in srgb, #e05a3a 30%, var(--border)); background: color-mix(in srgb, #e05a3a 4%, var(--surface)); }
body.os-modern .home-v3 .hm-split-card--good { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
body.os-modern .home-v3 .hm-split-card h3 { margin: 0 0 14px; font: 800 19px/1.25 var(--font-body); color: var(--text); }
body.os-modern .home-v3 .hm-split-list { list-style: none; margin: 0; padding: 0; }
body.os-modern .home-v3 .hm-split-list li { padding: 0 0 10px 28px; position: relative; font: 400 15px/1.5 var(--font-body); color: var(--text-muted); }
body.os-modern .home-v3 .hm-split-card--bad .hm-split-list li::before { content: "✕"; position: absolute; left: 0; color: #e05a3a; font-weight: 800; }
body.os-modern .home-v3 .hm-split-card--good .hm-split-list li { color: var(--text); }
body.os-modern .home-v3 .hm-split-card--good .hm-split-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary-deep, #58872a); font-weight: 800; }
body.os-modern .home-v3 .hm-vs-table { width: 100%; border-collapse: collapse; max-width: 780px; margin: 0 auto; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--border); }
body.os-modern .home-v3 .hm-vs-table td, body.os-modern .home-v3 .hm-vs-table th { padding: 14px 18px; border-bottom: 1px solid var(--border); font: 400 15px/1.4 var(--font-body); text-align: left; color: var(--text); }
body.os-modern .home-v3 .hm-vs-table tr:last-child td { border-bottom: 0; }
body.os-modern .home-v3 .hm-vs-table th { background: var(--surface-container-high, #e8eee3); color: var(--text); font-weight: 800; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; }
body.os-modern .home-v3 .hm-vs-yes { color: var(--primary-deep, #58872a); font-weight: 800; text-align: center; }
body.os-modern .home-v3 .hm-vs-no { color: var(--text-dim, #84918a); text-align: center; }
/* Calculator */
body.os-modern .hm-calc { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; text-align: left; }
body.os-modern .hm-calc-row { margin-bottom: 22px; }
body.os-modern .hm-calc-row label { display: flex; justify-content: space-between; font: 700 14px/1.3 var(--font-body); color: var(--text); margin-bottom: 10px; }
body.os-modern .hm-calc-row label output { color: var(--primary-deep, #58872a); font-weight: 800; }
body.os-modern .hm-calc input[type="range"] { width: 100%; accent-color: var(--primary-deep, #58872a); }
body.os-modern .hm-calc-result { text-align: center; border-top: 1px dashed var(--border); padding-top: 20px; }
body.os-modern .hm-calc-result b {
  display: block; font: 800 clamp(2rem, 4vw, 2.8rem)/1.1 var(--font-body);
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.os-modern .hm-calc-result span { font: 400 13px/1.5 var(--font-body); color: var(--text-dim, #84918a); }

/* ════ v4 — PROOF / NUMBERS ══════════════════════════════════════════ */
body.os-modern .home-v4 .hm-trustrow { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
body.os-modern .home-v4 .hm-trust { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1.2 var(--font-body); color: var(--text); padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
body.os-modern .home-v4 .hm-trust svg { width: 17px; height: 17px; color: var(--primary-deep, #58872a); }
body.os-modern .home-v4 .hm-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
body.os-modern .hm-quote { text-align: left; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
body.os-modern .hm-quote p { margin: 0 0 14px; font: 400 15px/1.6 var(--font-body); color: var(--text); }
body.os-modern .hm-quote-by { font: 700 13.5px/1.3 var(--font-body); color: var(--text-muted); }
body.os-modern .hm-quote-stars { color: #e0b341; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
/* Timeline */
body.os-modern .hm-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; max-width: 1000px; margin: 0 auto; position: relative; }
@media (max-width: 820px) { body.os-modern .hm-timeline { grid-template-columns: 1fr; max-width: 380px; } }
body.os-modern .hm-timeline::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 7px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--primary-soft));
}
@media (max-width: 820px) { body.os-modern .hm-timeline::before { left: 7px; right: auto; top: 4%; bottom: 4%; width: 2px; height: auto; background: linear-gradient(180deg, var(--border), var(--primary-soft)); } }
body.os-modern .hm-tl { position: relative; padding: 28px 14px 0; text-align: center; }
@media (max-width: 820px) { body.os-modern .hm-tl { text-align: left; padding: 0 0 26px 32px; } }
body.os-modern .hm-tl::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--surface); border: 3px solid var(--primary-soft);
}
@media (max-width: 820px) { body.os-modern .hm-tl::before { left: 0; margin-left: 0; top: 2px; } }
body.os-modern .hm-tl b { display: block; font: 800 16px/1.2 var(--font-body); color: var(--primary-deep, #58872a); margin-bottom: 5px; }
body.os-modern .hm-tl span { font: 400 13.5px/1.5 var(--font-body); color: var(--text-muted); }

/* ════ v5 — MINIMAL ══════════════════════════════════════════════════ */
body.os-modern .home-v5 .hm-hero { min-height: calc(92svh - var(--header-h, 64px)); display: flex; align-items: center; }
body.os-modern .hm-stake { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; }
body.os-modern .hm-stake label { font: 700 13px/1.2 var(--font-body); color: #c0cdc3; }
body.os-modern .hm-stake input {
  width: 110px; padding: 9px 12px; border-radius: 10px; border: 1px solid #354536;
  background: #202c22; color: #f2f7f3; font: 700 15px/1.2 var(--font-body);
  -moz-appearance: textfield; appearance: textfield;
}
body.os-modern .hm-stake input::-webkit-inner-spin-button,
body.os-modern .hm-stake input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
body.os-modern .home-v5 .hm-metrics { grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 900px) { body.os-modern .home-v5 .hm-metrics { grid-template-columns: repeat(3, 1fr); } }
body.os-modern .home-v5 .hm-metric-num { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

/* ════ MOTION LAYER (playbook §14 — transform/opacity only) ══════════ */

/* Aurora blobs — pre-blurred radial gradients (NO live filter:blur), very
   slow drift, transform-only. Hidden on small screens + reduced motion. */
body.os-modern .hm-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
body.os-modern .hm-aurora i {
  position: absolute; border-radius: 50%; display: block;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 32%, transparent), transparent 68%);
  animation: hm-drift 16s ease-in-out infinite alternate;
}
body.os-modern .hm-aurora i:nth-child(1) { width: 560px; height: 560px; top: -180px; left: -120px; }
body.os-modern .hm-aurora i:nth-child(2) { width: 460px; height: 460px; top: 10%; right: -160px; animation-duration: 28s; animation-delay: -9s; }
body.os-modern .hm-aurora i:nth-child(3) { width: 380px; height: 380px; bottom: -160px; left: 34%; animation-duration: 34s; animation-delay: -18s; }
@keyframes hm-drift {
  from { transform: translate3d(-30px, -16px, 0) scale(0.96); }
  to   { transform: translate3d(70px, 44px, 0) scale(1.16); }
}
@media (max-width: 760px) { body.os-modern .hm-aurora i:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-aurora i { animation: none; } }
body.os-modern .hm-cta-band .hm-aurora i { background: radial-gradient(circle, rgba(154, 211, 106, 0.30), transparent 68%); }

/* Live tick — odds pulse like the real Change column */
body.os-modern .hm-arbrow-odd { position: relative; transition: color .3s; }
body.os-modern .hm-arbrow-odd.is-tick { animation: hm-tick 0.9s ease-out; }
@keyframes hm-tick {
  0% { color: #e9ffd0; transform: translateY(0) scale(1.14); text-shadow: 0 0 14px rgba(154, 211, 106, 0.7); }
  35% { transform: translateY(-3px) scale(1.1); }
  100% { color: #a5dd76; transform: translateY(0) scale(1); text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-arbrow-odd.is-tick { animation: none; } }

/* Cursor-tracked glow on bento cards (coords via --vmx/--vmy from JS).
   Tilt is applied as inline transform AFTER the reveal transition is dropped
   (.is-settled), so the two never fight (playbook: scroll-timeline vs inline). */
body.os-modern .hm-bento-card { isolation: isolate; --vmx: 50%; --vmy: 50%; }
body.os-modern .hm-bento-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  pointer-events: none; opacity: 0; transition: opacity 260ms ease-out;
  background: radial-gradient(340px circle at var(--vmx) var(--vmy),
    color-mix(in srgb, var(--primary) 13%, transparent), transparent 65%);
}
body.os-modern .hm-bento-card.is-glow::before { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  body.os-modern .hm-bento-card.is-glow { transform: none !important; }
  body.os-modern .hm-bento-card::before { display: none; }
}

/* Live metrics refresh flash (value just changed) */
body.os-modern .hm-metric-num.is-fresh { animation: hm-fresh 0.9s ease-out; }
@keyframes hm-fresh {
  0% { filter: brightness(1.5); transform: scale(1.06); }
  100% { filter: none; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-metric-num.is-fresh { animation: none; } }

/* ── Plans: checklist cascade (IO adds .is-live) + sheen on the paid card ── */
body.os-modern .hm-plan .hm-plan-list li {
  opacity: 0; transform: translateX(-10px);
  transition: opacity .45s var(--ease-out, ease-out), transform .45s var(--ease-out, ease-out);
}
body.os-modern .hm-plan .hm-plan-list li::before {
  transform: scale(0); transition: transform .32s var(--ease-spring, cubic-bezier(.34,1.56,.64,1));
}
body.os-modern .hm-plan.is-live .hm-plan-list li { opacity: 1; transform: none; }
body.os-modern .hm-plan.is-live .hm-plan-list li::before { transform: scale(1); }
body.os-modern .hm-plan .hm-plan-list li:nth-child(1) { transition-delay: .04s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(2) { transition-delay: .09s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(3) { transition-delay: .14s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(4) { transition-delay: .19s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(5) { transition-delay: .24s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(6) { transition-delay: .29s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(7) { transition-delay: .34s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(8) { transition-delay: .39s; }
body.os-modern .hm-plan .hm-plan-list li:nth-child(9) { transition-delay: .44s; }
body.os-modern .hm-plan .hm-plan-list li::before { transition-delay: inherit; }
@media (prefers-reduced-motion: reduce) {
  body.os-modern .hm-plan .hm-plan-list li { opacity: 1; transform: none; transition: none; }
  body.os-modern .hm-plan .hm-plan-list li::before { transform: scale(1); transition: none; }
}
/* Sheen sweep over the Subscription card every ~7s (primary-tinted, light-theme visible) */
body.os-modern .hm-plan--paid { position: relative; overflow: hidden; }
body.os-modern .hm-plan--paid::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; width: 90px; left: 0; z-index: 0;
  background: linear-gradient(105deg, transparent, color-mix(in srgb, var(--primary) 15%, transparent), transparent);
  transform: translateX(-220px) rotate(14deg); pointer-events: none;
  animation: hm-sheen 7s ease-in-out infinite;
}
@keyframes hm-sheen {
  0%, 72% { transform: translateX(-220px) rotate(14deg); }
  88%, 100% { transform: translateX(660px) rotate(14deg); }
}
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-plan--paid::after { animation: none; } }

/* ── Partners: slim discreet strip (grayscale → color, slow desynced float) ── */
body.os-modern .hm-partnerstrip {
  margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 18px 26px; flex-wrap: wrap;
}
body.os-modern .hm-partnerstrip-label {
  font: 700 11px/1.4 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim, #84918a);
}
body.os-modern .hm-partner-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 9px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  text-decoration: none; color: var(--text-muted);
  transition: border-color .25s, box-shadow .25s;
  animation: hm-float 7s ease-in-out infinite;
}
body.os-modern .hm-partner-pill:nth-of-type(2) { animation-delay: -3.5s; }
body.os-modern .hm-partner-pill img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  filter: grayscale(1); opacity: 0.72; transition: filter .3s, opacity .3s;
}
body.os-modern .hm-partner-pill span { font: 400 13px/1.35 var(--font-body); }
body.os-modern .hm-partner-pill span b { color: var(--text); font-weight: 700; }
body.os-modern .hm-partner-pill:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--elev-1, 0 2px 10px rgba(0,0,0,.07)); }
body.os-modern .hm-partner-pill:hover img { filter: none; opacity: 1; }
@keyframes hm-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { body.os-modern .hm-partner-pill { animation: none; } }

/* Profit label above the +€NN amount on the surebet cards */
body.os-modern .hm-arbcard-profit { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
body.os-modern .hm-arbcard-profit i {
  font: 700 10px/1 var(--font-body); font-style: normal;
  letter-spacing: 0.14em; text-transform: uppercase; color: #a3b2a6;
}
body.os-modern .hm-arbcard-profit b { font: 800 19px/1 var(--font-body); color: #a5dd76; }
