/* ==========================================================================
   2nd Chance Communications — public website
   Design language and palette follow the Admin (Management Console) app:
   brand-navy, slate canvas, antique-gold accent, steel-navy secondary,
   Plus Jakarta Sans. Light + dark themes via <html data-theme>.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --navy-950: #071630;
  --navy-900: #0b1f3b;
  --navy-800: #0d2443;
  --navy-700: #1b365f;
  --steel: #2b5490;
  --steel-hover: #22467a;

  --bg: #eef2f7;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --surface-3: #e9eef5;
  --border: #d9e1ec;
  --border-strong: #bfcbdb;
  --divider: #e5eaf1;

  --heading: #0f2240;
  --text: #24364f;
  --muted: #52627a;
  --subtle: #7d8ba0;

  --gold: #e2b65e;
  --gold-hover: #d1a046;
  --gold-text: #86601a;
  --gold-contrast: #1d1505;
  --gold-soft: rgba(226, 182, 94, 0.16);
  --gold-glow: rgba(209, 160, 70, 0.38);
  --gold-grad: linear-gradient(180deg, #f0cf86 0%, #d9a748 100%);
  --navy-grad: linear-gradient(180deg, #2c4f82 0%, #1b365f 100%);
  --primary-soft: rgba(43, 84, 144, 0.10);

  --success: #17845f;
  --success-soft: #e3f4ec;

  --shadow-sm: 0 1px 2px rgba(16, 32, 58, 0.06);
  --shadow-md: 0 1px 2px rgba(16, 32, 58, 0.05), 0 12px 32px -16px rgba(16, 32, 58, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(10, 24, 48, 0.45);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --btn-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.4);

  --header-bg: rgba(255, 255, 255, 0.92);
  --header-text: var(--heading);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #142338;
  --bg-alt: #172942;
  --surface: #1b2d47;
  --surface-2: #213654;
  --surface-3: #284062;
  --border: rgba(150, 180, 220, 0.18);
  --border-strong: rgba(150, 180, 220, 0.32);
  --divider: rgba(150, 180, 220, 0.12);

  --heading: #ffffff;
  --text: #dfe8f4;
  --muted: #b9c8dc;
  --subtle: #8b9db6;

  --gold: #e8bf6e;
  --gold-hover: #f0d08f;
  --gold-text: #e8bf6e;
  --gold-soft: rgba(232, 191, 110, 0.14);
  --gold-glow: rgba(232, 191, 110, 0.3);
  --navy-grad: linear-gradient(180deg, #9cc2f0 0%, #77a5e0 100%);
  --steel: #8fb8ec;
  --steel-hover: #aecbf2;
  --primary-soft: rgba(143, 184, 236, 0.14);

  --success: #3ddc97;
  --success-soft: rgba(61, 220, 151, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.25), 0 14px 34px -18px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  --highlight: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --btn-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.3);

  --header-bg: rgba(16, 30, 52, 0.9);
}

/* ---------- Base --------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--steel-hover); text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--heading); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--gold-contrast);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--gold-grad); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.section-title { font-size: 40px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; text-wrap: balance; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 120ms var(--ease), filter 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--gold {
  background-color: var(--gold);
  background-image: var(--gold-grad);
  color: var(--gold-contrast);
  box-shadow: var(--btn-highlight), 0 10px 24px -12px var(--gold-glow);
}
.btn--gold:hover { color: var(--gold-contrast); filter: brightness(1.06); box-shadow: var(--btn-highlight), 0 14px 30px -12px var(--gold-glow); }

.btn--navy { background-color: #1f3d6b; background-image: var(--navy-grad); color: #ffffff; box-shadow: var(--btn-highlight), 0 10px 24px -14px rgba(16, 32, 58, 0.7); }
.btn--navy:hover { color: #ffffff; filter: brightness(1.08); }
:root[data-theme="dark"] .btn--navy { color: #0e2442; }

.btn--ghost { border-color: var(--border-strong); background: var(--surface); color: var(--heading); box-shadow: var(--highlight); }
.btn--ghost:hover { border-color: var(--steel); background: var(--surface-2); color: var(--heading); }

.btn--glass { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); color: #ffffff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.18); color: #ffffff; }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 10px 30px -24px rgba(10, 24, 48, 0.6); }

/* Over the home hero the header starts transparent with light content */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header--overlay:not(.is-scrolled) .nav-link,
.site-header--overlay:not(.is-scrolled) .theme-toggle { color: #ffffff; }
.site-header--overlay:not(.is-scrolled) .nav-link:hover { background: rgba(255, 255, 255, 0.12); }
.site-header--overlay:not(.is-scrolled) .theme-toggle { border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.site-header--overlay:not(.is-scrolled) .brand__logo--light { display: none; }
.site-header--overlay:not(.is-scrolled) .brand__logo--dark { display: block; }
.site-header--overlay:not(.is-scrolled) .nav-toggle { color: #ffffff; border-color: rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); }
.site-header--overlay.is-scrolled { background: var(--header-bg); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }

.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { height: 48px; width: auto; }
.brand__logo--dark { display: none; }
:root[data-theme="dark"] .brand__logo--light { display: none; }
:root[data-theme="dark"] .brand__logo--dark { display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--header-text);
  font-size: 15px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-link:hover { background: var(--surface-3); color: var(--heading); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--gold-text); }
.site-header--overlay:not(.is-scrolled) .nav-link[aria-current="page"] { color: #f0cf86; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle,
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--heading);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.theme-toggle:hover,
.nav-toggle:hover { border-color: var(--steel); }
.theme-toggle svg,
.nav-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
.nav-toggle { display: none; }

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 120px;
  background: #0b1f3b url("../img/hero.jpg") center 60% / cover no-repeat;
  color: #ffffff;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(90deg, rgba(7, 22, 48, 0.94) 0%, rgba(9, 27, 56, 0.82) 42%, rgba(11, 31, 59, 0.35) 75%, rgba(11, 31, 59, 0.15) 100%),
    linear-gradient(0deg, rgba(7, 22, 48, 0.75) 0%, rgba(7, 22, 48, 0) 35%);
}
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }

.hero__notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 600;
}
.hero__notice span:first-child {
  flex: none;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1d1505;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 { text-wrap: balance; color: #ffffff; font-size: 52px; font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; background: linear-gradient(180deg, #f6dd9f 0%, #e2b65e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 560px; margin-top: 22px; color: #dbe5f3; font-size: 19px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 36px 0 0; padding: 0; list-style: none; color: #dbe5f3; font-size: 15px; font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 20px; height: 20px; color: #f0cf86; }

/* Device mock-up (pure HTML/CSS, illustrative) */
.device {
  position: relative;
  justify-self: center;
  width: 330px;
  max-width: 100%;
  padding: 14px;
  border-radius: 44px;
  background: linear-gradient(160deg, #24395c 0%, #0d1d36 100%);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}
.device::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 50%;
  width: 90px;
  height: 22px;
  margin-left: -45px;
  border-radius: 999px;
  background: #050d1a;
  z-index: 2;
}
.device__screen { overflow: hidden; border-radius: 32px; background: #eef2f7; color: #172a45; }
.device__bar { display: flex; align-items: center; gap: 10px; padding: 52px 18px 14px; background: #0b1f3b; color: #ffffff; }
.device__bar img { width: 34px; height: 34px; border-radius: 50%; background: #ffffff; }
.device__bar strong { display: block; font-size: 15px; line-height: 1.2; }
.device__bar small { color: #b9c8dc; font-size: 12px; }
.device__chat { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px 18px; }
.bubble { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 1px 2px rgba(16, 32, 58, 0.08); }
.bubble--in { align-self: flex-start; border-bottom-left-radius: 6px; background: #ffffff; }
.bubble--out { align-self: flex-end; border-bottom-right-radius: 6px; background: #1f3d6b; color: #ffffff; }
.bubble time { display: block; margin-top: 4px; opacity: 0.65; font-size: 11px; }
.bubble--photo { padding: 6px; }
.bubble--photo span { display: block; height: 104px; border-radius: 11px; background: url("../img/families.jpg") center 8% / cover no-repeat; }
.bubble--photo em { display: block; padding: 6px 6px 2px; font-size: 12px; font-style: normal; opacity: 0.85; }
.device__compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px 16px; border-top: 1px solid #d9e1ec; background: #ffffff; }
.device__compose span { flex: 1; padding: 9px 12px; border: 1px solid #d9e1ec; border-radius: 999px; color: #7d8ba0; font-size: 13px; }
.device__compose b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-grad); color: #1d1505; }
.device__compose b svg { width: 16px; height: 16px; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #172a45;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55);
  transform: rotate(2deg);
}
.float-chip small { display: block; color: #52627a; font-weight: 600; }
.float-chip i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-style: normal; }
.float-chip i svg { width: 18px; height: 18px; }
.float-chip--secure { top: 410px; left: -86px; }
.float-chip--secure i { background: #e3f4ec; color: #17845f; }
.float-chip--fast { top: 286px; right: -96px; }
.float-chip--fast i { background: rgba(226, 182, 94, 0.22); color: #86601a; }

/* ---------- Stat strip --------------------------------------------------- */
.strip { position: relative; z-index: 2; margin-top: -48px; }
.strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.strip__item { display: flex; align-items: center; gap: 14px; padding: 24px 26px; }
.strip__item + .strip__item { border-left: 1px solid var(--divider); }
.strip__item i { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--steel); font-style: normal; }
.strip__item i svg { width: 22px; height: 22px; }
.strip__item strong { display: block; color: var(--heading); font-size: 16px; line-height: 1.3; }
.strip__item span { color: var(--muted); font-size: 14px; }

/* ---------- Connected (about) ------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__media::after {
  content: "";
  position: absolute;
  top: 24px; right: -24px; bottom: -24px; left: 24px;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--gold-grad);
  opacity: 0.35;
}
.split__media { z-index: 0; }
.media-badge {
  position: absolute;
  left: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.media-badge img { width: 44px; height: 44px; box-shadow: none; border-radius: 50%; }
.media-badge strong { display: block; color: var(--heading); font-size: 15px; }
.media-badge span { color: var(--muted); font-size: 13px; }

.checklist { display: grid; gap: 12px; margin: 28px 0 32px; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: 12px; color: var(--heading); font-weight: 600; }
.checklist li i { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-text); font-style: normal; }
.checklist li i svg { width: 15px; height: 15px; }

/* ---------- Steps -------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 8px, transparent 8px 16px);
}
.step { position: relative; padding: 0 12px; text-align: center; }
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  color: var(--steel);
}
.step__num svg { width: 34px; height: 34px; }
.step__num::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1d1505;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--bg-alt);
}
.step h3 { font-size: 21px; font-weight: 800; }
.step p { max-width: 300px; margin: 10px auto 0; color: var(--muted); }
.steps-cta { margin-top: 48px; text-align: center; }

/* ---------- Features ----------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.feature {
  grid-column: span 2;
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms ease;
}
.feature:nth-child(4),
.feature:nth-child(5) { grid-column: span 3; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--highlight), var(--shadow-md); }
.feature__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; background: var(--navy-grad); color: #ffffff; box-shadow: 0 10px 22px -12px rgba(16, 32, 58, 0.8); }
:root[data-theme="dark"] .feature__icon { color: #0e2442; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; font-weight: 800; }
.feature__tag { margin-top: 6px; color: var(--gold-text); font-size: 14px; font-weight: 700; }
.feature p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }

/* ---------- Audience band (navy, both themes) --------------------------- */
.band {
  position: relative;
  overflow: hidden;
  background: #0b1f3b url("../img/hero.jpg") center / cover no-repeat;
  color: #dbe5f3;
}
.band::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(9, 25, 50, 0.95) 0%, rgba(9, 25, 50, 0.9) 100%); }
.band .container { position: relative; }
.band .section-title { color: #ffffff; }
.band .section-lead { color: #b9c8dc; }
.band .eyebrow { color: #f0cf86; }
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.audience__card {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.audience__card i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: rgba(232, 191, 110, 0.16); color: #f0cf86; font-style: normal; }
.audience__card i svg { width: 24px; height: 24px; }
.audience__card h3 { color: #ffffff; font-size: 19px; font-weight: 800; }
.audience__card p { margin-top: 10px; color: #c9d6e8; }
.band__cta { margin-top: 48px; text-align: center; }

/* ---------- Pricing ------------------------------------------------------ */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 28px; }
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-md);
  text-align: center;
}
.price--featured { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--gold-grad) border-box; border: 2px solid transparent; }
.price__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1d1505;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.price__icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 18px; background: var(--primary-soft); color: var(--steel); }
.price__icon svg { width: 28px; height: 28px; }
.price__name { color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.price__amount { margin-top: 8px; color: var(--heading); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.price__amount sup { font-size: 0.45em; vertical-align: 0.9em; letter-spacing: 0; }
.price__per { margin-top: 8px; color: var(--muted); font-weight: 600; }
.price__credits { display: inline-block; margin: 16px auto 0; padding: 4px 12px; border-radius: 999px; background: var(--surface-3); color: var(--heading); font-size: 13px; font-weight: 700; }
.price__note { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--border-strong); color: var(--muted); font-size: 14px; }

.price-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 708px; margin: 32px auto 0; }
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.note i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-text); font-style: normal; }
.note i svg { width: 18px; height: 18px; }
.note strong { display: block; color: var(--heading); font-size: 15px; }
.note p { margin-top: 2px; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq-group + .faq-group { margin-top: 48px; }
.faq-group__title { margin-bottom: 16px; color: var(--heading); font-size: 22px; font-weight: 800; }
.faq-list { display: grid; gap: 12px; }
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.faq[open] { border-color: var(--border-strong); box-shadow: var(--highlight), var(--shadow-md); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--heading);
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b5490' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 200ms var(--ease), background-color 160ms ease;
}
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--gold-soft); }
.faq__body { padding: 0 24px 22px; color: var(--muted); }
.faq__body p + p,
.faq__body p + ul,
.faq__body ul + p { margin-top: 12px; }
.faq__body ul { margin: 0; padding-left: 20px; }
.faq__body strong { color: var(--heading); }

.faq-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: 104px; }
.faq-aside nav { display: grid; gap: 4px; margin-top: 8px; }
.faq-aside a { padding: 10px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; }
.faq-aside a:hover { background: var(--surface); color: var(--heading); text-decoration: none; }
.help-card { margin-top: 28px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.help-card h3 { font-size: 17px; font-weight: 800; }
.help-card p { margin: 8px 0 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ----------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 56px;
  border-radius: 28px;
  background: #0b1f3b url("../img/hero.jpg") center 70% / cover no-repeat;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}
.cta::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(7, 22, 48, 0.95) 0%, rgba(7, 22, 48, 0.75) 60%, rgba(7, 22, 48, 0.35) 100%); }
.cta__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { color: #ffffff; font-size: 36px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.cta p { margin-top: 10px; color: #dbe5f3; font-size: 17px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner pages) ------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: #0b1f3b url("../img/hero.jpg") center 55% / cover no-repeat;
  color: #ffffff;
}
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(7, 22, 48, 0.95) 0%, rgba(9, 27, 56, 0.8) 55%, rgba(11, 31, 59, 0.45) 100%); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: #f0cf86; }
.page-hero h1 { color: #ffffff; font-size: 44px; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.page-hero p { max-width: 640px; margin-top: 14px; color: #dbe5f3; font-size: 18px; }
.breadcrumb { display: flex; gap: 8px; margin-bottom: 18px; color: #b9c8dc; font-size: 14px; font-weight: 600; }
.breadcrumb a { color: #dbe5f3; }
.breadcrumb a:hover { color: #ffffff; }

/* ---------- Contact ------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-sm);
}
.contact-card i { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px; background: var(--primary-soft); color: var(--steel); font-style: normal; }
.contact-card i svg { width: 24px; height: 24px; }
.contact-card h2 { font-size: 19px; font-weight: 800; }
.contact-card p,
.contact-card address { margin-top: 10px; color: var(--muted); font-style: normal; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card .contact-card__value { margin: 10px 0 22px; color: var(--heading); font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.callout {
  display: flex;
  gap: 18px;
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--surface-2);
}
.callout i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); font-style: normal; }
.callout i svg { width: 20px; height: 20px; }
.callout strong { color: var(--heading); }
.callout p { color: var(--muted); }
.callout p + p { margin-top: 6px; }

/* ---------- Legal (prose) ----------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow: auto; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.toc strong { display: block; margin-bottom: 10px; color: var(--heading); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.toc a:hover { background: var(--surface-3); color: var(--heading); text-decoration: none; }
.prose {
  padding: 48px 56px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--highlight), var(--shadow-sm);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.prose h2 { margin: 40px 0 12px; padding-top: 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 800; }
.prose p { margin: 0 0 14px; }
.prose ul,
.prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { overflow-wrap: anywhere; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--divider); color: var(--muted); font-size: 14px; }
.legal-meta span { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta svg { width: 16px; height: 16px; color: var(--gold-text); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { margin-top: 96px; padding: 72px 0 32px; background: #0b1f3b; color: #b9c8dc; }
.site-footer--flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand img { width: 220px; height: auto; }
.footer-brand p { max-width: 320px; margin-top: 18px; font-size: 15px; }
.site-footer h2 { margin-bottom: 16px; color: #ffffff; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #dbe5f3; }
.site-footer a:hover { color: #f0cf86; text-decoration: none; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; }

/* ---------- Reveal on scroll -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1100px) {
  .float-chip--secure { left: -24px; }
  .float-chip--fast { right: -20px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature,
  .feature:nth-child(4),
  .feature:nth-child(5) { grid-column: span 1; }
  .feature:nth-child(5) { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav .nav-link,
  .site-header--overlay:not(.is-scrolled) .nav .nav-link { padding: 12px 14px; color: var(--heading); }
  .site-header--overlay:not(.is-scrolled) .nav .nav-link[aria-current="page"] { color: var(--gold-text); }
  .nav__ctas { display: flex; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--divider); }
  .nav__ctas .btn { flex: 1; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }

  .hero { padding: 132px 0 96px; }
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero__visual { display: flex; justify-content: center; }
  .float-chip { display: none; }
  .strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--divider); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .split__media { max-width: 560px; margin: 0 auto; }
  .audience { grid-template-columns: minmax(0, 1fr); }
  .faq-layout,
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-aside,
  .toc { position: static; max-height: none; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 961px) {
  .nav__ctas { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps::before { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(5) { grid-column: span 1; }
  .pricing { grid-template-columns: minmax(0, 1fr); }
  .price-notes { grid-template-columns: minmax(0, 1fr); }
  .cta { padding: 44px 28px; }
  .prose { padding: 32px 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-badge { left: 12px; }
  .split__media::after { right: -12px; bottom: -12px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .header-inner { height: 68px; gap: 12px; }
  .brand img { height: 40px; }
  .nav { top: 68px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .strip__inner { grid-template-columns: minmax(0, 1fr); }
  .strip__item + .strip__item { border-left: 0; border-top: 1px solid var(--divider); }
  .float-chip { display: none; }
  .hero__notice { font-size: 13px; line-height: 1.35; }
  .device { width: 300px; transform: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta__buttons .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature,
  .btn,
  .faq summary::after { transition: none; }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .page-hero::before { display: none; }
  .page-hero { padding: 0; background: none; color: #000000; }
  .page-hero h1 { color: #000000; }
  .prose { border: 0; box-shadow: none; padding: 0; }
}
