/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:root {
  --page-bg: #fefefc;
  --ink: #1f2a37;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e6e3dd;
  --surface: #fefefc;
  --surface-soft: #f2f0eb;
  --accent: #0a5fb2;
  --accent-dark: #074780;
  --cta: #ff7a1a;
  --cta-dark: #e96400;
  --teal: #103144;
  --teal-soft: #1a4a66;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .07);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, .12);
  --max: 1180px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Urbanist', system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 .6em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "ss01" 1, "ss02" 1;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.024em; }
h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.014em; }
h4 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.008em; }
p  { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 500; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
p:has(> .btn) { margin-top: 1.6em; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-dark); color: #fff; }
.btn-secondary { background: var(--accent); color: #fff; }
.btn-secondary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-soft); color: var(--ink); }
.btn-large { padding: 18px 36px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-bar {
  font-size: .8rem;
  color: var(--muted);
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 14px; flex-wrap: wrap; }
.top-bar a { color: var(--ink-soft); font-weight: 500; }
.top-bar .account-links { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; margin-left: auto; }

/* IP / country detection block (Cloudflare-powered) */
.ip-detect {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Urbanist', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.ip-detect[hidden] { display: none; }
.ip-detect-flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.ip-detect-flag[hidden] { display: none; }
.ip-detect-country { color: var(--ink); font-weight: 600; }
.ip-detect-sep { color: var(--line); }
.ip-detect-label { color: var(--muted); font-weight: 500; }
.ip-detect-ip { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 540px) {
  .ip-detect-ip, .ip-detect-sep, .ip-detect-label { display: none; }
}

/* VPN location picker (top bar) */
.location-picker { position: relative; }
.location-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font: inherit;
  font-family: 'Urbanist', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.location-toggle:hover,
.location-toggle[aria-expanded="true"] {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent);
}
.location-toggle .caret { transition: transform .2s ease; }
.location-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.location-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 200px;
  z-index: 60;
  display: none;
}
.location-picker.is-open .location-menu { display: block; }
.location-menu.location-menu-right { left: auto; right: 0; }
.location-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-family: 'Urbanist', sans-serif;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
}
.location-menu a:hover { background: var(--surface-soft); color: var(--accent); }
.location-menu img { display: block; height: 14px; width: 20px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-size: .95rem;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--surface-soft); color: var(--accent); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-has-children { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px;
  display: none;
  list-style: none;
  margin: 4px 0 0;
}
.nav-has-children:hover .nav-dropdown,
.nav-has-children:focus-within .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block;
  letter-spacing: -0.005em;
  font-weight: 500;
  font-family: 'Urbanist', sans-serif;
  color: var(--ink-soft);
  font-size: .92rem;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav-dropdown a:hover { background: var(--surface-soft); color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open, .nav-cta.open { display: flex; flex-direction: column; align-items: stretch; width: 100%; }
  .nav { flex-wrap: wrap; }
  .nav-dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-soft) 100%);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 10vw, 120px);
}
.hero-home {
  background-image: linear-gradient(135deg, rgba(16,49,68,.78), rgba(16,49,68,.55)), url('/assets/images/men-freedom.jpg');
  background-size: cover;
  background-position: center;
}
.hero h1 { color: #fff; max-width: 720px; }
.hero p.lead { font-size: 1.25rem; max-width: 640px; opacity: .92; }
.hero .hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero ul.hero-list { margin: 24px 0 0; padding: 0; list-style: none; opacity: .9; }
.hero ul.hero-list li::before { content: "✓"; color: var(--cta); font-weight: 700; margin-right: 10px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-grid .hero-media { text-align: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-small {
  padding: 60px 0 50px;
  background: var(--surface-soft);
  color: var(--ink);
}
.hero-small h1 { color: var(--ink); margin: 0; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--surface-soft); }
.section-narrow .container { max-width: 880px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* tick list */
.tick-list { list-style: none; padding: 0; margin: 0; }
.tick-list li {
  position: relative;
  padding: 6px 0 6px 32px;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  background: var(--cta);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Platform icons row (compact) ---------- */
.platforms { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.platforms .platform { padding: 6px 4px; }
.platforms .platform img { height: 22px; margin: 0 auto 4px; opacity: .75; }
.platforms .platform p { margin: 0; font-family: 'Urbanist', sans-serif; font-size: .6rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 720px) { .platforms { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .platforms { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Text + media ---------- */
.text-media { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.text-media.reverse { direction: rtl; }
.text-media.reverse > * { direction: ltr; }
@media (max-width: 900px) { .text-media { grid-template-columns: 1fr; gap: 32px; } .text-media.reverse { direction: ltr; } }
.text-media h2 { margin-bottom: 16px; }

/* ---------- Cards grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card img { height: 72px; width: auto; margin-bottom: 16px; }
.card h4 { margin: 0 0 8px; }
.card p { color: var(--ink-soft); margin: 0; }

/* ---------- Get started section ---------- */
.get-started-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.get-started-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 122, 26, .10), transparent 70%);
  pointer-events: none;
}
.get-started-card::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(10, 95, 178, .08), transparent 70%);
  pointer-events: none;
}
.guarantee-badge {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
}
.guarantee-badge img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, .12));
  animation: badge-float 6s ease-in-out infinite;
}
.guarantee-badge::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: radial-gradient(circle, rgba(255, 122, 26, .18), transparent 65%);
  z-index: -1;
  animation: badge-pulse 4s ease-in-out infinite;
}
@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes badge-pulse {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.08); }
}
@media (max-width: 800px) {
  .get-started-card { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; text-align: center; }
  .guarantee-badge { max-width: 180px; }
}
@media (max-width: 480px) {
  .get-started-card { padding: 28px 16px; gap: 24px; border-radius: 16px; }
  .guarantee-badge { max-width: 140px; }
  .section { padding: 56px 0; }
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--cta) 100%);
  opacity: .25;
  z-index: 0;
}
@media (max-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
.step {
  background: transparent;
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.step .step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(10, 95, 178, .25), inset 0 1px 0 rgba(255,255,255,.2);
  border: 4px solid var(--surface);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(10, 95, 178, .35), inset 0 1px 0 rgba(255,255,255,.2);
}
.step p { margin: 0; font-family: 'Urbanist', sans-serif; font-weight: 500; color: var(--ink); }

/* ---------- Channels strip (home page logos, display only) ---------- */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 480px) { .channels-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 340px) { .channels-grid { grid-template-columns: 1fr; } }
.channels-grid .channel-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  display: grid;
  place-items: center;
  min-height: 88px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.channels-grid .channel-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 95, 178, .25);
}
.channels-grid img { max-height: 44px; width: auto; margin: 0 auto; filter: saturate(.9); transition: filter .3s ease; }
.channels-grid .channel-tile:hover img { filter: saturate(1.15); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  background: var(--surface);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  list-style: none;
  padding-right: 30px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -2px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding-top: 14px; color: var(--ink-soft); }
.faq .faq-body :last-child { margin-bottom: 0; }

/* ---------- Pricing/feature panel ---------- */
.cta-banner {
  background: linear-gradient(135deg, #103144 0%, #1d4859 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 14px 40px rgba(16, 49, 68, .22);
}
.cta-banner h2 { color: #fff; margin: 0 0 8px; }
.cta-banner p { margin: 0; opacity: .9; }
@media (max-width: 700px) { .cta-banner { grid-template-columns: 1fr; text-align: center; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal);
  color: #c8d4dc;
  padding: 64px 0 24px;
  margin-top: 80px;
}
.site-footer h3 {
  color: #fff;
  font-family: 'Urbanist', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .22em;
  margin: 0 0 16px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #c8d4dc; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.footer-payments img {
  height: 26px;
  width: auto;
  display: inline-block;
  margin: 0 6px 6px 0;
  vertical-align: middle;
  background: #fefefc;
  padding: 4px 6px;
  border-radius: 4px;
  object-fit: contain;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .85rem;
}
.footer-social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--cta); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Long-form prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: .08s; }
  .reveal[data-delay="2"] { transition-delay: .16s; }
  .reveal[data-delay="3"] { transition-delay: .24s; }
  .reveal[data-delay="4"] { transition-delay: .32s; }

  /* Hero entrance */
  .hero-text > * { opacity: 0; animation: hero-rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
  .hero-text > *:nth-child(1) { animation-delay: .05s; }
  .hero-text > *:nth-child(2) { animation-delay: .18s; }
  .hero-text > *:nth-child(3) { animation-delay: .30s; }
  .hero-text > *:nth-child(4) { animation-delay: .42s; }
  .hero-text > *:nth-child(5) { animation-delay: .54s; }
  @keyframes hero-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }

  /* Gentle gradient drift on hero background */
  .hero-home { animation: hero-drift 18s ease-in-out infinite alternate; }
  @keyframes hero-drift {
    from { background-position: 50% 50%; }
    to   { background-position: 52% 48%; }
  }

  /* CTA button pulse halo (primary, in dark hero only) */
  .hero .btn-primary {
    box-shadow: 0 0 0 0 rgba(255, 122, 26, .55);
    animation: cta-pulse 2.4s ease-out infinite;
  }
  @keyframes cta-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 122, 26, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(255, 122, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
  }

  /* Card on-hover already; this enhances first-paint feel */
  .card { will-change: transform, box-shadow; }

  /* Platform icons gentle stagger float on hover */
  .platforms .platform { transition: transform .35s ease; }
  .platforms .platform:hover { transform: translateY(-4px); }
  .platforms .platform:hover img { opacity: 1; }
  .platforms .platform img { transition: opacity .25s ease; }

  /* FAQ summary chevron rotate */
  .faq summary::after { transition: transform .25s ease, content 0s; }
  .faq details[open] summary::after { transform: rotate(180deg); }

  /* Subtle underline grow on prose/footer links */
  .site-footer a, .prose a {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .25s ease;
    text-decoration: none;
  }
  .site-footer a:hover, .prose a:hover { background-size: 100% 1px; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-text > * { opacity: 1; animation: none; }
  .guarantee-badge img, .guarantee-badge::before, .hero-home, .hero .btn-primary { animation: none !important; }
}

/* ---------- Customer satisfaction ---------- */
.satisfaction {
  text-align: center;
}
.satisfaction-head { margin-bottom: 40px; }
.satisfaction-score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 18px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  font-family: 'Urbanist', sans-serif;
}
.satisfaction-score .score-pct {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
}
.satisfaction-score .score-label {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.satisfaction-note { color: var(--muted); font-size: .9rem; max-width: 540px; margin: 0 auto; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  text-align: left;
}
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.quote-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 22px;
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--cta);
  opacity: .85;
}
.quote-card .quote-body {
  padding-top: 36px;
  font-size: 1.02rem;
  color: var(--ink);
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  line-height: 1.5;
}
.quote-card .quote-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--muted);
}
.quote-card .quote-stars { color: var(--cta); letter-spacing: 2px; font-size: .95rem; }

.satisfaction-footnote {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .85rem;
}
.satisfaction-footnote::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--line);
}
.satisfaction-footnote::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--line);
}

/* ---------- Channels page cards ---------- */
.channel-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.channel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 95, 178, .25);
  text-decoration: none;
}
.channel-card-logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  padding: 6px;
  overflow: hidden;
}
.channel-card-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.channel-card-letter {
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}
.channel-card-meta { min-width: 0; }
.channel-card-meta h4 { margin: 0 0 2px; font-size: 1rem; line-height: 1.2; }
.channel-card-meta p { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------- Installation guides (per-platform) ---------- */
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 40px; }
}

.guide-main { min-width: 0; }
.guide-main h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-top: 0; }
.guide-main h3 { margin-top: 1.4em; color: var(--ink); }
.guide-main p { color: var(--ink); line-height: 1.7; }
.guide-main a { color: var(--accent); }
.guide-main ul, .guide-main ol { padding-left: 1.4em; margin: 0 0 1em; }
.guide-main li { margin-bottom: .3em; line-height: 1.6; }

.guide-intro {
  padding: 20px 24px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.guide-intro p:last-child { margin-bottom: 0; }

.guide-step {
  counter-increment: guide-step;
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.guide-step::before {
  content: counter(guide-step);
  position: absolute;
  top: 24px;
  left: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  border: 4px solid var(--page-bg);
  box-shadow: 0 8px 20px rgba(10, 95, 178, .22);
}
@media (max-width: 540px) {
  .guide-step { padding: 20px 18px; }
  .guide-step::before { left: 50%; top: -22px; transform: translateX(-50%); }
}
.guide-step img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 14px 0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
  background: var(--surface-soft);
}
.guide-main { counter-reset: guide-step; }

.guide-callout {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-left: 3px solid var(--cta);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 16px 0;
}
.guide-callout p:last-child { margin-bottom: 0; }

.guide-divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 48px 0 28px;
}

/* Sidebar */
.guide-sidebar { position: sticky; top: 100px; align-self: start; }
@media (max-width: 900px) {
  .guide-sidebar { position: static; }
}
.guide-sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
}
.guide-sidebar-card h4 {
  font-family: 'Urbanist', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin: 0 0 14px;
}
.guide-sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.guide-sidebar-card li { padding: 4px 0; }
.guide-sidebar-card li a {
  display: block;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: .92rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.guide-sidebar-card li a:hover { background: var(--surface-soft); color: var(--accent); }
.guide-sidebar-card li.is-active a {
  background: var(--surface-soft);
  color: var(--accent);
  font-weight: 600;
}
.guide-sidebar-help p { font-size: .9rem; color: var(--ink-soft); }
.guide-breadcrumb { margin-bottom: 8px; }
.guide-breadcrumb a { color: var(--accent); }
.guide-cta-row { text-align: center; }

/* Tables used inside guide steps (Chromebook server list, Sabai defaults) and on /affiliate-program/ */
.guide-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.guide-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-table td:first-child { font-family: 'Urbanist', sans-serif; font-weight: 600; width: 30%; }
.guide-table code { background: var(--surface-soft); padding: 2px 8px; border-radius: 4px; font-size: .85em; }

.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-soft); font-family: 'Urbanist', sans-serif; font-weight: 500; }
.prose tr:nth-child(even) td { background: rgba(245, 247, 250, .5); }
.prose code { background: var(--surface-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; font-size: .9em; font-family: ui-monospace, "SF Mono", Consolas, monospace; }

/* Installation-guides hub card grid */
.guide-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: flex-start; }
.guide-card:hover { text-decoration: none; }
.guide-card img { height: 40px; width: auto; opacity: .8; margin-bottom: 14px; }
.guide-card h4 { margin: 0 0 4px; }
.guide-card p { color: var(--ink-soft); }

/* ---------- Hero CTA row (location pages) ---------- */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Ghost button variant for use on dark hero backgrounds */
.btn-ghost-hero {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Urbanist', sans-serif;
  font-weight: 500;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  text-decoration: none;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-ghost-hero:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-ghost-hero.btn-large { padding: 18px 36px; font-size: .9rem; }
