/*
Theme Name: BetPro App
Theme URI: https://bpexchapp.live
Description: Guide and download site for the BetPro Exchange / BPExch Android app: install help, login guidance, payments and support.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: betpro-wallet
*/

/* ==========================================================================
   Design tokens: the single source of truth for colour, shape and elevation.
   Change a value here and it propagates site-wide.
   ========================================================================== */
:root {
  --white: #ffffff;
  --black: #000000;
  --ink: #11182c;
  --ink-soft: #2a3246;
  --text: #3f4a5a;
  --text-muted: #515e70;
  --text-subtle: #8b9bb1;
  --line: #dadee7;
  --line-strong: #b6bcc9;
  --surface: #f8fafc;
  --surface-2: #f2f5f8;
  --tint: #eef4ff;
  --tint-2: #d7e6ff;
  --primary: #0058fb;
  --primary-strong: #003fae;
  --primary-light: #2b7cff;
  --primary-on-dark: #7aa8ff;
  --night: #030711;
  --night-2: #091434;
  --night-3: #0e1d4a;
  --cyan: #00d0f5;
  --amber: #ffab1a;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-card: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
  --btn-height: 3rem;
  --btn-height-sm: 2.5rem;
  --btn-height-lg: 3.25rem;
  --background: var(--white);
  --foreground: var(--ink);
  --primary-fg: var(--white);
  --secondary: var(--primary-light);
  --card: var(--white);
  --muted: var(--surface-2);
  --border: var(--line);
  --section-bg: var(--white);
  --section-line: rgba(0,0,0,.08);
  --band-emerald: var(--tint);
  --band-graphite: var(--surface-2);
  --band-ink: var(--surface-2);
  --background-dark: var(--night);
  --foreground-dark: var(--line);
  --primary-dark: var(--primary);
  --primary-fg-dark: var(--white);
  --secondary-dark: var(--primary-on-dark);
  --secondary-fg-dark: var(--night);
  --card-dark: var(--night);
  --muted-dark: var(--night-2);
  --border-dark: var(--night-2);
  --section-line-dark: rgba(255,255,255,.065);
  --fw-medium: 600;
  --fw-heading: 700;
  --fw-emphasis: 800;
  --muted-fg: var(--text-muted);
  --bp-page-max: 86rem;
  --bp-surface: var(--white);
  --bp-surface-strong: var(--surface-2);
  --bp-card-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --bp-card-shadow-hover: 0 14px 32px rgba(15, 23, 42, 0.12);
  --bp-focus: var(--primary-light);
}


/* ── CSS Variables ─────────────────────────────────────────────────── */

/* Hero and final-CTA stay dark for visual bookending against the light sections */

/* ── Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: var(--primary);
  color: var(--primary-fg);
}

/* ── Typography ────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ── Custom Utilities ──────────────────────────────────────────────── */

/* ── Gradient Border Card ──────────────────────────────────────────── */

/* ── Cyberpunk Corner Cuts ─────────────────────────────────────────── */

/* ── Scroll Progress Bar ───────────────────────────────────────────── */
#scroll-progress {
  width: 0%;
  height: 2px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--primary-on-dark), var(--primary));
  transition: none;
}

/* ── Mobile Sticky Bar ─────────────────────────────────────────────── */

/* ── Accordion ─────────────────────────────────────────────────────── */

/* ── Navbar links ──────────────────────────────────────────────────── */

/* ── Magnetic button ───────────────────────────────────────────────── */

/* ── Step connector line ───────────────────────────────────────────── */

/* ── Scrollbar ─────────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--night-2);
  border-radius: 3px;
}

/* ── Responsive nav hide ───────────────────────────────────────────── */

/* ============================================================
   UTILITY CSS — replaces Tailwind CDN
   Breakpoints: sm ≥640  md ≥768  lg ≥1024  xl ≥1280
   ============================================================ */

/* --- Display --- */
.grid {
  display: grid;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.hidden {
  display: none;
}

/* --- Flexbox --- */

.-space-x-2>*+* {
  margin-left: -0.5rem;
}

/* --- Grid --- */

/* --- Position --- */
.relative {
  position: relative;
}

/* --- Overflow --- */

/* --- Pointer / Cursor --- */

/* --- Sizing --- */

.h-2 {
  height: 0.5rem;
}
.h-3 {
  height: 0.75rem;
}
.h-3\.5 {
  height: 0.875rem;
}
.h-4 {
  height: 1rem;
}
.h-7 {
  height: 1.75rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 80rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Gap --- */

/* --- Padding --- */

/* --- Margin --- */

/* --- Typography --- */

/* --- Border Radius --- */

/* --- Border --- */

/* --- Background --- */

/* --- Opacity --- */

/* --- Shadow --- */

/* --- Transitions --- */

/* --- Scale / Transform --- */

/* --- Order --- */

/* --- Hover --- */
.hover\:scale-105:hover {
  transform: scale(1.05);
}
.hover\:opacity-80:hover {
  opacity: 0.8;
}
.hover\:text-primary:hover {
  color: var(--primary);
}

/* --- Prose (page.php content) --- */

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */

/* sm: ≥ 640px */
@media (min-width: 640px) {
  .sm\:text-6xl {
  font-size: 3.75rem;
  line-height: 1;
  }
  .sm\:text-7xl {
  font-size: 4.5rem;
  line-height: 1;
  }
  .sm\:text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
  }
  .sm\:flex-row {
  flex-direction: row;
  }
  .sm\:inline {
  display: inline;
  }
}

/* md: ≥ 768px */
@media (min-width: 768px) {
  .md\:flex {
  display: flex;
  }
  .md\:hidden {
  display: none;
  }
  .md\:block {
  display: block;
  }
  .md\:flex-row {
  flex-direction: row;
  }
  .md\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\:items-center {
  align-items: center;
  }
  .md\:p-14 {
  padding: 3.5rem;
  }
  .md\:px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
  }
  .md\:py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
  }
  .md\:text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
  }
  .md\:text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
  }
  .md\:text-5xl {
  font-size: 3rem;
  line-height: 1;
  }
  .md\:text-8xl {
  font-size: 6rem;
  line-height: 1;
  }
  .md\:w-28 {
  width: 7rem;
  }
}

/* lg: ≥ 1024px */
@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lg\:mt-0 {
  margin-top: 0;
  }
  .lg\:order-1 {
  order: 1;
  }
  .lg\:order-2 {
  order: 2;
  }
  .lg\:text-7xl {
  font-size: 4.5rem;
  line-height: 1;
  }
}

/* xl: ≥ 1280px */
@media (min-width: 1280px) {
  .xl\:text-8xl {
  font-size: 6rem;
  line-height: 1;
  }
}

/* ============================================================
   CTA ROW
   ============================================================ *//* ============================================================
   COMPONENT LIBRARY — semantic BEM classes (no Tailwind)
   ============================================================ */

/* ── Shared layout ────────────────────────────────────────────────── */

/* ── Navbar ───────────────────────────────────────────────────────── */

/* ── Mobile sticky bar ────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────── */

/* ── Stats bar ────────────────────────────────────────────────────── */

/* ── Payment section ──────────────────────────────────────────────── */

/* ── Features section ─────────────────────────────────────────────── */

/* ── How It Works ─────────────────────────────────────────────────── */

.hiw-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* ── Install guide ────────────────────────────────────────────────── */

/* ── Security ─────────────────────────────────────────────────────── */

/* ── FAQ ──────────────────────────────────────────────────────────── */

/* ── WhatsApp support ─────────────────────────────────────────────── */

/* ── Social proof ─────────────────────────────────────────────────── */

/* ── Final CTA ────────────────────────────────────────────────────── *//* ==========================================================================
   Blog, single post, and 404 templates
   ========================================================================== */

/* ── 404 / fallback pages ─────────────────────────────────────────── */
.page-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
}
.page-content {
  max-width: 52rem;
  margin: 0 auto;
}
.page-article {
  padding: 2.5rem;
}
@media (min-width: 768px) {
  .page-article {
  padding: 3.5rem;
  }
}

/* ── Tables ─────────────────────────────────────────────────────── */

/* ── Buttons & form elements inside post content ───────────────── */

.keyword-landing-prose {
  max-width: 44rem;
  margin: 0 auto;
}

/* ── Blog index & single posts ─────────────────────────────────────── */
.blog-main {
  min-height: 70vh;
  background: var(--white);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 3rem;
  text-align: center;
}

.blog-hero__title {
  max-width: 46rem;
  margin: 0 auto;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.15;
}

.blog-hero__title {
  font-size: clamp(1.875rem, 3.6vw, 2.5rem);
}

.blog-list-section {
  padding: 4rem 0 6rem;
}

.blog-pagination {
  margin-top: 2.5rem;
}

.blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--text-muted);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease,
    color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.blog-pagination a:hover {
  border-color: rgba(0, 88, 251, 0.4);
  color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 88, 251, 0.12);
}

.blog-pagination .current {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-fg);
}

.blog-pagination .dots {
  border-color: transparent;
  background: transparent;
}

.blog-pagination .prev,
.blog-pagination .next {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.empty-state {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
}

.empty-state h2 {
  margin: 1rem 0 0.5rem;
  color: var(--foreground);
}

.empty-state p {
  color: var(--text-muted);
}

.single-recommended__title {
  margin-bottom: 1.5rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: var(--fw-heading);
  color: var(--foreground);
}

.error-404-wrap {
  max-width: 36rem;
  width: 100%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}/* ==========================================================================
   Shared helpers, decorative backgrounds, hero layers, and the phone/stats
   visuals used at the top of the front page
   ========================================================================== */

/* ── Inline SVG icon baseline ─────────────────────────────────────────── */
/* Inline SVGs have no intrinsic size, so an unsized one expands to fill its
   container. Default every icon to the current text size. The :where() wrapper
   keeps this at zero specificity: a bare `svg:not([width]):not([height])` is
   (0,2,1) and silently beat every `.icon-*` and `.parent svg` size rule, which
   crushed padded icons (e.g. .flow-item svg) down to a 0px drawing area.
   border-box makes width/height include the padding those rules add. */
svg:where(:not([width]):not([height])) {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* ── Icon sizes ───────────────────────────────────────────────────────── */
.icon-xs {
  width: 0.75rem;
  height: 0.75rem;
  font-size: 0.75rem;
}
.icon-sm {
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
}
.icon-md {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 1.25rem;
}
.icon-2xl {
  width: 2rem;
  height: 2rem;
  font-size: 2rem;
}
.icon-3xl {
  width: 3rem;
  height: 3rem;
  font-size: 3rem;
}

.icon-xs,
.icon-sm,
.icon-md,
.icon-2xl,
.icon-3xl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Typography helpers ───────────────────────────────────────────────── */
.text-primary {
  color: var(--primary);
}

/* ── Decorative & section backgrounds ────────────────────────────────── */

/* ── Hero layers ─────────────────────────────────────────────────────── */

/* ── Stats number glow ───────────────────────────────────────────────── */

/* ── Payment cards ───────────────────────────────────────────────────── *//* ==========================================================================
   Remaining front-page sections (features, how-it-works, install, security,
   WhatsApp support, reviews, final CTA) and shared structural helpers
   ========================================================================== */

/* ── Feature cards ───────────────────────────────────────────────────── */

/* ── HIW steps ───────────────────────────────────────────────────────── */

/* ── Install section ─────────────────────────────────────────────────── */

/* ── Security section ────────────────────────────────────────────────── */

/* ── WA section ──────────────────────────────────────────────────────── */

/* ── Review cards ────────────────────────────────────────────────────── */

/* ── CTA section ─────────────────────────────────────────────────────── */

/* ── misc shared helpers ─────────────────────────────────────────────── */
.pos-relative-z10 {
  position: relative;
  z-index: 10;
}
.page-article-br {
  border-radius: var(--radius-card);
}
.index-article-br {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: left;
  border-radius: var(--radius-card);
}
.index-article-h2 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  margin-bottom: 1rem;
}
.index-article-a {
  color: var(--primary);
  text-decoration: none;
}
.index-date {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}
.index-excerpt {
  line-height: 1.625;
  color: var(--foreground);
}
.index-nav-wrap {
  margin-top: 2.5rem;
}
.index-main {
  min-height: 60vh;
  padding: 8rem 0;
}
.page-main-pad {
  min-height: 60vh;
  padding: 8rem 0;
}
.page-h1 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 2rem;
}
.nothing-icon-wrap {
  display: block;
  margin: 0 auto 1.5rem;
}
.nothing-h1 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.nothing-p {
  color: var(--text-muted);
}
.nothing-link {
  color: var(--primary);
}

/* ── Additional structural helpers ───────────────────────────────────── */

/* icon special sizes not covered by scale classes *//* ==========================================================================
   Readability pass
   Larger section copy, calmer heading rhythm, and stronger muted contrast.
   ========================================================================== */

body {
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.blog-hero__title,
.page-h1 {
  word-spacing: 0;
}

/* Install guide component *//* ==========================================================================
   Full page UX audit refinements
   Section-specific layout and card polish, grouped by the front-page flow.
   ========================================================================== */

/* Hero */

/* Payment methods */

/* Features */

/* How it works */

/* Install guide */

/* Security */

/* FAQ */

/* WhatsApp support */

/* Social proof */

/* Final CTA *//* ==========================================================================
   Card polish
   Cleaner surfaces, restrained motion, and a consistent product UI finish.
   ========================================================================== */

.empty-state,
.error-404-wrap {
  clip-path: none;
  border-radius: var(--radius-card);
  border-color: var(--border);
}

.empty-state,
.error-404-wrap {
  background: var(--white);
}

.empty-state,
.error-404-wrap {
  box-shadow: var(--bp-card-shadow);
}/* ==========================================================================
   Footer polish
   Quiet utility footer with clearer hierarchy and less campaign styling.
   ========================================================================== *//* ==========================================================================
   Expert UX gap fixes
   Reduces distraction, clarifies actions, improves focus and mobile ergonomics.
   ========================================================================== */

/* Gap 1: excessive ambient effects made the interface feel noisy. */

html {
  scroll-behavior: auto;
}

/* Gap 2: CTA arrows/nudge labels felt gimmicky and competed with the button. */

/* Gap 3: clickable elements needed stronger keyboard and touch feedback. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bp-focus) 70%, transparent);
  outline-offset: 3px;
}

/* Gap 4: mobile hero was visually crowded and secondary badges stole attention. */

/* Gap 5: motion needed restraint and an accessible reduced-motion path. */

@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
  scroll-behavior: auto;
  animation-duration: 0.01ms;
  animation-iteration-count: 1;
  transition-duration: 0.01ms;
  }
}

/* Gap 6: dense rows and cards needed more predictable rhythm. *//* ==========================================================================
   Readability guardrails
   Keeps wider sections from creating overly long text lines.
   ========================================================================== *//* ==========================================================================
   Logo integration
   Uses logo.png for brand marks instead of generic icons.
   ========================================================================== */
.brand-logo-img {
  display: block;
  object-fit: contain;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
}/* ── 1. Payment methods → ranked list (was: 3 equal cards) ─────────────── */

/* ── Navigation readability ─────────────────────────────────────────── *//* ── App screenshot slider ───────────────────────────────────────────── */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(3, 8, 20, .82);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox__img {
  display: block;
  max-width: min(92vw, 32rem);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.image-lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.5rem);
  right: clamp(1rem, 3vw, 1.5rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  cursor: pointer;
}

/* ── 3. Install guide → clear step sequence ───────────────────────────── */

/* ── Page rhythm → consistent section spacing ────────────────────────── */

/* ── Security → copy beside product visual ───────────────────────────── *//* ── 4. Hero → calmer first viewport ──────────────────────────────────── */

/* ── Payment flow intro ──────────────────────────────────────────────── */

/* ── 5. Reviews → balanced proof cards ────────────────────────────────── */

/* ── 6. Final CTA → compact action panel ─────────────────────────────── *//* ── 8. Readability guardrails — final override layer ─────────────────── */

/* ── Mobile menu drawer ─────────────────────────────────────────────── */

/* ── Floating download promo sidebar (desktop) ─────────────────────────── */

/* ── 9. Button consistency pass — every CTA-style button shares one
   white-bg/black-text/prominent-icon recipe: same shape, weight, shadow,
   colors, and icon treatment, regardless of section. ── */

/* Button icons: fixed size (not em) so they don't compound with each icon's
   own .icon-* font-size. */

/* ── Icon & drawer polish ─────────────────────────────────────────────── */
/* Icon-only buttons inherit the browser's 13px button font-size, which left
   their glyphs tiny. Size them explicitly. */
.image-lightbox__close svg {
  width: 1.375rem;
  height: 1.375rem;
}

/* Eyebrow pills with a leading icon: give the icon room. */

/* Mobile drawer: solid panel so hero content never bleeds through. */

/* Visible keyboard focus on icon-only controls. */
.image-lightbox__close:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}/* ==========================================================================
   Sitemap template
   Simple, lightweight styles — reuses the theme's design tokens.
   ========================================================================== */

/* ── Sitemap list ────────────────────────────────────────────────────── */
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 52rem;
  display: grid;
  gap: 0.5rem;
}

.sitemap-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.sitemap-link {
  color: var(--foreground);
  font-weight: 600;
  text-decoration: none;
}

.sitemap-link:hover {
  color: var(--primary);
}

.sitemap-date {
  color: var(--text-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.sitemap-empty {
  color: var(--text-muted);
}

/* ── Footer sitemap link ─────────────────────────────────────────────── */
/* ==========================================================================
   Buttons: one system, three variants.
   --primary    solid brand blue on light surfaces (white text, 5.5:1)
   --secondary  outlined, for a secondary action on light surfaces
   --on-dark    white fill with ink text, for dark photography and bands
   --ghost-on-dark  outlined white, the secondary action on dark surfaces
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-height);
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn--sm {
  min-height: var(--btn-height-sm);
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
}

.btn--sm svg {
  width: 1.125rem;
  height: 1.125rem;
}

.btn--lg {
  min-height: var(--btn-height-lg);
  padding: 0.8rem 1.6rem;
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--tint);
  color: var(--primary-strong);
}

.btn--on-dark {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
  background: var(--tint);
  border-color: var(--tint);
  color: var(--ink);
}

.btn:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

.btn--on-dark:focus-visible,
.btn--ghost-on-dark:focus-visible {
  outline-color: var(--primary-on-dark);
}

/* ── Hero actions ─────────────────────────────────────────────────── */

/* ── Checklist on light surfaces ──────────────────────────────────── */

/* ── Safety cards: four across on desktop ─────────────────────────── */

/* ── Payment cards: "keep" line replaces the old avatar footer ────── */

/* ── Support section + footer notes ───────────────────────────────── */

/* ── Layout fixes ─────────────────────────────────────────────────── */
/* Keep icon + title rows aligned when one card's body is taller. */

/* Payment cards: pin the "keep" line to the bottom so rows line up. */

/* Install steps: 1 column on phones, 2 on tablets, 4 across on desktop. */

/* Footer text: keep the small print at AA contrast on the light footer. */
/* ==========================================================================
   FOUNDATION: type, rhythm and the shared section header
   ========================================================================== */
body {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.wp-container {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Every homepage section shares one vertical rhythm; alternating a soft tint
   separates them without divider lines. */
.home-section {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: var(--white);
}

.home-section--tint {
  background: var(--surface);
}

.section-header {
  max-width: 44rem;
  margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.eyebrow--on-dark {
  color: var(--primary-on-dark);
}

.section-h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.section-note {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* Cards share one surface: white, hairline border, soft lift. */
.surface-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .section-header {
  text-align: left;
  }
  .section-note {
  margin-inline: 0;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7.5rem, 11vw, 9.5rem) 0 clamp(4rem, 7vw, 6rem);
  background: var(--night);
  color: var(--white);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('assets/images/hero-bg.webp') center / cover no-repeat;
  opacity: 0.5;
}

.hero-overlay-drk {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(3, 7, 17, 0.95) 0%, rgba(3, 7, 17, 0.84) 45%, rgba(9, 20, 52, 0.6) 100%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

@media (min-width: 1024px) {
  .hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 38rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero-title {
  margin: 0 0 1.25rem;
  color: var(--white);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-title-accent {
  color: var(--primary-on-dark);
}

.hero-subtitle {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-cta__buttons {
  display: flex;
  flex-wrap: wrap;
}

.hero-meta-line {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-art-card {
  width: min(100%, 26rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.hero-art-img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero-cta {
  align-items: stretch;
  width: 100%;
  }
  .hero-cta__buttons {
  width: 100%;
  }

  .hero-cta__buttons {
  flex-direction: column;
  }

  .hero-art-card {
  width: min(100%, 22rem);
  }
}

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), 74rem);
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transform: translateX(-50%);
}

.admin-bar .site-nav {
  top: calc(32px + 0.75rem);
}

@media (max-width: 782px) {
  .admin-bar .site-nav {
  top: calc(46px + 0.75rem);
  }
}

.site-nav__brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  border-radius: var(--radius-sm);
}

.site-nav__logo-icon {
  display: flex;
}

.site-nav__logo-icon .brand-logo-img {
  width: auto;
  height: 2.5rem;
  border-radius: var(--radius-sm);
}

.site-nav__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__dl-label {
  display: none;
}

@media (min-width: 640px) {
  .site-nav__dl-label {
  display: inline;
  }
}

.site-nav__links {
  display: none;
}

.nav-link-styled {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link-styled:hover,
.nav-link-styled:focus-visible {
  background: var(--tint);
  color: var(--primary);
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.site-nav__toggle svg {
  width: 1.375rem;
  height: 1.375rem;
}

/* Mobile drawer: a soft floating card under the bar. */
@media (max-width: 1180px) {
  .site-nav__links {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav__links.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  }

  .nav-link-styled {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  }
}

@media (min-width: 1181px) {
  .site-nav__toggle {
  display: none;
  }

  .site-nav__links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  }
}

/* ==========================================================================
   KEY FACTS
   ========================================================================== */

/* ==========================================================================
   BEFORE YOU DOWNLOAD
   ========================================================================== */
.hiw-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

@media (min-width: 900px) {
  .hiw-grid {
  grid-template-columns: 0.9fr 1.1fr;
  }
}

.hiw-feature-img {
  display: block;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hiw-copy-col .section-h2 {
  margin-bottom: 1rem;
}

.hiw-lead {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
}

.check-list__item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--primary);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--tint);
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.55;
}

.callout svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--primary);
}

/* ==========================================================================
   PROCESS STRIP
   ========================================================================== */

/* ==========================================================================
   APP PREVIEW SLIDER
   ========================================================================== */
.app-slider-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.app-slider-head .section-note {
  margin-inline: 0;
}

.app-slider-controls {
  display: flex;
  gap: 0.6rem;
}

.app-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.app-slider-btn:hover {
  border-color: var(--primary);
  background: var(--tint);
}

.app-slider-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.app-slider {
  --slide-gap: 1.25rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--slide-gap)) / 3);
  gap: var(--slide-gap);
  padding: 0.25rem 0.25rem 1.5rem;
  margin: -0.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.app-slider::-webkit-scrollbar {
  display: none;
}

.app-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.app-slide {
  min-width: 0;
  margin: 0;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: box-shadow 0.2s ease;
}

.app-slide:hover {
  box-shadow: var(--shadow-md);
}

.app-slide__button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius-card) - 0.6rem);
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.app-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.8;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}

@media (max-width: 920px) {
  .app-slider {
  grid-auto-columns: calc((100% - var(--slide-gap)) / 2);
  }
}

@media (max-width: 620px) {
  .app-slider {
  grid-auto-columns: 78%;
  }
}

/* ==========================================================================
   INSTALL GUIDE
   ========================================================================== */

/* ==========================================================================
   LOGIN GUIDE
   ========================================================================== */
.login-guide-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 620px) {
  .login-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .login-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.login-guide-card {
  padding: 1.75rem 1.5rem;
}

.login-guide-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 700;
}

.login-guide-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
}

.login-guide-card p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ==========================================================================
   STAYING SAFE
   ========================================================================== */

.section-note {
  text-wrap: pretty;
}

/* ==========================================================================
   PAYMENTS
   ========================================================================== */

/* ==========================================================================
   TROUBLESHOOTING
   ========================================================================== */

/* ==========================================================================
   FAQ
   ========================================================================== */

/* ==========================================================================
   SUPPORT: a rounded navy panel rather than a full-bleed band
   ========================================================================== */
.wa-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.75rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  color: var(--white);
}

@media (min-width: 900px) {
  .wa-grid {
  grid-template-columns: 1.1fr 0.9fr;
  }
}

.wa-grid .section-h2 {
  margin-bottom: 1rem;
  color: var(--white);
}

.wa-section-text {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.wa-checklist {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.wa-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.wa-checklist__item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--primary-on-dark);
}

.wa-section-note {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.wa-chat-relative {
  display: flex;
  justify-content: center;
}

.wa-feature-img {
  display: block;
  width: 100%;
  max-width: 24rem;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   BLOG CARDS (homepage, blog index, single-post recommendations)
   ========================================================================== */
.home-blog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.home-blog-header .single-recommended__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.home-blog-note {
  max-width: 36rem;
  margin: 0;
  color: var(--text-muted);
}

.home-blog-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.home-blog-header__link:hover {
  color: var(--primary-strong);
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--tint);
  overflow: hidden;
}

.blog-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--primary);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.blog-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.1875rem;
  line-height: 1.35;
}

.blog-card__title a {
  color: var(--ink);
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--primary);
}

.blog-card__excerpt {
  display: -webkit-box;
  margin-bottom: 1rem;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.blog-card__excerpt p {
  margin: 0;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.blog-card__link:hover {
  color: var(--primary-strong);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* Page titles: plain ink, medium weight, no gradient text. */
.blog-hero__title,
.page-h1 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
}
/* ==========================================================================
   ARTICLE (prose): shared by single posts and standard pages
   ========================================================================== */
.prose-content {
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.prose-content>:first-child {
  margin-top: 0;
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.prose-content h1 {
  margin: 2.5rem 0 0.75rem;
  font-size: 2rem;
}

.prose-content h2 {
  margin: 2.75rem 0 0.8rem;
  font-size: 1.625rem;
}

.prose-content h3 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.3125rem;
}

.prose-content h4 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.125rem;
}

.prose-content p {
  margin: 0 0 1.35rem;
}

.prose-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 88, 251, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.prose-content a:hover {
  text-decoration-color: currentColor;
}

.prose-content strong {
  color: var(--ink);
  font-weight: 700;
}

.prose-content ul,
.prose-content ol {
  margin: 0 0 1.35rem;
  padding-left: 1.4rem;
}

.prose-content li {
  margin-bottom: 0.45rem;
  padding-left: 0.2rem;
}

.prose-content li::marker {
  color: var(--primary);
  font-weight: 700;
}

.prose-content img {
  max-width: 100%;
  height: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius-card);
}

.prose-content figure {
  margin: 1.75rem 0;
}

.prose-content figure img {
  margin: 0;
}

.prose-content figcaption {
  margin-top: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.prose-content blockquote {
  margin: 1.75rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--tint);
  color: var(--ink-soft);
}

.prose-content blockquote p:last-child {
  margin-bottom: 0;
}

.prose-content hr {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose-content code {
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--primary-strong);
  font-size: 0.9em;
}

.prose-content pre {
  margin: 1.75rem 0;
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
  border-radius: var(--radius-card);
  background: var(--night);
  color: var(--tint-2);
  font-size: 0.875rem;
  line-height: 1.7;
}

.prose-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.prose-content dl {
  margin: 1.75rem 0;
}

.prose-content dt {
  color: var(--ink);
  font-weight: 700;
}

.prose-content dd {
  margin: 0 0 1rem;
  padding-left: 1rem;
  color: var(--text-muted);
}

/* Tables sit in a rounded, scrollable frame (see betpro_wrap_content_tables). */
.table-scroll {
  margin: 1.75rem 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  -webkit-overflow-scrolling: touch;
}

.prose-content table {
  width: 100%;
  margin: 1.75rem 0;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table-scroll table {
  margin: 0;
}

.prose-content caption {
  padding-bottom: 0.5rem;
  color: var(--text-muted);
  text-align: left;
}

.prose-content th,
.prose-content td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.prose-content thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
}

.prose-content tbody tr:last-child td {
  border-bottom: 0;
}

/* In-content buttons follow the site button system. */
.prose-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.prose-content button,
.prose-content input[type='submit'],
.prose-content a.button,
.prose-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-height);
  padding: 0.7rem 1.35rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.prose-content button:hover,
.prose-content input[type='submit']:hover,
.prose-content a.button:hover,
.prose-content .wp-block-button__link:hover {
  border-color: var(--primary-strong);
  background: var(--primary-strong);
  color: var(--white);
}

.prose-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: var(--white);
  color: var(--primary);
}

.prose-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--tint);
  border-color: var(--primary);
  color: var(--primary-strong);
}

.prose-content button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.prose-content form {
  margin: 1.75rem 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.prose-content form label {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.prose-content input[type='text'],
.prose-content input[type='email'],
.prose-content input[type='password'],
.prose-content input[type='number'],
.prose-content select,
.prose-content textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.prose-content input:focus,
.prose-content select:focus,
.prose-content textarea:focus {
  outline: 3px solid rgba(0, 88, 251, 0.18);
  border-color: var(--primary);
}

.prose-content input[type='checkbox'],
.prose-content input[type='radio'] {
  margin-right: 0.4rem;
  accent-color: var(--primary);
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.single-main {
  background: var(--white);
}

.single-narrow {
  max-width: 48rem;
}

.single-wide {
  max-width: 62rem;
}

.single-hero {
  padding: clamp(7.5rem, 11vw, 9rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}

.single-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.single-back-link:hover {
  color: var(--primary);
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.single-meta__cat {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.single-meta__cat:hover {
  background: var(--tint-2);
}

.single-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.875rem);
  line-height: 1.15;
  text-wrap: balance;
}

.single-excerpt {
  max-width: 40rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1875rem;
  line-height: 1.65;
}

.single-featured {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.single-featured__img {
  display: block;
  width: 100%;
}

.single-body {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.single-page-links {
  margin-top: 2rem;
  color: var(--text-muted);
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.single-tags__item {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.single-tags__item:hover {
  background: var(--tint);
  color: var(--primary);
}

.single-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-card);
  background: var(--tint);
}

.single-cta__title {
  margin: 0 0 0.35rem;
  font-size: 1.1875rem;
}

.single-cta__text {
  max-width: 28rem;
  margin: 0;
  color: var(--text);
  font-size: 0.9688rem;
  line-height: 1.6;
}

.single-recommended-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--surface);
}

.single-recommended__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.single-post-nav {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 768px) {
  .single-post-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.single-post-nav__item a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  min-height: 5rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.single-post-nav__item a:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.single-post-nav__item span {
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.single-post-nav__item--next {
  text-align: right;
}

.single-cta>div {
  flex: 1 1 18rem;
}
/* ==========================================================================
   SINGLE POST LAYOUT: article column + sticky contents / popular guides
   ========================================================================== */
.single-shell {
  max-width: 66rem;
}

.single-head {
  max-width: 44rem;
}

.single-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

@media (min-width: 1100px) {
  .single-layout {
  grid-template-columns: minmax(0, 44rem) 15.5rem;
  justify-content: space-between;
  }
}

.single-main-col {
  min-width: 0;
}

.prose-content h2,
.prose-content h3 {
  scroll-margin-top: 6.5rem;
}

.single-aside {
  display: grid;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 1100px) {
  .single-aside {
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 8rem);
  padding-top: 0;
  overflow-y: auto;
  border-top: 0;
  scrollbar-width: thin;
  }
}

.aside-title {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* The contents list only appears where there is room for the sidebar. */
.toc {
  display: none;
}

@media (min-width: 1100px) {
  .toc {
  display: block;
  }
}

.toc__list {
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
  list-style: none;
}

.toc__item a {
  display: block;
  margin-left: -2px;
  padding: 0.4rem 0 0.4rem 0.9rem;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.toc__item--h3 a {
  padding-left: 1.7rem;
  font-size: 0.875rem;
}

.toc__item a:hover {
  color: var(--primary);
}

.toc__item.is-active a {
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.popular__list {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.popular__list a {
  display: block;
  margin-inline: -0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.popular__list a:hover {
  background: var(--tint);
  color: var(--primary);
}

/* Override WordPress block defaults (dark cell borders, heavy header line). */
.prose-content .wp-block-table {
  margin: 1.75rem 0;
}

.prose-content .wp-block-table table {
  border: 0;
}

.prose-content .wp-block-table thead {
  border-bottom: 0;
}

.prose-content .wp-block-table th,
.prose-content .wp-block-table td {
  border: 0;
  border-bottom: 1px solid var(--line);
}

.prose-content .wp-block-table tbody tr:last-child td {
  border-bottom: 0;
}
/* Intro paragraph under the blog and sitemap page titles. */
.blog-hero__intro {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ==========================================================================
   FOOTER: dark navy, brand column + link columns, clear 18+ notice, slim bar
   ========================================================================== */
.site-footer {
  position: relative;
  isolation: isolate;
  padding: clamp(3.5rem, 7vw, 5rem) 0 1.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-main {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1000px) {
  .footer-main {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
  gap: 3rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand__icon {
  display: flex;
  flex-shrink: 0;
}

.footer-brand__icon .brand-logo-img {
  width: auto;
  height: 2.75rem;
  border-radius: var(--radius-sm);
}

.footer-brand__name {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-brand__tagline {
  max-width: 26rem;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9688rem;
  line-height: 1.7;
}

.footer-actions {
  margin-top: 1.5rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--brand, #000);
}

.footer-social .social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 560px) {
  .footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
  }
}

.footer-col h3 {
  margin: 0 0 1rem;
  padding-bottom: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: block;
  margin-inline: -0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9688rem;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.footer-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-card);
}

.footer-badge {
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-disclaimer {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.875rem;
}

.footer-copyright {
  margin: 0;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-legal:hover,
.footer-legal:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

@media (max-width: 520px) {
  .footer-notice {
  flex-direction: column;
  gap: 0.6rem;
  }
}

/* ==========================================================================
   SECTION BACKGROUNDS: colour rhythm so the page never reads as flat white
   Each modifier sits on .home-section and replaces the plain background.
   ========================================================================== */

/* Soft blue glow in a corner over white. */

/* Blue wash fading to white. */

/* Cool mist: light blue-grey with a glow. */

/* Gentle dot pattern for a little texture. */

/* Sky: a diagonal blue gradient, used behind the support panel. */

/* Brand-blue band: the strongest colour moment on the page. */

/* Navy section: dark band with white cards, for the payments block. */

@media (min-width: 1000px) {
  .footer-actions .btn {
  white-space: nowrap;
  }
}
/* ==========================================================================
   SOLID SURFACES: no blur, no see-through cards, no glow blobs
   ========================================================================== */

/* Nav: solid white bar with a clean edge. */
.site-nav {
  border-color: var(--line);
  background: var(--white);
}

/* Hero */
.hero-pill {
  border: 0;
  background: var(--night-3);
  color: var(--tint-2);
}

.hero-art-card {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
}

.hero-art-img {
  border-radius: var(--radius-lg);
}

.btn--ghost-on-dark {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--ghost-on-dark:hover,
.btn--ghost-on-dark:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

/* Lightbox close button */
.image-lightbox__close {
  border: 0;
  background: var(--white);
  color: var(--ink);
}

/* ==========================================================================
   SECTION BACKGROUNDS: flat colour and simple linear gradients only
   ========================================================================== */

/* Brand-blue band with plain white cards. */

/* Navy section with white cards. */

/* Support panel and footer: solid navy, no glow. */

.footer-notice {
  border: 0;
  background: var(--night-3);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: var(--night-3);
}

.footer-bottom {
  border-top-color: var(--night-3);
}
/* ==========================================================================
   LAYOUTS: each section is built differently, so the page has rhythm without
   repeating the same card or relying on background effects.
   ========================================================================== */

/* ── Process strip: numbered steps on a ruled line ────────────────────── */

/* ── Install guide: sticky intro beside a numbered list ───────────────── */
.install-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1000px) {
  .install-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4.5rem;
  align-items: start;
  }

  .install-intro {
  position: sticky;
  top: 6.5rem;
  }
}

.install-intro .section-header {
  max-width: none;
  margin: 0 0 1.5rem;
  text-align: left;
}

.install-intro .section-note {
  margin-inline: 0;
}

.install-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.install-cta {
  display: flex;
  margin-top: 1.5rem;
}

.install-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.install-step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.install-step-num {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.install-step-title {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  line-height: 1.3;
}

.install-step-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── Staying safe: open two-column list with a hairline above each ───── */
.safety-grid {
  display: grid;
  gap: 0 3.5rem;
}

@media (min-width: 760px) {
  .safety-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.safety-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.safety-card svg {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  color: var(--primary);
}

.safety-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1875rem;
}

.safety-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── Troubleshooting: problem on the left, fix on the right ───────────── */
.troubleshooting-grid {
  border-top: 1px solid var(--line);
}

.troubleshooting-card {
  display: grid;
  gap: 0.5rem 3rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .troubleshooting-card {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr);
  align-items: baseline;
  }
}

.troubleshooting-card h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.35;
}

.troubleshooting-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── FAQ: plain ruled rows instead of boxed cards ─────────────────────── */
.faq-grid {
  display: grid;
  align-items: start;
  gap: 0 3.5rem;
}

@media (min-width: 900px) {
  .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.faq-col {
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.accordion-header:hover .accordion-title,
.accordion-item[open] .accordion-title {
  color: var(--primary);
}

.accordion-body {
  padding: 0 2.25rem 1.4rem 0;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── Footer and support panel: plain solid navy ───────────────────────── */
/* ==========================================================================
   BACKGROUND ACCENTS: a few sections get their own background so the page
   has rhythm. The rest stay plain white or light grey on purpose.
   ========================================================================== */

/* Hero: a blue glow sits behind the app image. */
.hero-overlay-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 82% 42%, rgba(0, 88, 251, 0.26), transparent 70%);
}

/* White with a soft blue glow in the corner. */
.home-section--glow {
  background: radial-gradient(55% 60% at 92% 0%, rgba(0, 88, 251, 0.1), transparent 70%),
    var(--white);
}

/* Light grey with the same soft glow, on the opposite side. */
.home-section--glow-tint {
  background: radial-gradient(55% 60% at 8% 0%, rgba(0, 88, 251, 0.09), transparent 70%),
    var(--surface);
}

/* Brand-blue band for the four-step strip. */

/* Navy section with a glow, holding the white payment cards. */
.home-section--navy {
  color: var(--white);
}

.home-section--navy .eyebrow {
  color: var(--primary-on-dark);
}

.home-section--navy .section-h2 {
  color: var(--white);
}

.home-section--navy .section-note {
  color: rgba(255, 255, 255, 0.82);
}

/* Support panel and footer carry the same glow. */
.wa-grid {
  background: radial-gradient(70% 90% at 90% 10%, rgba(0, 88, 251, 0.3), transparent 70%),
    var(--night);
}

.site-footer {
  background: radial-gradient(60% 80% at 90% 0%, rgba(0, 88, 251, 0.22), transparent 70%),
    var(--night);
}
/* FAQ icon: a plus that becomes a minus when the answer is open. */
.accordion-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.accordion-icon rect {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.accordion-item[open] .icon-plus__v {
  transform: scaleY(0);
}
/* ==========================================================================
   PAYMENTS: open columns on navy, no boxes
   ========================================================================== */
.home-section--navy {
  background: radial-gradient(75% 55% at 50% 0%, rgba(0, 88, 251, 0.22), transparent 72%),
    var(--night);
}

.home-section--navy .section-header {
  max-width: 54rem;
}

.reviews-layout {
  display: grid;
  gap: 2.5rem 3.5rem;
}

@media (min-width: 900px) {
  .reviews-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  padding-top: 1.75rem;
  border-top: 1px solid var(--night-3);
}

.review-card__topline {
  margin-bottom: 0.9rem;
}

.review-card__tag {
  color: var(--primary-on-dark);
  font-size: 0.9375rem;
  font-weight: 700;
}

.review-card__title {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1.3125rem;
  line-height: 1.3;
}

.review-card__text {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.97rem;
  line-height: 1.7;
}

.review-card__keep {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--night-3);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
}

.review-card__keep span {
  color: var(--white);
  font-weight: 700;
}
/* ==========================================================================
   404 PAGE: plain editorial layout with useful ways forward
   ========================================================================== */
.notfound {
  padding: clamp(8rem, 12vw, 10rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: var(--white);
}

.notfound__inner {
  max-width: 50rem;
}

.notfound__code {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 700;
}

.notfound__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.notfound__text {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notfound__actions .btn {
  white-space: nowrap;
}

.notfound__links {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.notfound__links-title {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
}

.notfound__list {
  display: grid;
  gap: 0 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .notfound__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.notfound__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.notfound__list a svg {
  flex-shrink: 0;
  color: var(--text-subtle);
  transition: color 0.15s ease, transform 0.15s ease;
}

.notfound__list a:hover,
.notfound__list a:focus-visible {
  color: var(--primary);
}

.notfound__list a:hover svg,
.notfound__list a:focus-visible svg {
  color: var(--primary);
  transform: translateX(3px);
}

@media (max-width: 520px) {
  .notfound__actions .btn {
  width: 100%;
  }
}
/* ==========================================================================
   MOBILE: no side margin around cards, images or the nav bar.
   Cards and images run edge to edge; text keeps a small inner gutter so it
   never touches the screen edge.
   ========================================================================== */
@media (max-width: 640px) {
  /* Every page: a slightly tighter text gutter. */
  .wp-container {
  padding-inline: 1rem;
  }

  /* Nav: a full-width bar instead of a floating one. */
  .site-nav {
  top: 0;
  width: 100%;
  padding-inline: 1rem 0.75rem;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
  }

  .admin-bar .site-nav {
  top: 46px;
  }

  .site-nav__links {
  right: 0.5rem;
  left: 0.5rem;
  }

  /* Homepage: the container adds no padding; blocks decide for themselves. */
  .home .wp-container {
  padding-inline: 0;
  }

  /* Text blocks keep a small gutter. */
  .home .hero-copy,
.home .section-header,
.home .app-slider-head,
.home .install-intro,
.home .install-steps,
.home .hiw-copy-col,
.home .safety-grid,
.home .reviews-layout,
.home .troubleshooting-grid,
.home .faq-grid,
.home .home-blog-header {
  padding-inline: 1rem;
  }

  /* Cards and images go edge to edge. */
  .home .hero-art-card {
  width: 100%;
  border-radius: 0;
  }

  .home .hero-art-img,
.home .hiw-feature-img {
  width: 100%;
  max-width: none;
  border-radius: 0;
  }

  .home .login-guide-card,
.home .blog-card {
  border-inline-width: 0;
  border-radius: 0;
  }

  .home .wa-grid {
  border-radius: 0;
  }

  .home .app-slider {
  margin-inline: 0;
  padding-inline: 1rem;
  scroll-padding-inline: 1rem;
  }

  /* The footer is on every page, so it keeps its own gutter. */
  .site-footer .wp-container {
  padding-inline: 1rem;
  }
}

/* ==========================================================================
   SINGLE POST: featured image keeps its own proportions
   WordPress puts a fixed height attribute on the <img>; without height:auto a
   landscape image was stretched into a tall crop on phones.
   ========================================================================== */
.single-featured__img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* ==========================================================================
   MOBILE OPTIMISATION: spacing, tap targets and readable text sizes
   ========================================================================== */
@media (max-width: 640px) {
  /* Tighter vertical rhythm: less scrolling between sections. */
  .home-section {
  padding-block: 3rem;
  }

  .hero-section {
  padding: 5.75rem 0 2.5rem;
  }

  .section-header {
  margin-bottom: 1.75rem;
  }

  /* Hero image: shorter on a phone so the page gets to content sooner. */
  .hero-art-img {
  aspect-ratio: 4 / 5;
  object-position: center top;
  }

  /* Space under the fixed nav bar on inner pages. */
  .single-hero,
.blog-hero {
  padding-top: 6rem;
  }

  .notfound {
  padding-top: 6rem;
  }

  .page-main-pad {
  padding-top: 6rem;
  }

  /* Featured image runs edge to edge. */
  .single-featured {
  margin-inline: -1rem;
  border-radius: 0;
  }

  /* Tap targets: at least 44px tall for anything you press with a thumb. */
  .site-nav__toggle {
  width: 2.75rem;
  height: 2.75rem;
  }

  .site-nav .btn--sm {
  min-height: 2.75rem;
  }

  .footer-links a {
  padding-block: 0.7rem;
  }

  .blog-card__link,
.home-blog-header__link {
  min-height: 2.75rem;
  }

  .single-back-link {
  min-height: 2.75rem;
  margin-bottom: 0.5rem;
  }

  .single-meta__cat {
  padding-block: 0.5rem;
  }

  .single-tags__item {
  padding: 0.6rem 1rem;
  }

  .popular__list a {
  padding-block: 0.8rem;
  }

  /* No text below 14px. */
  .hero-pill,
.blog-card__meta,
.single-tags__item {
  font-size: 0.875rem;
  }
}
@media (max-width: 640px) {
  .blog-card__title a {
  display: block;
  padding-block: 0.3rem;
  }

  .single-post-nav__item span {
  font-size: 0.875rem;
  }
}
/* Headings use Title Case: the first letter of every word is capitalised.
   Only headings; body text, labels and buttons keep their own case. */
h1,
h2,
h3,
h4 {
  text-transform: capitalize;
  overflow-wrap: break-word;
}

/* Phone heading sizes: long question headings stay readable in about three lines. */
@media (max-width: 640px) {
  .section-h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  }

  .hero-title {
  font-size: 2rem;
  line-height: 1.15;
  }

  .notfound__title,
.blog-hero__title {
  font-size: 1.75rem;
  }
}
/* Hero secondary action: a plain text link, not a second button. */
.hero-cta__buttons {
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.hero-link svg {
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.hero-link:hover,
.hero-link:focus-visible {
  color: var(--tint-2);
  text-decoration-color: currentColor;
}

.hero-link:hover svg,
.hero-link:focus-visible svg {
  transform: translateX(3px);
}

.hero-link:focus-visible {
  outline: 3px solid var(--primary-on-dark);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
  .hero-cta__buttons {
  align-items: stretch;
  }

  .hero-link {
  justify-content: center;
  }
}
/* ==========================================================================
   KEY FACTS: a two-column definition list, label above value, ruled rows
   ========================================================================== */
/* Visually hidden, still read by screen readers (used for the table caption). */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   KEY FACTS: a compact two-column table
   ========================================================================== */
.facts-wrap {
  max-width: 44rem;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
}

.facts-table th,
.facts-table td {
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

.facts-table tr:last-child th,
.facts-table tr:last-child td {
  border-bottom: 0;
}

.facts-table th {
  width: 10.5rem;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
}

.facts-table td {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 640px) {
  .facts-table th,
.facts-table td {
  padding: 0.85rem 1rem;
  }

  .facts-table th {
  width: 8.25rem;
  font-size: 0.875rem;
  }

  /* Edge to edge on a phone, like the other cards. */
  .home .facts-wrap {
  border-inline-width: 0;
  border-radius: 0;
  }
}
/* Follow section */
.follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.follow-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 1.25rem 1.1rem;
  border: 1px solid var(--line, rgba(0, 0, 0, 0.12));
  border-radius: 0.75rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

.follow-card:hover,
.follow-card:focus-visible {
  border-color: var(--primary);
}

.follow-card__name {
  font-weight: 700;
}

.follow-card__handle {
  color: var(--primary);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.follow-card__icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brand, #000);
}

/* Follow section: compact rows on phones */
@media (max-width: 559px) {
  .social-follow-section {
    padding-block: 3rem;
  }

  .social-follow-section .section-header {
    margin-bottom: 1.5rem;
  }

  .follow-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .follow-card {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-areas: "icon name" "icon handle";
    column-gap: 0.9rem;
    align-items: center;
    padding: 0.8rem 1rem;
  }

  .follow-card__icon {
    grid-area: icon;
    width: 1.75rem;
    height: 1.75rem;
    margin: 0;
    justify-self: center;
  }

  .follow-card__name {
    grid-area: name;
    line-height: 1.3;
  }

  .follow-card__handle {
    grid-area: handle;
    line-height: 1.3;
  }

  .footer-social {
    gap: 0.6rem;
  }
}
