/* ==========================================================================
   Fonts
   ========================================================================== */

/* Fallback display face only — primary is BubbledotICG-FinePos (OnlineWebFonts) */
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --page-pad-y: clamp(16px, 2.4vh, 28px);
  --page-pad-x: clamp(14px, 3vw, 32px);
  --cta-glow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 22px rgba(255, 255, 255, 0.32),
    0 0 44px rgba(255, 255, 255, 0.12);
  --cta-glow-strong: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 30px rgba(255, 255, 255, 0.48),
    0 0 64px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   Background video
   ========================================================================== */

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* ==========================================================================
   Page shell
   ========================================================================== */

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  padding: var(--page-pad-y) var(--page-pad-x);
  overflow: hidden;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  width: 100%;
  max-width: 720px;
  animation: slideDown 0.7s var(--ease-out) both;
}

.logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  transition: transform 0.3s var(--ease-out);
}

.logo:hover {
  transform: scale(1.04);
}

.logo img {
  display: block;
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  height: clamp(44px, 5.2vw, 48px);
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}

.nav-link {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 clamp(8px, 1.2vw, 14px);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--nav-text);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.75;
}

.nav-link.is-active {
  opacity: 1;
}

/* Active indicator: three 3×3 dots under the label */
.nav-link.is-active::after,
.mobile-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: #000;
  box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}

.book-call {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 24px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: var(--nav-shadow);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.book-call:hover {
  background: #323234;
  color: #fff;
  transform: translateY(-1px);
}

/* Burger (mobile only) */
.burger {
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease-out), opacity 0.2s ease, background-color 0.3s ease;
}

.burger[aria-expanded="true"] {
  background: #fff;
}

.burger[aria-expanded="true"] span {
  background: #000;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  text-align: center;
}

/* Trust row */
.trust {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.trust-avatar {
  position: relative;
  flex-shrink: 0;
  width: var(--trust-size);
  height: var(--trust-size);
  padding: 5px;
  border: 1px solid var(--trust-border);
  border-radius: 50%;
  background: var(--trust-bg);
  transition: transform 0.35s var(--ease-out);
}

.trust-avatar > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}

.trust-avatar + .trust-avatar {
  margin-left: calc(var(--trust-size) * -0.42);
}

.a1 {
  z-index: 1;
}

.a2 {
  z-index: 2;
}

.a3 {
  z-index: 4;
}

.trust:hover .a1 {
  transform: translateY(-2px);
}

.trust:hover .a2 {
  transform: translateY(-4px);
}

.trust:hover .a3 {
  transform: translateY(-2px);
}

.trust-pill {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: var(--trust-size);
  margin-left: calc(var(--trust-size) * -0.42);
  padding: 0 calc(var(--trust-size) * 0.4) 0 calc(var(--trust-size) * 0.58);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  background: var(--trust-bg);
  color: var(--trust-text);
  font-size: clamp(12px, 1.4vw, 13.5px);
  font-weight: 500;
  white-space: nowrap;
}

/* Headline */
.headline {
  max-width: 100%;
  margin: 0 0 clamp(14px, 2.2vh, 22px);
  font-family: var(--font-display);
  font-size: clamp(28px, 6.2vw, 80px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
}

.headline span {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s var(--ease-out) forwards;
}

.headline span:nth-child(1) {
  animation-delay: 0.12s;
}

.headline span:nth-child(2) {
  animation-delay: 0.3s;
}

/* Subhead */
.subhead {
  --o: 0.8;
  max-width: min(550px, 92%);
  margin: 0 0 clamp(22px, 3.4vh, 34px);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  font-weight: 400;
  line-height: 1.55;
  color: #d0d0d0;
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: var(--cta-glow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

/* ==========================================================================
   Stats footer
   ========================================================================== */

.stats {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
  width: 100%;
  max-width: 920px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.stat-icon {
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1;
  color: #fff;
}

.stat-value {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.stat-label {
  font-size: clamp(11px, 1.2vw, 12.5px);
  line-height: 1.3;
  color: var(--muted);
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}

.mobile-menu {
  position: fixed;
  z-index: 50;
  top: calc(var(--page-pad-y) + 48px + 12px);
  left: var(--page-pad-x);
  right: var(--page-pad-x);
  display: flex;
  flex-direction: column;
  max-width: 420px;
  margin: 0 auto;
  padding: 22px 18px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform-origin: top center;
  animation: menuIn 0.38s var(--ease-out) both;
}

.mobile-link {
  position: relative;
  display: block;
  padding: 13px 12px 19px;
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
  transition: opacity 0.2s ease;
  animation: linkIn 0.45s var(--ease-out) backwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.05s);
}

.mobile-link:hover {
  opacity: 0.75;
}

.mobile-link.is-active {
  opacity: 1;
}

.mobile-link.is-active::after {
  bottom: 8px;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 0.25s ease, color 0.25s ease;
  animation: linkIn 0.45s var(--ease-out) backwards;
  animation-delay: calc(0.08s + var(--i, 0) * 0.05s);
}

.mobile-cta:hover {
  background: #323234;
  color: #fff;
}

body.menu-open .header {
  z-index: 60;
}

/* ==========================================================================
   Lead capture modal
   ========================================================================== */

.lead-modal {
  --lead-orange: linear-gradient(135deg, #ffad62 0%, #ff7a2f 48%, #ef521b 100%);
  --lead-ink: #1c0b02;
  --lead-focus: rgba(255, 128, 52, 0.75);
  --lead-danger: #ff8a8a;

  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.lead-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}

/* Dark glass card */
.lead-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  padding: clamp(24px, 4vw, 34px) clamp(20px, 4vw, 32px) clamp(22px, 3.5vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(41, 41, 43, 0.95);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 -40px 80px rgba(0, 0, 0, 0.22), 0 30px 80px rgba(0, 0, 0, 0.55);
  color: var(--text);
  text-align: left;
  animation: modalIn 0.42s var(--ease-out) both;
}

.lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--sign-in-text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.3s var(--ease-out);
}

.lead-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: rotate(90deg);
}

.lead-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.lead-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff7a2f;
  box-shadow: 0 0 10px rgba(255, 122, 47, 0.8);
}

.lead-title {
  margin: 0;
  padding-right: 44px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #fff;
}

.lead-title:focus {
  outline: none;
}

.lead-intro {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #d0d0d0;
  opacity: 0.8;
}

/* Form */
.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--trust-text);
}

.field-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
  color: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 104px;
  max-height: 240px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lead-focus);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(255, 107, 107, 0.8);
}

/* Keep browser autofill on-theme */
.field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #1f1f21 inset;
  caret-color: #fff;
  transition: background-color 9999s ease 0s;
}

.field-error {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--lead-danger);
}

/* Honeypot: visually removed but still in the DOM for bots */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.lead-status {
  margin: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 107, 107, 0.28);
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.1);
  font-size: 13.5px;
  line-height: 1.45;
  color: #ffc1c1;
}

/* Submit — orange gradient */
.lead-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  margin-top: 4px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--lead-orange);
  color: var(--lead-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 6px rgba(120, 30, 0, 0.25),
    0 10px 28px rgba(255, 106, 31, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, filter 0.25s ease,
    opacity 0.2s ease;
}

.lead-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 6px rgba(120, 30, 0, 0.25),
    0 14px 36px rgba(255, 106, 31, 0.5);
}

.lead-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
}

.lead-submit:focus-visible,
.lead-done:focus-visible,
.lead-close:focus-visible {
  outline: 2px solid #ffb27a;
  outline-offset: 3px;
}

.lead-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.lead-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(28, 11, 2, 0.25);
  border-top-color: var(--lead-ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.lead-submit.is-sending .lead-spinner {
  display: inline-block;
}

/* Success state */
.lead-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0 4px;
  text-align: center;
}

.lead-success .lead-title {
  padding-right: 0;
}

.lead-success .lead-intro {
  max-width: 340px;
}

.lead-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--lead-orange);
  color: var(--lead-ink);
  font-size: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 30px rgba(255, 106, 31, 0.4);
}

.lead-done {
  width: 100%;
  height: 48px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lead-done:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Entrance animations
   ========================================================================== */

.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

/* Headline lines animate individually; the parent stays put */
.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

/* CTA settles back to its own styles (backwards fill) so hover transforms still apply */
.cta.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: revealPulse 1.25s var(--ease-out) backwards;
  animation-delay: var(--d, 0s);
}

.cta.anim:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--cta-glow-strong);
}

@keyframes reveal {
  to {
    opacity: var(--o, 1);
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
    box-shadow: var(--cta-glow);
  }
  55% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    box-shadow: var(--cta-glow);
  }
  75% {
    transform: translateY(0) scale(1.03);
    box-shadow: var(--cta-glow-strong);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    box-shadow: var(--cta-glow);
  }
}

@keyframes headlineFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.97);
  }
}

@keyframes linkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 720px) {
  .header {
    justify-content: space-between;
    max-width: none;
  }

  .nav,
  .book-call {
    display: none;
  }

  .logo {
    width: 48px;
    height: 48px;
  }

  .burger {
    display: flex;
  }

  .trust-pill {
    font-size: 12px;
  }

  .headline {
    font-size: clamp(32px, 10vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.08em;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: clamp(14px, 2.6vh, 22px);
  }
}

@media (max-width: 420px) {
  .trust {
    --trust-size: 34px;
  }

  .headline {
    font-size: clamp(30px, 11.6vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.09em;
  }
}

@media (max-width: 520px) {
  .lead-modal {
    padding: 12px;
  }

  .lead-card {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 24px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 700px) {
  .trust {
    margin-bottom: 12px;
  }

  .headline {
    margin-bottom: 10px;
  }

  .subhead {
    margin-bottom: 18px;
    line-height: 1.5;
  }

  .stat {
    gap: 4px;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .anim,
  .headline span {
    opacity: var(--o, 1);
    transform: none;
    filter: none;
  }

  .headline {
    color: #fff;
  }
}
