/* =========================================================================
   Protechted — Chrome & Flare design system (matches the padlock logo)
   Layout: floating glass capsule nav over a black field lit by deep-blue glows;
   brushed-chrome type and buttons; electric-blue lens flares as the one accent.
   ========================================================================= */

:root {
  color-scheme: dark;

  /* Colour */
  --bg: #060606;
  --bg-2: #0E0E0E;
  --ink: #F6F6F6;
  --ink-2: #B2B2B2;
  --ink-3: #7A7A7A;
  --line: rgba(255, 255, 255, 0.08);
  --flare: #EAEAEA;
  --flare-soft: #F7F7F7;
  --flare-deep: #2F2F2F;
  --danger: #FF6B5E;
  --ok: #5BE39A;

  /* Steel */
  --steel: linear-gradient(180deg, #FFFFFF 0%, #E9E9E9 30%, #A6A6A6 48%, #F5F5F5 60%, #BFBFBF 78%, #848484 100%);
  --steel-btn: linear-gradient(180deg, #FFFFFF 0%, #E7E7E7 42%, #B3B3B3 52%, #EDEDED 100%);

  /* Glass */
  --glass-blur: 30px;
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 50px rgba(0, 0, 0, 0.55);

  /* Type */
  --font-display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape & motion */
  --r-xl: 32px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Legacy names used by admin & legal pages */
  --primary: var(--ink);
  --secondary: var(--ink-2);
  --muted: var(--ink-3);
  --border: var(--line);
  --alert: var(--flare);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(255, 255, 255, 0.193); color: #fff; }
:focus-visible { outline: 2px solid var(--flare); outline-offset: 3px; border-radius: 8px; }
.hidden { display: none !important; }
.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; }
section[id], #checker { scroll-margin-top: 96px; }

.text-primary { color: var(--ink) !important; }
.text-secondary { color: var(--ink-2) !important; }
.bg-bg { background-color: var(--bg) !important; }
.text-alert { color: var(--flare) !important; }

/* ---------- Background field ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(80% 60% at 50% -10%, rgba(76, 76, 76, 0.35), transparent 60%),
    var(--bg);
}
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora .a1 { width: 50vmax; height: 50vmax; left: -16vmax; top: -20vmax; background: #2B2B2B; opacity: 0.55; animation: drift1 40s ease-in-out infinite alternate; }
.aurora .a2 { width: 34vmax; height: 34vmax; right: -12vmax; top: 18vmax; background: #404040; opacity: 0.28; animation: drift2 46s ease-in-out infinite alternate; }
.aurora .a3 { width: 44vmax; height: 44vmax; left: 18vmax; bottom: -30vmax; background: #181818; opacity: 0.6; animation: drift3 52s ease-in-out infinite alternate; }
.aurora .a4 { width: 14vmax; height: 14vmax; right: 22vmax; bottom: 16vmax; background: var(--flare); opacity: 0.14; animation: drift2 34s ease-in-out infinite alternate-reverse; }
/* Faint brushed-steel grain */
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
@keyframes drift1 { to { transform: translate3d(12vmax, 8vmax, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-10vmax, 12vmax, 0) scale(0.9); } }
@keyframes drift3 { to { transform: translate3d(-8vmax, -10vmax, 0) scale(1.08); } }

/* ---------- Lens flare (from the logo) ---------- */
.flare {
  position: absolute;
  width: var(--w, 360px);
  height: 2px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.303) 30%, #fff 50%, rgba(255, 255, 255, 0.303) 70%, transparent);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.495));
  animation: twinkle var(--t, 5s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.flare::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 10%, rgba(255, 255, 255, 0.85) 22%, rgba(255, 255, 255, 0.193) 45%, transparent 70%);
}
.flare::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 46px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scaleX(0.85); }
  45% { opacity: 1; transform: translate(-50%, -50%) scaleX(1.12); }
  55% { opacity: 0.9; transform: translate(-50%, -50%) scaleX(1); }
}

/* Thin horizon line with a travelling glint, used between sections */
.horizon {
  position: relative;
  height: 1px;
  max-width: 1160px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  overflow: visible;
}
.horizon::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--flare-soft), #fff, var(--flare-soft), transparent);
  filter: drop-shadow(0 0 6px var(--flare));
  animation: glint 7s var(--ease-out) infinite;
}
@keyframes glint { 0% { transform: translateX(-200px); opacity: 0; } 10% { opacity: 1; } 60%, 100% { transform: translateX(min(1160px, 100vw)); opacity: 0; } }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.container-narrow { max-width: 780px; }
.section { padding-block: clamp(72px, 11vw, 136px); position: relative; }
.section-tight { padding-block: clamp(56px, 8vw, 96px); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #979797;
}
.display, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
  margin: 0;
}
.display, .h2, .chrome {
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display { font-size: clamp(48px, 8.4vw, 104px); line-height: 0.96; letter-spacing: -0.045em; padding-bottom: 0.06em; }
.h2 { font-size: clamp(34px, 5vw, 58px); padding-bottom: 0.04em; }
.h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; color: var(--ink); }
.h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.6; max-width: 60ch; margin: 0; }
.body { font-size: 15px; color: var(--ink-2); line-height: 1.65; margin: 0; }
.small { font-size: 13px; color: var(--ink-3); line-height: 1.6; margin: 0; }
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.section-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

/* Chrome headline with a light sweep on load */
.shine {
  background:
    linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 255, 255, 0.9) 52%, transparent 62%) no-repeat,
    var(--steel);
  background-size: 260% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 2.8s var(--ease-out) 0.7s both;
}
@keyframes shine { from { background-position: 120% 0, 0 0; } to { background-position: -40% 0, 0 0; } }

/* ---------- Glass material (dark) ---------- */
.glass, .glass-card {
  position: relative;
  isolation: isolate;
  /* Frosted black: deep blur, desaturated, a fine grain, translucent black on top */
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 38%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    rgba(10, 10, 10, 0.62);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(0%) brightness(0.85);
  backdrop-filter: blur(var(--glass-blur)) saturate(0%) brightness(0.85);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(255, 255, 255, 0.02), var(--glass-shadow);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background 0.4s ease;
}
.glass::before, .glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  z-index: 1;
}
.glass::after, .glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 30%) var(--my, -20%), rgba(255, 255, 255, 0.112), transparent 50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.5s ease;
}
@media (hover: hover) and (pointer: fine) {
  .glass.is-lit::after, .glass-card.is-lit::after { opacity: 1; }
  .glass.lift:hover, a.glass-card:hover, button.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 255, 255, 0.083);
  }
}
.glass-strong { background-color: rgba(8, 8, 8, 0.78); }
.glass-feature {
  background-color: rgba(18, 18, 18, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 70px rgba(255, 255, 255, 0.05);
}
/* Kept for older markup */
.glass-dark { background: linear-gradient(150deg, rgba(255, 255, 255, 0.077), rgba(255, 255, 255, 0.03)); color: var(--ink); }
.pad { padding: clamp(24px, 3.4vw, 36px); }
.pad-sm { padding: 20px; }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease, background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform 0.4s var(--ease-spring); }
.btn:hover .arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

/* Primary = polished chrome */
.btn-primary, .chrome-btn {
  position: relative;
  overflow: hidden;
  background: var(--steel-btn);
  color: #070707 !important;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.18), 0 10px 26px rgba(0, 0, 0, 0.5), 0 0 22px rgba(255, 255, 255, 0.099);
}
.chrome-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease; }
.btn-primary::after, .chrome-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.6) 52%, transparent 66%);
  mix-blend-mode: soft-light;
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .btn-primary:hover, .chrome-btn:hover { transform: translateY(-1px) scale(1.02); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.3), 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 36px rgba(255, 255, 255, 0.248); }
  .btn-primary:hover::after, .chrome-btn:hover::after { transform: translateX(120%); }
}
.chrome-btn:disabled, .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Secondary = dark glass */
.btn-glass, .glass-btn {
  background: rgba(12, 12, 12, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(0%);
  backdrop-filter: blur(18px) saturate(0%);
  color: var(--ink) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 22px rgba(0, 0, 0, 0.4);
}
.glass-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 500; transition: transform 0.5s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease; }
@media (hover: hover) {
  .btn-glass:hover, .glass-btn:hover { transform: translateY(-1px) scale(1.02); background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 26px rgba(255, 255, 255, 0.138); }
}

/* ---------- Pills, chips, badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.pill svg { width: 15px; height: 15px; color: var(--flare-soft); flex-shrink: 0; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.077);
  color: var(--flare-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.193);
}
.tag-soft { background: rgba(255, 255, 255, 0.06); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tag-alert { background: var(--steel-btn); color: #070707; box-shadow: none; }

.armed-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 0 8px var(--flare);
  flex-shrink: 0;
  animation: armed 2.2s ease-out infinite;
}
@keyframes armed {
  0% { box-shadow: 0 0 8px var(--flare), 0 0 0 0 rgba(255, 255, 255, 0.33); }
  70% { box-shadow: 0 0 8px var(--flare), 0 0 0 10px rgba(255, 255, 255, 0.0); }
  100% { box-shadow: 0 0 8px var(--flare), 0 0 0 0 rgba(255, 255, 255, 0.0); }
}

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #070707;
  background: var(--steel-btn);
  box-shadow: inset 0 1px 0 #fff, 0 0 18px rgba(255, 255, 255, 0.138);
  flex-shrink: 0;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile.muted { background: rgba(255, 255, 255, 0.06); color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-size: 14px; line-height: 1; white-space: nowrap; }
.wordmark img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.193)); }
.wordmark > span { background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: 2px; }
.wm-bold { font-weight: 700; }
.wm-light { font-weight: 300; }

/* ---------- Floating nav ---------- */
.nav-wrap {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(1140px, 100%);
  height: 62px;
  border-radius: 999px;
  padding: 0 8px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: rgba(8, 8, 8, 0.6);
  transition: height 0.5s var(--ease-out), background 0.4s ease, box-shadow 0.4s ease, width 0.6s var(--ease-out);
}
.nav.is-condensed { height: 54px; width: min(980px, 100%); background-color: rgba(6, 6, 6, 0.8); }
.nav-links { position: relative; display: none; align-items: center; gap: 2px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }
.nav-lens {
  position: absolute;
  top: 50%;
  height: 36px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 18px rgba(255, 255, 255, 0.138);
  opacity: 0;
  transition: left 0.55s var(--ease-spring), width 0.55s var(--ease-spring), opacity 0.3s ease;
  pointer-events: none;
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; display: grid; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1000px) { .nav-links { display: flex; } .menu-btn { display: none; } }
@media (max-width: 520px) { .nav .nav-cta { display: none; } }

.sheet {
  position: fixed;
  z-index: 59;
  top: calc(env(safe-area-inset-top, 0px) + 84px);
  left: max(12px, env(safe-area-inset-left, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  border-radius: var(--r-lg);
  padding: 14px;
  display: grid;
  gap: 4px;
  transform-origin: top center;
  animation: sheetIn 0.45s var(--ease-spring);
}
.sheet a:not(.btn) { padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 500; color: var(--ink); }
.sheet a:not(.btn):active { background: rgba(255, 255, 255, 0.06); }
.sheet .btn { margin-top: 8px; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(-8px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + 124px); padding-bottom: clamp(64px, 9vw, 112px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-copy .lede { max-width: 36ch; }
.hero-badge { align-self: flex-start; }
.hero-visual { position: relative; min-width: 0; max-width: 520px; width: 100%; justify-self: center; }
.hero-logo { position: relative; aspect-ratio: 713 / 900; width: 58%; margin-inline: auto; }
.hero-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.85) 50%, transparent 58%);
  background-size: 300% 100%;
  background-position: 150% 0;
  -webkit-mask: url(../assets/logo-lock.webp) center / contain no-repeat;
  mask: url(../assets/logo-lock.webp) center / contain no-repeat;
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: sweep 7s var(--ease-out) 1.4s infinite;
}
@keyframes sweep { 0% { background-position: 150% 0; } 45%, 100% { background-position: -50% 0; } }
.hero-logo::before {
  content: "";
  position: absolute;
  inset: 12% 8% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(127, 127, 127, 0.12) 40%, transparent 70%);
  filter: blur(30px);
  animation: breathe 6s ease-in-out infinite;
}
.hero-logo img { position: relative; width: 100%; height: 100%; object-fit: contain; animation: logoIn 1.6s var(--ease-out) both, hover 8s ease-in-out 1.6s infinite; }
@keyframes logoIn { from { opacity: 0; transform: scale(0.92) translateY(14px); filter: blur(8px) brightness(2); } to { opacity: 1; transform: none; filter: none; } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes breathe { 0%, 100% { opacity: 0.7; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.04); } }
.hero-logo .flare { animation-name: twinkle; }
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-card { position: relative; z-index: 5; margin: 18px auto 0; width: min(100%, 380px); border-radius: var(--r-lg); }
.price-big { font-family: var(--font-display); font-size: 52px; font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.04em; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.checklist li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--flare-soft); filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.33)); }
.checklist strong { color: var(--ink); font-weight: 600; }

.rise { animation: rise 0.9s var(--ease-out) both; }
.rise-1 { animation-delay: 0.08s; } .rise-2 { animation-delay: 0.16s; } .rise-3 { animation-delay: 0.24s; } .rise-4 { animation-delay: 0.32s; } .rise-5 { animation-delay: 0.42s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 24%;
    }
    @keyframes reveal {
      from { opacity: 0.15; transform: translateY(40px) scale(0.97); filter: blur(4px); }
      to { opacity: 1; transform: none; filter: none; }
    }
  }
}

/* ---------- Threat ---------- */
.feature { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.feature .body { flex: 1; }

/* ---------- Pricing ---------- */
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 5px; border-radius: 999px; gap: 0; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color 0.3s ease; white-space: nowrap; }
.seg button[aria-selected="true"] { color: #070707; }
.seg-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 999px;
  background: var(--steel-btn);
  box-shadow: inset 0 1px 0 #fff, 0 0 18px rgba(255, 255, 255, 0.193);
  transition: transform 0.55s var(--ease-spring), width 0.55s var(--ease-spring);
  pointer-events: none;
}

.plans { display: grid; gap: 22px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1.12fr 0.88fr; } }
.plan { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.plan-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan-price .price-big { font-size: clamp(48px, 6vw, 64px); }
.plan-sub { font-size: 15px; color: var(--ink-2); }
.plan .checklist { flex: 1; }
.plan-cta { display: flex; flex-direction: column; gap: 10px; }
.care-monthly-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
.care-monthly-line strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -0.03em; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 0 18px rgba(255, 255, 255, 0.275); }
.save-tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.099); color: var(--flare-soft); }

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.rim { position: relative; }
.rim > .rim-glow {
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--r-lg) + 1.5px);
  padding: 1.5px;
  background: conic-gradient(from var(--angle), rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.522), #fff, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.0) 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.385));
  animation: spin 6s linear infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes spin { to { --angle: 360deg; } }
.deposit-strip { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; padding: 18px 24px; border-radius: var(--r-md); margin-top: 22px; }
.deposit-strip .small { max-width: 62ch; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare-3 { min-width: 680px; }
.compare-3 th[scope="row"] { width: 34%; }
.compare th, .compare td { text-align: left; padding: 16px 22px; vertical-align: top; }
.compare thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding-top: 22px; }
.compare thead th.col-care { color: var(--flare-soft); }
.compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 40%; }
.compare tbody th span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.compare td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.compare td.col-care { color: #fff; font-weight: 600; background: rgba(255, 255, 255, 0.039); }
.notes { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 900px) { .notes { grid-template-columns: repeat(3, 1fr); } }
.note { padding: 18px 20px; border-radius: var(--r-md); }
.note .h4 { margin-bottom: 6px; }

/* ---------- Garage visits ---------- */
.steps { display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 24px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 10px; }
.step-n {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--steel-btn);
  color: #070707;
  box-shadow: inset 0 1px 0 #fff, 0 0 16px rgba(255, 255, 255, 0.193);
}
.card-panel { display: grid; gap: 28px; align-items: center; margin-top: 22px; }
@media (min-width: 900px) { .card-panel { grid-template-columns: 1fr 0.9fr; } }
.envelope {
  position: relative;
  aspect-ratio: 1.6 / 1;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  border-radius: 18px;
  background: linear-gradient(160deg, #212121, #111111);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: rotate(-3deg);
  transition: transform 0.8s var(--ease-spring);
}
.envelope:hover { transform: rotate(0deg) translateY(-4px); }
.envelope::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 58%;
  background: linear-gradient(160deg, #2A2A2A, #191919);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
}
.envelope .seal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #333333, #070707 75%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25), 0 0 26px rgba(255, 255, 255, 0.248), inset 0 2px 4px rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  z-index: 2;
}
.envelope .seal img { width: 54px; height: 54px; object-fit: contain; }
.envelope .ref { position: absolute; left: 22px; bottom: 18px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--ink-3); z-index: 2; }
.envelope .stamp { position: absolute; right: 18px; bottom: 16px; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--flare-soft); border: 1.5px solid rgba(255, 255, 255, 0.7); border-radius: 4px; padding: 4px 7px; transform: rotate(-6deg); z-index: 2; box-shadow: 0 0 10px rgba(255, 255, 255, 0.165); }

/* ---------- Vehicles ---------- */
.brands { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .brands { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.brand-card {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: #111111;
  text-align: left;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.brand-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.8) contrast(1.05); transition: transform 1.1s var(--ease-out), filter 0.6s ease; }
.brand-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 6, 6, 0) 40%, rgba(6, 6, 6, 0.75)); pointer-events: none; }
.brand-card .brand-label { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; border-radius: 14px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.brand-card .brand-label .h4 { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-card .brand-label span:last-child { font-size: 13px; color: var(--flare-soft); flex-shrink: 0; }
@media (hover: hover) {
  .brand-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 30px rgba(255, 255, 255, 0.11); }
  .brand-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(0.95); }
}
.brand-card.is-selected { box-shadow: 0 0 0 2px var(--flare), 0 0 30px rgba(255, 255, 255, 0.248); }
.brand-card.brand-other { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; background: none; }
.brand-card.brand-other::after { display: none; }
.brand-card.brand-other .body { font-size: 13.5px; }

.checker { margin-top: 22px; }
.checker-fields { display: grid; gap: 14px; }
@media (min-width: 700px) { .checker-fields { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.field-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.select-field, .field {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
textarea.select-field, textarea.field { min-height: 110px; resize: vertical; line-height: 1.5; }
.select-field:focus, .field:focus { border-color: rgba(255, 255, 255, 0.385); background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.099), 0 0 20px rgba(255, 255, 255, 0.083); }
.select-field:disabled, .field:disabled { opacity: 0.45; cursor: not-allowed; }
.select-field::placeholder, .field::placeholder { color: #676767; }
select.select-field option, select.field option { background: #111111; color: var(--ink); }
input[type="date"].field, input[type="date"].select-field, input[type="datetime-local"].select-field { color-scheme: dark; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid var(--ink-2);
  border-bottom: 1.6px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select { padding-right: 44px; cursor: pointer; }
.field-error { color: var(--danger); font-size: 12.5px; margin: 6px 0 0; }
.select-field.is-invalid, .field.is-invalid { border-color: rgba(255, 107, 94, 0.6) !important; box-shadow: 0 0 0 4px rgba(255, 107, 94, 0.14); }
.select-field.is-valid, .field.is-valid { border-color: rgba(91, 227, 154, 0.4); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.4s var(--ease-spring);
}
.choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chip:has(input:checked) { background: var(--steel-btn); color: #070707; border-color: transparent; font-weight: 600; box-shadow: 0 0 16px rgba(255, 255, 255, 0.165); }
.choice-chip:has(input:focus-visible) { outline: 2px solid var(--flare); outline-offset: 2px; }
.choice-chip:active { transform: scale(0.97); }
.hint { font-size: 13px; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.039); border: 1px solid rgba(255, 255, 255, 0.11); }
.form-status { font-size: 13px; text-align: center; margin: 0; }
.form-status.error { color: var(--danger); }

.contact-shell { max-width: 760px; margin-inline: auto; }
.contact-tabs { display: flex; justify-content: center; margin-bottom: 22px; }
.panel { animation: panelIn 0.5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Checker result ---------- */
.chk-result { margin-top: 18px; border-radius: var(--r-md); padding: 22px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); animation: panelIn 0.45s var(--ease-out); }
.chk-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.chk-row > div { flex: 1; min-width: 220px; }
.chk-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.chk-icon svg { width: 22px; height: 22px; }
.chk-yes .chk-icon { background: var(--steel-btn); color: #070707; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.083), 0 0 24px rgba(255, 255, 255, 0.275); }
.chk-likely .chk-icon { background: rgba(255, 255, 255, 0.066); color: var(--flare-soft); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.chk-ask .chk-icon { background: rgba(255, 255, 255, 0.06); color: var(--ink-2); }
#chk-status { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 4px; color: #CFCFCF; }
.chk-ask #chk-status { color: var(--ink-3); }
#chk-title { margin: 0 0 6px; }
#chk-text { margin: 0 0 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); overflow: hidden; interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 500; font-size: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: var(--ink);
  transition: transform 0.5s var(--ease-spring), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] .plus { transform: rotate(45deg); background: var(--steel-btn); color: #070707; box-shadow: 0 0 16px rgba(255, 255, 255, 0.248); }
.faq .answer { padding: 0 22px 22px; color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 68ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--ease-out), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Footer ---------- */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px; }
.footer-link { display: block; padding: 6px 0; color: var(--ink-2); font-size: 14.5px; transition: color 0.2s ease; }
.footer-link:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade 0.3s ease; }
.modal-card { position: relative; max-width: 440px; width: 100%; text-align: center; animation: pop 0.55s var(--ease-spring); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.94); } }
.success-check { width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--steel-btn); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.077), 0 0 34px rgba(255, 255, 255, 0.275); }
.success-check svg { width: 26px; height: 26px; stroke: #070707; stroke-width: 2.6; fill: none; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 0.6s 0.25s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Chat ---------- */
.chat-root { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 90; }
.chat-toggle { width: 58px; height: 58px; border-radius: 999px; border: 0; display: grid; place-items: center; color: #070707; background: var(--steel-btn); box-shadow: inset 0 1px 0 #fff, 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 255, 255, 0.193); transition: transform 0.5s var(--ease-spring); }
.chat-toggle:hover { transform: scale(1.06); }
.chat-toggle .chat-icon-open.hidden, .chat-toggle .chat-icon-close.hidden { display: none; }
.chat-panel { position: absolute; right: 0; bottom: 72px; width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 140px)); border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; animation: chatIn 0.5s var(--ease-spring); }
.chat-panel.hidden { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(0.92); } }
.chat-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.chat-header-title { font-weight: 600; margin: 0; }
.chat-header-sub { font-size: 12px; color: var(--ink-3); margin: 2px 0 0; }
.chat-close { background: rgba(255, 255, 255, 0.08); border: 0; width: 30px; height: 30px; border-radius: 999px; color: var(--ink-2); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.chat-bubble { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; animation: panelIn 0.35s var(--ease-out); }
.chat-bubble-bot { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 6px; color: var(--ink); }
.chat-bubble-user { align-self: flex-end; background: var(--steel-btn); color: #070707; border-bottom-right-radius: 6px; }
.chat-form { padding: 12px 14px 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; position: relative; z-index: 2; }
.chat-input { width: 100%; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 10px 12px; font-size: 14px; background: rgba(255, 255, 255, 0.04); color: var(--ink); outline: none; }
.chat-input::placeholder { color: #676767; }
.chat-input:focus { border-color: rgba(255, 255, 255, 0.385); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.099); }
.chat-compose { display: flex; gap: 8px; }
.chat-input-msg { flex: 1; min-width: 0; }
.chat-send { border: 0; border-radius: 12px; padding: 0 16px; font-size: 13.5px; font-weight: 600; color: #070707; background: var(--steel-btn); }
.chat-send:disabled { opacity: 0.5; }
.chat-status { font-size: 12px; color: var(--ink-3); min-height: 1em; margin: 0; }
.chat-status.error { color: var(--danger); }
.chat-status.ok { color: var(--ok); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  /* Motion-sensitive visitors still get soft fades; nothing slides, scales, floats or parallaxes */
  .aurora span, .horizon::after { animation: none; }
  .rise { animation-name: fadeOnly; }
  .hero-logo img { animation: fadeOnly 1.2s ease both; }
  .hero-title .line-in { animation: fadeOnly 1s ease both !important; }
  .hero-title .line + br + .line .line-in { animation-delay: 0.2s !important; }
  .marquee-track { animation-duration: 90s; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
@keyframes progressBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: reduce) {
    .reveal { animation: fadeOnly linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
    .words { view-timeline: --head block; }
    .words .wi { animation: fadeOnly linear both; animation-timeline: --head; animation-range: entry calc(8% + var(--i) * 3.5%) cover calc(26% + var(--i) * 3.5%); }
    .scroll-progress { display: block; position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; background: linear-gradient(90deg, rgba(255,255,255,.15), #fff 60%, rgba(255,255,255,.5)); transform-origin: left center; animation: progressBar linear both; animation-timeline: scroll(root); }
  }
}

/* Flares and glints may extend past their boxes; never let them widen the page */
main, .footer { overflow-x: clip; }

/* ---------- Service price tiles ---------- */
.price-tile { padding: 22px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 6px; }
.price-mid { font-family: var(--font-display); font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin: 4px 0 0; font-variant-numeric: tabular-nums; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.04em; }
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.extra-line { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.extra-line svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--flare-soft); filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.33)); }
.extra-line strong { color: var(--ink); font-weight: 600; }

/* Three plans */
@media (min-width: 1000px) { .plans.plans-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) and (max-width: 999px) { .plans.plans-3 { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plans-3 .price-big { font-size: clamp(44px, 4.6vw, 56px); }

/* =========================================================================
   Motion: text reveals, counters, ticker, scroll-linked flow
   Everything is visible at rest; motion only adds to it.
   ========================================================================= */

/* Hero headline: each line slides up out of a mask on load */
.hero-title .line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line-in { display: inline-block; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; animation: lineUp 1.1s var(--ease-out) both; }
.hero-title .line + br + .line .line-in { animation-delay: 0.14s; }
.hero-title .line-in.shine {
  background:
    linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, 0.95) 48%, rgba(255, 255, 255, 0.85) 52%, transparent 62%) no-repeat,
    var(--steel);
  background-size: 260% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: lineUp 1.1s var(--ease-out) 0.14s both, shine 2.8s var(--ease-out) 1s both;
}
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }

/* Section headlines: words rise in sequence as the heading scrolls into view */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.words .wi { display: inline-block; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2.words, .hero-title { background: none; }

/* Prices tick up from zero the first time they're seen */
.counting { font-variant-numeric: tabular-nums; }

/* Scroll progress: a hairline of chrome along the top edge */
.scroll-progress { display: none; }

/* Makes ticker */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--line);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; flex-shrink: 0; }
.marquee-set span {
  padding-inline: 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--steel);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.7;
}
.marquee-set span::after { content: "·"; margin-left: 56px; color: #5E5E5E; -webkit-text-fill-color: #5E5E5E; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Eyebrow labels draw a fine line in front of themselves */
.section-head .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
  transform-origin: left center;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .words { view-timeline: --head block; }
    .words .wi {
      animation: wordUp linear both;
      animation-timeline: --head;
      animation-range: entry calc(8% + var(--i) * 3.5%) cover calc(26% + var(--i) * 3.5%);
    }
    @keyframes wordUp { from { transform: translateY(105%); opacity: 0.2; } to { transform: none; opacity: 1; } }

    .section-head .eyebrow::before { animation: drawLine linear both; animation-timeline: view(); animation-range: entry 10% cover 25%; }
    @keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* Cards in a row arrive one after another */
    .grid > .reveal:nth-child(2), .plans > .reveal:nth-child(2), .steps > .reveal:nth-child(2), .brands > .reveal:nth-child(2) { animation-range: entry 5% cover 29%; }
    .grid > .reveal:nth-child(3), .plans > .reveal:nth-child(3), .steps > .reveal:nth-child(3), .brands > .reveal:nth-child(3) { animation-range: entry 10% cover 34%; }
    .grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4), .brands > .reveal:nth-child(4) { animation-range: entry 15% cover 39%; }
    .grid > .reveal:nth-child(n+5), .brands > .reveal:nth-child(n+5) { animation-range: entry 8% cover 32%; }

    /* Hero eases away as you scroll; the padlock drifts slower than the page */
    .hero-copy { animation: heroOut linear both; animation-timeline: scroll(root); animation-range: 0 75vh; }
    @keyframes heroOut { to { opacity: 0.25; transform: translateY(-48px); } }
    .hero-logo { animation: logoDrift linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    @keyframes logoDrift { to { transform: translateY(70px) scale(0.95); opacity: 0.55; } }

    .scroll-progress {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      z-index: 70;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), #fff 60%, rgba(255, 255, 255, 0.5));
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
      transform-origin: left center;
      animation: progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}


