/* ===== Soffit — Shared Styles ===== */
/* Modern 2025/2026 design: geometric sans, grain textures, glass effects, generous whitespace */

/* ---------- Google Font Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #FF6B4A;
  --primary-light: #FF8B70;
  --primary-dark: #E85A3A;
  --primary-glow: rgba(255, 107, 74, 0.15);
  --secondary:  #1A252F;
  --secondary-light: #2C3E50;
  --accent:     #00B894;
  --accent-light: #55EFC4;
  --accent-bg: #e5fff9;
  --bg:         #FAFAFA;
  --bg-white:   #FFFFFF;
  --bg-alt:     #F1F3F5;
  --bg-dark:    #111820;
  --bg-card:    rgba(255, 255, 255, 0.7);
  --text:       #1A1A2E;
  --text-light: #5A5A72;
  --text-muted: #8E8EA0;
  --text-white: #FFFFFF;
  --border:     rgba(0, 0, 0, 0.06);
  --border-light: rgba(0, 0, 0, 0.03);
  --glass:      rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.25);
  --shadow:     0 1px 3px rgba(0,0,0,0.04), 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:  0 4px 12px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 60px rgba(255, 107, 74, 0.15);
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --max-width:  1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay for texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.75;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: var(--primary-glow);
  border-radius: 50px;
  width: fit-content;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header p {
  margin-top: 1rem;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,74,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0,184,148,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: var(--text-white); }
.section-dark p { color: rgba(255,255,255,0.7); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  background: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* Dark / light logo switching */
.logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-glow);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-glow);
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Nav CTA — clean outline pill */
.nav-cta .btn {
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-cta .btn-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  box-shadow: none;
}

.nav-cta .btn-primary:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: none;
  box-shadow: none;
}

/* Dark navbar (for dark hero pages) */
.navbar-dark {
  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.06);
}
.navbar-dark .logo-dark { display: none; }
.navbar-dark .logo-light { display: block; }
.navbar-dark .nav-links a { color: rgba(255,255,255,0.7); }
.navbar-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.navbar-dark .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.navbar-dark .mobile-toggle span { background: #fff; }
.navbar-dark .nav-cta .btn-primary { color: #fff; border-color: rgba(255,255,255,0.4); }
.navbar-dark .nav-cta .btn-primary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: #fff; }
.navbar-dark.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
}
.navbar-dark.scrolled .logo-dark { display: block; }
.navbar-dark.scrolled .logo-light { display: none; }
.navbar-dark.scrolled .nav-links a { color: var(--text-light); }
.navbar-dark.scrolled .nav-links a:hover { color: var(--primary); background: var(--primary-glow); }
.navbar-dark.scrolled .nav-links a.active { color: var(--primary); background: var(--primary-glow); }
.navbar-dark.scrolled .nav-cta .btn-primary { color: var(--primary); border-color: var(--primary); background: transparent; }
.navbar-dark.scrolled .nav-cta .btn-primary:hover { background: var(--primary); color: #fff; }
.navbar-dark.scrolled .mobile-toggle span { background: var(--secondary); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255, 107, 74, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 107, 74, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 37, 47, 0.2);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

.btn-white {
  background: #fff;
  color: var(--secondary);
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}

.btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 999px;
}

.btn svg { width: 18px; height: 18px; }

/* ---------- Glass Card ---------- */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Bento Grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.bento-item:hover {
  border-color: var(--primary-glow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.bento-item.span-2 { grid-column: span 2; }
.bento-item.span-row { grid-row: span 2; }

.bento-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.bento-icon svg { width: 26px; height: 26px; color: var(--primary); }

.bento-item h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 144px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--primary); }
.hero p { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 520px; color: var(--text-light); }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 50%;
  z-index: 1;
  opacity: 0.9;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(255,107,74,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0,184,148,0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 60%, rgba(255,107,74,0.03) 0%, transparent 30%);
  z-index: 0;
}

/* Floating shapes for hero */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,184,148,0.08) 0%, transparent 70%);
  bottom: 10%;
  right: 30%;
  animation-delay: -3s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  top: 40%;
  left: 60%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -20px); }
  66% { transform: translate(-15px, 15px); }
}

/* Partners hero */
.hero-partners {
  background: linear-gradient(155deg, #0D1117 0%, var(--secondary) 40%, #1E3A5F 100%);
  color: var(--text-white);
}

.hero-partners h1,
.hero-partners p { color: var(--text-white); }
.hero-partners p { opacity: 0.85; }

/* About hero */
.hero-about {
  min-height: 60vh;
  background: var(--bg);
}

/* ---------- Steps ---------- */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.steps-layout .img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  position: relative;
}

/* Vertical line connecting steps */
.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 1px;
  opacity: 0.2;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1.5rem 0;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.step-content h3 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.95rem; }

/* ---------- Score Visual ---------- */
.score-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.score-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.score-ring {
  position: relative;
  width: 260px;
  height: 260px;
}

.score-ring svg { width: 100%; height: 100%; }

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-value .number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.score-value .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.score-details h3 { margin-bottom: 0.75rem; }
.score-details p { margin-bottom: 1.5rem; }

.score-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.score-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.score-features li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Features Bento ---------- */
.feature-card {
  text-align: left;
  padding: 2.5rem;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg { width: 26px; height: 26px; color: var(--primary); }
.feature-icon.green { background: rgba(0, 184, 148, 0.1); }
.feature-icon.green svg { color: var(--accent); }

.feature-card h3 { margin-bottom: 0.5rem; }

/* ---------- Stats / Metrics ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-dark .stat-label { color: rgba(255,255,255,0.6); }

/* ---------- Waitlist ---------- */
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 2rem auto 0;
}

.waitlist-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition);
  background: var(--bg-white);
}

.waitlist-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.waitlist-form .btn {
  flex-shrink: 0;
}

/* Inline form for dark sections */
.waitlist-dark input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}

.waitlist-dark input::placeholder { color: rgba(255,255,255,0.4); }

.waitlist-dark input:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.12);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo svg { width: 60px; height: 60px; color: rgba(255,255,255,0.85); }

.team-card h3 { margin-bottom: 0.25rem; }

.team-role {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.team-bio {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Advisory */
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.advisory-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.advisory-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.advisory-photo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  margin: 0 auto 1rem;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advisory-photo svg { width: 36px; height: 36px; color: var(--text-muted); }

.advisory-card h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.advisory-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
}

.value-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.value-card .value-icon svg { width: 24px; height: 24px; color: var(--primary); }

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,74,0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-img {
  height: 26px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  margin-top: 0;
  max-width: 340px;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ---------- Problem / Solution ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.problem-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 107, 74, 0.2);
}

.problem-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--primary);
}

.problem-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.problem-card p {
  font-size: 0.9rem;
}

/* ---------- Flow Diagram ---------- */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.flow-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  flex: 1;
  min-width: 180px;
  transition: all var(--transition);
}

.flow-step:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 107, 74, 0.25);
}

.flow-step .step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.flow-step h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.flow-step p { font-size: 0.85rem; }

.flow-arrow {
  color: var(--primary);
  flex-shrink: 0;
}

.flow-arrow svg { width: 24px; height: 24px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0 auto 2rem; font-size: 1.15rem; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Pill / Tag ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.pill-primary {
  background: var(--primary-glow);
  color: var(--primary);
}

.pill-dark {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  margin: 1.5rem 0;
}

.divider-center { margin-left: auto; margin-right: auto; }

/* ---------- Image Sections ---------- */
.img-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.img-section.reverse { direction: rtl; }
.img-section.reverse > * { direction: ltr; }

.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  pointer-events: none;
}

/* Accent image border */
.img-accent {
  position: relative;
}

.img-accent::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: 8px;
  bottom: 8px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}

/* Hero with background image */
.hero-img-bg {
  position: relative;
  background-image: url('./images/home-hero.jpg');
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
}

.hero-img-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,250,250,0.97) 45%, rgba(250,250,250,0) 100%);
  z-index: 1;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Score Growth — Hero-Style BG Image ---------- */
.score-growth-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.score-growth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.score-growth-bg img {
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: end;
}

.score-growth-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, var(--bg) 40%, rgba(250,250,250,0.85) 60%, rgba(250,250,250,0.3) 80%, transparent 100%);
}

.score-growth-content {
  max-width: 540px;
  margin-left: auto;
}

@media (max-width: 1100px) {
  .score-growth-overlay {
    background: linear-gradient(to left, var(--bg) 35%, rgba(250,250,250,0.9) 55%, rgba(250,250,250,0.5) 80%, transparent 100%);
  }
}

@media (max-width: 768px) {
  .score-growth-section { min-height: auto; }
  .score-growth-overlay {
    background: linear-gradient(to bottom, rgba(250,250,250,0.6) 0%, var(--bg) 50%);
  }
  .score-growth-content {
    max-width: 100%;
    margin-left: 0;
    padding-top: 14rem;
  }
}

/* ---------- Green Accent Variants ---------- */
.accent-green { color: var(--accent); }
.bg-accent-glow { background: rgba(0, 184, 148, 0.1); }

.section-label-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 184, 148, 0.1);
  border-radius: 50px;
  width: fit-content;
}

.feature-icon-green {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  background: rgba(0, 184, 148, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-green svg { width: 26px; height: 26px; color: var(--accent); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 184, 148, 0.25);
}

.btn-accent:hover {
  background: #00a884;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 184, 148, 0.35);
}

.value-card-green::before {
  background: var(--accent);
}

/* Score band bars */
.score-bands {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.score-band {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.band-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-alt);
  overflow: hidden;
  position: relative;
}

.band-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
}

.band-label {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 120px;
  font-family: var(--font-display);
}

.band-range {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 80px;
  text-align: right;
}

/* Score components */
.score-components {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.score-component {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.score-component:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.component-pct {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.component-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.component-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Responsive (additions) ---------- */
@media (max-width: 968px) {
  .img-section { grid-template-columns: 1fr; gap: 2rem; }
  .img-section.reverse { direction: ltr; }
  .score-components { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .grid-3, .bento { grid-template-columns: 1fr 1fr; }
  .bento-item.span-2 { grid-column: auto; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-visual { display: none; }
  .hero-shapes { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: 1rem; }
  .score-section { grid-template-columns: 1fr; text-align: center; }
  .score-details { text-align: left; }
  .steps-layout { grid-template-columns: 1fr; }
  .steps-layout .img-frame { aspect-ratio: 16/9; max-height: 300px; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .values-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .bento { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  /* Tighter container padding on mobile — the 2rem default felt
     left-heavy because section content sits inside this single rail
     and any extra inner indent (e.g., headings, cards) compounded.
     1.25rem on both sides gives back roughly 24px of real estate per
     side while staying away from the edge. */
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 0.5rem;
  }
  .waitlist-form { flex-direction: column; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   Homepage v2 additions (index.html restructure)
   - Pillars grid (4-up, 2x2 on desktop)
   - Pro vs App comparison cards
   - App store badges
   - Soffit Home Report sub-block layout
   - Geo-checker form, results, and modal
   =========================================================== */

/* ---------- Pillars carousel ----------
   Desktop (≥768px): flex row with menu and stage side-by-side, both top-
   aligned, both sized by their own content — no JS, no grid row math.
   Each menu item carries a right border; stacked with zero gap, those
   borders form a continuous vertical rule. The active item drops its
   right border so the menu visually "opens" toward the panel content.
   Mobile (<768px): menu and stage wrappers dissolve (display: contents)
   and flex `order` interleaves each menu item with its panel. */

.pillars-carousel {
  display: flex;
  align-items: flex-start;
  gap: 3.5rem;
  margin-top: 2rem;
}

.pillars-menu {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillars-stage {
  flex: 1;
  min-width: 0;
}

/* Menu button — editorial list row, no card framing. */
.pillars-menu-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.5rem;
  align-items: start;
  width: 100%;
  padding: 1.5rem 1.75rem 1.5rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0;
  text-align: left;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition);
}

.pillars-menu-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 2px;
}

.pillars-menu-item:first-child {
  padding-top: 0;
}

.pillars-menu-item:last-child {
  border-bottom: none;
}

.pillars-menu-number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  padding-top: 0.2rem;
  transition: color var(--transition);
}

.pillars-menu-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pillars-menu-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
  line-height: 1.3;
  transition: color var(--transition);
}

.pillars-menu-teaser {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pillars-menu-item:hover .pillars-menu-name {
  color: var(--text);
}

.pillars-menu-item:hover .pillars-menu-number {
  color: var(--text-light);
}

.pillars-menu-item[aria-selected="true"] .pillars-menu-number {
  color: var(--primary);
  font-weight: 600;
}

.pillars-menu-item[aria-selected="true"] .pillars-menu-name {
  color: var(--primary-dark);
}

/* Active row drops its right border so the menu column "opens" toward
   the panel content. */
.pillars-menu-item[aria-selected="true"] {
  border-right-color: transparent;
}

/* Panel — content body for each pillar */
.pillars-panel {
  padding: 0;
}

.pillars-panel:not(.is-active) {
  display: none;
}

/* Pillar panel photo treatment — same visual language as the rep image on
   get-started.html: rounded photo + offset primary-tinted accent block. */
.pillars-panel-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  max-width: 480px;
  margin: 0 1.5rem 3rem 0;
}

.pillars-panel-visual-accent {
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--primary);
  opacity: 0.12;
  border-radius: 16px;
  z-index: 0;
  pointer-events: none;
}

.pillars-panel-visual figure {
  position: relative;
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 16px 32px -12px rgba(26, 37, 47, 0.18),
              0 1px 4px rgba(26, 37, 47, 0.06);
  z-index: 1;
}

.pillars-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pillars-panel h3 {
  margin-bottom: 0.75rem;
}

.pillars-panel p {
  margin: 0 0 1.5rem;
  max-width: none;
}

/* Mobile accordion — dissolve menu/stage wrappers and interleave each
   menu item with its panel using flex order. */
@media (max-width: 767px) {
  .pillars-carousel {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .pillars-menu,
  .pillars-stage {
    display: contents;
  }
  .pillars-menu-item[data-pillar="checkup"]   { order: 1; }
  .pillars-panel[data-pillar="checkup"]       { order: 2; }
  .pillars-menu-item[data-pillar="tuneups"]   { order: 3; }
  .pillars-panel[data-pillar="tuneups"]       { order: 4; }
  .pillars-menu-item[data-pillar="concierge"] { order: 5; }
  .pillars-panel[data-pillar="concierge"]     { order: 6; }
  .pillars-menu-item[data-pillar="report"]    { order: 7; }
  .pillars-panel[data-pillar="report"]        { order: 8; }

  /* No right rail on mobile — the panel sits below, not beside. Use a
     left-border accent on the active row instead. */
  .pillars-menu-item {
    padding: 1.5rem 0;
    padding-left: 1rem;
    margin-left: -1rem;
    border-right: 0;
    border-left: 3px solid transparent;
    transition: border-color var(--transition);
  }
  .pillars-menu-item:first-child {
    padding-top: 1.5rem;
  }
  .pillars-menu-item[aria-selected="true"] {
    border-left-color: var(--primary);
  }
  .pillars-panel.is-active {
    padding: 0.75rem 0 1.5rem;
  }
}

/* Mobile accordion: pillar panel sits directly under its header */
@media (max-width: 767px) {
  .pillars-row {
    margin-bottom: 0.75rem;
  }
  .pillars-row:last-child {
    margin-bottom: 0;
  }
  .pillars-panel.is-active {
    padding: 1.25rem 1.25rem 0.5rem;
  }
}

/* ---------- How You Want It Done (Pro vs App) ---------- */
.how-grid {
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1rem;
}

.how-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.how-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.how-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 1.25rem;
  max-width: none;
}

.how-body {
  margin: 0 0 1.75rem;
  max-width: none;
}

.how-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.25rem;
  max-width: none;
  line-height: 1;
}

.how-price-value {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
}

.how-price-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.how-price-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: none;
}

/* Pro card — primary accent, recommended badge, weighted look */
.how-card-pro {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow-glow), var(--shadow);
}

.how-card-pro:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.how-card-badge {
  position: absolute;
  top: -0.85rem;
  left: 2rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
}

/* App card — neutral, balanced size */
.how-card-app {
  background: var(--bg-alt);
}

.how-card-app:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ---------- Soffit Home Report — sub-blocks ---------- */
.report-anatomy {
  max-width: 880px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.report-block {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.report-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.report-block h3 {
  margin-bottom: 0.85rem;
  font-size: 1.5rem;
}

.report-block p {
  max-width: none;
}

/* ---------- Geo-checker — inline form ---------- */
.geo-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 2rem auto 0;
  position: relative;
}

.geo-form input {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all var(--transition);
}

.geo-form input::placeholder { color: rgba(255, 255, 255, 0.55); }

.geo-form input:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.geo-form .btn { flex-shrink: 0; }

/* Light variant for geo-form inside the modal (on white bg) */
.geo-modal-body .geo-form input {
  background: var(--bg-white);
  border-color: var(--border);
  color: var(--text);
}

.geo-modal-body .geo-form input::placeholder { color: var(--text-muted); }

.geo-modal-body .geo-form input:focus {
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* ---------- Geo-checker — result states ---------- */
.geo-result {
  max-width: 560px;
  margin: 2rem auto 0;
  position: relative;
}

.geo-result-heading {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.geo-result-body {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 1.5rem;
  max-width: 500px;
}

.geo-result .btn { margin-top: 0.5rem; }

/* "Check another ZIP" link beneath every result state */
.geo-reset {
  text-align: center;
  font-size: 0.85rem;
  margin: 1.25rem auto 0;
  max-width: none;
}

.geo-reset a {
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}

.geo-reset a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.geo-modal-body .geo-reset a {
  color: var(--text-muted);
  border-bottom-color: var(--border);
}

.geo-modal-body .geo-reset a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ---------- Celebration animation (in-area result) ---------- */
.geo-celebration {
  width: 92px;
  height: 92px;
  margin: 0 auto 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-celebration-check {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 184, 148, 0.35);
  transform: scale(0);
}

.geo-celebration-check svg {
  width: 36px;
  height: 36px;
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
}

/* Confetti pieces — eight bursts in different directions */
.geo-celebration-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.geo-celebration-burst span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.geo-celebration-burst span:nth-child(1) { background: var(--primary); --x:  42px; --y: -32px; }
.geo-celebration-burst span:nth-child(2) { background: var(--accent);  --x: -42px; --y: -28px; }
.geo-celebration-burst span:nth-child(3) { background: var(--primary); --x:  46px; --y:  28px; }
.geo-celebration-burst span:nth-child(4) { background: var(--accent);  --x: -46px; --y:  32px; }
.geo-celebration-burst span:nth-child(5) { background: #F39C12;        --x:    0px; --y: -48px; }
.geo-celebration-burst span:nth-child(6) { background: #F39C12;        --x:    0px; --y:  48px; }
.geo-celebration-burst span:nth-child(7) { background: var(--primary); --x:  50px; --y:    0px; }
.geo-celebration-burst span:nth-child(8) { background: var(--accent);  --x: -50px; --y:    0px; }

/* Animations fire only when the .geo-celebrating class is present.
   JS toggles the class on each in-area reveal so the animation replays. */
.geo-celebrating .geo-celebration-check {
  animation: geo-check-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
}

.geo-celebrating .geo-celebration-check svg {
  animation: geo-check-draw 0.35s ease-out 0.4s forwards;
}

.geo-celebrating .geo-celebration-burst span {
  animation: geo-burst 0.75s ease-out 0.3s forwards;
}

.geo-celebrating .geo-celebration-burst span:nth-child(3),
.geo-celebrating .geo-celebration-burst span:nth-child(4) { animation-delay: 0.35s; }
.geo-celebrating .geo-celebration-burst span:nth-child(5),
.geo-celebrating .geo-celebration-burst span:nth-child(6) { animation-delay: 0.4s; }
.geo-celebrating .geo-celebration-burst span:nth-child(7),
.geo-celebrating .geo-celebration-burst span:nth-child(8) { animation-delay: 0.45s; }

@keyframes geo-check-pop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

@keyframes geo-check-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes geo-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .geo-celebrating .geo-celebration-check,
  .geo-celebrating .geo-celebration-check svg,
  .geo-celebrating .geo-celebration-burst span {
    animation: none;
  }
  .geo-celebrating .geo-celebration-check { transform: scale(1); }
  .geo-celebrating .geo-celebration-check svg { stroke-dashoffset: 0; }
}

/* ---------- Feature bullet list (used in pillars + Pro/App cards) ---------- */
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.feature-bullets li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.18rem;
}

/* Dim variant used in pillar cards (more secondary copy color) */
.feature-bullets-dim li { color: var(--text-light); }

/* Dark-section override for bullets inside dark cards */
.section-dark .feature-bullets li { color: rgba(255, 255, 255, 0.85); }
.section-dark .feature-bullets li svg { color: var(--accent-light); }

/* ---------- Pillar tags (system chips) ---------- */
.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
}

.pillar-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  background: var(--bg-alt);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 50px;
}

.pillar-tags-large {
  margin-top: 1.25rem;
  gap: 0.5rem;
}

.pillar-tags-large .pillar-tag {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  background: var(--primary-glow);
  color: var(--primary);
  font-weight: 600;
}

.section-dark .pillar-tag {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Season grid (Quarterly Tune-Ups pillar) ---------- */
.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.season-item {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
}

.season-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.season-task {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
}

/* Light-section variant (in case the season grid is ever reused on a light bg) */
section:not(.section-dark) .season-item {
  background: var(--bg-alt);
  border-color: var(--border);
}

section:not(.section-dark) .season-task { color: var(--text); }

/* ---------- The Idea — 3-step flow ---------- */
.idea-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  margin: 3rem auto 0;
  max-width: 1000px;
}

.idea-step {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.idea-step:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.idea-step-number {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.idea-step-icon {
  width: 56px;
  height: 56px;
  margin: 0.5rem auto 1rem;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.idea-step-title {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.idea-step-body {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
  max-width: 220px;
  line-height: 1.55;
}

.idea-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.idea-closing {
  max-width: 720px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- App store buttons (CTA variations) ---------- */
.how-app-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  justify-content: center;
  min-width: 140px;
}

.btn-store svg {
  flex-shrink: 0;
}

/* Outline variant for dark backgrounds (geo-checker out-of-area) */
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ---------- Responsive overrides for v2 content additions ---------- */
@media (max-width: 968px) {
  .idea-flow {
    flex-direction: column;
    max-width: 480px;
  }
  .idea-arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }
}

@media (max-width: 640px) {
  .season-grid { grid-template-columns: 1fr; }
  .idea-step { padding: 1.75rem 1.25rem; }
  .pillar-tags-large .pillar-tag {
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
  }
  .how-app-buttons { flex-direction: column; }
  .btn-store { width: 100%; }
}

/* ---------- Chat snippet (Concierge pillar) ---------- */
.chat-snippet {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.chat-bubble {
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0.65rem 0.9rem;
  border-radius: 1.1rem;
  max-width: 88%;
  color: var(--text);
}

.chat-bubble-user {
  background: var(--bg-white);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 0.3rem;
}

.chat-bubble-soffit {
  background: var(--accent-bg);
  color: var(--text);
  border: 1px solid var(--accent-light);
  align-self: flex-end;
  border-bottom-right-radius: 0.3rem;
  font-weight: 500;
}

.chat-meta {
  display: block;
  font-size: 0.72rem;
  color: var(--accent);
  margin-top: 0.35rem;
}

/* ---------- Mini Soffit Score (Report pillar) ---------- */
.score-mini {
  margin-top: auto;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.score-mini-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.score-mini-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.score-mini-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.score-mini-band {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  background: rgba(0, 184, 148, 0.12);
  border-radius: 50px;
}

.score-mini-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.score-mini-fill {
  height: 100%;
  background: linear-gradient(to right, #E74C3C 0%, #F39C12 35%, var(--primary) 55%, #2ED8A3 78%, var(--accent) 100%);
  border-radius: 3px;
}

.score-mini-range {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ---------- Faux Report stage (mockup + side callouts) ---------- */
.report-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: start;
  max-width: 1100px;
  margin: 3.5rem auto 0;
}

.report-callouts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.report-doc {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06), 0 24px 72px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.report-doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  color: #fff;
}

.report-doc-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.3rem;
}

.report-doc-address {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.report-doc-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.report-doc-score-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

.report-doc-score-band {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.report-doc-section {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.report-doc-section:first-of-type { border-top: none; }

.report-doc-section-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.report-doc-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.report-doc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
}

.report-doc-row .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-good { background: var(--accent); }
.dot-warn { background: #F39C12; }
.dot-bad  { background: #E74C3C; }

.report-doc-row .status-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 50px;
  text-align: right;
}

.report-doc-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  position: relative;
}

.report-doc-timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.timeline-step::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-white);
  margin-bottom: 0.4rem;
}

.timeline-step.done::before {
  background: var(--accent);
  border-color: var(--accent);
}

.timeline-step.current::before {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.timeline-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.timeline-step.done .timeline-label { color: var(--text); }
.timeline-step.current .timeline-label { color: var(--primary); }

.report-doc-perk {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(0, 184, 148, 0.06);
  font-size: 0.9rem;
  color: var(--text);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.report-doc-perk-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 184, 148, 0.18);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Report numbered markers (on the report) ---------- */
.report-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 107, 74, 0.35);
}

/* Score header marker — floats above the score value */
.report-doc-score {
  position: relative;
}

.report-doc-score > .report-marker {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
}

/* Inline marker — sits next to section titles */
.report-marker-inline {
  margin-right: 0.55rem;
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
}

/* Perk section variant — marker before the icon */
.report-doc-perk > .report-marker {
  margin-right: 0.3rem;
  width: 20px;
  height: 20px;
  font-size: 0.72rem;
}

.report-doc-section-title {
  display: flex;
  align-items: center;
}

/* ---------- Callout cards (right column) ---------- */
.report-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.report-callout:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--primary-dark);
}

.report-callout-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.report-callout-content h4 {
  font-size: 1.02rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.report-callout-content p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: none;
  color: var(--text-light);
}

/* ---------- Score components mini-bars inside the report ---------- */
.report-doc-components {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.report-doc-component {
  display: grid;
  grid-template-columns: 1fr 90px auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.component-mini-name {
  color: var(--text);
}

.component-mini-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.component-mini-fill {
  display: block;
  height: 100%;
  border-radius: 3px;
}

.component-mini-value {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 50px;
  text-align: right;
}

/* ---------- Report footer (portability pill) ---------- */
.report-doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.report-doc-footer-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  background: rgba(0, 184, 148, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
}

/* ---------- Responsive: stage collapses to single column ---------- */
@media (max-width: 960px) {
  .report-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 560px;
  }
}

@media (max-width: 560px) {
  .report-doc-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .report-doc-score {
    flex-direction: row;
    gap: 0.75rem;
    align-items: baseline;
  }
  .report-doc-score > .report-marker {
    position: static;
    margin-left: auto;
    align-self: center;
  }
  .report-doc-row .status-label { font-size: 0.72rem; }
  .report-doc-component {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .report-doc-component .component-mini-bar { width: 100%; }
  .report-doc-component .component-mini-value { text-align: left; min-width: 0; }
  .report-callout { padding: 0.95rem 1rem; }
  .report-doc-footer { flex-direction: column; align-items: flex-start; }
}

/* Notify-me form sits inside the out-of-area result */
.geo-notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.geo-notify-form input[type="email"] {
  flex: 1;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all var(--transition);
}

.geo-notify-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.55); }

.geo-notify-form input[type="email"]:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.geo-notify-form .btn { flex-shrink: 0; }

/* Light variant for the notify-me form inside the modal */
.geo-modal-body .geo-result-heading { color: var(--text); }
.geo-modal-body .geo-result-body { color: var(--text-light); }
.geo-modal-body .geo-notify-form input[type="email"] {
  background: var(--bg-white);
  border-color: var(--border);
  color: var(--text);
}
.geo-modal-body .geo-notify-form input[type="email"]::placeholder { color: var(--text-muted); }
.geo-modal-body .geo-notify-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* ---------- Geo-checker modal ---------- */
.geo-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* `display: flex` on .geo-modal and .geo-form, and `display: block`
   defaults elsewhere, will override the browser's built-in
   `[hidden] { display: none }`. Force the override back. */
.geo-modal[hidden],
.geo-initial[hidden],
.geo-result[hidden],
.geo-form[hidden],
.geo-notify-form[hidden] {
  display: none !important;
}

.geo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 37, 47, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.geo-modal-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: geo-modal-in 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes geo-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.geo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: none;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 1;
}

.geo-modal-close:hover { background: var(--border); }

.geo-modal-body {
  padding: 2.5rem 2rem 2rem;
}

.geo-modal-body h2 {
  font-size: 1.6rem;
}

.geo-modal-body p {
  font-size: 0.95rem;
}

/* ---------- Responsive overrides for homepage v2 ---------- */

@media (max-width: 640px) {
  .how-grid { gap: 1rem; }
  .how-card { padding: 2rem 1.5rem; }
  .how-card-pro { margin-top: 0.85rem; }
  .how-price-value { font-size: 2rem; }
  .geo-form,
  .geo-notify-form { flex-direction: column; }
  .geo-form input,
  .geo-notify-form input[type="email"] { width: 100%; }
  .geo-form .btn,
  .geo-notify-form .btn { width: 100%; }
  .report-anatomy { gap: 2rem; }
  .report-block { padding-bottom: 2rem; }
  .geo-modal { padding: 1rem; }
  .geo-modal-body { padding: 2rem 1.25rem 1.5rem; }
  .geo-modal-body h2 { font-size: 1.4rem; }
}
