:root {
  --navy: #0F1724;
  --green: #5D9E2D;
  --blue: #2D7CCB;
  --white: #ffffff;
  --light-gray: #F5F7FA;
  --bg: #f4f6f8;
  --text: #1a2535;
  --muted: #6b7a8d;
  --border: #d0d8e4;
  --pill-bg: #eef1f5;
  --pill-active-bg: #2D7CCB;
  --pill-active-text: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.quiz-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* Header */
.quiz-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.quiz-wordmark {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Progress bar */
.progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #2e8bc0, #6aad3d);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Question sections */
.question {
  margin-bottom: 36px;
}

.question-label {
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--navy);
  line-height: 1.4;
}

.question-optional {
  font-size: 0.8rem;
  color: var(--muted);
  margin-left: 6px;
  font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

/* Pill groups */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 24px;
  background: var(--pill-bg);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
  line-height: 1;
}

.pill:hover {
  border-color: var(--blue);
}

.pill.active {
  background: var(--pill-active-bg);
  color: var(--pill-active-text);
  border-color: var(--pill-active-bg);
}

.pill.selected {
  background-color: #2e8bc0;
  color: #ffffff;
  border-color: #2e8bc0;
}

/* Unit toggle */
.unit-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
}

.unit-btn {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  margin: 0;
}

.unit-btn:first-child {
  border-radius: 6px 0 0 6px;
  border-right-width: 0.75px;
}

.unit-btn:last-child {
  border-radius: 0 6px 6px 0;
  border-left-width: 0.75px;
}

.unit-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.unit-btn.locked {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Number inputs */
input[type="number"] {
  width: 100%;
  max-width: 200px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"]:focus {
  border-color: var(--blue);
}

/* Height inputs (imperial) */
.height-inputs {
  display: flex;
  gap: 12px;
  align-items: center;
}

.height-inputs input[type="number"] {
  max-width: 100px;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.unit-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  max-width: 640px;
  padding: 16px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 12px;
}

.submit-btn:hover {
  background: #3a6d37;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submit-btn:disabled:hover {
  background: var(--green);
}

/* Error message */
.error-msg {
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: 12px;
  display: none;
}

/* Field-level validation errors */
.field-error {
  color: #c0392b;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.field-error.visible {
  display: block;
}

/* Responsive — larger screens */
@media (min-width: 640px) {
  .quiz-page {
    padding: 48px 32px 80px;
  }
}

/* Quiz navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  padding: 0 24px 16px;
}
.nav-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
.back-btn {
  background: transparent;
  border: 1.5px solid #ccc;
  color: #555;
}
.back-btn:hover { border-color: #888; color: #333; }
.next-btn {
  background: #4a7c3f;
  border: 1.5px solid #4a7c3f;
  color: #fff;
}
.next-btn:hover { background: #3a6d37; border-color: #3a6d37; }

.question.hidden { display: none; }

/* ============================================
   HOMEPAGE — Navbar, Hero, Feature Badges, Brands
   ============================================ */

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.navbar-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.navbar-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.navbar-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* HERO */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
  background: linear-gradient(to bottom, var(--navy) 0%, #1a2a3a 70%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0 0 80px 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0 0 80px 0;
  background: rgba(15, 23, 36, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 48px 120px;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 20px;
}

.hero-headline .green {
  color: var(--green);
}

.hero-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta-group .btn-primary {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0;
  text-align: center;
}

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #4d851f;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.play-icon {
  font-size: 0.75rem;
}

/* FEATURE BADGES */
.feature-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px 48px;
  background: var(--light-gray);
}

.feature-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.feature-badge-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-badge-icon svg {
  stroke: var(--muted);
}

.feature-badge-label {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.feature-badge-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

/* TRUSTED BRANDS */
.brands-strip {
  padding: 48px 32px;
  background: var(--white);
}

.brands-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 32px;
}

.brands-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a2a3a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* HOW IT WORKS */
.how-it-works {
  background: var(--light-gray);
  padding: 80px 48px;
  text-align: center;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 8%, rgba(0,0,0,1) 100%);
}

.how-it-works-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 56px;
}

.steps-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  flex: 1;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  stroke: var(--green);
}

.step-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.step-arrow {
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.5rem;
  opacity: 0.5;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
  margin-top: -16px;
}

/* NEUTRAL BANNER */
.neutral-banner {
  background: var(--white);
  padding: 64px 32px;
  display: flex;
  justify-content: center;
}

.neutral-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 40px 48px;
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.neutral-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neutral-icon svg {
  stroke: var(--green);
}

.neutral-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.neutral-text .green {
  color: var(--green);
  font-weight: 600;
}

/* FINAL CTA */
.final-cta {
  background: linear-gradient(to bottom, #ffffff 0%, var(--light-gray) 100%);
  padding: 80px 48px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-iphone {
  display: flex;
  justify-content: center;
}

.iphone-mockup {
  width: 180px;
  height: 360px;
  background: linear-gradient(145deg, #2a3a4a, #1a2535);
  border-radius: 32px;
  border: 8px solid #3a4a5a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.iphone-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.iphone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.iphone-pill {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 0.5rem;
  color: var(--text);
}

.iphone-pill.active {
  background: var(--green);
  color: var(--white);
}

.cta-content {
  text-align: center;
}

.cta-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.2;
}

.cta-headline .green {
  color: var(--green);
}

.cta-subtext {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-cta:hover {
  background: #4d851f;
}

.cta-timing {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
}

.cta-logo {
  display: flex;
  justify-content: center;
}

.cta-logo-img {
  width: auto;
  height: 180px;
  max-width: 220px;
  display: block;
  mix-blend-mode: multiply;
}

/* ABOUT US SECTION */
.about-us-section {
  background: var(--light-gray);
  padding: 80px 48px;
}

.about-us-header {
  text-align: center;
  margin-bottom: 56px;
}

.about-us-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.about-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.about-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-icon svg {
  stroke: var(--green);
}

.about-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.about-card-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* REVIEWS SECTION */
.reviews-section {
  background: var(--white);
  padding: 80px 48px;
}

.reviews-header {
  text-align: center;
  margin-bottom: 56px;
}

.reviews-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}

.reviews-subheading {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
}

.review-stars {
  display: flex;
  gap: 4px;
}

.review-stars svg {
  flex-shrink: 0;
}

.review-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}

.review-author {
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.review-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  padding: 48px 48px 32px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 1;
}

.social-icon {
  color: var(--white);
}
.social-icon svg {
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--white);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    padding: 8px 20px 16px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .navbar-links li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-links li:first-child { border-top: none; }

  .navbar-links a {
    display: block;
    padding: 14px 4px;
    color: var(--white);
    text-align: left;
  }

  .navbar.open .navbar-links {
    max-height: 80vh;
    opacity: 1;
  }

  .navbar-logo {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .navbar.open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar.open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .navbar.open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar {
    padding: 14px 20px;
  }

  .hero-content {
    padding: 60px 24px 100px;
  }

  .hero-body {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .feature-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 48px 24px;
  }

  .brands-logos {
    gap: 32px 24px;
  }

  /* HOW IT WORKS */
  .how-it-works {
    padding: 64px 24px;
  }

  .steps-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .step-card {
    max-width: 45%;
    min-width: 140px;
  }

  .step-arrow {
    display: none;
  }

  .step-connector {
    display: none;
  }

  /* NEUTRAL BANNER */
  .neutral-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .neutral-text {
    text-align: center;
  }

  /* FINAL CTA */
  .final-cta {
    padding: 64px 24px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .cta-iphone {
    order: 1;
  }

  .cta-content {
    order: 2;
  }

  .cta-logo {
    order: 3;
  }

  .iphone-mockup {
    width: 150px;
    height: 300px;
  }

  .cta-logo-img {
    height: 130px;
    max-width: 160px;
  }

  /* ABOUT US */
  .about-us-section {
    padding: 64px 24px;
  }

  .about-cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-card {
    padding: 24px 20px;
  }

  /* REVIEWS */
  .reviews-section {
    padding: 64px 24px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FOOTER */
  .site-footer {
    padding: 40px 24px 24px;
  }

  .footer-main {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* CATALOG PAGE */

.catalog-hero {
  background: var(--navy);
  padding: 56px 32px 48px;
  text-align: center;
}

.catalog-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.catalog-hero-title {
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}

.catalog-hero-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.catalog-hero-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin: 10px 0 0;
}

.catalog-cta-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 18px auto 18px;
  transition: background 0.2s, transform 0.15s;
}
.catalog-cta-banner:hover {
  background: #1a2a3a;
  transform: translateY(-1px);
}
.catalog-cta-banner__arrow {
  font-weight: 600;
  transition: transform 0.15s;
}
.catalog-cta-banner:hover .catalog-cta-banner__arrow {
  transform: translateX(2px);
}

.catalog-layout {
  display: flex;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 32px;
  align-items: flex-start;
}

.catalog-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 20px;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-heading {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0 0 10px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px 0;
}

.filter-label input[type="checkbox"] {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.filter-select {
  display: block;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  max-width: 100%;
}

.filter-select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.btn-apply-filters {
  display: block;
  width: 100%;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-bottom: 10px;
  transition: background 0.2s;
}

.btn-apply-filters:hover {
  background: #4d8a22;
}

.btn-clear-filters {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
}

.btn-clear-filters:hover {
  color: var(--text);
  text-decoration: underline;
}

.catalog-main {
  flex: 1;
  min-width: 0;
}

.catalog-count {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.ski-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.ski-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.ski-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.ski-card-body {
  padding: 14px 16px;
}

.ski-card-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 2px;
}

.ski-card-model {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}

.ski-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.price-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
}

.price-badge--entry {
  background: var(--light-gray);
  color: var(--muted);
}

.price-badge--mid {
  background: #daeaf7;
  color: #1a5f9e;
}

.price-badge--performance {
  background: #dff0d4;
  color: #3a6e18;
}

.price-badge--premium {
  background: var(--navy);
  color: var(--white);
}

.width-chip {
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--pill-bg);
  padding: 3px 8px;
  border-radius: 10px;
}

.ski-card-category {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.catalog-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 1rem;
}

.catalog-empty a {
  color: var(--blue);
  text-decoration: underline;
}

.navbar-links .active {
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 768px) {
  .catalog-layout {
    flex-direction: column;
    padding: 24px 16px;
  }

  .catalog-sidebar {
    width: 100%;
    position: static;
  }

  .sidebar-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
  }

  .sidebar-heading {
    width: 100%;
    margin-bottom: 4px;
  }

  .filter-label {
    background: var(--pill-bg);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .catalog-hero-title {
    font-size: 1.8rem;
  }

  .catalog-cta-banner { font-size: 0.9rem; padding: 10px 16px; }
}

/* REVIEWS — Add Review button */
.reviews-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.btn-add-review {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-add-review:hover {
  background: var(--green);
  color: var(--white);
}

/* REVIEW MODAL */
.review-modal-overlay[hidden] { display: none; }
.review-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 36, 0.6);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.review-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.review-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}

.review-modal-close:hover {
  color: var(--navy);
}

.review-modal-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 28px;
}

/* REVIEW FORM */
.review-form-field {
  margin-bottom: 20px;
}

.review-form-label {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.review-form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.review-form-input:focus {
  border-color: var(--green);
}

.review-form-textarea {
  resize: vertical;
  min-height: 100px;
}

/* STAR PICKER */
.star-picker {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.star-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--border);
  cursor: pointer;
  padding: 2px;
  transition: color 0.1s, transform 0.1s;
  line-height: 1;
}

.star-btn:hover,
.star-btn.active {
  color: var(--green);
  transform: scale(1.15);
}

/* FORM STATE MESSAGES */
.review-form-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: #c0392b;
  margin: 0 0 12px;
}

.review-form-success {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--green);
  font-weight: 500;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 480px) {
  .review-modal {
    padding: 32px 20px 24px;
  }

  .catalog-cta-banner { font-size: 0.85rem; padding: 10px 14px; max-width: 100%; }
}

/* SKI DETAIL PAGE */

.ski-detail-breadcrumb {
  border-bottom: 1px solid var(--border);
}

.ski-detail-breadcrumb > a {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  font-size: 0.875rem;
  color: var(--blue);
  text-decoration: none;
}

.ski-detail-breadcrumb > a:hover {
  text-decoration: underline;
}

.ski-detail-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
}

.ski-detail-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.ski-detail-model {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.ski-detail-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.ski-detail-specs,
.ski-detail-retailers {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.ski-detail-specs h2,
.ski-detail-retailers h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.specs-grid dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 4px;
}

.specs-grid dd {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  font-weight: 500;
}

.ski-detail-description {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 8px;
}

.retailer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.retailer-disclosure {
  font-size: 0.75rem;
  color: var(--muted);
}

.btn-retailer {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-block;
}

.btn-retailer-evo {
  background: #1a1a1a;
  color: var(--white);
  border: none;
}

.btn-retailer-evo:hover {
  background: #333;
}

.btn-retailer-backcountry {
  background: #e8621a;
  color: var(--white);
  border: none;
}

.btn-retailer-backcountry:hover {
  background: #c9540f;
}

.btn-retailer-rei {
  background: #25724b;
  color: var(--white);
  border: none;
}

.btn-retailer-rei:hover {
  background: #1c5a3a;
}

.ski-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.ski-detail-related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.ski-detail-related h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

.ski-detail-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.ski-detail-related-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--light-gray);
}

@media (max-width: 768px) {
  .ski-detail-specs,
  .ski-detail-retailers,
  .ski-detail-related {
    padding: 0 16px 36px;
  }

  .ski-detail-breadcrumb > a {
    padding: 12px 16px;
  }

  .ski-detail-title {
    padding: 20px 16px 0;
  }
}

/* GUIDES — Coming Soon */
.guides-empty {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background: var(--light-gray);
}
.guides-empty-card {
  max-width: 640px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.guides-empty-icon { color: var(--green); margin-bottom: 18px; }
.guides-empty-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.guides-empty-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.2;
}
.guides-empty-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 auto 18px;
  max-width: 540px;
}
.guides-empty-foot {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 600px) {
  .guides-empty-card { padding: 36px 24px; }
}

/* GUIDES HOMEPAGE CALLOUT */
.guides-callout {
  background: var(--light-gray);
  padding: 72px 32px;
  display: flex;
  justify-content: center;
}
.guides-callout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 48px 40px;
  max-width: 720px;
  width: 100%;
  text-align: center;
}
.guides-callout-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.guides-callout-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.2;
}
.guides-callout-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 540px;
}
@media (max-width: 600px) {
  .guides-callout-card { padding: 36px 24px; }
}

.gear-toggle {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gear-toggle__chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  color: var(--navy);
  background: var(--white);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.gear-toggle__chip:hover {
  border-color: var(--navy);
}
.gear-toggle__chip.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
@media (max-width: 640px) {
  .gear-toggle { width: 100%; }
  .gear-toggle__chip { flex: 1; text-align: center; }
}
