/* styles.css */
/* ============================================================
   Bet Journal — core tokens, base, paper, nav, hero, phone
   ============================================================ */

:root {
  /* paper + ink */
  --paper:      #fffcf2;
  --paper-2:    #f5f3ec;
  --card:       #fcfbf7;
  --card-edge:  #e9e3d4;
  --ink:        #221d17;
  --ink-soft:   #6f665a;
  --ink-faint:  #9a9081;
  --line:       #e3dccb;
  --rule:       #cdd8d6;   /* notebook ruled line (bluish) */

  /* brand */
  --teal:       #15a3a1;
  --teal-deep:  #0f7d7b;
  --teal-dark:  #0a5a58;
  --teal-wash:  #dcece9;
  --brick:      #c4452f;   /* loss / negative */
  --brick-wash: #f1ddd5;

  /* accent (tweakable) defaults to teal */
  --accent:      var(--teal);
  --accent-deep: var(--teal-deep);
  --accent-dark: var(--teal-dark);
  --accent-wash: var(--teal-wash);

  /* dark surface */
  --dark:       #181410;
  --dark-2:     #221c16;
  --dark-edge:  #34291f;

  /* type */
  --display: 'Bricolage Grotesque', 'Schibsted Grotesk', sans-serif;
  --sans:    'Schibsted Grotesk', system-ui, sans-serif;
  --mono:    'Space Mono', ui-monospace, monospace;
  --hand:    'Instrument Serif', serif;
  --hand-style: italic;

  --shadow-sm: 0 1px 2px rgba(34,29,23,.06), 0 2px 6px rgba(34,29,23,.05);
  --shadow:    0 4px 10px rgba(34,29,23,.07), 0 18px 40px -18px rgba(34,29,23,.22);
  --shadow-lg: 0 12px 30px rgba(34,29,23,.12), 0 40px 80px -30px rgba(34,29,23,.35);

  --maxw: 1200px;
  --gut: clamp(16px, 4.5vw, 64px);
}

/* accent (hand) font tweak hook */
:root[data-hand="script"] { --hand: 'Shadows Into Light', cursive; --hand-style: normal; }
:root[data-hand="caveat"] { --hand: 'Caveat', cursive; --hand-style: normal; }

/* display-font tweak hook */
:root[data-font="grotesk"] { --display: 'Schibsted Grotesk', sans-serif; }
:root[data-font="space"]   { --display: 'Space Grotesk', 'Bricolage Grotesque', sans-serif; }

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-anchor: none;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce), (max-width: 900px), (hover: none) and (pointer: coarse) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  touch-action: pan-y;
}
body.nav-open {
  overflow: hidden;
}

/* paper grain overlay (toggleable) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .1;
  mix-blend-mode: multiply;
  background-image: url("assets/grain.svg");
  background-size: 220px 220px;
  transition: opacity .4s ease;
}
:root[data-grain="off"] body::before { opacity: 0; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 88px); }
@media (max-width: 620px) {
  .section { padding-block: clamp(32px, 8vw, 48px); }
}

/* ---- handwritten annotation ---- */
.hand {
  font-family: var(--hand);
  font-style: var(--hand-style, normal);
  color: var(--accent-deep);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.05;
  transform: rotate(-5deg);
  display: inline-block;
}
.ink-accent, .scribble-note { font-style: var(--hand-style, normal); }
.scribble { stroke: var(--accent-deep); fill: none; stroke-width: 3; stroke-linecap: round; }

/* ---- eyebrow ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }

/* ---- buttons ---- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--accent) 60%, transparent); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* app store style button — accent outline + label (matches brand CTAs) */
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: #fff; color: var(--accent-deep);
  padding: 11px 18px 11px 16px; border-radius: 13px;
  border: 1.5px solid var(--accent);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: none;
  text-decoration: none;
}
.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px color-mix(in oklab, var(--accent) 35%, transparent);
  border-color: var(--accent-deep);
}
.store-btn .lab { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .lab small {
  font-size: 10.5px; letter-spacing: .02em; white-space: nowrap;
  color: var(--ink-soft); opacity: 1;
}
.store-btn .lab b { font-size: 16.5px; font-weight: 700; font-family: var(--display); letter-spacing: -.01em; color: var(--accent-deep); }
.store-btn svg { width: 22px; height: 22px; flex: none; color: var(--accent-deep); }
.store-btn.web {
  background: #fff; color: var(--accent-deep);
  border-color: var(--accent); box-shadow: none;
}
.stores.on-dark .store-btn {
  background: #fff; color: var(--accent-deep); border-color: var(--accent);
}
.stores.on-dark .store-btn.web {
  background: transparent; color: #fff;
  border-color: color-mix(in oklab, var(--accent) 45%, #6a5f52);
}
.stores.on-dark .store-btn.web .lab small { color: #c4baa6; }
.stores.on-dark .store-btn.web .lab b,
.stores.on-dark .store-btn.web svg { color: #fff; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 620px) {
  .store-btn { padding: 9px 14px 9px 12px; gap: 9px; border-radius: 11px; }
  .store-btn svg { width: 18px; height: 18px; }
  .store-btn .lab small { font-size: 9px; }
  .store-btn .lab b { font-size: 14px; }
  .stores { gap: 10px; }
}
@media (max-width: 520px) {
  /* Stack inline store badges at content width (match hero CTA) */
  .stores.stores-inline {
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 10px;
  }
  .stores.stores-inline .store-btn {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }
}
@media (max-width: 400px) {
  /* Equal-width stack sized to content — not full viewport stretch */
  .stores:not(.stores-inline) {
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }
  .stores:not(.stores-inline) .store-btn {
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.nav.scrolled {
  background: color-mix(in oklab, var(--paper) 94%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(34,29,23,.4);
}
body.has-nav { padding-top: 76px; }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 12px; }
.nav-logo { flex-shrink: 0; min-width: 0; }
.nav-logo img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s ease; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:var(--accent); transition:width .2s ease; }
.nav-links a:hover::after { width:100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-end { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.foot-locale { font-size: 0.92rem; color: var(--muted); }
.foot-locale a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-locale a:hover { color: var(--ink); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  flex-shrink: 0;
  width: 40px; height: 40px; padding: 9px; margin: 0;
  background: color-mix(in oklab, var(--paper) 80%, var(--line));
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  border-radius: 1px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
  }
  .nav-logo { grid-column: 1; grid-row: 1; min-width: 0; }
  .nav-end {
    grid-column: 2;
    grid-row: 1;
    gap: 8px;
    margin-left: 0;
    flex-shrink: 0;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gut) 20px;
    background: color-mix(in oklab, var(--paper) 98%, transparent);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px rgba(34,29,23,.2);
    z-index: 99;
    max-height: calc(100svh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; font-size: 16px; }
  .nav-cta { gap: 0; }
  .nav-cta .btn-ghost { display: none; }
  .nav-cta .btn-accent {
    padding: 8px 11px;
    font-size: 12px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 4px 12px -4px color-mix(in oklab, var(--accent) 55%, transparent);
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============================================================
   HERO  (shared shell; variants via :root[data-hero])
   ============================================================ */
.hero { position: relative; z-index: 2; overflow: clip; padding-block: clamp(12px, 2.5vw, 30px) clamp(48px, 7vw, 96px); }
.hero-variant { display: none; }
:root[data-hero="a"] #hero-a,
:root[data-hero="b"] #hero-b,
:root[data-hero="c"] #hero-c { display: block; }
/* default if attr missing */
:root:not([data-hero]) #hero-a { display: block; }

.hero h1 { font-size: clamp(44px, 7.2vw, 92px); letter-spacing: -.035em; }
.hero h1 .ink-accent { color: var(--accent-deep); font-family: var(--hand); font-weight: 400; letter-spacing: 0; }
.hero .sub { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-soft); max-width: 30ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta .m b { font-family: var(--mono); font-size: 22px; color: var(--ink); display:block; letter-spacing:-.02em; }
.hero-meta .m span { font-size: 13px; color: var(--ink-soft); }

/* parallax decorative slips */
.slip {
  position: absolute; z-index: 0; pointer-events: none;
  background: var(--card); border: 1px solid var(--card-edge);
  box-shadow: var(--shadow); border-radius: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-soft);
  padding: 10px 12px; line-height: 1.5;
}
.slip .win { color: var(--accent-deep); font-weight: 700; }
.slip .loss { color: var(--brick); font-weight: 700; }

/* ---- Hero A: Ledger (two col) ---- */
#hero-a .grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: clamp(20px, 4vw, 52px); }
#hero-a .phone-slot { position: relative; display: grid; place-items: center; min-height: 560px; }
@media (max-width: 880px) { #hero-a .grid { grid-template-columns: 1fr; } #hero-a .phone-slot { min-height: 520px; } }

/* ---- Hero B: Notebook spread (centered) ---- */
#hero-b .center { text-align: center; padding-block: clamp(48px, 7vw, 80px); display: flex; flex-direction: column; align-items: center; }
#hero-b h1 { max-width: 14ch; }
#hero-b .sub { margin-inline: auto; max-width: 46ch; text-align: center; }
#hero-b .hero-cta { justify-content: center; }
#hero-b .phone-slot { position: relative; margin-top: 54px; display: grid; place-items: center; min-height: 600px; width: 100%; }
#hero-b .notebook {
  position: relative; background: var(--card);
  border: 1px solid var(--card-edge); border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 46px; max-width: 720px; width: 100%;
  background-image: repeating-linear-gradient(var(--card) 0 39px, var(--rule) 39px 40px);
}
#hero-b .notebook::before { /* red margin line */
  content:""; position:absolute; left:54px; top:0; bottom:0; width:2px; background: color-mix(in oklab, var(--brick) 55%, transparent); opacity:.5;
}

/* ---- Hero C: Bold receipt ---- */
#hero-c .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-block: clamp(40px, 6vw, 80px); }
#hero-c h1 { font-size: clamp(52px, 9vw, 116px); line-height: .92; }
#hero-c .phone-slot { position: relative; display: grid; place-items: center; min-height: 600px; }
@media (max-width: 880px) { #hero-c .grid { grid-template-columns: 1fr; } }

/* tape + stamp helpers */
.tape {
  position: absolute; width: 110px; height: 30px;
  background: color-mix(in oklab, var(--accent) 22%, #fff);
  border: 1px dashed color-mix(in oklab, var(--accent-deep) 40%, transparent);
  opacity: .85; box-shadow: var(--shadow-sm);
  backdrop-filter: blur(1px);
}
.stamp {
  font-family: var(--display); font-weight: 800; letter-spacing: .04em;
  color: var(--accent-deep);
  border: 3px solid var(--accent-deep); border-radius: 8px;
  padding: 4px 12px; font-size: 22px; text-transform: uppercase;
  transform: rotate(-11deg); opacity: .82;
  box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--accent-deep) 25%, transparent);
}
.stamp.loss { color: var(--brick); border-color: var(--brick); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--brick) 25%, transparent); }

/* sections.css */
/* ============================================================
   Bet Journal — app phone mock + content sections
   ============================================================ */

/* ---------------- APP PHONE ---------------- */
.app-phone {
  --pw: 318px;
  width: var(--pw);
  background: #100d0a;
  border-radius: 44px;
  padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c2620;
  position: relative;
  z-index: 3;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.app-phone .screen {
  background: #fbfaf6;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  height: 638px;
  display: flex;
  flex-direction: column;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.app-phone .notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 108px; height: 26px; background: #100d0a; border-radius: 16px; z-index: 5;
}
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 13px 22px 4px; font-family: var(--mono); font-size: 12px; color: var(--ink); font-weight: 700; }
.statusbar .dots { display: flex; gap: 4px; align-items: center; }
.statusbar .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); display: inline-block; opacity: .85; }

.app-head { padding: 8px 20px 4px; display: flex; align-items: center; justify-content: space-between; }
.app-head .mo { font-size: 13px; color: var(--ink-soft); font-family: var(--mono); }
.app-head h4 { font-size: 21px; }
.roi-pill { background: var(--accent-wash); color: var(--accent-dark); font-family: var(--mono); font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 20px; display: inline-flex; gap: 5px; align-items: center; }

.balance { padding: 14px 20px 6px; }
.balance .lab { font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; font-family: var(--mono); }
.balance .big { font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--accent-dark); line-height: 1.05; margin-top: 2px; }
.balance .units { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.balance .units b { color: var(--accent-deep); }

/* mini chart */
.chart { padding: 6px 18px 10px; }
.chart .bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.chart .bars .bar { flex: 1; background: var(--accent); border-radius: 4px 4px 0 0; opacity: .85; }
.chart .bars .bar.dn { background: var(--brick); opacity: .7; }
.chart .axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; color: var(--ink-faint); margin-top: 5px; }

.feed { flex: 1; overflow: hidden; padding: 4px 14px 0; }
.feed .day { font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .1em; padding: 8px 6px 5px; }
.bet-row { display: flex; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 12px; }
.bet-row + .bet-row { border-top: 1px solid #efeadd; }
.bet-row .sport { width: 34px; height: 34px; border-radius: 10px; background: var(--paper-2); display: grid; place-items: center; font-size: 16px; flex: none; }
.bet-row .meta { flex: 1; min-width: 0; }
.bet-row .meta b { font-size: 14.5px; display: block; letter-spacing: -.01em; }
.bet-row .meta span { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); }
.bet-row .res { font-family: var(--mono); font-weight: 700; font-size: 13px; text-align: right; flex: none; }
.bet-row .res.won { color: var(--accent-deep); }
.bet-row .res.lost { color: var(--brick); }
.bet-row .res small { display: block; font-size: 9.5px; color: var(--ink-faint); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }

.tabbar { display: flex; justify-content: space-around; padding: 12px 10px 20px; border-top: 1px solid #efeadd; background: #fff; }
.tabbar .tab { width: 24px; height: 24px; border-radius: 7px; }
.tabbar .tab.on { background: var(--accent); }
.tabbar .tab.off { background: #d9d3c4; }

/* ---------------- STAT STRIP ---------------- */
.statstrip {
  position: relative; z-index: 2;
  margin-top: clamp(32px, 4vw, 56px);
  margin-inline: clamp(10px, 1.6vw, 24px);
}
.statstrip-visual {
  width: 100%;
  height: auto;
  margin: 0;
  line-height: 0;
  aspect-ratio: 2000 / 667;
  border-radius: 16px;
  overflow: hidden;
}
.statstrip-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2000 / 667;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}
@media (max-width: 560px){
  .statstrip { margin-inline: 8px; }
}

/* ---------------- SECTION HEADER ---------------- */
.sec-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 16px; }
.sec-head p { color: var(--ink-soft); font-size: clamp(16px, 1.4vw, 19px); margin-top: 16px; max-width: 52ch; }
.sec-head.center p { margin-inline: auto; }

/* ---------------- FEATURES ---------------- */
.features {
  background: var(--paper-2);
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(10px, 1.6vw, 24px);
  margin-block: clamp(8px, 1.2vw, 16px);
}
@media (min-width: 1001px) {
  .features-saas + .statstrip { margin-top: 72px; }
}
.statstrip + .showcase.section { padding-top: clamp(32px, 4.5vw, 52px); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px){ .feat-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 620px){ .feat-grid { grid-template-columns: 1fr; gap: 14px; } }
.feat {
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 18px;
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feat .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--accent-wash); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 20px; }
.feat .ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 22px; margin-bottom: 9px; }
.feat p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.feat .num { position: absolute; top: 18px; right: 22px; font-family: var(--mono); font-size: 13px; color: var(--ink-faint); }
.feat.wide { grid-column: span 2; }
@media (max-width: 900px){
  .feat { padding: clamp(20px, 3vw, 28px); }
  .feat .ic { width: 44px; height: 44px; margin-bottom: 16px; }
  .feat .ic svg { width: 23px; height: 23px; }
  .feat h3 { font-size: clamp(19px, 2.4vw, 22px); }
  .feat p { font-size: clamp(14px, 1.8vw, 15.5px); }
}
@media (max-width: 620px){
  .feat.wide { grid-column: span 1; }
  .features { margin-inline: 8px; border-radius: 16px; }
  .feat { padding: clamp(18px, 4.5vw, 24px); border-radius: 14px; }
  .feat .ic { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; }
  .feat .ic svg { width: 20px; height: 20px; }
  .feat h3 { font-size: clamp(17px, 4.5vw, 20px); margin-bottom: 6px; }
  .feat p { font-size: clamp(13.5px, 3.5vw, 15px); line-height: 1.5; }
  .feat .num { top: 14px; right: 14px; font-size: 11px; }
}

/* ---------------- SHOWCASE (sticky) ---------------- */
.showcase { position: relative; }
.showcase > .wrap > .sec-head { margin-bottom: clamp(24px, 3.5vw, 40px); }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px){ .show-grid { grid-template-columns: 1fr; } }
.show-sticky { position: sticky; top: 100px; display: grid; place-items: start; align-self: start; }
@media (max-width: 900px){
  .show-sticky {
    position: static;
    margin-bottom: 20px;
    place-items: center;
    justify-items: center;
    width: 100%;
  }
  .show-sticky .show-visual {
    width: min(460px, 100%);
    margin-inline: auto;
  }
  .anim-on .show-sticky .reveal.r-rot { transform: translateY(34px); }
  .anim-on .show-sticky .reveal.r-rot.in { transform: none; }
  .show-steps { align-items: center; text-align: center; }
  .show-step p { margin-inline: auto; }
}
.show-steps { display: flex; flex-direction: column; gap: clamp(28px, 5vh, 52px); padding-block: 0; }
.show-step { opacity: .4; transition: opacity .4s ease; }
.show-step.active { opacity: 1; }
.show-step .k {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent-deep);
}
.show-step h3 { font-size: clamp(26px, 3vw, 38px); margin: 10px 0 12px; }
.show-step p { color: var(--ink-soft); font-size: 17px; max-width: 42ch; }

/* product visual used in showcase */
.show-visual {
  width: min(540px, 100%);
  height: auto;
  margin: 0;
  line-height: 0;
  background: transparent;
  aspect-ratio: 1313 / 1198;
  justify-self: start;
  align-self: start;
  border-radius: 16px;
  overflow: hidden;
}
.show-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1313 / 1198;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

/* ---------------- PRICING ---------------- */
.pricing {
  background: var(--paper-2);
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(10px, 1.6vw, 24px);
  margin-block: clamp(16px, 2.5vw, 36px);
}
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px){ .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan {
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 20px;
  padding: 30px; display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: var(--dark); color: #efe9dd; border-color: var(--dark-edge); box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan.featured .price .per, .plan.featured .desc { color: #b3a994; }
.plan.featured li { color: #d9d0bf; }
.plan .ribbon {
  position: absolute; top: -14px; right: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 6px 12px; border-radius: 8px; box-shadow: var(--shadow-sm);
  transform: rotate(2deg);
}
.plan h3 { font-size: 21px; }
.plan .desc { font-size: 14px; color: var(--ink-soft); margin-top: 6px; min-height: 40px; }
.plan .price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font-family: var(--mono); font-size: 44px; font-weight: 700; letter-spacing: -.03em; }
.plan .price .per { font-size: 14px; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 11px; }
.plan li { font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent); }
.plan.featured li svg { color: var(--accent); }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }
.price-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; }
@media (max-width: 760px){ .price-grid.two { grid-template-columns: 1fr; max-width: 460px; } }
.glance-list { max-width: 860px; margin: 0 auto; background: var(--card); border: 1px solid var(--card-edge); border-radius: 20px; padding: 6px 28px; box-shadow: var(--shadow-sm); }
.glance-row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--card-edge); }
.glance-row:last-child { border-bottom: 0; }
.glance-row dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.glance-row dd { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 600px){ .glance-row { grid-template-columns: 1fr; gap: 4px; } .glance-list { padding: 4px 18px; } }
.glance-pricing-h { text-align: center; font-size: clamp(24px, 3vw, 32px); margin: clamp(40px, 6vw, 64px) 0 28px; }
.glance-note { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 22px; }
.plan.featured .btn-ghost { color: #fff; border-color: #4b4034; }
.plan.featured .btn-ghost:hover { border-color: #fff; }

/* ---------------- TESTIMONIALS ---------------- */
.quotes { position: relative; }
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 900px){ .quote-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .quote-grid { grid-template-columns: 1fr; } }
.note {
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 6px;
  padding: 26px 24px 22px; box-shadow: var(--shadow); position: relative;
}
.note:nth-child(3n+1){ transform: rotate(-1.4deg); }
.note:nth-child(3n+2){ transform: rotate(.8deg); }
.note:nth-child(3n+3){ transform: rotate(-.6deg); }
.note::before { /* pin */
  content:""; position:absolute; top:-9px; left:50%; transform:translateX(-50%);
  width:16px; height:16px; border-radius:50%;
  background: radial-gradient(circle at 35% 30%, color-mix(in oklab,var(--accent) 60%,#fff), var(--accent-deep));
  box-shadow: 0 2px 4px rgba(34,29,23,.35);
}
.note .stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.note p { font-size: 16px; line-height: 1.5; }
.note .who { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.note .who .av { width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ink-soft); flex: none; }
.note .who b { font-size: 14.5px; }
.note .who span { font-size: 12.5px; color: var(--ink-soft); display: block; font-family: var(--mono); }

/* ---------------- FAQ ---------------- */
.faq-grid { max-width: 780px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 4px; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-family: var(--display); font-weight: 600; font-size: clamp(18px,2vw,22px); color: var(--ink);
}
.qa .pm { width: 26px; height: 26px; flex: none; position: relative; }
.qa .pm::before, .qa .pm::after { content:""; position:absolute; background: var(--accent-deep); border-radius:2px; transition: transform .25s ease; }
.qa .pm::before { left: 4px; right: 4px; top: 11.5px; height: 3px; }
.qa .pm::after { top: 4px; bottom: 4px; left: 11.5px; width: 3px; }
.qa[aria-expanded="true"] .pm::after { transform: rotate(90deg); opacity: 0; }
.qa .ans { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.qa .ans p { color: var(--ink-soft); font-size: 16px; padding: 0 4px 24px; max-width: 64ch; }

/* ---------------- BLOG ---------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .blog-grid { grid-template-columns: 1fr; } }
.post { background: var(--card); border: 1px solid var(--card-edge); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post .thumb {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 13px, color-mix(in oklab,var(--ink) 5%, transparent) 13px 14px);
}
.post .thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.post .thumb:not(:has(img)) {
  display: grid;
  place-items: center;
}
.post .thumb .ph {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  border: 1px dashed var(--line);
  padding: 5px 10px;
  border-radius: 6px;
  background: color-mix(in oklab, var(--card) 70%, transparent);
}
.post .body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.post .cat { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.post h3 { font-size: 19px; margin: 9px 0 8px; line-height: 1.15; }
.post p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }
.post .meta { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-faint); display: flex; gap: 12px; }
.blog-more { margin-top: clamp(24px, 3vw, 36px); text-align: center; }
.blog-all-btn {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  gap: 10px;
}
.blog-all-btn svg { width: 18px; height: 18px; flex: none; }

/* ---------------- FINAL CTA ---------------- */
.cta-band {
  background: var(--dark); color: #efe9dd; position: relative; overflow: hidden; z-index: 2;
  border-radius: clamp(20px, 3vw, 40px);
  margin-inline: clamp(10px, 1.6vw, 24px);
  margin-bottom: clamp(8px, 1.2vw, 16px);
}
.cta-band .inner { text-align: center; position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(30px, 8vw, 76px); color: #fff; max-width: 16ch; margin-inline: auto; }
.cta-band h2 .hand { color: var(--accent); }
.cta-band p { color: #c4baa6; font-size: clamp(15px, 3.8vw, 19px); margin: 20px auto 0; max-width: 44ch; }
.cta-band .logo-c { height: 40px; margin: 0 auto 30px; display: block; width: auto; }
.cta-band .stores { justify-content: center; margin-top: 34px; }
.cta-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab,var(--accent) 40%, transparent), transparent 65%); filter: blur(20px); opacity: .35; top: -250px; left: 50%; transform: translateX(-50%); z-index: 1; }

/* ---------------- FOOTER ---------------- */
.footer { background: var(--dark-2); color: #b3a994; position: relative; z-index: 2; padding-block: 60px 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; } }
.footer .logo-c { height: 30px; width: auto; margin-bottom: 16px; }
.footer .blurb { font-size: 14px; max-width: 30ch; line-height: 1.6; }
.footer h5 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #6f6557; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer a { font-size: 14.5px; color: #b3a994; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.foot-bot { border-top: 1px solid #34291f; margin-top: 44px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; font-family: var(--mono); color: #6f6557; }

/* ---------------- reveal animation ----------------
   Base state is VISIBLE. The hidden-then-reveal animation only applies
   while <html class="anim-on"> is present, which JS adds when it confirms
   CSS transitions actually run (and removes in frozen/reduced contexts).
   This guarantees content is never stuck invisible. */
.reveal { opacity: 1; transform: none; }
.anim-on .reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.anim-on .reveal.r-rot { transform: translateY(34px) rotate(-2deg); }
.anim-on .reveal.in { opacity: 1; transform: none; }
.anim-on .reveal[data-d="1"]{ transition-delay: .08s; }
.anim-on .reveal[data-d="2"]{ transition-delay: .16s; }
.anim-on .reveal[data-d="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .anim-on .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------------- whole-section fade (opacity only; safe with sticky children) ---------------- */
.anim-on .fade-sec { opacity: 0; transition: opacity .9s ease; }
.anim-on .fade-sec.in { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .anim-on .fade-sec { opacity: 1 !important; transition: none; } }

/* ---------------- PARTNERS ---------------- */
.partners .sec-head { margin-bottom: 24px; }
.partner-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px 40px; }
.partner { display: flex; align-items: center; gap: 14px; }
.partner img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.partner b { font-family: var(--display); font-size: 20px; }
.partner-socials { display: flex; gap: 4px; margin-left: 4px; }
.partner-socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-soft); transition: color .2s, background .2s; }
.partner-socials a:hover { color: var(--accent-deep); background: var(--accent-wash); }
.partner-socials svg { width: 18px; height: 18px; }

/* blog.css */
/* ============================================================
   Bet Journal — blog (The Betting School)
   index + category + article styles. Loads after styles.css + sections.css
   ============================================================ */

/* Match the homepage's clean paper background. The homepage hides the grain
   overlay behind opaque section panels; the blog's sections are transparent,
   so the grain tints the page greige. Soften it here so the blog reads as the
   same #fffcf2 cream as the home hero. */
body::before { opacity: .08 !important; }

/* ---- blog page header ---- */
.blog-top { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 78px) clamp(28px, 4vw, 44px); }
.blog-top .kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 10px; }
.blog-top .kicker::before { content:""; width: 26px; height: 2px; background: var(--accent); }
.blog-top h1 { font-size: clamp(40px, 6.5vw, 78px); letter-spacing: -.035em; margin-top: 18px; max-width: 16ch; }
.blog-top h1 .hand { color: var(--accent-deep); font-family: var(--hand); font-weight: 400; font-size: inherit; transform: none; line-height: inherit; display: inline; }
.blog-top p { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 20px); margin-top: 18px; max-width: 56ch; }
.blog-top .crumb { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.blog-top .crumb a { color: var(--ink-soft); }
.blog-top .crumb a:hover { color: var(--accent-deep); }

/* ---- striped cover placeholder ---- */
.cover {
  position: relative; border-radius: 16px; overflow: hidden;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, transparent 0 15px, color-mix(in oklab,var(--ink) 5%, transparent) 15px 16px);
  display: grid; place-items: center; border: 1px solid var(--card-edge);
}
.cover .ph { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); border: 1px dashed var(--line); padding: 6px 12px; border-radius: 6px; background: color-mix(in oklab, var(--card) 70%, transparent); }
.cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .catflag { z-index: 2; }
.post .thumb { position: relative; }
.post .thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .catflag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background: var(--card); color: var(--accent-deep); padding: 6px 11px; border-radius: 7px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--card-edge);
}

/* ============================================================
   INDEX — featured + side list, then feed
   ============================================================ */
.feature-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 30px; align-items: stretch; }
@media (max-width: 880px){ .feature-row { grid-template-columns: 1fr; } }

.featured {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured .cover { border: 0; border-radius: 0; aspect-ratio: 3/2; }
.featured .fb { padding: 26px 28px 30px; }
.featured .tagline { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.featured h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; margin: 12px 0 12px; }
.featured p { color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.featured .meta { margin-top: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); display: flex; gap: 14px; }

.side-list { display: flex; flex-direction: column; gap: 16px; }
.side-item {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--card-edge); border-radius: 14px;
  padding: 12px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  flex: 1;
}
.side-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.side-item .cover { width: 96px; height: 120px; border-radius: 10px; flex-shrink: 0; }
.side-item .cover .ph { display: none; }
.side-item .cover > img { border-radius: 10px; }
@media (max-width: 520px) {
  .side-item { grid-template-columns: 72px 1fr; gap: 12px; padding: 10px; }
  .side-item .cover { width: 72px; height: 90px; }
  .side-item h3 { font-size: 15px; }
}
.side-item .cat { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.side-item h3 { font-size: 16.5px; line-height: 1.18; margin: 6px 0 6px; letter-spacing: -.01em; }
.side-item .meta { font-family: var(--mono); font-size: 11.5px; color: var(--ink-faint); }

/* feed divider heading */
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin: clamp(48px,7vw,80px) 0 26px; gap: 16px; flex-wrap: wrap; }
.feed-head h2 { font-size: clamp(26px, 3.4vw, 40px); }
.feed-head .count { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); }

/* the all-articles grid reuses .blog-grid/.post from sections.css */
.blog .post .thumb, .post .thumb { } /* inherit */

/* ============================================================
   ARTICLE
   ============================================================ */
.article {
  position: relative;
  z-index: 2;
  padding-inline: var(--gut);
  box-sizing: border-box;
}
.article-head {
  max-width: 780px;
  margin-inline: auto;
  padding-block: clamp(36px,5vw,64px) clamp(20px,3vw,32px);
  padding-inline: 0;
  width: 100%;
  box-sizing: border-box;
}
.article-head.wrap {
  padding-inline: var(--gut);
}
.article-head .crumb { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; margin-bottom: 22px; }
.article-head .crumb a:hover { color: var(--accent-deep); }
.article-head .cat-pill { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); text-decoration: none; }
a.cat-pill:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-head .crumb a:hover { color: var(--accent-deep); }
.article-head h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; line-height: 1.04; margin: 14px 0 0; text-wrap: balance; }
.article-head .standfirst { font-size: clamp(18px, 2vw, 23px); color: var(--ink-soft); line-height: 1.5; margin-top: 20px; }
.article-head .byline { display: flex; align-items: center; gap: 18px; margin-top: 26px; font-family: var(--mono); font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.article-head .byline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

.article-cover { max-width: 760px; margin: 8px auto clamp(34px,5vw,56px); width: 100%; }
.article-cover.wrap { padding-inline: 0; }
.article-cover .cover { aspect-ratio: 3/2; border-radius: 18px; }

/* reading column */
.prose { max-width: 720px; margin-inline: auto; padding-inline: 0; width: 100%; }
.prose > * + * { margin-top: 1.35em; }
.prose p { font-size: 19px; line-height: 1.72; color: #33291f; }
.prose p .lead { font-size: 21px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin-top: 1.9em; }
.prose h3 { font-size: clamp(20px, 2.2vw, 24px); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.prose ul li, .prose ol li { font-size: 18px; line-height: 1.6; color: #33291f; padding-left: 38px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 8px; top: 11px; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-wash); color: var(--accent-dark); font-family: var(--mono); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.prose li b { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a.store-btn { text-decoration: none; color: var(--accent-deep); }
.prose .stores.on-dark a.store-btn.web { color: #fff; }

.prose blockquote.pull {
  margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--accent);
  font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.25; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty;
}
.prose blockquote.pull cite { display: block; margin-top: 12px; font-family: var(--mono); font-weight: 400; font-size: 13px; font-style: normal; color: var(--ink-soft); letter-spacing: .04em; }

.prose figure { margin: 1.9em 0; }
.prose figure .cover { aspect-ratio: 16/9; }
.prose figure figcaption { font-family: var(--mono); font-size: 12.5px; color: var(--ink-faint); margin-top: 10px; text-align: center; }

/* a hand-note aside */
.prose .scribble-note { font-family: var(--hand); color: var(--accent-deep); font-size: 24px; transform: rotate(-2deg); display: block; margin: 1.4em 0; }

/* share bar */
.share { display: flex; align-items: center; gap: 12px; max-width: 720px; width: 100%; margin: clamp(36px,5vw,56px) auto 0; padding-inline: 0; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; box-sizing: border-box; }
.share .lab { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-right: 4px; flex: 0 0 auto; }
.share a:not(.back-link) {
  width: 42px; height: 42px; border-radius: 11px; border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--ink); transition: all .18s ease; background: var(--card);
  flex: 0 0 auto;
}
.share a:not(.back-link):hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.share a svg { width: 18px; height: 18px; }
.share .copy { margin-left: auto; font-family: var(--sans); font-size: 14px; width: auto; min-width: 0; padding: 0 16px; gap: 8px; display: inline-flex; align-items: center; height: 42px; flex: 0 1 auto; }
.share .copy.icon-only {
  width: 42px;
  padding: 0;
  justify-content: center;
  flex: 0 0 42px;
}
.share .copy.icon-only svg { width: 18px; height: 18px; }
.share .back-link {
  margin-left: 12px;
  flex: 0 0 auto;
  white-space: nowrap;
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
}

@media (max-width: 640px) {
  .share { gap: 10px; row-gap: 14px; }
  .share .copy { margin-left: 0; flex: 1 1 auto; justify-content: center; }
  .share .copy.icon-only { flex: 0 0 42px; margin-left: auto; }
  .share .back-link {
    margin-left: 0 !important;
    flex: 1 1 100%;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    justify-content: flex-start;
  }
}

/* end-of-article CTA */
.read-cta { max-width: 720px; margin: clamp(40px,5vw,60px) auto 0; background: var(--dark); color: #efe9dd; border-radius: 20px; padding: clamp(28px,4vw,40px); position: relative; overflow: hidden; }
.read-cta h3 { color: #fff; font-size: clamp(24px,3vw,32px); max-width: 18ch; }
.read-cta h3 .hand { color: var(--accent); font-size: inherit; display: inline; transform: none; line-height: inherit; }
.read-cta h3 .hand { color: var(--accent); }
.read-cta p { color: #c4baa6; margin-top: 12px; font-size: 16px; max-width: 46ch; }
.read-cta .stores { margin-top: 22px; }

.back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--accent-deep); }
.back-link:hover { color: var(--accent-deep); transform: none; }
.back-link svg { width: 16px; height: 16px; transform: rotate(180deg); }

/* Comparison tables in articles */
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.prose table.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; color: #33291f; }
.prose table.compare th { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: var(--accent-wash); padding: 12px 14px; }
.prose table.compare td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.prose table.compare td:first-child { white-space: nowrap; color: var(--ink); }

/* Screenshot figures in articles */
.prose figure.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.9em 0; }
.prose figure.shots figcaption { grid-column: 1 / -1; }
.prose figure.shots img, .prose figure.wide img { width: 100%; height: auto; display: block; border-radius: 16px; }

/* "Updated" note at the top of refreshed articles */
.prose .update-note { font-size: 16px; padding: 12px 16px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--card); }

/* Answer-first verdict box at the top of comparison articles */
.prose .verdict { background: var(--paper-2); border: 1px solid var(--card-edge); border-left: 4px solid var(--accent); border-radius: 14px; padding: 18px 22px; margin: 0 0 28px; }
.prose .verdict p { margin: 0; }
.prose .verdict .verdict-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
