/* =============================================================================
   SQUADRA — PUBLIC MARKETING SITE
   Layout + components for the pre-login pages (frontend/base_public.html).
   Builds on squadra-design-system.css tokens (Ink & Volt, DM Sans) and the
   brand-book devices: dot grid, volt dot, pill, court frame, glass panel.
   Public pages never load club_branding.html, so tokens = Squadra palette.
   ============================================================================= */

:root {
  --pub-max: 1180px;
  --pub-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pub-volt: #f8fd57;
  --pub-ink: #101518;
  --pub-ink-950: #0a0d0f;
  --pub-ink-800: #1a2126;
  --pub-steel: #8a959c;
  --pub-steel-light: #b5bec4;
  --pub-muted: #545d64; /* ≥ 5.5:1 on #f1f1f1 and white (AA for small text) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body.pub {
  margin: 0;
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--pub-ink);
  background: var(--sq-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.pub img { max-width: 100%; height: auto; }
.pub a { color: inherit; }
.pub-container { width: 100%; max-width: var(--pub-max); margin: 0 auto; padding: 0 20px; }
.pub-skip { position: absolute; left: -9999px; top: 0; background: var(--pub-volt); color: var(--pub-ink); padding: 10px 16px; z-index: 2000; font-weight: 700; }
.pub-skip:focus { left: 12px; top: 12px; }

/* ---------- Devices ---------- */
.dot-grid {
  background-image: radial-gradient(rgba(16,21,24,0.10) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
}
.dot-grid--dark { background-image: radial-gradient(rgba(255,255,255,0.07) 1.4px, transparent 1.4px); background-size: 28px 28px; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem;
}
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--pub-volt); box-shadow: 0 0 0 3px rgba(16,21,24,.08); }
.on-dark .kicker { color: rgba(255,255,255,.9); }
.on-dark .kicker::before { box-shadow: none; }
.volt-word { position: relative; white-space: nowrap; }
.volt-word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em;
  background: var(--pub-volt); z-index: -1; border-radius: 2px;
  transform-origin: left; animation: swipe .7s var(--pub-ease) .25s both;
}
.on-dark .volt-word { color: var(--pub-volt); }
.on-dark .volt-word::after { opacity: .9; height: .1em; bottom: -.04em; }
@keyframes swipe { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.court-frame { position: relative; }
.court-frame::after { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(255,255,255,.55); border-radius: 18px; pointer-events: none; }

/* ---------- Buttons ---------- */
.pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 700 1rem/1 'DM Sans', Arial, sans-serif; text-decoration: none; cursor: pointer;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .25s var(--pub-ease), box-shadow .25s var(--pub-ease), background .2s, color .2s, border-color .2s;
  min-height: 48px; /* touch target */
}
.pbtn:hover { transform: translateY(-2px); }
.pbtn:focus-visible { outline: 3px solid var(--pub-ink); outline-offset: 3px; }
.on-dark .pbtn:focus-visible { outline-color: var(--pub-volt); }
.pbtn--volt { background: var(--pub-volt); color: var(--pub-ink) !important; box-shadow: 0 6px 20px rgba(248,253,87,.25); }
.pbtn--volt:hover { background: #e6f245; box-shadow: 0 10px 28px rgba(248,253,87,.35); }
.pbtn--ink { background: var(--pub-ink); color: #fff !important; }
.pbtn--ink:hover { background: var(--pub-ink-800); color: var(--pub-volt) !important; }
.pbtn--ghost { border-color: rgba(16,21,24,.25); color: var(--pub-ink) !important; background: transparent; }
.pbtn--ghost:hover { border-color: var(--pub-ink); }
.on-dark .pbtn--ghost { border-color: rgba(255,255,255,.4); color: #fff !important; }
.on-dark .pbtn--ghost:hover { border-color: var(--pub-volt); color: var(--pub-volt) !important; }
.pbtn--wa i { font-size: 1.2rem; }
.pbtn--lg { padding: 1.1rem 2rem; font-size: 1.08rem; }
.pbtn--block { width: 100%; }
.micro { font-size: .88rem; color: var(--pub-muted); margin-top: .8rem; }
.on-dark .micro { color: var(--pub-steel-light); }
.micro i { color: #1c7c52; margin-right: .25rem; }
.on-dark .micro i { color: var(--pub-volt); }

/* ---------- Header ---------- */
.pub-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(241,241,241,.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(16,21,24,.08);
}
.pub-header__bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.pub-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--pub-ink) !important; }
.pub-logo img { height: 34px; width: auto; }
.pub-logo span { font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; }
.pub-nav { display: flex; align-items: center; gap: .25rem; }
.pub-nav > a, .pub-nav details > summary {
  font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--pub-ink);
  padding: .55rem .8rem; border-radius: 999px; cursor: pointer; list-style: none;
}
.pub-nav details > summary::-webkit-details-marker { display: none; }
.pub-nav > a:hover, .pub-nav details > summary:hover, .pub-nav a[aria-current="page"] { background: rgba(16,21,24,.06); }
.pub-nav details { position: relative; }
.pub-nav details > summary i { font-size: .7rem; margin-left: .3rem; transition: transform .2s; }
.pub-nav details[open] > summary i { transform: rotate(180deg); }
.pub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(16,21,24,.16);
  padding: .6rem; min-width: 320px; display: grid; gap: 2px;
}
.pub-menu a { display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; border-radius: 12px; text-decoration: none; font-weight: 500; }
.pub-menu a:hover { background: var(--sq-bg); }
.pub-menu a i { width: 34px; height: 34px; border-radius: 10px; background: var(--pub-ink); color: var(--pub-volt); display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; }
.pub-header__cta { display: flex; align-items: center; gap: .5rem; }
.pub-header__cta .pbtn { white-space: nowrap; padding: 0 1.2rem; min-height: 0; height: 42px; align-self: center; font-size: .95rem; }
.pub-login { font-weight: 600; text-decoration: none; padding: .55rem .8rem; }
.pub-burger { display: none; background: none; border: 0; font-size: 1.4rem; padding: .5rem; cursor: pointer; color: var(--pub-ink); }
.pub-lang select { border: 1px solid rgba(16,21,24,.15); border-radius: 999px; background: transparent; font: 500 .85rem 'DM Sans', sans-serif; padding: .35rem .6rem; }

@media (max-width: 991px) {
  .pub-burger { display: inline-flex; }
  .pub-nav {
    position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 20px 1.5rem; gap: .2rem; box-shadow: 0 20px 40px rgba(0,0,0,.12);
    max-height: calc(100vh - 68px); overflow-y: auto;
    display: none;
  }
  .pub-nav.is-open { display: flex; }
  .pub-nav > a, .pub-nav details > summary { padding: .85rem .6rem; font-size: 1.05rem; }
  .pub-menu { position: static; transform: none; box-shadow: none; min-width: 0; padding: 0 0 0 .4rem; }
  .pub-header__cta .pub-login, .pub-header__cta .pub-lang { display: none; }
  .pub-nav .pub-nav__mobile-extra { display: flex !important; }
}
.pub-nav__mobile-extra { display: none !important; flex-direction: column; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--sq-border); margin-top: .6rem; }

/* ---------- Sections ---------- */
.sec { padding: 88px 0; position: relative; }
.sec--tight { padding: 56px 0; }
.sec--dark { background: var(--pub-ink-950); color: #fff; }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4 { color: #fff; }
.sec--ink { background: var(--pub-ink); color: #fff; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--white { background: #fff; }
.sec--volt { background: var(--pub-volt); color: var(--pub-ink); }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec-head--left { margin-left: 0; text-align: left; }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: .7rem 0 .9rem; }
.sec-sub { font-size: 1.13rem; line-height: 1.55; color: var(--pub-muted); margin: 0; }
.sec--dark .sec-sub, .sec--ink .sec-sub { color: var(--pub-steel-light); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero--dark { background: var(--pub-ink-950); color: #fff; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: .5; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,13,15,.97) 18%, rgba(10,13,15,.7) 55%, rgba(10,13,15,.35) 100%); }
.hero__inner { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__inner--single { grid-template-columns: 1fr; max-width: 820px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; margin: 1.1rem 0 1.2rem; color: inherit; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.55; max-width: 36rem; margin: 0 0 1.6rem; }
.hero--dark .hero__lead { color: #d3d9dd; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; padding: .45rem 1rem; font-weight: 500; font-size: .93rem; background: rgba(16,21,24,.05); border: 1px solid rgba(16,21,24,.1); }
.on-dark .chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
.chip i { color: #1c7c52; }
.on-dark .chip i { color: var(--pub-volt); }

/* Device frames (real product UI only — BRAND_BOOK §3.5) */
.device-laptop { background: #1b2025; border-radius: 16px 16px 6px 6px; padding: 10px 10px 0; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.device-laptop__screen { border-radius: 8px 8px 0 0; overflow: hidden; background: #fff; aspect-ratio: 16/10; }
.device-laptop__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.device-laptop__base { height: 14px; background: linear-gradient(#2b3238, #14181c); border-radius: 0 0 14px 14px; margin: 0 -22px; }
.device-phone { width: 230px; border-radius: 34px; background: #0e1114; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.device-phone__screen { border-radius: 26px; overflow: hidden; aspect-ratio: 390/800; background: #fff; }
.device-phone__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-devices { position: relative; padding-bottom: 30px; }
.hero-devices .device-phone { position: absolute; right: -10px; bottom: -10px; width: 170px; }
.shot { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(16,21,24,.18); border: 1px solid rgba(16,21,24,.08); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }

@media (max-width: 991px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero-devices { max-width: 560px; }
  .hero-devices .device-phone { width: 120px; right: 0; padding: 6px; border-radius: 22px; }
  .hero-devices .device-phone__screen { border-radius: 17px; }
}

/* ---------- Proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 20px; overflow: hidden; }
.proof > div { background: var(--pub-ink-800); padding: 26px 22px; }
.proof strong { display: block; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; color: var(--pub-volt); font-variant-numeric: tabular-nums; }
.proof span { color: var(--pub-steel-light); font-size: .95rem; }
@media (max-width: 767px) { .proof { grid-template-columns: 1fr 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card-p { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--sq-shadow); height: 100%; border: 1px solid rgba(16,21,24,.05); }
.card-p h3 { font-size: 1.22rem; font-weight: 700; margin: 0 0 .5rem; }
.card-p p { color: var(--pub-muted); margin: 0; line-height: 1.55; }
.card-p--dark { background: var(--pub-ink-800); border-color: rgba(255,255,255,.07); box-shadow: none; }
.card-p--dark p { color: var(--pub-steel-light); }
.card-link { text-decoration: none; display: block; transition: transform .3s var(--pub-ease), box-shadow .3s var(--pub-ease); }
.card-link:hover { transform: translateY(-4px); box-shadow: var(--sq-shadow-hover); }
.card-link .more { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; font-weight: 700; font-size: .95rem; }
.icon-tile { width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.1rem; background: var(--pub-ink); color: var(--pub-volt); }
.card-p--dark .icon-tile, .icon-tile--volt { background: var(--pub-volt); color: var(--pub-ink); }
.pain-card blockquote { font-size: 1.05rem; font-style: italic; margin: 0 0 1rem; color: var(--pub-ink); font-weight: 500; }

/* ---------- Feature rows (alternating screenshot / copy) ---------- */
.frow { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.frow + .frow { margin-top: 96px; }
.frow--rev .frow__media { order: -1; }
.frow h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: .7rem 0 1rem; }
.frow p { font-size: 1.08rem; line-height: 1.6; color: var(--pub-muted); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.45; }
.ticks li::before { content: ""; flex: 0 0 18px; height: 18px; border-radius: 50%; background: var(--pub-volt); margin-top: 3px; box-shadow: inset 0 0 0 5px var(--pub-ink); }
.sec--dark .ticks li::before, .sec--ink .ticks li::before { box-shadow: inset 0 0 0 5px var(--pub-ink-950); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--pub-volt); padding-bottom: 2px; }
.text-link:hover { border-color: var(--pub-ink); }
.on-dark .text-link { color: #fff; }
@media (max-width: 991px) { .frow { grid-template-columns: 1fr; gap: 28px; } .frow--rev .frow__media { order: 0; } .frow + .frow { margin-top: 64px; } }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sq-shadow); }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid #eef0f1; vertical-align: top; }
.compare thead th { background: var(--pub-ink); color: #fff; font-size: 1rem; }
.compare thead th.is-us { background: var(--pub-volt); color: var(--pub-ink); }
.compare td.is-us { background: rgba(248,253,87,.16); font-weight: 600; }
.compare tr:last-child td { border-bottom: 0; }
.compare i.fa-check { color: #1c7c52; } .compare i.fa-xmark { color: #be3826; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 22px; }
.table-scroll .compare { min-width: 620px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  /* Swipeable plans on phones: shorter page, all four tiers one swipe away */
  .plans { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 20px 12px; margin: 0 -20px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
  .plan { scroll-snap-align: start; }
  .pub-header__cta .pbtn { padding: 0 .9rem; font-size: .88rem; height: 38px; }
  .pub-logo span { font-size: 1.2rem; }
}
.plan { background: #fff; border-radius: 22px; padding: 28px 24px; display: flex; flex-direction: column; border: 2px solid transparent; box-shadow: var(--sq-shadow); position: relative; color: var(--pub-ink); }
.plan--featured { border-color: var(--pub-ink); box-shadow: 0 24px 60px rgba(16,21,24,.18); }
.plan__badge { position: absolute; top: -13px; left: 24px; background: var(--pub-volt); color: var(--pub-ink); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; border: 2px solid var(--pub-ink); }
.plan h3 { font-size: 1.15rem; margin: 0 0 .3rem; }
.plan__for { color: var(--pub-muted); font-size: .92rem; margin: 0 0 1.2rem; min-height: 2.6em; }
.plan__price { font-size: 2.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: .2rem; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: .95rem; font-weight: 500; color: var(--pub-muted); letter-spacing: 0; }
.plan__note { font-size: .85rem; color: var(--pub-muted); margin-bottom: 1.2rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; flex-grow: 1; font-size: .96rem; }
.plan ul li { display: flex; gap: .55rem; }
.plan ul li i { color: #1c7c52; margin-top: 4px; font-size: .85rem; }
.plan ul li strong { font-variant-numeric: tabular-nums; }
.plans-foot { text-align: center; margin-top: 28px; color: var(--pub-muted); }

/* ---------- Calculator ---------- */
.calc { background: var(--pub-ink); color: #fff; border-radius: 26px; padding: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.calc label { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .96rem; }
.calc .field { margin-bottom: 1.3rem; }
.calc .field-row { display: flex; align-items: center; gap: .9rem; }
.calc input[type=range] { flex: 1; accent-color: var(--pub-volt); height: 28px; }
.calc output { min-width: 5.5ch; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--pub-volt); }
.calc__result { background: var(--pub-ink-800); border-radius: 20px; padding: 28px; }
.calc__big { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--pub-volt); letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; margin: .4rem 0 .6rem; }
.calc__result p { color: var(--pub-steel-light); margin: 0 0 1.2rem; }
.calc__compare { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; margin-top: 1rem; font-size: .95rem; color: #d3d9dd; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; padding: 26px 20px; } }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--sq-shadow); position: relative; }
.steps li::before { content: counter(s); display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--pub-volt); color: var(--pub-ink); font-weight: 700; font-size: 1.2rem; align-items: center; justify-content: center; margin-bottom: 1rem; border: 2px solid var(--pub-ink); }
.steps h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.steps p { margin: 0; color: var(--pub-muted); }
.sec--dark .steps li { background: var(--pub-ink-800); box-shadow: none; }
.sec--dark .steps p { color: var(--pub-steel-light); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 18px; box-shadow: var(--sq-shadow); border: 1px solid rgba(16,21,24,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--sq-bg); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: transform .25s var(--pub-ease), background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--pub-volt); }
.faq summary:focus-visible { outline: 3px solid var(--pub-ink); outline-offset: 2px; border-radius: 18px; }
.faq .faq__a { padding: 0 24px 22px; color: #3c464d; line-height: 1.6; }
.faq .faq__a p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pub-ink-950); color: #fff; border-radius: 30px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.02em; line-height: 1.05; margin: .8rem auto 1rem; max-width: 760px; }
.cta-band p { color: var(--pub-steel-light); font-size: 1.12rem; max-width: 600px; margin: 0 auto 1.8rem; }
.cta-band .hero__ctas { justify-content: center; }
.cta-band__mark { position: absolute; right: -60px; bottom: -80px; width: 340px; opacity: .06; filter: invert(1); pointer-events: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .88rem; margin: 0 0 1rem; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--pub-muted); }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.on-dark .crumbs { color: var(--pub-steel-light); }

/* ---------- Blog ---------- */
.post-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--sq-shadow); text-decoration: none; display: flex; flex-direction: column; height: 100%; transition: transform .3s var(--pub-ease), box-shadow .3s var(--pub-ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sq-shadow-hover); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; display: block; }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.2rem; line-height: 1.25; margin: .4rem 0 .6rem; }
.post-card p { color: var(--pub-muted); margin: 0; font-size: .97rem; line-height: 1.5; }
.meta { font-size: .85rem; color: var(--pub-muted); }
.article { max-width: 760px; margin: 0 auto; }
.article__hero { border-radius: 24px; overflow: hidden; margin: 2rem 0 2.5rem; }
.article__hero img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prose { font-size: 1.12rem; line-height: 1.75; color: #232b31; }
.prose h2 { font-size: 1.7rem; letter-spacing: -.015em; margin: 2.4rem 0 .9rem; line-height: 1.2; }
.prose h3 { font-size: 1.3rem; margin: 2rem 0 .7rem; }
.prose p { margin: 0 0 1.2rem; }
.prose ul, .prose ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--pub-ink); font-weight: 600; text-decoration-color: var(--pub-volt); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.prose blockquote { border-left: 4px solid var(--pub-volt); margin: 1.6rem 0; padding: .4rem 0 .4rem 1.2rem; font-style: italic; color: #3c464d; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .98rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid #e3e6e8; padding: 10px 12px; text-align: left; }
.prose th { background: var(--pub-ink); color: #fff; }
.prose strong { color: var(--pub-ink); }
.aside-cta { background: var(--pub-ink); color: #fff; border-radius: 22px; padding: 28px; margin: 2.5rem 0; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.aside-cta h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.25rem; }
.aside-cta p { margin: 0; color: var(--pub-steel-light); }

/* ---------- Club public page ---------- */
.club-cover { height: 260px; background: var(--pub-ink-800) center/cover no-repeat; position: relative; }
.club-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,15,.1), rgba(10,13,15,.75)); }
.club-head { display: flex; gap: 24px; align-items: flex-start; margin-top: -64px; position: relative; z-index: 1; flex-wrap: wrap; }
.club-avatar { width: 128px; height: 128px; border-radius: 28px; background: #fff; border: 4px solid #fff; box-shadow: var(--sq-shadow); object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; font-weight: 700; }
.club-head > div:last-child { margin-top: 76px; }
.club-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .3rem; letter-spacing: -.02em; }
.club-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.map-embed { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 20px; background: #e9ecef; }

/* ---------- Footer ---------- */
.pub-footer { background: var(--pub-ink-950); color: #c6cdd2; padding: 72px 0 32px; }
.pub-footer h2 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1rem; font-weight: 700; }
.pub-footer a { color: #c6cdd2; text-decoration: none; }
.pub-footer a:hover { color: var(--pub-volt); }
.pub-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .96rem; }
.pub-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pub-footer__brand p { color: var(--pub-steel); max-width: 30ch; line-height: 1.55; margin: 1rem 0 1.4rem; }
.pub-footer__brand .pub-logo { color: #fff !important; }
.pub-footer__brand .pub-logo img { filter: invert(1); }
.pub-footer__legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; color: var(--pub-steel); }
@media (max-width: 860px) { .pub-footer__grid { grid-template-columns: 1fr 1fr; } .pub-footer__brand { grid-column: 1 / -1; } }

/* ---------- Floating WhatsApp + sticky mobile CTA ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); text-decoration: none; transition: transform .25s var(--pub-ease); }
.wa-float:hover { transform: scale(1.07); }
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,13,15,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .35s var(--pub-ease); }
  .mobile-cta.is-visible { transform: translateY(0); }
  .mobile-cta .pbtn { flex: 1; padding: .8rem 1rem; }
  .mobile-cta .pbtn--wa { flex: 0 0 52px; background: #25d366; color: #fff !important; padding: 0; }
  body.has-mobile-cta .wa-float { display: none; }
  body.has-mobile-cta .pub-footer { padding-bottom: 96px; }
  .sec { padding: 64px 0; }
  .cta-band { padding: 48px 22px; border-radius: 24px; }
}

/* ---------- Reveal (progressive enhancement; content visible without JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--pub-ease), transform .6s var(--pub-ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .volt-word::after { animation: none; }
  .pbtn, .card-link, .post-card { transition: none; }
}

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

/* ---------- Overflow guards (grid children must be allowed to shrink) ---------- */
.frow > *, .hero__inner > *, .grid > * { min-width: 0; }
@media (max-width: 640px) {
  .volt-word { white-space: normal; }
  .volt-word::after { display: none; }
  .volt-word { text-decoration: underline; text-decoration-color: var(--pub-volt); text-decoration-thickness: .14em; text-underline-offset: .12em; }
  .on-dark .volt-word { text-decoration: none; }
  .frow__media .device-phone { width: 46%; padding: 6px; border-radius: 24px; }
  .frow__media .device-phone__screen { border-radius: 19px; }
  .hero h1 { overflow-wrap: anywhere; }
}

/* Reserve icon space before the async Font Awesome stylesheet arrives (prevents CLS) */
.pub i.fas, .pub i.fab, .pub i.far { display: inline-block; width: 1.15em; text-align: center; }
.pub .icon-tile i, .pub .faq i { width: auto; }
