/* =========================================================
   Beacon Web Studio · homepage3
   Style: Trust & Authority (UI/UX Pro Max recommendation)
   Palette: navy primary, blue accent, off-white surface
   Type: Outfit (display) + Rubik (body) — self-hosted
   ========================================================= */

/* ---------- FONTS (self-hosted, variable woff2) ---------- */
/* Outfit covers 400/500/600 in a single variable file per subset. */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Rubik covers 400/500/600 in a single variable file per subset. */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/rubik-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/rubik-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 74px; }
body { line-height: 1.55; -webkit-font-smoothing: antialiased; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: rgba(15, 23, 42, 0.06); padding: 2px 6px; border-radius: 4px; }

/* ---------- TOKENS ---------- */
:root {
  /* Primitive */
  --navy-950: #020617;
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-500: #64748B;
  --navy-400: #94A3B8;
  --navy-300: #CBD5E1;
  --navy-200: #E2E8F0;
  --navy-150: #E8ECF1;
  --navy-100: #F1F5F9;
  --navy-50:  #F8FAFC;

  --blue-700: #075985;
  --blue-600: #0369A1;
  --blue-500: #0284C7;
  --blue-400: #38BDF8;
  --blue-100: #E0F2FE;
  --blue-50:  #F0F9FF;

  --green-500: #16A34A;
  --red-500:   #DC2626;
  --amber-500: #F59E0B;

  /* Semantic */
  --bg:           var(--navy-50);
  --bg-subtle:    #FFFFFF;
  --bg-elevated:  #FFFFFF;
  --surface-ink:  var(--navy-900);
  --surface-deep: var(--navy-950);

  --ink:          var(--navy-950);
  --ink-soft:     var(--navy-700);
  --ink-muted:    var(--navy-500);
  --ink-faint:    var(--navy-400);
  --ink-on-dark:  #FFFFFF;
  --ink-on-dark-soft: #CBD5E1;
  --ink-on-dark-muted: #94A3B8;

  --primary:      var(--navy-900);
  --accent:       var(--blue-600);
  --accent-hover: var(--blue-700);
  --accent-soft:  var(--blue-100);

  --border:       var(--navy-200);
  --border-strong:var(--navy-300);
  --border-on-dark: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: 'Outfit', 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Rubik', 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container:    1240px;
  --gutter:       clamp(1.25rem, 4vw, 3rem);
  --section-y:    clamp(3rem, 6vw, 5.5rem);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -6px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.18), 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-focus: 0 0 0 4px rgba(3, 105, 161, 0.18);

  /* Motion */
  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t:      220ms cubic-bezier(.4,0,.2,1);
  --t-slow: 360ms cubic-bezier(.4,0,.2,1);
}

/* ---------- BASE ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

::selection { background: var(--accent); color: #fff; }

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

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 500;
  z-index: 9999;
  transition: top var(--t);
}
.skip-link:focus { top: 16px; }

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18);
}
.eyebrow--centered {
  margin: 0 auto;
}
.eyebrow--on-dark { color: var(--blue-400); }
.eyebrow--on-dark .eyebrow__dot { background: var(--blue-400); box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 14px;
  max-width: 22ch;
}

.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 14px;
  max-width: 64ch;
}

.section-head {
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}
.section-head--centered {
  text-align: center;
}
.section-head--centered .section-title,
.section-head--centered .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1rem; }
.lead strong { color: var(--ink); font-weight: 600; }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--navy-100);
  color: var(--navy-700);
}
.badge--accent { background: var(--accent-soft); color: var(--accent-hover); }

.inline-link {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  font-weight: 500;
  transition: color var(--t-fast);
}
.inline-link:hover { color: var(--accent-hover); }
.inline-link--light { color: var(--blue-400); }
.inline-link--light:hover { color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px -4px rgba(3, 105, 161, 0.4);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 24px -4px rgba(3, 105, 161, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn__arrow {
  display: inline-block;
  transition: transform var(--t);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- NAV ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand__mark { color: var(--accent); flex-shrink: 0; }
.brand__name { line-height: 1; }
.brand__sub {
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-muted);
  letter-spacing: 0;
  margin-left: 2px;
}
.brand--light { color: #fff; }
.brand--light .brand__mark { color: var(--blue-400); }
.brand--light .brand__sub { color: var(--ink-on-dark-soft); }

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.site-nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.site-nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.site-nav__links a:hover { color: var(--primary); }
.site-nav__links a:hover::after { transform: scaleX(1); }

.site-nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.availability__dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
  animation: pulse 5s ease-in-out infinite;
}
.availability--on-dark { color: var(--ink-on-dark-soft); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .availability__dot { animation: none; }
}

/* ---------- HAMBURGER TOGGLE ---------- */
.nav-toggle {
  display: none; /* shown at ≤980px via media query */
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--primary);
  transition: background var(--t-fast);
  margin-left: 4px;
}
.nav-toggle:hover { background: var(--navy-100); }
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 14px;
  display: inline-block;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

/* Morph to X when expanded */
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- MOBILE NAV (drawer) ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--t);
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }

.mobile-nav__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-deep);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(3, 105, 161, 0.45), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.18), transparent 55%);
  color: var(--ink-on-dark);
  padding: 18px clamp(1.25rem, 5vw, 2.25rem) clamp(1.5rem, 4vw, 2.25rem);
  transform: translateY(-12px);
  opacity: 0;
  transition: transform var(--t), opacity var(--t);
}
.mobile-nav.is-open .mobile-nav__panel {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-on-dark);
}

.mobile-nav__close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--ink-on-dark);
  transition: background var(--t-fast);
}
.mobile-nav__close:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-nav__close:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-bottom: 24px;
}
.mobile-nav__links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 6px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  border-bottom: 1px solid var(--border-on-dark);
  transition: color var(--t-fast), padding var(--t);
}
.mobile-nav__links a:hover,
.mobile-nav__links a:focus-visible {
  color: var(--blue-400);
  padding-left: 14px;
}
.mobile-nav__links a:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 4px;
  border-radius: var(--r-xs);
}

.mobile-nav__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  padding: 3px 7px;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-xs);
  flex-shrink: 0;
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  padding-top: 24px;
  border-top: 1px solid var(--border-on-dark);
}
.mobile-nav__foot .availability { align-self: center; }

/* Body scroll lock when drawer open */
html.nav-open,
html.nav-open body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .mobile-nav__backdrop,
  .mobile-nav__panel,
  .nav-toggle__bars span,
  .mobile-nav__links a { transition: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 2.5rem) var(--gutter) 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.18) 0%, rgba(3, 105, 161, 0.06) 30%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(0.5rem, 1.5vw, 1.5rem) 0 clamp(3rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__lead { max-width: 640px; }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 18px;
  margin-bottom: 22px;
  max-width: 18ch;
}

.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 56ch;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__proof-sep {
  width: 4px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 50%;
}

/* Hero panel (right-side inclusions card) */
.hero__panel { position: relative; }

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.4), transparent 50%);
  z-index: -1;
  opacity: 0.5;
}

.panel__head { margin-bottom: 20px; }
.panel__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 12px;
}
.panel__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.panel__list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.panel__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.ic {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.panel__price {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  background: var(--navy-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 18px;
}
.panel__price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--ink-soft);
}
.panel__price-row strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.panel__link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.panel__link:hover { background: var(--accent-soft); }

/* Trust bar under hero */
.trust-bar {
  position: relative;
  z-index: 1;
  margin: 0 calc(-1 * var(--gutter));
  background: var(--primary);
  color: var(--ink-on-dark);
  overflow: hidden;
}
.trust-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: grid;
  /* Default 2-column grid so wrapped rows align chips vertically.
     Becomes 4-column at >=1100px (see below) and a single rotating
     item at <=640px (see mobile media query). */
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px 32px;
}

@media (min-width: 1100px) {
  /* Wide desktop: revert to a flex single-row layout so each item
     takes its natural width (grid 1fr cells would force the longer
     items to wrap). justify-content: space-between spreads the 4
     items across the bar width. */
  .trust-bar__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
}
.trust-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-on-dark-soft);
  font-weight: 400;
}
.trust-bar__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--blue-400);
  padding: 3px 7px;
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-xs);
}

/* ---------- PREVIEW HOOK ---------- */
.preview {
  padding: var(--section-y) 0;
}
.preview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.preview__copy .section-title { margin-top: 18px; margin-bottom: 24px; }

.preview__demo {
  position: relative;
}

.browser-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform var(--t-slow);
}
.browser-mock:hover { transform: rotate(0deg) translateY(-4px); }

.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--navy-50);
  border-bottom: 1px solid var(--border);
}
.browser-mock__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.browser-mock__dot:nth-child(1) { background: #FF6057; }
.browser-mock__dot:nth-child(2) { background: #FFBD2D; }
.browser-mock__dot:nth-child(3) { background: #28C941; }
.browser-mock__url {
  flex: 1;
  margin-left: 14px;
  font-size: 12px;
  color: var(--ink-muted);
  background: #fff;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.browser-mock__body { padding: 22px; }

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.mock-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  padding: 6px 10px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r-xs);
}
.mock-nav { display: flex; gap: 12px; }
.mock-nav span {
  display: block;
  height: 6px;
  width: 36px;
  background: var(--navy-150);
  border-radius: 3px;
}

.mock-hero { margin-bottom: 28px; }
.mock-tag {
  width: 90px; height: 10px; background: var(--accent-soft);
  border-radius: var(--r-pill); margin-bottom: 16px;
}
.mock-h {
  height: 20px; background: var(--ink); border-radius: var(--r-xs);
  width: 80%; margin-bottom: 10px;
}
.mock-h--short { width: 50%; margin-bottom: 18px; }
.mock-p {
  height: 8px; background: var(--navy-150); border-radius: 4px;
  width: 95%; margin-bottom: 8px;
}
.mock-p--short { width: 70%; margin-bottom: 22px; }
.mock-cta-row { display: flex; gap: 10px; }
.mock-btn {
  width: 90px; height: 32px; border-radius: var(--r-pill);
  background: var(--navy-150);
}
.mock-btn--primary { background: var(--accent); width: 110px; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-card {
  aspect-ratio: 4/3;
  background: var(--navy-100);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.preview__badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  text-align: right;
  transform: rotate(3deg);
}
.preview__badge strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.preview__badge span {
  font-size: 11px;
  color: var(--ink-on-dark-muted);
  font-family: ui-monospace, SFMono-Regular, monospace;
}

/* ---------- WHAT YOU GET ---------- */
.what {
  padding: var(--section-y) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-hover);
  margin-bottom: 18px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- PRICING ---------- */
.pricing {
  padding: var(--section-y) 0;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

/* Mobile tier tabs (hidden at desktop; shown at <=640px via the
   mobile media query at the bottom of the file). Segmented-control
   pattern: a single pill-shaped container with all options inside;
   a single floating indicator (.tier-tabs__indicator) slides between
   tabs on selection. tiers.js positions and animates it. */
.tier-tabs {
  display: none;
  position: relative;       /* anchor for the absolute indicator */
}

/* Sliding indicator. Positioned/sized by tiers.js to match the
   active tab's rect. Sits below the tab text via z-index so the
   text reads on top of the accent fill. Hidden by default; tiers.js
   adds .is-ready to the container after first positioning to avoid
   a flash at the wrong position on load. */
.tier-tabs__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  transform: translateX(0);
  background: var(--accent);
  border-radius: var(--r-pill);
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.28);
  transition: transform 280ms cubic-bezier(.4, 0, .2, 1),
              width 280ms cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}
.tier-tabs.is-ready .tier-tabs__indicator { opacity: 1; }

.tier-tab {
  padding: 9px 6px;
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;               /* sits above the indicator */
  transition: color var(--t-fast);
}
.tier-tab:hover { color: var(--ink); }
.tier-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Fallback (no JS / before tiers.js runs): the active tab itself
   gets a background so the user still sees a clear selection. Once
   tiers.js marks the container .is-ready, the indicator takes over
   and this fallback bg is removed so the slide is clean. */
.tier-tab[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.28);
}
.tier-tabs.is-ready .tier-tab[aria-selected="true"] {
  background: transparent;
  box-shadow: none;
  /* color: #fff stays so the text reads on top of the indicator */
}

/* Featured tab (Tier 2) — a small accent dot above the name when
   inactive, to nudge the visitor toward the recommended option.
   Hidden when the tab is selected since the indicator carries its
   own visual weight. */
.tier-tab--featured::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  transition: opacity var(--t-fast);
  z-index: 2;
}
.tier-tab--featured[aria-selected="true"]::before { opacity: 0; }

.tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.tier:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.tier--featured {
  background: var(--primary);
  color: var(--ink-on-dark);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}
.tier--featured:hover { transform: translateY(-12px); }

.tier__ribbon {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.tier__head .tier__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.tier--featured .tier__num { color: var(--blue-400); }

.tier__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.tier--featured .tier__price { border-bottom-color: var(--border-on-dark); }

.tier__amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tier__per {
  font-size: 14px;
  color: var(--ink-muted);
  font-weight: 500;
}
.tier--featured .tier__per { color: var(--ink-on-dark-muted); }

.tier__pitch {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.tier--featured .tier__pitch { color: var(--ink-on-dark-soft); }

.tier__list {
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-soft);
  flex-grow: 1;
}
.tier--featured .tier__list { color: var(--ink-on-dark-soft); }
.tier__list li {
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.tier__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 6px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.tier--featured .tier__list li::before { border-color: var(--blue-400); }
.tier__list li:first-child {
  padding-left: 0;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 4px;
  margin-bottom: 2px;
  border-bottom: 1px dashed var(--border);
}
.tier--featured .tier__list li:first-child {
  color: #fff;
  border-bottom-color: var(--border-on-dark);
}
.tier__list li:first-child::before { display: none; }

.tier--featured .btn--primary {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
  box-shadow: none;
}
.tier--featured .btn--primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Add-ons */
.addons {
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.addons__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 22px;
  text-align: center;
}
.addons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon {
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 22px;
}
.addon__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.addon h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.addon p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.addon__price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.pricing__foot {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 32px;
}

/* ---------- PROCESS ---------- */
.process {
  padding: var(--section-y) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 140px;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 26px 0;
  border-top: 1px solid var(--border);
  align-items: start;
  transition: padding-left var(--t);
}
.step:first-child { border-top: 0; padding-top: 8px; }
.step:hover { transform: translateX(12px); }

.step__index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.step__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.step__body p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

.step__when {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
  padding-top: 6px;
}

/* ---------- WHO IT'S FOR ---------- */
/* ---------- TRUST / METRICS ---------- */
.trust {
  padding: var(--section-y) 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.trust__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--t), border-color var(--t);
}
.trust__card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.trust__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.trust__unit {
  font-size: 0.45em;
  color: var(--ink-muted);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: 0;
  vertical-align: super;
}
.trust__unit--word {
  vertical-align: baseline;
  margin-left: 6px;
}

.trust__card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}
.trust__card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.trust__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--primary);
  color: var(--ink-on-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.trust__strip-item {
  padding: 28px 30px;
  border-right: 1px solid var(--border-on-dark);
}
.trust__strip-item:last-child { border-right: 0; }
.trust__strip-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 12px;
}
.trust__strip-item p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
}
.trust__strip-item strong { color: #fff; font-weight: 600; }

/* Card-internal rotator.
   Each .trust__card holds a stack of paragraph items that cross-fade
   on a 5s-per-item cycle. Rotation is driven by site/rotator.js which
   toggles the .is-active class; CSS just handles the cross-fade via
   opacity transition. No JS = no rotation (graceful fallback shows
   first item). Hovering a card pauses rotation so the visitor can
   read. Screen readers see all items in document order. */
.trust__card-rotator {
  position: relative;
  min-height: 6em;
}
.trust__card-rotator__item {
  position: absolute;
  inset: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.trust__card-rotator__item strong { color: var(--ink); font-weight: 600; }

/* Show only the first item until JS takes over (graceful fallback if
   rotator.js fails to load — visitor still sees one line, not blank). */
.trust__card-rotator__item:first-child { opacity: 1; }

/* Once rotator.js runs it adds .has-rotation to the container; all
   items go back to opacity 0 and the JS-driven .is-active rule below
   takes precedence for whichever line is currently on screen. */
.trust__card-rotator.has-rotation .trust__card-rotator__item { opacity: 0; }
.trust__card-rotator .trust__card-rotator__item.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  /* JS already bails out for reduced-motion users; the rule above
     keeps the first item visible via the :first-child fallback. */
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; }
.faq__container { max-width: 920px; }
.faq__list {
  border-top: 1px solid var(--border);
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }

.faq__q {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color var(--t-fast);
}
.faq__item summary:hover .faq__q { color: var(--accent); }

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--t), background var(--t);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink-soft);
  transition: transform var(--t), background var(--t);
}
.faq__icon::before { width: 12px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 12px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon { background: var(--accent); border-color: var(--accent); }
.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__a {
  padding: 0 4px 26px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 68ch;
}
.faq__a p { margin-bottom: 12px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  padding: var(--section-y) 0;
}

.cta__panel {
  background: var(--primary);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(3, 105, 161, 0.4), transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.18), transparent 50%);
  color: var(--ink-on-dark);
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #fff;
  margin-top: 18px;
  margin-bottom: 22px;
  max-width: 18ch;
}

.cta__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-on-dark-soft);
  margin-bottom: 32px;
  max-width: 50ch;
}

.cta__details {
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-on-dark);
}
.cta__details li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink-on-dark-soft);
}
.cta__detail-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-400);
}
.cta__details a:hover { color: #fff; }

/* CTA Form */
.cta__form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field input,
.field textarea { width: 100%; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-on-dark-soft);
}

.field input,
.field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 90px; font-family: var(--font-body); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.cta__form .btn { grid-column: 1 / -1; }

.cta__fineprint {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: var(--ink-on-dark-muted);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

/* Honeypot: visually + assistive-tech invisible, still in the DOM. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline form error */
.form-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--r-sm);
  color: #fecaca;
  font-size: 13.5px;
  line-height: 1.45;
}

/* Submit-in-flight */
.cta__form.is-submitting button[type="submit"] { opacity: 0.7; cursor: progress; }
.cta__form.is-submitting button[type="submit"] .btn-label::after {
  content: "…";
  margin-left: 2px;
}

/* Success state — swaps in where the form was */
.cta__success {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  text-align: center;
}
.cta__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}
.cta__success p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
  max-width: 44ch;
  margin: 0 auto;
}

/* ---------- FOOTER ---------- */
.site-foot {
  background: var(--surface-deep);
  color: var(--ink-on-dark-soft);
  padding: clamp(3rem, 5vw, 4.5rem) 0 1.75rem;
  border-top: 1px solid var(--border-on-dark);
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-on-dark);
}

.site-foot__tag {
  font-size: 14px;
  color: var(--ink-on-dark-muted);
  margin-top: 14px;
  line-height: 1.5;
}

.site-foot__col h3,
.site-foot__contact h3 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.site-foot__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.site-foot__col a {
  font-size: 14.5px;
  color: var(--ink-on-dark-soft);
  transition: color var(--t-fast);
}
.site-foot__col a:hover { color: #fff; }

.site-foot__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: #fff !important;
  border-bottom: 1px solid var(--blue-400);
  padding-bottom: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.site-foot__email:hover { color: var(--blue-400) !important; }

.site-foot__hours {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-on-dark-muted);
}

.site-foot__base {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-on-dark-muted);
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- LEGAL / LONG-FORM CONTENT (privacy, terms, etc.) ---------- */
.legal {
  padding: var(--section-y) 0;
  background: var(--bg);
}

.legal__head {
  max-width: 720px;
  margin: 0 auto 48px;
}
.legal__head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 12px;
  line-height: 1.15;
}
.legal__meta {
  color: var(--ink-muted);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.legal__draft {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-xs);
  padding: 14px 18px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
}
.legal__draft strong { color: var(--accent-hover); }
.legal__draft a { color: var(--accent); }

.legal__body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
.legal__body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal__body h2:first-of-type { margin-top: 0; }
.legal__body p { margin-bottom: 16px; }
.legal__body ul { margin: 0 0 20px 0; padding-left: 24px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--accent); }
.legal__body a:hover { color: var(--accent-hover); }
.legal__body strong { color: var(--ink); font-weight: 600; }
.legal__body em { font-style: italic; }
.legal__body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--bg-elevated); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

.status-list { list-style: none; padding-left: 0 !important; }
.status-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0 !important;
  margin-bottom: 14px;
}
.status-row { flex: 1; }
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.status-dot--ok { background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15); }
.status-dot--degraded { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15); }
.status-dot--down { background: #dc2626; box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15); }
.status-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: 1px;
}
.status-label--ok { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.status-label--degraded { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.status-label--down { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .site-foot__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .site-foot__col:nth-child(3) { display: none; }
}

@media (max-width: 980px) {
  .site-nav__links { display: none; }
  .site-nav__cta > .availability { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__panel { max-width: 460px; }

  .preview__grid { grid-template-columns: 1fr; gap: 3rem; }
  .preview__demo { max-width: 540px; margin: 0 auto; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier--featured { transform: none; }
  .tier--featured:hover { transform: translateY(-3px); }
  .addons__grid { grid-template-columns: 1fr; }

  .step { grid-template-columns: 56px 1fr; }
  .step__when {
    grid-column: 1 / -1;
    text-align: left;
    padding-top: 4px;
    padding-left: 56px;
  }

  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__strip { grid-template-columns: 1fr; }
  .trust__strip-item { border-right: 0; border-bottom: 1px solid var(--border-on-dark); }
  .trust__strip-item:last-child { border-bottom: 0; }

  .cta__panel { grid-template-columns: 1fr; }

  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .site-foot__brand { grid-column: 1 / -1; }
  .site-foot__contact { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .site-nav__inner { padding: 12px var(--gutter); }
  .brand__sub { display: none; }
  .site-nav__cta .btn--sm { padding: 8px 14px; font-size: 13px; }

  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__cta .btn { width: 100%; }
  .hero__proof { gap: 14px; justify-content: center; }
  .hero__proof-sep { display: none; }
  .hero__proof strong { font-size: 18px; }

  /* Trust bar becomes a single-item rotator at mobile - rotator.js
     starts/stops based on viewport. CSS sets up the absolute-overlay
     layout and the cross-fade transition; the .has-rotation class is
     added by JS so the layout only switches when rotation is active
     (no fallback flicker if JS fails - falls back to a 1-column
     grid showing all items stacked). */
  .trust-bar__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    position: relative;
    min-height: 4em;
  }
  .trust-bar__inner.has-rotation { display: block; }
  /* Absolute children position relative to their parent's padding-box
     edge, NOT inside its padding. Offset by the same values the inner
     normally pads with so the rotating item lines up where a flowed
     item would. */
  .trust-bar__inner.has-rotation .trust-bar__item {
    position: absolute;
    top: 22px;
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .trust-bar__inner.has-rotation .trust-bar__item.is-active { opacity: 1; }

  .feature-grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }

  /* Pricing tiers become a tabbed interface at mobile - tabs at top
     (4 across), single tier panel below. The .is-active class on a
     .tier shows it; tiers.js keeps tabs and panels in sync. */
  .tier-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 24px;
    /* Segmented-control container: soft inset background that holds
       all four options. The selected tab sits "in" this container with
       its drop shadow making it stand proud. */
    padding: 4px;
    background: var(--navy-100);
    border-radius: var(--r-pill);
  }
  .tiers {
    display: block;          /* not a grid at mobile - single panel */
    margin-bottom: 32px;
  }
  .tier { display: none; }
  .tier.is-active { display: flex; }
  /* Featured tier loses its raised offset in tab mode - already
     visually anchored as the active tab. */
  .tier--featured { transform: none; }
  .tier--featured:hover { transform: none; }
  /* Hover effects are noisy in tab mode (only one card visible). */
  .tier:hover { transform: none; box-shadow: none; }

  .cta__form { grid-template-columns: 1fr; }

  .site-foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-foot__col:nth-child(3) { display: flex; }
  .site-foot__base { flex-direction: column; align-items: flex-start; gap: 6px; }

  .step__when { padding-left: 56px; font-size: 11px; }
}

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