/* ==========================================================================
   IconicVPN design system
   Tokens → base → layout → components → sections → utilities
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces: a cool midnight scale, not pure black */
  --ink-0: #05070d;      /* page */
  --ink-1: #0a0e18;      /* raised section */
  --ink-2: #0f1523;      /* card */
  --ink-3: #161e30;      /* card hover / inputs */
  --line: rgba(148, 170, 214, 0.12);
  --line-strong: rgba(148, 170, 214, 0.22);

  /* Text */
  --text: #eef2fa;
  --text-2: #a9b4c9;
  --text-3: #75819a;

  /* Brand: blue taken from the shield, cyan from its highlight */
  --blue: #2f7cff;
  --blue-2: #5b9bff;
  --cyan: #67e0ff;
  --mint: #4ee2b0;       /* "connected" / positive state only */
  --amber: #ffc46b;      /* owner-to-confirm notes */

  --grad-brand: linear-gradient(135deg, #67e0ff 0%, #2f7cff 55%, #4b5bff 100%);
  --grad-text: linear-gradient(100deg, #ffffff 10%, #a9d8ff 55%, #67e0ff 100%);

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --section-y: clamp(72px, 9vw, 136px);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(103, 224, 255, 0.25), 0 18px 60px -18px rgba(47, 124, 255, 0.55);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--text-2); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: var(--text); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; line-height: 1.0; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-lg); line-height: 1.3; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: rgba(103, 224, 255, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--ink-0);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Serif accent: used for one or two words per headline, never whole lines */
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; position: relative; }
.section--raised { background: var(--ink-1); border-block: 1px solid var(--line); }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-lg); margin-top: 18px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7;
}
.section-head--center .eyebrow::after {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.7;
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--btn-bg);
  color: var(--text);
  font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: rgba(169, 216, 255, 0.4); background: #1c2640; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: linear-gradient(180deg, #4d93ff 0%, #2f7cff 60%, #2667e0 100%);
  border-color: rgba(160, 205, 255, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px -10px rgba(47, 124, 255, 0.8);
  color: #fff;
}
.btn--primary:hover {
  background: linear-gradient(180deg, #62a1ff 0%, #3a86ff 60%, #2b70ea 100%);
  border-color: rgba(190, 225, 255, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 14px 40px -10px rgba(47, 124, 255, 0.95);
}
.btn--ghost { background: transparent; }
.btn--light { background: var(--text); color: var(--ink-0); border-color: transparent; }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--blue-2); font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}
.text-link:hover { color: var(--cyan); border-color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.12rem; letter-spacing: -0.02em; flex: none; }
.brand svg { width: 30px; height: 34px; }
.brand b { font-weight: 650; }
.brand span { color: var(--text-2); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--r-pill);
  color: var(--text-2); font-size: 0.94rem; font-weight: 500;
  transition: color var(--dur), background var(--dur);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { color: var(--text-2); font-weight: 500; font-size: 0.94rem; padding: 8px 10px; }
.nav-signin:hover { color: var(--text); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--ink-2);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px;
  position: relative; transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

/* Desktop: the header sits in the same centred width as the page content, with the links grouped on the left
   beside the logo and Sign in / the main button on the right (tablets and phones use the menu button below) */
@media (min-width: 981px) {
  .nav { gap: 40px; }
  .nav > nav { flex: 1; }
  .nav-links { justify-content: flex-start; gap: 8px; margin: 0; }
}

@media (max-width: 980px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 0 0; z-index: 49;
    background: var(--ink-0);
    padding: 12px var(--gutter) 32px;
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu ul { list-style: none; border-top: 1px solid var(--line); }
  .mobile-menu li a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 4px; font-size: 1.15rem; font-weight: 550;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu li a::after { content: "→"; color: var(--text-3); }
  .mobile-menu .mobile-cta { display: grid; gap: 12px; margin-top: 28px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--ink-0); border-bottom-color: var(--line); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.hero::before {
  /* ambient light: one soft source top-right, one low-left; no floating blobs */
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%; z-index: -1;
  background:
    radial-gradient(48% 50% at 78% 28%, rgba(47, 124, 255, 0.22), transparent 70%),
    radial-gradient(36% 40% at 10% 90%, rgba(103, 224, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  /* faint engineering grid, masked to fade out */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 170, 214, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 214, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin: 6px 0 24px; }
.hero-sub { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); max-width: 34ch; color: var(--text-2); margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; color: var(--text-2); font-size: var(--fs-sm); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--mint); flex: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  font-size: var(--fs-sm); color: var(--text-2);
}
.pill b {
  background: rgba(103, 224, 255, 0.12); color: var(--cyan); font-weight: 600;
  padding: 3px 10px; border-radius: var(--r-pill); font-size: var(--fs-xs); letter-spacing: 0.02em;
}

.pill b { white-space: nowrap; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sub { max-width: 46ch; }
}
@media (max-width: 520px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .pill { border-radius: 14px; align-items: flex-start; }
}

/* ---------- Product visual (illustrative app mockup) ---------- */
.device-stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 20px 0; margin: 0; }
.device-stage::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 124, 255, 0.28), transparent 65%);
  filter: blur(10px); z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: min(320px, 82vw); aspect-ratio: 9 / 18.5;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2a3348, #0d121e 40%, #1a2133);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 30px 80px -40px rgba(47, 124, 255, 0.6);
}
/* The screen mirrors the Android app's home screen: its palette (Theme.kt) and layout */
.phone-screen {
  --app-navy: #001236; --app-deep: #000c26; --app-card: #12264b; --app-card-high: #1a3260;
  --app-blue: #1d53cf; --app-blue-bright: #3b76ff; --app-cyan: #33c9fd;
  --app-muted: #8d9bbd; --app-divider: #2a3d66; --app-amber: #ffb547;
  height: 100%; border-radius: 36px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, var(--app-navy) 0%, var(--app-deep) 100%);
  display: flex; flex-direction: column; padding: 46px 16px 26px; color: #fff;
}
.phone-screen::before { /* camera */
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}
.app-top { position: relative; display: flex; justify-content: center; align-items: center; height: 26px; }
.app-wordmark { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; }
.app-wordmark svg { width: 16px; height: 18px; }
.app-wordmark em { font-style: normal; color: var(--app-cyan); }
.app-menu { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); display: grid; gap: 3px; }
.app-menu i { width: 3.5px; height: 3.5px; border-radius: 50%; background: #fff; }

.app-hero { position: relative; display: grid; place-items: center; flex: 1 1 186px; min-height: 170px; max-height: 250px; margin-top: 4px; }
.app-hero::before, .app-hero::after { /* the app's two thin rings */
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(29, 83, 207, 0.22); transition: border-color 600ms;
}
.app-hero::before { width: 170px; height: 170px; }
.app-hero::after { width: 140px; height: 140px; border-color: rgba(29, 83, 207, 0.32); }
.app-disc {
  position: relative; z-index: 1; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--app-card-high), var(--app-card));
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 60px 6px rgba(29, 83, 207, 0.14);
  transition: background 600ms, box-shadow 600ms, border-color 600ms;
}
.app-disc::after { /* ripple while connected */
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(51, 201, 253, 0); pointer-events: none;
}
.app-disc svg { width: 46px; height: 52px; opacity: 0.75; transition: opacity 600ms; }
.is-on .app-hero::before { border-color: rgba(51, 201, 253, 0.16); }
.is-on .app-hero::after { border-color: rgba(51, 201, 253, 0.3); }
.is-on .app-disc {
  background: linear-gradient(180deg, var(--app-cyan), var(--app-blue));
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 70px 12px rgba(51, 201, 253, 0.3);
}
.is-on .app-disc svg { opacity: 1; }
.is-on .app-disc::after { animation: app-ripple 2.4s ease-out infinite; }
@keyframes app-ripple { 0% { transform: scale(1); border-color: rgba(51, 201, 253, 0.35); } 100% { transform: scale(1.75); border-color: rgba(51, 201, 253, 0); } }

.app-status { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; }
.app-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 181, 71, 0.12); color: var(--app-amber); transition: color 400ms, background 400ms;
}
.app-pill svg { width: 13px; height: 13px; }
.app-pill b { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.is-on .app-pill { background: rgba(29, 83, 207, 0.32); color: var(--app-cyan); }
.app-detail { font-size: 12px; color: var(--app-muted); }
.app-timer { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.phone .when-on, .phone.is-on .when-off { display: none; }
.phone.is-on .when-on { display: inline-flex; }
.phone.is-on .app-timer.when-on { display: block; }

.app-action {
  display: grid; place-items: center; height: 44px; margin-top: 16px; border-radius: 28px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--app-blue), var(--app-blue-bright)); border: 1.5px solid transparent;
}
.is-on .app-action { background: rgba(18, 38, 75, 0.5); border-color: var(--app-divider); }

.app-location {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  padding: 11px 12px; border-radius: 16px; background: var(--app-card);
}
.app-flag { width: 30px; height: 20px; border-radius: 3px; flex: none; }
.app-flag--code { display: grid; place-items: center; background: var(--app-blue); font-size: 9px; font-weight: 700; }
.app-location div { flex: 1; min-width: 0; }
.app-location b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-location span { font-size: 10.5px; color: var(--app-muted); }
.app-location em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--app-cyan); white-space: nowrap; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.app-tiles div { padding: 10px 11px; border-radius: 16px; background: var(--app-card); border: 1.5px solid transparent; min-width: 0; }
.app-tiles small { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--app-muted); }
.app-tiles small svg { width: 11px; height: 11px; }
.app-tiles b { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-on .app-tiles .is-picked { border-color: rgba(51, 201, 253, 0.7); }
.is-on .app-tiles .is-picked small svg { color: var(--app-cyan); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: rgba(15, 21, 35, 0.86); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  font-size: 13px; color: var(--text-2);
}
.float-card b { color: var(--text); font-weight: 600; display: block; font-size: 13px; }
.float-card .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(103, 224, 255, 0.1); color: var(--cyan); flex: none; }
.float-card .ico svg { width: 16px; height: 16px; }
.float-card--a { top: 13%; left: 0; }
.float-card--b { bottom: 7%; right: 0; }
@media (min-width: 1100px) {
  .float-card--a { left: -4%; }
  .float-card--b { right: -4%; }
}
@media (max-width: 520px) {
  .float-card { display: none; }
}
.mock-label {
  display: block; text-align: center; margin-top: 14px;
  font-size: var(--fs-xs); color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.06em;
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-1), var(--ink-0)); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.trust-list li { padding: 28px 24px; display: flex; gap: 14px; align-items: flex-start; border-left: 1px solid var(--line); }
.trust-list li:first-child { border-left: 0; padding-left: 0; }
.trust-list svg { width: 22px; height: 22px; color: var(--cyan); flex: none; margin-top: 2px; }
.trust-list b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.trust-list span { font-size: var(--fs-sm); color: var(--text-3); }
@media (max-width: 960px) {
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-list li { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .trust-list li:nth-child(-n+2) { border-top: 0; }
  .trust-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .trust-list li:nth-child(2) { border-top: 1px solid var(--line); }
}

/* ---------- Cards ---------- */
.card {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)) , var(--ink-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card h3, .card h4 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-tile {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(180deg, rgba(103, 224, 255, 0.14), rgba(47, 124, 255, 0.06));
  border: 1px solid rgba(103, 224, 255, 0.22);
  color: var(--cyan);
}
.icon-tile svg { width: 22px; height: 22px; }

/* Bento for features: varied sizes break card repetition */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; }
.bento .span-4 { grid-column: span 4; }
.bento .span-6 { grid-column: span 6; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 1; }
  .bento .span-6, .bento .span-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento > *, .bento .span-6, .bento .span-wide { grid-column: span 1; }
}
.feature-big { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; overflow: hidden; }
@media (max-width: 760px) { .feature-big { grid-template-columns: 1fr; } }

/* Tunnel diagram (explains how a VPN works) */
.tunnel { display: flex; align-items: center; gap: 0; padding: 8px 0; }
.tunnel .node { flex: none; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--text-3); text-align: center; width: 72px; }
.tunnel .node .dot { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-strong); color: var(--text); }
.tunnel .node .dot svg { width: 22px; height: 22px; }
.tunnel .node--vpn .dot { background: linear-gradient(180deg, #1d5bd6, #0d2a6a); border-color: rgba(103, 224, 255, 0.5); box-shadow: 0 0 30px -6px rgba(47, 124, 255, 0.8); }
.tunnel .pipe { flex: 1; height: 10px; border-radius: 10px; position: relative; overflow: hidden; margin: 0 -4px 22px; min-width: 30px; }
.tunnel .pipe--enc { background: rgba(47, 124, 255, 0.16); border: 1px solid rgba(103, 224, 255, 0.35); }
.tunnel .pipe--enc::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(103, 224, 255, 0.7) 10px 16px);
  animation: flow 1.6s linear infinite;
}
.tunnel .pipe--open { background: rgba(255, 255, 255, 0.05); border: 1px dashed var(--line-strong); }
@keyframes flow { from { transform: translateX(-26px); } to { transform: translateX(0); } }
.tunnel-caption { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.04em; margin-top: 4px; gap: 12px; }

/* ---------- Split / comparison ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.split .sticky { position: sticky; top: 110px; }
@media (max-width: 960px) { .split .sticky { position: static; } }

.reasons { list-style: none; counter-reset: r; border-top: 1px solid var(--line); }
.reasons li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.reasons li::before { content: counter(r, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--cyan); padding-top: 4px; grid-row: span 2; }
.reasons h3 { font-size: var(--fs-xl); }
.reasons p { margin: 0; }

/* ---------- Pricing ---------- */
.billing-note { text-align: center; color: var(--text-3); font-size: var(--fs-sm); margin-top: 22px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan--featured { order: -1; }
}
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--r-lg);
  background: var(--ink-2); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.plan--featured {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(47, 124, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #121b30, #0d1322);
  border-color: rgba(103, 224, 255, 0.4);
  box-shadow: var(--shadow-glow);
}
.plan-badge {
  position: absolute; top: -13px; left: 28px;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #04101f;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.plan-name { font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); letter-spacing: 0.01em; }
.plan-term { font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; margin: 2px 0 20px; color: var(--text); }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: clamp(2.8rem, 2.4rem + 1.4vw, 3.5rem); font-weight: 650; letter-spacing: -0.045em; line-height: 1; color: var(--text); }
.plan-price .per { color: var(--text-2); font-size: var(--fs-md); }
.plan-total { margin: 12px 0 0; font-size: var(--fs-sm); color: var(--text-2); }
.plan-total b { color: var(--text); font-weight: 600; }
.plan-save { display: inline-block; margin-top: 12px; font-size: var(--fs-xs); font-weight: 600; color: var(--mint); background: rgba(78, 226, 176, 0.1); border: 1px solid rgba(78, 226, 176, 0.25); padding: 4px 10px; border-radius: var(--r-pill); }
.plan-save--neutral { color: var(--text-2); background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); }
.plan-save { align-self: flex-start; }
.plan .btn { margin: 26px 0 24px; }
.plan-list { list-style: none; display: grid; gap: 12px; font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 22px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list svg { width: 16px; height: 16px; color: var(--cyan); flex: none; margin-top: 3px; }
.plan-list--grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan-renew { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); line-height: 1.55; }

.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 600; color: var(--text); font-size: var(--fs-sm); }
.compare tbody th { font-weight: 500; color: var(--text-2); }
.compare td { color: var(--text); }
.compare .hl { background: rgba(47, 124, 255, 0.07); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--ink-2); }
.table-wrap .compare tr:last-child > * { border-bottom: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; position: relative; padding: 30px 28px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); }
.steps li::before {
  content: counter(s); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600;
  color: var(--ink-0); background: var(--grad-brand);
}
.steps h3 { font-size: var(--fs-xl); margin-bottom: 10px; }
.steps--stack { grid-template-columns: 1fr; }
.steps p { margin: 0; }

/* ---------- Platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .platforms { grid-template-columns: 1fr; } }
.platform { display: flex; gap: 20px; align-items: center; padding: 26px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); }
.platform .os { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-strong); flex: none; }
.platform .os svg { width: 26px; height: 26px; }
.platform h3 { font-size: var(--fs-lg); margin-bottom: 4px; }
.platform p { margin: 0; font-size: var(--fs-sm); }
.platform .btn { margin-left: auto; }
@media (max-width: 520px) {
  .platform { flex-wrap: wrap; }
  .platform .btn { margin-left: 0; width: 100%; }
}
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: var(--fs-lg); font-weight: 550; letter-spacing: -0.01em;
  transition: color var(--dur);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan); }
.faq summary .plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; }
.faq summary .plus::before, .faq summary .plus::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease);
}
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 56px 26px 0; color: var(--text-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .faq .answer { padding-right: 0; } }

/* Owner-to-confirm notice. Hidden from visitors; add ?review=1 to any page to see them. */
.todo { display: none; }
.review .todo {
  display: block; margin-top: 10px; padding: 10px 14px; border-radius: var(--r-sm);
  border: 1px dashed rgba(255, 196, 107, 0.5); background: rgba(255, 196, 107, 0.06);
  color: var(--amber); font-size: var(--fs-sm);
}
.todo::before { content: "To confirm: "; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px);
  background: linear-gradient(180deg, #0e1730, #080d1a);
  border: 1px solid rgba(103, 224, 255, 0.22);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 80% at 50% 110%, rgba(47, 124, 255, 0.45), transparent 70%);
}
.cta-band .shield-watermark { position: absolute; right: -60px; top: -40px; width: 340px; opacity: 0.06; z-index: -1; }
.cta-band h2 { max-width: 16ch; margin: 0 auto 18px; }
.cta-band p { max-width: 52ch; margin: 0 auto 32px; font-size: var(--fs-lg); }
.cta-band .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 140%; z-index: -1;
  background: radial-gradient(45% 50% at 50% 20%, rgba(47, 124, 255, 0.18), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem); max-width: 18ch; }
.page-hero p { font-size: var(--fs-lg); max-width: 58ch; margin-top: 20px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-inline: auto; }

.breadcrumbs { list-style: none; display: flex; gap: 8px; font-size: var(--fs-sm); color: var(--text-3); margin-bottom: 22px; }
.page-hero--center .breadcrumbs { justify-content: center; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.6; }
.breadcrumbs a:hover { color: var(--text); }

/* ---------- Prose (legal, guides) ---------- */
.prose { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin: 56px 0 16px; }
.prose h3 { font-size: var(--fs-xl); margin: 36px 0 12px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--ink-3); padding: 2px 6px; border-radius: 6px; }
.prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); color: var(--text-2); min-width: 120px; }
.prose th { color: var(--text); font-weight: 600; white-space: nowrap; }
.prose td.mono { font-family: var(--font-mono); font-size: 0.85em; color: var(--text); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 96px; }

.toc { list-style: none; display: grid; gap: 2px; font-size: var(--fs-sm); border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 16px; color: var(--text-3); border-left: 1px solid transparent; margin-left: -1px; }
.toc a:hover { color: var(--text); border-color: var(--cyan); }

/* ---------- Setup guides ---------- */
.guide-picker { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .guide-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } .guide-picker li:last-child { grid-column: span 2; } }
.guide-picker a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); color: var(--text); transition: border-color var(--dur), transform var(--dur), background var(--dur); }
.guide-picker a:hover { border-color: rgba(103, 224, 255, 0.45); background: var(--ink-3); transform: translateY(-2px); }
.guide-picker svg { width: 24px; height: 24px; color: var(--cyan); margin-bottom: 8px; }
.guide-picker b { font-size: var(--fs-sm); font-weight: 600; }
.guide-picker span { font-size: var(--fs-xs); color: var(--text-3); }
.guide { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line); scroll-margin-top: 96px; }
.guide + .guide, .guide + .guide-help { margin-top: 24px; }
.guide-help { scroll-margin-top: 96px; padding-top: 32px; }
.guide-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.guide-head .icon-tile { margin-bottom: 0; }
.guide-head h2 { font-size: var(--fs-h3); margin: 0; }
.guide-meta { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--text-3); }
.guide-get { margin-left: auto; }
@media (max-width: 600px) { .guide-get { margin-left: 0; } }
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; }
.store-badge img { height: 40px; width: auto; }
/* Google's badge file has its required clear space built in: shown larger so the badge itself is about 40px tall */
.store-badge--play img { height: 58px; margin: -9px; }
.guide-steps { list-style: none; counter-reset: step; display: grid; gap: 18px; padding: 0; margin: 0; }
.guide-steps > li { counter-increment: step; position: relative; padding-left: 50px; min-height: 32px; color: var(--text-2); line-height: 1.6; }
.guide-steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, rgba(103, 224, 255, 0.16), rgba(47, 124, 255, 0.08)); border: 1px solid rgba(103, 224, 255, 0.3); color: var(--cyan); font-weight: 600; font-size: var(--fs-sm); }
.guide-steps strong { color: var(--text); }
.guide-steps code { font-family: var(--font-mono); font-size: 0.85em; background: var(--ink-3); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; }
.guide-tip { margin: 24px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--ink-3); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); }
.guide-tip strong { color: var(--text); }

/* ---------- Forms / contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; flex-direction: column; }
.contact-card .btn { margin-top: auto; align-self: flex-start; white-space: normal; text-align: center; max-width: 100%; }
/* Downloads cards: the Windows button and the store badges share one height (56px) and sit at the bottom of their cards.
   The badges are scaled in proportion, as Apple's and Google's badge rules allow. */
.contact-card .store-action { min-height: 56px; padding: 0 24px; font-size: var(--fs-md); }
.contact-card .store-badge { margin-top: auto; align-self: flex-start; display: block; overflow: hidden; border-radius: 9px; }
.contact-card .store-badge img { display: block; height: 56px; width: auto; }
/* Google's badge file has clear space around the badge (566 x 167 at 40,41 in a 646 x 250 file): the file is shown at
   84px so the badge itself is 56px tall, and the clear space is trimmed */
.contact-card .store-badge--play img { height: 83.8px; margin: -13.75px -13.4px -14.1px; }
.contact-card p { flex: 0; margin-bottom: 24px; }

/* ---------- Notice ---------- */
.notice {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(47, 124, 255, 0.07); border: 1px solid rgba(103, 224, 255, 0.2);
  font-size: var(--fs-sm); color: var(--text-2);
}
.notice svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-0); padding: 72px 0 36px; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
.footer-brand p { max-width: 34ch; margin-top: 16px; color: var(--text-3); }
.footer-col h2 { font-size: var(--fs-xs); font-family: var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 500; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); transition: color var(--dur); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: var(--fs-xs); }
.footer-bottom a:hover { color: var(--text); }
.footer-tm { flex-basis: 100%; margin: 0; max-width: none; color: var(--text-3); opacity: 0.8; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font-size: inherit; }
.footer-bottom button:hover { color: var(--text); }

/* ---------- Consent banner ---------- */
.consent {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px;
  max-width: 440px; padding: 20px; border-radius: var(--r-md);
  background: rgba(15, 21, 35, 0.97); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  font-size: var(--fs-sm);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: var(--fs-md); margin-bottom: 8px; }
.consent p { margin-bottom: 16px; }
.consent .row { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { flex: 1; }

/* ---------- Locations ---------- */
.locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; list-style: none; }
.locations li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink-2); border: 1px solid var(--line); }
.locations .flag { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: var(--ink-3); border: 1px solid var(--line-strong); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; color: var(--cyan); }
.locations b { display: block; font-weight: 600; }
.locations span { font-size: var(--fs-sm); color: var(--text-3); }
.loc-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.loc-chips li { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); font-size: var(--fs-sm); color: var(--text-2); }

/* ---------- Utilities ---------- */
.h3-size { font-size: var(--fs-h3); }
.faq-group { font-size: var(--fs-h3); margin-bottom: 8px; }
.lead-lg { font-size: var(--fs-lg); }
.cta-band--left { text-align: left; }
.cta-band--left h2, .cta-band--left p { margin-left: 0; }
.cta-band--left .hero-ctas { justify-content: flex-start; }
.page-hero--full { min-height: 60vh; display: grid; align-content: center; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.muted { color: var(--text-3); }
.small { font-size: var(--fs-sm); }
.stack-s > * + * { margin-top: 12px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* An admin viewing the site as a customer (View as customer) */
.viewas-banner {
  position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 16px; padding: 8px 16px; background: #ffc46b; color: #1a1205; font-size: 14px; text-align: center;
}
.viewas-banner form { margin: 0; }
.viewas-banner button {
  padding: 4px 12px; border: 1px solid #1a1205; border-radius: 6px; background: transparent; color: inherit;
  font: inherit; font-weight: 600; cursor: pointer;
}
.viewas-banner button:hover { background: rgba(0, 0, 0, 0.08); }

/* ---------- Chat bubble (ours, before Tawk.to is allowed: no cookies, nothing loaded from elsewhere) ---------- */
.chat-nudge { position: fixed; z-index: 55; right: 20px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-nudge__launcher {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: var(--shadow-glow);
  transition: transform var(--dur) var(--ease);
}
.chat-nudge__launcher:hover { transform: translateY(-2px); }
.chat-nudge__launcher svg { width: 26px; height: 26px; }
.chat-nudge__card {
  display: none; position: relative; width: min(320px, calc(100vw - 40px));
  padding: 18px 18px 14px; border-radius: var(--r-md);
  background: rgba(15, 21, 35, 0.98); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  color: var(--text-2); font-size: 0.92rem;
}
.chat-nudge.is-open .chat-nudge__card { display: block; animation: chat-nudge-in var(--dur) var(--ease); }
.chat-nudge__title { color: var(--text); font-weight: 600; font-size: 1rem; margin: 0 24px 4px 0; }
.chat-nudge__card p { margin: 0 0 12px; }
.chat-nudge__note { font-size: 0.78rem; color: var(--text-3); margin: 10px 0 0 !important; }
.chat-nudge__note a { color: var(--blue-2); }
.chat-nudge__close {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: transparent; color: var(--text-3); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.chat-nudge__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
@keyframes chat-nudge-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .chat-nudge.is-open .chat-nudge__card { animation: none; } }
/* On phones the cookie banner spans the screen, so the bubble waits until it's answered */
@media (max-width: 600px) {
  .chat-nudge { right: 16px; bottom: 16px; }
  .consent:not([hidden]) ~ .chat-nudge { display: none; }
}
@media print { .chat-nudge { display: none !important; } }
