/* Landing page styles — Hormozi-inspired, mobile-first */
/* =========================================================
   GTEK SCALES — Colors & Type
   Navy + white brand. Playful-professional voice.
   ========================================================= */

/* ---------- FONTS ---------- */
/* Display: Space Grotesk — geometric, confident, modern, a touch playful.
   Body: Inter — neutral, highly readable across sizes.
   Mono: JetBrains Mono — for data, tags, phone numbers, stats. */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---------- COLOR TOKENS ---------- */

  /* Brand navy — pulled from the logo (~#1E3A6B, deep royal navy) */
  --navy-50:  #F0F4FB;
  --navy-100: #DCE5F3;
  --navy-200: #B4C5E2;
  --navy-300: #7E99C7;
  --navy-400: #4A6BA5;
  --navy-500: #2A4B85;
  --navy-600: #1E3A6B;   /* ← logo navy, primary brand color */
  --navy-700: #162C54;
  --navy-800: #0F1F3D;
  --navy-900: #091228;

  /* Neutrals — warm off-whites, cool deep greys */
  --white: #FFFFFF;
  --paper: #FAFBFC;         /* page bg, subtle warm off-white */
  --stone-50:  #F4F6F9;
  --stone-100: #E8ECF2;
  --stone-200: #D3DAE5;
  --stone-300: #A9B4C4;
  --stone-400: #6B7685;
  --stone-500: #454D5C;
  --stone-600: #2A303B;
  --stone-700: #161A22;

  /* Accent — bright signal yellow, used sparingly for CTAs & highlights.
     "Playful" part of the brand voice; complements navy without fighting. */
  --signal-50:  #FFF8E1;
  --signal-300: #FFD85C;
  --signal-500: #FFC21F;   /* primary accent */
  --signal-600: #E8A900;

  /* Semantic */
  --success: #1DB16B;
  --warning: #E8A900;
  --danger:  #D5403A;
  --info:    #2A4B85;

  /* ---------- FOREGROUND / BACKGROUND ROLES ---------- */
  --bg-page:      var(--paper);
  --bg-surface:   var(--white);
  --bg-raised:    var(--white);
  --bg-inverse:   var(--navy-800);
  --bg-brand:     var(--navy-600);
  --bg-muted:     var(--stone-50);

  --fg-1: var(--stone-700);   /* primary text */
  --fg-2: var(--stone-500);   /* secondary text */
  --fg-3: var(--stone-400);   /* tertiary / meta */
  --fg-inverse: var(--white);
  --fg-brand:   var(--navy-600);
  --fg-accent:  var(--signal-600);

  --border-1: var(--stone-100);
  --border-2: var(--stone-200);
  --border-strong: var(--stone-300);

  /* ---------- TYPE ---------- */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  /* Fluid type scale. Built for a marketing site with a big hero. */
  --fs-eyebrow: 0.75rem;                                          /* 12 */
  --fs-meta:    0.8125rem;                                        /* 13 */
  --fs-small:   0.875rem;                                         /* 14 */
  --fs-body:    1rem;                                             /* 16 */
  --fs-lead:    1.125rem;                                         /* 18 */
  --fs-h6:      1rem;
  --fs-h5:      1.125rem;
  --fs-h4:      clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-h3:      clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --fs-h2:      clamp(1.875rem, 1.4rem + 2.1vw, 2.75rem);
  --fs-h1:      clamp(2.25rem, 1.6rem + 3.2vw, 4rem);
  --fs-display: clamp(2.75rem, 1.8rem + 4.5vw, 5.5rem);

  --lh-tight:   1.05;
  --lh-snug:    1.2;
  --lh-normal:  1.4;
  --lh-body:    1.55;
  --lh-relaxed: 1.7;

  --tracking-tight:   -0.02em;
  --tracking-display: -0.03em;
  --tracking-eyebrow: 0.12em;

  /* ---------- SPACING ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---------- RADII ---------- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* ---------- SHADOWS ---------- */
  --shadow-xs: 0 1px 2px rgba(9, 18, 40, 0.05);
  --shadow-sm: 0 2px 6px rgba(9, 18, 40, 0.06), 0 1px 2px rgba(9, 18, 40, 0.04);
  --shadow-md: 0 8px 20px rgba(9, 18, 40, 0.08), 0 2px 6px rgba(9, 18, 40, 0.05);
  --shadow-lg: 0 20px 40px rgba(9, 18, 40, 0.12), 0 6px 12px rgba(9, 18, 40, 0.06);
  --shadow-xl: 0 32px 64px rgba(9, 18, 40, 0.18), 0 12px 24px rgba(9, 18, 40, 0.08);
  --shadow-navy: 0 12px 32px rgba(30, 58, 107, 0.28);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  /* ---------- MOTION ---------- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-pop:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  /* ---------- LAYOUT ---------- */
  --container-sm:  640px;
  --container-md:  768px;
  --container-lg:  1024px;
  --container-xl:  1200px;
  --container-wide: 1280px;
}

/* =========================================================
   SEMANTIC ELEMENT STYLES
   ========================================================= */

html, body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--fg-1);
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-snug);
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: var(--tracking-display); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); text-transform: uppercase; letter-spacing: var(--tracking-eyebrow); font-weight: 600; }

p {
  margin: 0;
  text-wrap: pretty;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--fg-3);
}

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--fg-2);
}

small, .meta {
  font-size: var(--fs-meta);
  color: var(--fg-3);
}

code, kbd, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

a {
  color: var(--fg-brand);
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
a:hover { opacity: 0.78; }

::selection {
  background: var(--signal-300);
  color: var(--navy-800);
}


* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- TOP BANNER ---------- */
.banner {
  background: var(--navy-800);
  color: var(--navy-100);
  padding: 10px 16px;
  text-align: center;
  font: 500 13px/1.3 var(--font-body);
}
.banner strong {
  color: var(--signal-300);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 8px;
  padding: 2px 8px;
  background: rgba(255, 194, 31, 0.12);
  border-radius: 3px;
}
.banner a { color: var(--white); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- NAV ---------- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-1);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.nav .logo img { height: 72px; display: block; }
.nav-links { display: none; gap: 28px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  color: var(--fg-1);
  font: 500 14px/1 var(--font-body);
  letter-spacing: -0.005em;
}
.nav-cta {
  background: var(--navy-600);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font: 600 13px/1 var(--font-body);
  text-decoration: none;
  transition: background 180ms var(--ease-out);
}
.nav-cta:hover { background: var(--navy-700); opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  text-align: center;
  padding: 36px 0 24px;
}
@media (min-width: 768px) { .hero { padding: 56px 0 32px; } }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 11px/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(29, 177, 107, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(29, 177, 107, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(29, 177, 107, 0); }
}
.hero h1 {
  font-size: clamp(2rem, 1.2rem + 4.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--navy-800);
  margin: 0 auto;
  max-width: 14ch;
}
.hero h1 .hl {
  color: var(--navy-600);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; bottom: 0.06em;
  height: 0.28em;
  background: var(--signal-500);
  z-index: -1;
  border-radius: 2px;
}
.hero .subhead {
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 42ch;
  margin: 20px auto 0;
  text-wrap: pretty;
}
.hero .subhead strong { color: var(--fg-1); font-weight: 600; }

/* ---------- VSL VIDEO ---------- */
.vsl {
  max-width: 900px;
  margin: 32px auto 0;
  position: relative;
}
.vsl-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  cursor: pointer;
}
.vsl-poster {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(42, 75, 133, 0.8), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(30, 58, 107, 0.9), transparent 50%),
    linear-gradient(135deg, #0F1F3D 0%, #1E3A6B 55%, #162C54 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--white);
}
.vsl-poster::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.vsl-play {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--signal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 12px rgba(255, 194, 31, 0.2), 0 0 0 24px rgba(255, 194, 31, 0.1), var(--shadow-lg);
  transition: transform 200ms var(--ease-out);
  position: relative;
  z-index: 1;
}
.vsl-frame:hover .vsl-play { transform: scale(1.05); }
.vsl-play svg { width: 32px; height: 32px; margin-left: 4px; fill: var(--navy-800); }
.vsl-title {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  font: 600 14px/1.3 var(--font-display);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.95;
}
.vsl-title .time {
  font: 500 11px/1 var(--font-mono);
  background: rgba(0,0,0,0.45);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.vsl-note {
  text-align: center;
  color: var(--fg-3);
  font-size: 13px;
  margin-top: 14px;
  font-family: var(--font-mono);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 28px auto 0;
  max-width: 380px;
}
@media (min-width: 520px) { .hero-ctas { flex-direction: row; justify-content: center; max-width: 100%; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font: 700 15px/1 var(--font-body);
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: all 180ms var(--ease-out);
  white-space: nowrap;
  width: 100%;
}
@media (min-width: 520px) { .btn { width: auto; } }
.btn-primary {
  background: var(--signal-500);
  color: var(--navy-800);
  box-shadow: 0 6px 16px rgba(232, 169, 0, 0.35);
}
.btn-primary:hover { background: var(--signal-300); transform: translateY(-1px); opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--navy-600); background: var(--navy-50); opacity: 1; }
.btn-big { padding: 18px 34px; font-size: 16px; }

.hero-trust {
  margin-top: 20px;
  font: 500 13px/1 var(--font-body);
  color: var(--fg-3);
}
.hero-trust strong { color: var(--fg-1); font-weight: 600; }

/* ---------- SECTION ---------- */
section { padding: 56px 0; }
@media (min-width: 768px) { section { padding: 80px 0; } }
.section-eyebrow {
  display: block;
  text-align: center;
  font: 600 11px/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-600);
  margin-bottom: 14px;
}
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy-800);
  margin: 0 auto 16px;
  max-width: 20ch;
}
.section-sub {
  text-align: center;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto 44px;
}

/* ---------- SOCIAL PROOF STRIP ---------- */
.proof {
  background: var(--navy-800);
  color: var(--white);
  padding: 28px 0;
}
.proof-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: center;
}
@media (min-width: 768px) { .proof-inner { grid-template-columns: repeat(4, 1fr); } }
.stat-num {
  font: 700 36px/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--signal-300);
}
@media (min-width: 768px) { .stat-num { font-size: 48px; } }
.stat-lbl {
  font: 500 12px/1.3 var(--font-body);
  color: var(--navy-200);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- SERVICES ---------- */
.services { background: var(--white); }
.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 200ms var(--ease-out);
}
.service:hover { border-color: var(--navy-300); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--navy-50);
  color: var(--navy-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--navy-800);
}
.service p {
  font-size: 14.5px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0 0 16px;
}
.service ul { list-style: none; padding: 0; margin: 0 0 18px; }
.service li {
  font-size: 14px;
  color: var(--fg-1);
  padding: 6px 0;
  display: flex; align-items: center; gap: 8px;
}
.service li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M6.5 10.5L4 8l-1 1 3.5 3.5 7-7-1-1z'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}
.service-cta {
  color: var(--navy-600);
  font: 600 14px/1 var(--font-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border-1);
  width: 100%;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--paper); }
.t-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .t-grid { grid-template-columns: repeat(3, 1fr); } }
.t-card {
  background: var(--white);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
}
.t-stars { color: var(--signal-500); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.t-quote {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-1);
  margin: 0 0 18px;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-600);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font: 700 14px/1 var(--font-display);
}
.t-meta { display: flex; flex-direction: column; }
.t-name { font-weight: 600; font-size: 14px; color: var(--fg-1); }
.t-role { font-size: 12px; color: var(--fg-3); }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border-1);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border-1); }
.faq-q {
  padding: 22px 0;
  font: 600 17px/1.35 var(--font-display);
  letter-spacing: -0.01em;
  color: var(--navy-800);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font: 400 28px/1 var(--font-display);
  color: var(--navy-600);
  transition: transform 200ms var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
}
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }

/* ---------- OFFER / FINAL CTA ---------- */
.offer {
  background: var(--navy-800);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.offer::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.offer-inner { position: relative; text-align: center; }
.offer .section-title { color: var(--white); }
.offer .section-sub { color: var(--navy-200); }
.offer-badge {
  display: inline-flex;
  align-items: center; gap: 8px;
  background: var(--signal-500);
  color: var(--navy-800);
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.offer ul {
  list-style: none; padding: 0; margin: 28px auto 32px;
  display: grid; gap: 10px;
  max-width: 440px;
  text-align: left;
}
.offer li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--navy-100); }
.offer li::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-900);
  color: var(--navy-200);
  padding: 40px 0 24px;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer img { height: 52px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--navy-200); font-weight: 500; }
.footer-copy { color: var(--navy-300); font-size: 12px; }

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(9, 18, 40, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  z-index: 100;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  padding: 32px 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  margin: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--stone-50);
  cursor: pointer;
  font-size: 18px; color: var(--fg-2);
}
.modal h3 { font-size: 24px; margin: 0 0 6px; color: var(--navy-800); }
.modal p { color: var(--fg-2); font-size: 14px; margin: 0 0 22px; line-height: 1.5; }
.modal .form-grid { display: grid; gap: 12px; }
.modal label { font: 600 11px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-3); margin-bottom: 6px; display: block; }
.modal input, .modal select, .modal textarea {
  width: 100%;
  font: 500 15px/1.3 var(--font-body);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-2);
  background: var(--white);
  color: var(--fg-1);
  outline: none;
  transition: all 150ms var(--ease-out);
  box-sizing: border-box;
  font-family: var(--font-body);
}
.modal input:focus, .modal select:focus, .modal textarea:focus {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(42,75,133,0.12);
}
.modal .btn { margin-top: 6px; }
.modal-success { display: none; text-align: center; padding: 20px 0; }
.modal-success.show { display: block; }
.modal-success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 16px;
}

/* ---------- RESPONSIVE ---------- */
.visible-mobile { display: block; }
.visible-desktop { display: none; }
@media (min-width: 768px) {
  .visible-mobile { display: none; }
  .visible-desktop { display: block; }
}
