/*
Theme Name:  AU IPTV Pro
Theme URI:   https://auiptvpro.com/
Author:      AU IPTV Pro
Description: Bespoke classic theme for AU IPTV Pro — ported from the static
             build. White + light red + light blue palette, WooCommerce ready.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:     GPL-2.0-or-later
Text Domain: au-iptv-pro
Tags:        custom-background, custom-menu, custom-logo, featured-images, threaded-comments
*/

/* ==========================================================================
   1. Ported stylesheet (identical to the static build)
   ========================================================================== */
/* ==========================================================================
   Aussie IPTV — Core stylesheet
   Palette: White + Light Red (coral) + Light Blue
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --red-50:  #fff4f3;
  --red-100: #ffe3e0;
  --red-200: #ffc9c4;
  --red-300: #ffa8a1;
  --red-400: #ff8078;
  --red-500: #f8615a;   /* primary light red */
  --red-600: #e8483f;
  --red-700: #c8342c;

  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfd9fe;
  --blue-300: #93c0fd;
  --blue-400: #64a2fa;
  --blue-500: #3d84f2;  /* primary light blue */
  --blue-600: #2a6ad6;
  --blue-700: #1f52a8;

  /* Neutrals */
  --white: #ffffff;
  --ink-900: #0d1b2a;
  --ink-800: #14263a;
  --ink-700: #22364d;
  --ink-500: #4a5b70;
  --ink-400: #6b7c92;
  --ink-300: #93a1b3;
  --line:    #e4eaf1;
  --line-soft: #eef2f7;
  --surface: #f7fafd;
  --surface-2: #eef4fb;

  /* Status */
  --green-500: #15a06a;
  --green-50:  #e8f8f1;
  --amber-500: #e0912a;

  /* Accent tints used by the numbered steps */
  --amber-100:  #fbe1a3;
  --violet-100: #dcd0fb;

  /* Type */
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(13, 27, 42, .06);
  --sh-sm: 0 2px 8px rgba(13, 27, 42, .06);
  --sh-md: 0 10px 30px rgba(13, 27, 42, .08);
  --sh-lg: 0 24px 60px rgba(13, 27, 42, .12);
  --sh-red: 0 12px 28px rgba(248, 97, 90, .28);
  --sh-blue: 0 12px 28px rgba(61, 132, 242, .24);

  /* Layout */
  --wrap: 1180px;
  --gutter: 22px;
  --header-h: 74px;
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .55em;
  color: var(--ink-900);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.7rem); }
h2 { font-size: clamp(1.72rem, 1.2rem + 1.9vw, 2.6rem); }
h3 { font-size: clamp(1.16rem, 1.03rem + .5vw, 1.42rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--red-600); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

strong { color: var(--ink-900); font-weight: 700; }
small { font-size: .82rem; }

hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink-900); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }

section { position: relative; }
.section { padding: clamp(58px, 7vw, 104px) 0; }
.section-sm { padding: clamp(42px, 5vw, 68px) 0; }
.section-tint { background: var(--surface); }
.section-blue { background: linear-gradient(180deg, var(--blue-50) 0%, #ffffff 100%); }
.section-red { background: linear-gradient(180deg, var(--red-50) 0%, #ffffff 100%); }

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: 10px; } .gap-md { gap: 18px; }
.wrap-flex { flex-wrap: wrap; }

/* ---------- 4. Section headers ---------- */
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow-blue { color: var(--blue-600); }

.section-head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 58px); text-align: center; }
.section-head p { color: var(--ink-500); font-size: 1.04rem; margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--ink-500); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: .96rem; font-weight: 700; line-height: 1;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-400));
  color: #fff; box-shadow: var(--sh-red);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(248, 97, 90, .36); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: #fff; box-shadow: var(--sh-blue);
}
.btn-blue:hover { color: #fff; box-shadow: 0 16px 34px rgba(61, 132, 242, .32); }

.btn-outline {
  background: #fff; color: var(--ink-900); border-color: var(--line);
  box-shadow: var(--sh-xs);
}
.btn-outline:hover { color: var(--blue-600); border-color: var(--blue-300); background: var(--blue-50); }

.btn-ghost { background: transparent; color: var(--ink-700); border-color: transparent; padding-inline: 10px; }
.btn-ghost:hover { color: var(--red-600); }

.btn-whatsapp { background: #25d366; color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .3); }
.btn-whatsapp:hover { color: #fff; background: #1fbb5a; }

.btn-lg { padding: 18px 34px; font-size: 1.02rem; }
.btn-sm { padding: 11px 20px; font-size: .87rem; }
.btn-block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- 6. Header ---------- */
.topbar {
  background: linear-gradient(90deg, var(--blue-700) 0%, var(--blue-600) 58%, var(--blue-500) 100%);
  color: rgba(255, 255, 255, .9);
  font-size: .79rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; padding-block: 7px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--blue-100); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-right span, .topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left span { font-weight: 600; color: #fff; }

/* feature strip, set as a subtle glass pill against the blue */
.topbar-usp {
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  gap: 8px;
}
.topbar-usp svg { width: 12px; height: 12px; flex: none; color: rgba(255, 255, 255, .92); }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: var(--sh-sm); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; color: var(--ink-900); font-size: 1.12rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink-900); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--red-500), var(--blue-500));
  display: grid; place-items: center; color: #fff; box-shadow: var(--sh-sm);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand em { display: block; font-style: normal; font-size: .64rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-400); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-block; padding: 9px 13px; border-radius: var(--r-sm);
  color: var(--ink-700); font-size: .93rem; font-weight: 600;
}
.nav a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav a.active { color: var(--red-600); background: var(--red-50); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 19px; height: 2px; background: var(--ink-800); border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 6vw, 92px) 0 clamp(56px, 6vw, 96px);
  background:
    radial-gradient(950px 460px at 88% -8%, var(--red-50) 0%, transparent 62%),
    radial-gradient(880px 520px at 6% 4%, var(--blue-50) 0%, transparent 60%),
    var(--white);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent-red { color: var(--red-500); }
.hero h1 .accent-blue { color: var(--blue-500); }
.hero-sub { font-size: 1.08rem; color: var(--ink-500); max-width: 560px; margin-bottom: 28px; }

.trust-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 16px 8px 10px; border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 600; color: var(--ink-500);
  box-shadow: var(--sh-xs); margin-bottom: 22px;
}
.trust-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(21,160,106,.15); }

.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .89rem; font-weight: 600; color: var(--ink-500); margin: 0; }
.hero-points svg { width: 17px; height: 17px; color: var(--green-500); flex: none; }

/* Hero visual — circular four-image collage */
.hero-visual { position: relative; }

.collage-wrap {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
}

.collage {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 9px;
  filter: drop-shadow(0 28px 56px rgba(13, 27, 42, .20));
  animation: collage-float 8s ease-in-out infinite;
}

.collage-q {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--surface-2);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  animation: collage-quad-in .85s cubic-bezier(.22, 1, .36, 1) backwards;
}
.collage-q img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}
/* light brand wash so four unrelated photos read as one system */
.collage-q::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(248, 97, 90, .16), rgba(61, 132, 242, .20));
  opacity: 1;
  transition: opacity .45s ease;
  pointer-events: none;
}
.collage-q:hover img { transform: scale(1.09); }
.collage-q:hover::after { opacity: 0; }

/* each cell is a rounded square; cells and sources are both 1:1, so the whole
   photo shows and object-position never needs adjusting */
.collage-q { border-radius: 26%; }
.collage-q.q1 { animation-delay: .05s; }
.collage-q.q2 { animation-delay: .17s; }
.collage-q.q3 { animation-delay: .29s; }
.collage-q.q4 { animation-delay: .41s; }

.collage-q.q1:hover { transform: translate(-6px, -6px); }
.collage-q.q2:hover { transform: translate(6px, -6px); }
.collage-q.q3:hover { transform: translate(-6px, 6px); }
.collage-q.q4:hover { transform: translate(6px, 6px); }

/* centre badge */
.collage-core {
  position: absolute; left: 50%; top: 50%;
  width: 41%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue-500), var(--blue-600));
  color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 9px #fff, 0 18px 38px rgba(61, 132, 242, .42);
  z-index: 2;
  animation: collage-core-in .8s .5s cubic-bezier(.34, 1.56, .64, 1) backwards;
}
.collage-core::before {
  content: ""; position: absolute; inset: 12px;
  border: 2px dashed rgba(255, 255, 255, .62);
  border-radius: 50%;
  animation: spin-slow 26s linear infinite;
}
.collage-core-num {
  position: relative;
  font-size: clamp(1.55rem, .9rem + 2.2vw, 2.35rem);
  font-weight: 900; line-height: 1; letter-spacing: -.03em;
}
.collage-core-label {
  position: relative;
  margin-top: 7px; max-width: 74%;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  line-height: 1.35; color: rgba(255, 255, 255, .93);
}

@keyframes collage-quad-in {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: none; }
}
@keyframes collage-core-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes collage-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 11px; font-size: .8rem; font-weight: 700; color: var(--ink-900);
  z-index: 3;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.float-card:hover { box-shadow: var(--sh-lg); border-color: var(--blue-200); animation-play-state: paused; }
.float-card small { display: block; font-weight: 500; color: var(--ink-400); font-size: .72rem; }
.float-card .ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }

/* entrance, then a slow independent drift so each card feels alive */
.float-card.fc-1 {
  top: -1%; left: -11%;
  animation: float-card-in .7s .75s cubic-bezier(.22, 1, .36, 1) backwards,
             card-drift-a 5.5s 1.5s ease-in-out infinite;
}
.float-card.fc-2 {
  bottom: 0; right: -11%;
  animation: float-card-in .7s .9s cubic-bezier(.22, 1, .36, 1) backwards,
             card-drift-b 6.5s 1.7s ease-in-out infinite;
}

@keyframes float-card-in {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
@keyframes card-drift-a {
  0%, 100% { transform: translate(0, 0)      rotate(0deg); }
  50%      { transform: translate(-5px, -9px) rotate(-1.1deg); }
}
@keyframes card-drift-b {
  0%, 100% { transform: translate(0, 0)     rotate(0deg); }
  50%      { transform: translate(5px, 9px) rotate(1.1deg); }
}

/* icons */
.fc-1 .ico { background: var(--red-50); color: var(--red-600); }
.fc-1 .ico svg { animation: bolt-pulse 2.6s 1.6s ease-in-out infinite; }

.fc-2 .ico { background: #fff6e0; color: #f5a524; }
.fc-2 .ico svg { animation: star-twinkle 3.2s 1.9s ease-in-out infinite; transform-origin: 50% 55%; }

@keyframes bolt-pulse {
  0%, 82%, 100% { transform: scale(1);    opacity: 1; }
  88%           { transform: scale(1.22); opacity: .8; }
}
@keyframes star-twinkle {
  0%, 70%, 100% { transform: scale(1)    rotate(0deg); }
  80%           { transform: scale(1.25) rotate(16deg); }
  90%           { transform: scale(1.08) rotate(-7deg); }
}

/* Page hero (interior pages) */
.page-hero {
  padding: clamp(44px, 5vw, 74px) 0 clamp(40px, 4.5vw, 62px);
  background:
    radial-gradient(760px 340px at 82% 0%, var(--red-50) 0%, transparent 60%),
    radial-gradient(700px 340px at 10% 10%, var(--blue-50) 0%, transparent 58%),
    var(--white);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.page-hero h1 { max-width: 900px; margin-inline: auto; }
.page-hero p { max-width: 700px; margin-inline: auto; color: var(--ink-500); font-size: 1.06rem; }

.crumbs { font-size: .82rem; color: var(--ink-400); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--ink-300); }

/* ---------- 8. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--sh-xs);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue-200); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-500); font-size: .95rem; margin-bottom: 0; }

.card-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  margin-bottom: 18px; background: var(--red-50); color: var(--red-600);
}
.card-icon svg { width: 23px; height: 23px; }
.card-icon.blue { background: var(--blue-50); color: var(--blue-600); }
.card-icon.green { background: var(--green-50); color: var(--green-500); }

/* ---------- 8b. Feature band ----------
   Tinted, lightly textured backdrop with solid cards sitting on top, so the
   cards read as raised panels instead of white-on-white. */
.section-features {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 430px at 10% -5%, var(--blue-50) 0%, transparent 62%),
    radial-gradient(780px 420px at 94% 105%, var(--red-50) 0%, transparent 64%),
    var(--surface);
}
/* fine dot grid — the light-theme equivalent of a subtle texture, drawn in CSS
   so it costs no extra request. Kept very low contrast on purpose. */
.section-features::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(34, 54, 77, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 40%, #000 35%, transparent 78%);
}
/* scattered accent specks */
.section-features::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle, var(--red-300) 48%, transparent 50%),
    radial-gradient(circle, var(--blue-300) 48%, transparent 50%),
    radial-gradient(circle, var(--red-200) 48%, transparent 50%),
    radial-gradient(circle, var(--blue-200) 48%, transparent 50%);
  background-size: 7px 7px, 6px 6px, 5px 5px, 6px 6px;
  background-position: 16% 20%, 76% 12%, 90% 70%, 28% 84%;
  background-repeat: no-repeat;
}
.section-features > .wrap { position: relative; z-index: 1; }

.section-features .card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 24px 24px;
  box-shadow: 0 1px 3px rgba(13, 27, 42, .05);
}
.section-features .card:hover { box-shadow: var(--sh-md); border-color: var(--blue-200); }
.section-features .card h3 { font-size: 1.05rem; margin-bottom: 9px; letter-spacing: -.01em; }
.section-features .card p { font-size: .89rem; line-height: 1.62; }

/* bordered icon tile — uniformly red across the band */
.section-features .card-icon,
.section-features .card-icon.blue,
.section-features .card-icon.green {
  width: 42px; height: 42px; border-radius: 11px;
  margin-bottom: 16px;
  background: var(--red-50);
  color: var(--red-600);
  border: 1px solid var(--red-200);
}
.section-features .card-icon svg { width: 20px; height: 20px; }

/* ---------- 9. Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }

/* Screens segmented control */
.toggle-row { display: flex; justify-content: center; margin-bottom: clamp(30px, 3.5vw, 46px); }
.screen-toggle {
  position: relative; display: inline-flex; padding: 5px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.screen-toggle-pill {
  position: absolute; top: 5px; left: 5px;
  width: calc(50% - 5px); height: calc(100% - 10px);
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--red-500), var(--red-400));
  box-shadow: var(--sh-red);
  transition: transform .38s cubic-bezier(.22, 1, .36, 1);
}
.screen-toggle[data-screens="2"] .screen-toggle-pill { transform: translateX(100%); }
.screen-opt {
  position: relative; z-index: 1;
  -webkit-appearance: none; appearance: none; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: .92rem; font-weight: 700; white-space: nowrap;
  color: var(--ink-500); padding: 12px 30px; border-radius: var(--r-pill);
  transition: color .3s ease;
}
.screen-opt:hover { color: var(--ink-900); }
.screen-opt[aria-pressed="true"] { color: #fff; }
.screen-opt[aria-pressed="true"]:hover { color: #fff; }
.screen-note { text-align: center; font-size: .85rem; color: var(--ink-400); margin: -22px 0 34px; }

.plan {
  position: relative; background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px 28px;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--blue-200); }
.plan-name { font-size: .74rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 14px; }

/* category chip: Best Value / Popular / Starter */
.plan-tag {
  display: inline-block; align-self: flex-start;
  font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--blue-50); color: var(--blue-700);
  margin-bottom: 18px;
}
.plan.featured .plan-tag { background: var(--red-100); color: var(--red-700); }

.plan-title { font-size: 1.3rem; margin-bottom: 8px; }
.plan-desc { font-size: .89rem; color: var(--ink-500); margin-bottom: 22px; }

.plan-price { display: flex; align-items: baseline; gap: 3px; color: var(--ink-900); font-weight: 900; letter-spacing: -.03em; }
.plan-price .cur { font-size: 1.02rem; font-weight: 800; }
.plan-price .amt { font-size: 2.85rem; line-height: 1; }
.plan-price .cents { font-size: 1.05rem; font-weight: 800; }
.plan-price .term { font-size: .88rem; font-weight: 700; color: var(--ink-400); margin-left: 7px; letter-spacing: 0; }
.plan-permonth { font-size: .87rem; font-weight: 600; color: var(--ink-500); margin: 11px 0 0; }
.plan-term { font-size: .82rem; color: var(--ink-400); margin: 8px 0 0; }
.plan-note { font-size: .78rem; color: var(--ink-300); margin: 2px 0 0; }

/* price cross-fade while the screens toggle swaps values */
.plan-price, .plan-permonth, .plan-save, .plan [data-conn] {
  transition: opacity .2s ease, transform .2s ease;
}
.plan.is-swapping .plan-price,
.plan.is-swapping .plan-permonth,
.plan.is-swapping .plan-save,
.plan.is-swapping [data-conn] {
  opacity: 0; transform: translateY(-7px);
}
.plan-save[hidden] { display: none; }
.plan hr { margin: 22px 0; border-color: var(--line-soft); }
.plan-features { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan-features li { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-500); margin-bottom: 11px; align-items: flex-start; }
.plan-features svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--green-500); }

.plan.featured {
  border-color: var(--red-300);
  box-shadow: var(--sh-md);
  background: linear-gradient(180deg, var(--red-50) 0%, #fff 34%);
}
.plan.featured .plan-name { color: var(--red-600); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red-500), var(--red-400)); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--r-pill); white-space: nowrap;
  box-shadow: var(--sh-red);
}
.plan-save {
  display: inline-block; align-self: flex-start;
  font-size: .7rem; font-weight: 800; letter-spacing: .06em;
  background: var(--green-50); color: var(--green-500); padding: 5px 12px; border-radius: var(--r-pill);
  margin-top: 12px;
}

.pricing-foot { text-align: center; margin-top: 30px; font-size: .87rem; color: var(--ink-400); }

/* ---------- 10. Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xs); background: #fff; }
table.cmp { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .91rem; }
table.cmp thead th {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff; text-align: left; font-weight: 700; padding: 16px 20px; white-space: nowrap;
}
table.cmp thead th:last-child { background: linear-gradient(135deg, var(--red-500), var(--red-400)); }
table.cmp th, table.cmp td { padding: 14px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink-800); }
table.cmp tbody tr:nth-child(even) { background: var(--surface); }
table.cmp tbody tr:last-child td, table.cmp tbody tr:last-child th { border-bottom: 0; }
.yes { color: var(--green-500); font-weight: 700; }
.no { color: var(--red-600); font-weight: 700; }

/* ---- 4-column variant with our own column highlighted ---- */
table.cmp-alt {
  min-width: 880px;
  border-collapse: separate;          /* required for the sticky first column */
  border-spacing: 0;
  font-variant-numeric: tabular-nums; /* prices align digit-for-digit */
}
table.cmp-alt th,
table.cmp-alt td {
  padding: 15px 22px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}
table.cmp-alt th:last-child,
table.cmp-alt td:last-child { border-right: 0; }
table.cmp-alt tbody tr:last-child th,
table.cmp-alt tbody tr:last-child td { border-bottom: 0; }

/* header — flat fills, divided so each column reads separately */
table.cmp-alt thead th {
  padding: 19px 22px;
  font-size: .87rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  border-bottom: 0;
  border-right-color: rgba(255, 255, 255, .18);
  background: var(--blue-600);
}
/* override the 2-column base rule, which paints the final header red */
table.cmp-alt thead th:last-child { background: var(--blue-600); }
table.cmp-alt thead th:first-child { background: var(--ink-900); }
/* flat and saturated, to match the crispness of the black and blue cells */
table.cmp-alt thead th.col-us { background: var(--red-600); }

/* feature names stay anchored while the table scrolls sideways */
table.cmp-alt th[scope="row"] {
  position: sticky; left: 0; z-index: 2;
  background: #fff;
  font-weight: 600;
  color: var(--ink-800);
  white-space: nowrap;
}
table.cmp-alt thead th:first-child { position: sticky; left: 0; z-index: 3; }
table.cmp-alt tbody tr:nth-child(even) th[scope="row"] { background: var(--surface); }

/* our column as one continuous highlighted lane */
table.cmp-alt tbody td.col-us {
  background: var(--red-50);
  color: var(--red-700);
  font-weight: 700;
  box-shadow: inset 2px 0 0 var(--red-200), inset -2px 0 0 var(--red-200);
}
table.cmp-alt td { color: var(--ink-500); }

.mark { font-size: 1.08rem; font-weight: 800; line-height: 1; }
.mark-yes { color: var(--green-500); }
.mark-no  { color: var(--red-400); }
.mark-na  { color: var(--ink-300); font-weight: 600; }
.mark + span { margin-left: 8px; font-weight: 500; font-size: .86rem; color: var(--ink-400); }

/* ---------- 11. Stats ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-600) 48%, var(--blue-500) 100%);
  color: #fff;
}
.stats-band .grid { gap: 30px; }
.stat { text-align: center; }
.stat-num { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: #fff; }
.stat-label { font-size: .86rem; color: rgba(255,255,255,.82); margin-top: 9px; }

/* ---------- 12. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 24px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue-200); }

/* three-step variant: balanced columns + chevron connectors between cards */
.steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.steps-3 .step { padding: 32px 28px 28px; }
.steps-3 .step:not(:last-child)::before {
  content: ""; position: absolute; top: 50%; right: -22px;
  width: 11px; height: 11px;
  border-top: 2.5px solid var(--blue-300);
  border-right: 2.5px solid var(--blue-300);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}
.step-num {
  position: absolute; top: 18px; right: 22px;
  font-size: 2.4rem; font-weight: 900; line-height: 1;
  color: var(--blue-100); letter-spacing: -.04em;
}
.step:nth-child(2) .step-num { color: var(--red-100); }
.step:nth-child(3) .step-num { color: var(--amber-100); }
.step:nth-child(4) .step-num { color: var(--violet-100); }
/* keep the heading clear of the absolutely-positioned step number */
.step h3 { font-size: 1.06rem; margin-bottom: 9px; padding-right: 56px; }
.step p { font-size: .9rem; color: var(--ink-500); margin: 0; }

/* ---------- 13. Feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.reverse .split-media { order: 2; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; color: var(--ink-500); }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue-500); }

.media-frame {
  border-radius: var(--r-xl); padding: 22px;
  background: linear-gradient(135deg, var(--blue-50), var(--red-50));
  border: 1px solid var(--line);
}
.media-inner {
  background: linear-gradient(135deg, var(--ink-900), var(--blue-700));
  border-radius: var(--r-lg); aspect-ratio: 16/10; position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff; text-align: center; padding: 24px;
}
.media-inner .badge-live { position: absolute; top: 14px; left: 14px; background: var(--red-500); color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .1em; padding: 4px 9px; border-radius: 5px; }

/* photo-backed variant with a slow Ken Burns drift */
.media-shot {
  position: relative; overflow: hidden; margin: 0;
  border-radius: var(--r-lg); aspect-ratio: 16/10;
  background: var(--ink-900);
  display: grid; place-items: center;
  padding: 26px; text-align: center; color: #fff;
}
.media-shot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  animation: ken-burns 24s ease-in-out infinite alternate;
}
/* scrim keeps the white type legible over a bright, busy photo */
.media-shot::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(115% 78% at 50% 52%, rgba(13, 27, 42, .58) 0%, rgba(13, 27, 42, .22) 72%),
    linear-gradient(170deg, rgba(31, 82, 168, .22), rgba(13, 27, 42, .34));
}
.media-shot .badge-live {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red-500); color: #fff;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 5px;
  box-shadow: 0 6px 16px rgba(248, 97, 90, .45);
}
.media-shot .badge-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: live-blink 1.7s ease-in-out infinite;
}
.media-shot-body { position: relative; z-index: 2; }
.media-stat {
  display: block;
  font-size: clamp(2.1rem, 1.25rem + 2.7vw, 3.15rem);
  font-weight: 900; line-height: 1; letter-spacing: -.03em; color: #fff;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .55);
}
.media-cap {
  display: block; margin-top: 11px;
  font-size: .95rem; color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

@keyframes ken-burns {
  from { transform: scale(1.05) translate(0, 0); }
  to   { transform: scale(1.17) translate(-2%, -1.6%); }
}
@keyframes live-blink {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .3;  transform: scale(.7); }
}

/* ---------- 14a. Compatible-platform logo strip ----------
   Continuous marquee: the track holds the logo set twice and shifts by -50%,
   so the loop is seamless. Spacing lives on each item (not `gap`) so both
   halves measure identically. */
.logo-strip {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 46s linear infinite;
}
.logo-strip:hover .logo-track,
.logo-strip:focus-within .logo-track { animation-play-state: paused; }

.logo-track img {
  flex: none;
  height: 34px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  margin-right: clamp(40px, 5vw, 76px);
  opacity: .40;
  transition: opacity .3s ease, transform .3s ease;
}
.logo-track img:hover { opacity: 1; transform: scale(1.07); }

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 14. Devices ---------- */
.device-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.device {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 10px 16px; text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.device:hover { transform: translateY(-4px); border-color: var(--red-200); box-shadow: var(--sh-sm); }
.device svg { width: 26px; height: 26px; margin: 0 auto 10px; color: var(--blue-500); }
.device:nth-child(even) svg { color: var(--red-500); }
.device span { font-size: .78rem; font-weight: 700; color: var(--ink-700); display: block; }

/* ---------- 14b. Explainer band + quick-fact cards ---------- */
.eyebrow-icon { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-icon svg { width: 15px; height: 15px; }

.explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  text-align: center;
}
.explain-col { display: flex; flex-direction: column; align-items: center; }
.explain-ico {
  width: 58px; height: 58px; flex: none;
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 2px solid var(--blue-200);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-600);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.explain-col:hover .explain-ico {
  transform: translateY(-3px);
  border-color: var(--blue-500);
  box-shadow: 0 8px 20px rgba(61, 132, 242, .18);
}
.explain-ico svg { width: 26px; height: 26px; }
.explain-col h3 { font-size: 1.14rem; margin-bottom: 12px; }
.explain-col p { font-size: .93rem; color: var(--ink-500); margin: 0; max-width: 36ch; }

/* ---------- 15. Testimonials ---------- */
.quote {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; height: 100%; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue-200); }

/* oversized decorative quotation mark */
.quote::before {
  content: "\201C";
  position: absolute; top: 6px; right: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem; line-height: 1;
  color: var(--red-100);
  pointer-events: none;
}

.quote-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.stars { color: #f5a524; letter-spacing: 2px; font-size: .95rem; }
.stars b { margin-left: 7px; letter-spacing: 0; font-size: .8rem; font-weight: 800; color: var(--ink-800); }

.verified {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em;
  color: var(--green-500); background: var(--green-50);
  padding: 4px 10px; border-radius: var(--r-pill);
  /* sits above the decorative quote mark */
  position: relative; z-index: 1;
}
.verified svg { width: 11px; height: 11px; }

.quote p { font-size: .94rem; color: var(--ink-500); flex: 1; }

.quote-by { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; font-size: .84rem; color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--red-400));
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line);
}
.quote-by strong { display: block; font-size: .9rem; }
.quote-by span { font-size: .78rem; color: var(--ink-400); }

/* plan chip on the right edge of the byline */
.quote-plan {
  margin-left: auto;
  font-size: .68rem; font-weight: 700; white-space: nowrap;
  color: var(--blue-600); background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 10px; border-radius: var(--r-pill);
}

/* ---------- 16. FAQ / accordion ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 12px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: var(--red-200); box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--ink-900);
  padding: 19px 22px; line-height: 1.45;
}
.faq-q:hover { color: var(--red-600); }
/* The +/× is drawn with pseudo-element bars rather than the text glyph, so it
   is always optically centred; the literal "+" in the markup is hidden. */
.faq-ico {
  position: relative;
  width: 32px; height: 32px; flex: none;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  font-size: 0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1),
              background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.faq-ico::before,
.faq-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--blue-600); border-radius: 2px;
  transition: background .25s ease;
}
.faq-ico::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-ico::after  { width: 2px;  height: 12px; transform: translate(-50%, -50%); }

.faq-q:hover .faq-ico { background: var(--blue-100); border-color: var(--blue-200); }

.faq-item.open .faq-ico {
  transform: rotate(135deg);
  background: var(--red-500);
  border-color: var(--red-500);
  box-shadow: 0 4px 12px rgba(248, 97, 90, .32);
}
.faq-item.open .faq-ico::before,
.faq-item.open .faq-ico::after { background: #fff; }
.faq-item.open .faq-q:hover .faq-ico { background: var(--red-600); border-color: var(--red-600); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-500); font-size: .94rem; }

/* ---------- 17. CTA band ---------- */
.cta-band {
  border-radius: var(--r-xl); padding: clamp(38px, 5vw, 62px) clamp(24px, 4vw, 56px);
  background: linear-gradient(125deg, var(--red-500) 0%, var(--red-400) 42%, var(--blue-500) 128%);
  color: #fff; text-align: center; box-shadow: var(--sh-lg); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255,255,255,.10); top: -190px; right: -120px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 620px; margin-inline: auto; }
.cta-band .btn-outline { background: #fff; border-color: #fff; color: var(--red-600); }
.cta-band .btn-outline:hover { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }

/* ---------- 17b. Full-bleed CTA band over a dotted world map ---------- */
.cta-world {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(64px, 8vw, 108px) 0;
  background: #fdf6f5;
}
.cta-world::before {
  content: ""; position: absolute; inset: 0;
  background: url("assets/img/world-dots.svg") no-repeat center / min(1420px, 114%);
  opacity: .16;
  pointer-events: none;
  /* fade the map out at the band edges so it never hard-cuts */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.cta-world > .wrap { position: relative; z-index: 1; }
.cta-world h2 { margin-bottom: 14px; }
.cta-world p {
  color: var(--ink-400);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn-outline-blue {
  background: #fff; color: var(--blue-600); border-color: var(--blue-300);
  box-shadow: var(--sh-xs);
}
.btn-outline-blue:hover {
  background: var(--blue-50); border-color: var(--blue-500); color: var(--blue-700);
}

/* ---------- 18. Article / prose ---------- */
.prose { max-width: 760px; margin-inline: auto; font-size: 1.02rem; }
.prose h2 { margin-top: 46px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { margin-bottom: 1.3em; }
.prose li { color: var(--ink-500); }
.prose blockquote {
  margin: 30px 0; padding: 20px 26px; border-left: 4px solid var(--red-400);
  background: var(--red-50); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink-700);
}
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: 1.4em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; }
.prose th { background: var(--surface); color: var(--ink-900); }

.toc {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 36px;
}
.toc h4 { margin-bottom: 10px; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc li { margin-bottom: 6px; font-size: .93rem; }

.meta-line { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; font-size: .84rem; color: var(--ink-400); margin-bottom: 8px; }

/* ---------- 19. Blog cards ---------- */
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--blue-500), var(--red-400)); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .9rem; text-align: center; padding: 20px; }
.post-card:nth-child(even) .post-thumb { background: linear-gradient(135deg, var(--red-500), var(--blue-400)); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.1rem; margin-bottom: 10px; }
.post-body h3 a { color: var(--ink-900); }
.post-body h3 a:hover { color: var(--red-600); }
.post-body p { font-size: .92rem; color: var(--ink-500); flex: 1; }
.tag {
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-600); background: var(--blue-50); padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: 12px;
}
.post-meta { font-size: .8rem; color: var(--ink-400); margin-top: 16px; }

/* ---------- 20. Channel grid ---------- */
.chan-cat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; height: 100%; }
.chan-cat h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.chan-cat h3 .count { font-size: .72rem; font-weight: 800; color: var(--red-600); background: var(--red-50); padding: 4px 10px; border-radius: var(--r-pill); }
.chan-list { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chan-list li {
  margin: 0; font-size: .8rem; font-weight: 600; color: var(--ink-500);
  background: var(--surface); border: 1px solid var(--line-soft); padding: 6px 12px; border-radius: var(--r-sm);
}

/* ---------- 21. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--sh-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink-800);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: #fff; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px var(--blue-50);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8rem; color: var(--ink-400); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 600; }
.form-msg.ok { display: block; background: var(--green-50); color: var(--green-500); }

.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.info-item:nth-child(even) .ico { background: var(--red-50); color: var(--red-600); }
.info-item strong { display: block; margin-bottom: 3px; }
.info-item p { margin: 0; font-size: .92rem; color: var(--ink-500); }

/* ---------- 22. Footer ---------- */
.site-footer { background: var(--ink-900); color: #9db0c6; padding: clamp(52px, 6vw, 78px) 0 0; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #9db0c6; }
.site-footer a:hover { color: var(--red-300); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.35fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand em { color: #7d90a8; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; font-size: .88rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--red-400); }
.footer-bottom {
  margin-top: 46px; border-top: 1px solid rgba(255,255,255,.09);
  padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between; font-size: .82rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-row span { background: rgba(255,255,255,.08); border-radius: 5px; padding: 5px 10px; font-size: .7rem; font-weight: 700; color: #c6d4e4; }
.disclaimer { font-size: .78rem; color: #6d8199; line-height: 1.7; border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0 30px; }

/* ---------- 23. Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 9px;
  background: #25d366; color: #fff; font-weight: 700; font-size: .88rem;
  padding: 13px 20px; border-radius: var(--r-pill);
  box-shadow: 0 14px 32px rgba(37, 211, 102, .38);
  transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---------- 24. Misc ---------- */
.badge-soft {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-50); color: var(--blue-700);
  border: 1px solid var(--blue-100);
  font-size: .78rem; font-weight: 700; padding: 7px 14px; border-radius: var(--r-pill);
}
.badge-soft.red { background: var(--red-50); color: var(--red-700); border-color: var(--red-100); }

.notice {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--r-md); padding: 20px 24px; font-size: .92rem; color: var(--ink-500);
}
.notice.red { background: var(--red-50); border-color: var(--red-100); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 25. Responsive ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 3-step rows stack instead of leaving an orphan card */
  .steps.steps-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps-3 .step:not(:last-child)::before { display: none; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  /* three plans stack rather than leaving an orphan in a 2-up grid */
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .screen-opt { padding: 12px 22px; font-size: .88rem; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px; box-shadow: var(--sh-md);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .3s ease, opacity .25s ease;
  }
  .nav.open { max-height: 78vh; overflow-y: auto; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1rem; border-radius: var(--r-sm); }
  .header-cta .btn-outline { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .explain-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage-wrap { width: min(100%, 440px); }
  .float-card.fc-1 { left: -4%; }
  .float-card.fc-2 { right: -4%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  /* keep the promo line; the feature strip would wrap awkwardly on phones */
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar-right { display: none; }
  .pricing-grid, .steps, .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .device-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .stats-band .grid { gap: 26px; }

  /* On phones the circle has no room for the badges, and they would cover the
     photos. Both claims already appear in the hero bullets and the stats band. */
  .collage-wrap { width: min(100%, 330px); }
  .collage { gap: 7px; }
  .float-card { display: none; }
  .collage-core-label { font-size: .58rem; letter-spacing: .09em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }

  /* no marquee — lay the logos out as a static wrapped row instead */
  .logo-strip { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .logo-track { width: auto; flex-wrap: wrap; justify-content: center; transform: none !important; }
  .logo-track img { margin: 0 26px 22px; opacity: .55; }
  .logo-track [aria-hidden="true"] { display: none; }
}

@media print {
  .site-header, .topbar, .wa-float, .site-footer, .cta-band { display: none !important; }
}


/* ==========================================================================
   2. WordPress-specific additions
   The nav is output by wp_nav_menu as <ul><li><a>, where the static build used
   bare anchors — these rules make the list render identically.
   ========================================================================== */
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { margin: 0; }

@media (max-width: 900px) {
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav li { width: 100%; }
  .nav li a { display: block; }
}

/* footer menus */
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }

/* editor / core block defaults */
.alignwide  { max-width: 1180px; margin-inline: auto; }
.alignfull  { max-width: none; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .prose figcaption { font-size: .85rem; color: var(--ink-400); text-align: center; margin-top: 8px; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.sticky, .bypostauthor { }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--ink-700); font-weight: 700; font-size: .9rem;
}
.pagination .page-numbers:hover { border-color: var(--blue-300); color: var(--blue-600); }
.pagination .page-numbers.current { background: var(--red-500); border-color: var(--red-500); color: #fff; }

/* comments */
.comment-list { list-style: none; padding: 0; }
.comment-list li { margin-bottom: 20px; }
