/* ==========================================================================
   MJ Roofing & Siding — Landing Page
   Design: Charcoal/slate base, safety-orange accent. Mobile-first.
   ========================================================================== */

:root {
  /* Type scale — slightly larger because Barlow Condensed runs narrow */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.25rem, 1.05rem + 0.85vw, 1.625rem);
  --text-xl: clamp(1.75rem, 1.35rem + 1.5vw, 2.6rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  --text-3xl: clamp(2.75rem, 1rem + 5vw, 5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Color — Light (default) — neutral cool gray/white */
  --color-bg: #ffffff;
  --color-surface: #f4f5f6;
  --color-surface-2: #eaecee;
  --color-ink: #0b0d10;
  --color-ink-2: #1d2128;
  --color-text: #1f242c;
  --color-text-muted: #58606b;
  --color-text-faint: #98a0ab;
  --color-border: #dde0e4;
  --color-divider: #e6e8eb;

  /* Brand accent — MJ green (matched to logo) */
  --color-primary: #2DB441;         /* MJ bright green */
  --color-primary-hover: #25983a;
  --color-primary-active: #1d7c2f;
  --color-primary-deep: #0f5c20;
  --color-primary-ink: #ffffff;

  /* Dark surfaces — true black, like the brand outline */
  --color-dark: #0b0d10;
  --color-dark-2: #14171c;
  --color-dark-3: #1d2128;
  --color-on-dark: #f3f4f6;
  --color-on-dark-muted: #a5acb6;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadow */
  --shadow-sm: 0 1px 2px rgb(20 23 28 / 0.06);
  --shadow-md: 0 8px 24px rgb(20 23 28 / 0.1);
  --shadow-lg: 0 20px 48px rgb(20 23 28 / 0.18);

  /* Fonts — Barlow Condensed echoes the logo's bold slanted display energy */
  --font-display: 'Barlow Condensed', 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --content: 1200px;
  --content-tight: 960px;
  --content-narrow: 680px;

  /* Height of sticky mobile call bar */
  --call-bar-h: 56px;
}

/* ===== Base reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  /* Leave room for sticky mobile call bar on mobile */
  padding-bottom: var(--call-bar-h);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select, button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-ink);
}
h3, h4 { font-weight: 700; letter-spacing: 0; }
.testimonial blockquote, .form-copy p, .intro-copy p { text-transform: none; }
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

a, button, input, textarea, select, [role='button'] {
  transition: color var(--transition), background var(--transition), border-color var(--transition),
    box-shadow var(--transition), transform var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-8));
}

.section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}
.section-dark {
  background: var(--color-dark);
  color: var(--color-on-dark);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--color-on-dark); }
.section-dark .lede, .section-dark p { color: var(--color-on-dark-muted); }
.section-dark .section-eyebrow { color: var(--color-primary); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(var(--space-10), 6vw, var(--space-16));
}
.section-head h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); line-height: 1; }
.section-head .lede { font-size: var(--text-lg); color: var(--color-text-muted); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.lede { font-size: var(--text-lg); color: var(--color-text-muted); line-height: 1.5; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  min-height: 52px;
  border: 2px solid transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.btn-lg { min-height: 60px; padding: var(--space-5) var(--space-8); font-size: var(--text-base); }
.btn-sm { min-height: 42px; padding: var(--space-3) var(--space-5); font-size: var(--text-sm); }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
  box-shadow: 0 4px 14px rgb(45 180 65 / 0.35);
}
.btn-primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgb(45 180 65 / 0.45); }
.btn-primary:active { background: var(--color-primary-active); transform: translateY(0); }

.btn-ghost {
  background: rgb(255 255 255 / 0.08);
  color: var(--color-on-dark);
  border-color: rgb(255 255 255 / 0.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.18); border-color: rgb(255 255 255 / 0.7); }

.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: var(--color-on-dark); }

.btn-outline-dark {
  background: transparent;
  color: var(--color-on-dark);
  border-color: rgb(255 255 255 / 0.4);
}
.btn-outline-dark:hover { background: rgb(255 255 255 / 0.12); border-color: var(--color-on-dark); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.cta-row .btn { flex: 1 1 auto; min-width: 0; }
@media (min-width: 640px) {
  .cta-row .btn { flex: 0 0 auto; }
}
.cta-center { justify-content: center; }

/* ===== Mobile sticky call bar ===== */
.mobile-call-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: var(--call-bar-h);
  background: var(--color-primary);
  color: var(--color-primary-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  box-shadow: 0 -4px 16px rgb(20 23 28 / 0.2);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-call-bar:hover { background: var(--color-primary-hover); }
@media (min-width: 768px) {
  .mobile-call-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-3);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-ink);
  line-height: 0;
}
.brand-logo { height: 52px; width: auto; flex-shrink: 0; display: block; }
@media (min-width: 640px) { .brand-logo { height: 56px; } }
/* White chip around the logo on dark backgrounds (the logo art has a white background) */
.logo-chip {
  display: inline-flex;
  padding: var(--space-2) var(--space-3);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.3);
}
.logo-chip img { height: 48px; width: auto; display: block; }
/* Legacy brand text (hidden now that we use the real logo) */
.brand-text { display: none; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: var(--color-primary-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
}
.header-cta:hover { background: var(--color-primary-hover); }
.header-cta-text { display: none; }
@media (min-width: 480px) { .header-cta-text { display: inline; } }

/* ===== 1. Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 92dvh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--color-on-dark);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgb(20 23 28 / 0.45) 0%, rgb(20 23 28 / 0.6) 45%, rgb(20 23 28 / 0.92) 100%),
    linear-gradient(90deg, rgb(20 23 28 / 0.6) 0%, rgb(20 23 28 / 0.1) 70%);
}
.hero-inner {
  padding-block: clamp(var(--space-16), 14vw, var(--space-32));
  max-width: 820px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgb(45 180 65 / 0.3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgb(45 180 65 / 0.3); }
  50% { box-shadow: 0 0 0 8px rgb(45 180 65 / 0.05); }
}

.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: var(--color-on-dark);
  margin-bottom: var(--space-5);
  max-width: 18ch;
  line-height: 0.96;
}
.hero h1 .accent { color: var(--color-primary); display: block; text-shadow: 0 2px 20px rgb(45 180 65 / 0.4); }

.hero-sub {
  font-size: var(--text-lg);
  color: rgb(242 240 235 / 0.88);
  max-width: 54ch;
  margin-bottom: var(--space-8);
}

.hero-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 520px;
  margin-bottom: var(--space-4);
}
@media (min-width: 560px) {
  .hero-bullets { grid-template-columns: 1fr 1fr; }
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-on-dark);
}
.hero-bullets svg { color: var(--color-primary); flex-shrink: 0; }

.trust-line {
  margin-top: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(242 240 235 / 0.7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.trust-line .sep { color: var(--color-primary); }

/* ===== 2. Intro ===== */
.intro { background: var(--color-bg); }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 860px) {
  .intro-grid { grid-template-columns: 5fr 7fr; gap: var(--space-16); }
}
.intro-photo {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
.intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.intro-badge {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  right: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgb(20 23 28 / 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  color: var(--color-on-dark);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 4px solid var(--color-primary);
}
.intro-badge strong { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); }
.intro-badge span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.1em; color: rgb(242 240 235 / 0.7); }

.intro-copy h2 { font-size: var(--text-2xl); margin-bottom: var(--space-5); }
.intro-copy p { margin-bottom: var(--space-4); color: var(--color-text); font-size: var(--text-base); }
.intro-copy p:last-of-type { margin-bottom: 0; }

/* ===== 3. Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: var(--space-8);
  background: var(--color-dark-2);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  background: var(--color-dark-3);
}
.service-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: rgb(45 180 65 / 0.18);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: var(--text-lg); color: var(--color-on-dark); }
.service-card p { font-size: var(--text-sm); color: var(--color-on-dark-muted); }
.service-card-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  border-color: transparent;
  justify-content: space-between;
}
.service-card-cta:hover { background: linear-gradient(135deg, var(--color-primary-hover) 0%, #0a421a 100%); }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgb(255 255 255 / 0.9); flex-grow: 1; }
.service-card-cta .btn { align-self: flex-start; background: #fff; color: var(--color-primary); margin-top: var(--space-2); }
.service-card-cta .btn:hover { background: var(--color-surface); }

/* ===== 4. Steps ===== */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); } }
.step {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-lg);
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.step h3 { font-size: var(--text-lg); }
.step p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ===== 5. Problem / Pain ===== */
.section-accent {
  background: var(--color-surface);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .problem-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-16); }
}
.problem-copy h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-ink-2);
}
.problem-list svg { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.problem-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.problem-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 6. Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); }
}
.why-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-copy h2 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.why-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: rgb(45 180 65 / 0.18);
  color: var(--color-primary);
  flex-shrink: 0;
}
.why-icon svg { width: 22px; height: 22px; }
.why-list h3 { font-size: var(--text-base); color: var(--color-on-dark); margin-bottom: 2px; }
.why-list p { font-size: var(--text-sm); color: var(--color-on-dark-muted); }

/* ===== 7. Offer ===== */
.section-offer {
  background: var(--color-surface-2);
}
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 900px) {
  .offer-grid { grid-template-columns: 1.6fr 1fr; gap: var(--space-6); }
}
.offer-card {
  position: relative;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  border-radius: var(--radius-2xl);
  overflow: hidden;
}
.offer-main {
  background: linear-gradient(135deg, #2DB441 0%, #1d7c2f 55%, #0f5c20 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.offer-main h2 { color: #fff; font-size: var(--text-2xl); margin-bottom: var(--space-4); max-width: 18ch; }
.offer-main p { color: rgb(255 255 255 / 0.95); margin-bottom: var(--space-6); font-size: var(--text-base); }
.offer-main .btn-primary { background: #fff; color: var(--color-primary); box-shadow: none; }
.offer-main .btn-primary:hover { background: var(--color-surface); }

.offer-secondary {
  background: var(--color-dark);
  color: var(--color-on-dark);
}
.offer-secondary h3 { color: var(--color-on-dark); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.offer-secondary p { color: var(--color-on-dark-muted); margin-bottom: var(--space-5); font-size: var(--text-sm); }

.offer-ribbon {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  background: rgb(255 255 255 / 0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.offer-ribbon-alt { background: rgb(45 180 65 / 0.25); color: var(--color-primary); }

/* ===== 8. Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 720px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.stars { color: #f5a623; font-size: var(--text-lg); letter-spacing: 0.1em; }
.testimonial blockquote { font-size: var(--text-base); color: var(--color-text); line-height: 1.55; }
.testimonial figcaption { font-size: var(--text-xs); font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== 9. Final CTA ===== */
.section-final {
  background: var(--color-dark);
  color: var(--color-on-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-final::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgb(45 180 65 / 0.2) 0%, transparent 65%);
  pointer-events: none;
}
.final-inner { position: relative; max-width: 680px; margin-inline: auto; }
.final-inner h2 { font-size: var(--text-3xl); font-weight: 900; color: var(--color-on-dark); margin-bottom: var(--space-5); line-height: 0.98; }
.final-inner .lede { color: var(--color-on-dark-muted); margin-inline: auto; }
.final-inner .section-eyebrow { justify-content: center; display: inline-flex; }

/* ===== 10. Form ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 900px) {
  .form-grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-16); }
}
.form-copy h2 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.form-copy p { color: var(--color-text-muted); margin-bottom: var(--space-5); }
.form-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.form-perks li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: var(--text-sm);
}
.form-perks svg { color: var(--color-primary); flex-shrink: 0; }
.form-or { font-size: var(--text-sm); color: var(--color-text-muted); }
.form-or a { color: var(--color-primary); }
.form-or a:hover { text-decoration: underline; }

.form {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
}
.field .optional { font-weight: 400; color: var(--color-text-faint); }
.field input, .field textarea {
  width: 100%;
  padding: var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-ink);
  font-size: var(--text-base);
  min-height: 52px;
  font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgb(45 180 65 / 0.15);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-faint); }

.form-fine { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; }
.form-success {
  padding: var(--space-4);
  background: rgb(74 222 128 / 0.15);
  border: 1.5px solid rgb(74 222 128 / 0.4);
  color: #166534;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

/* ===== 11. Footer ===== */
.footer {
  background: var(--color-dark);
  color: var(--color-on-dark-muted);
  padding-block: var(--space-12) var(--space-6);
  font-size: var(--text-sm);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.footer-brand { color: var(--color-on-dark); }
.footer-brand .brand { color: var(--color-on-dark); margin-bottom: var(--space-3); }
.footer-brand .brand-text em { color: var(--color-on-dark-muted); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-on-dark);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer-col p { margin-bottom: var(--space-1); }
.footer-col a { color: var(--color-on-dark); font-weight: 600; }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-bottom .disclaimer { max-width: 480px; }

/* ===== Reveal on scroll (progressive enhancement) =====
   Only applied by JS when IO is supported and motion isn't reduced.
   Without the `.reveal` class, content is visible by default — safe fallback. */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 550ms ease-out, transform 550ms cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Announcement Bar (Spring Sale) ===== */
.announce-bar {
  position: relative;
  z-index: 20;
  background: linear-gradient(90deg, #0f5c20 0%, #1d7c2f 45%, #2DB441 100%);
  color: #fff;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}
.announce-bar[hidden] { display: none; }
.announce-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-4);
  flex-wrap: nowrap;
}
.announce-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #fff;
  color: var(--color-primary-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  flex-shrink: 0;
}
.announce-copy {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
  font-family: var(--font-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-copy strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.announce-sep { opacity: 0.55; margin: 0 6px; }
.announce-date { opacity: 0.9; }
.announce-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #fff;
  color: var(--color-primary-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.announce-cta:hover { background: #f0fdf4; transform: translateY(-1px); }
.announce-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 2px;
  padding: 0;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.announce-close:hover { background: rgb(255 255 255 / 0.15); border-color: rgb(255 255 255 / 0.5); }

@media (max-width: 640px) {
  .announce-inner { gap: var(--space-2); padding: 8px var(--space-3); }
  .announce-badge { font-size: 10px; padding: 3px 8px; }
  .announce-copy { font-size: 12px; }
  .announce-copy strong { font-size: 13px; }
  .announce-date { display: none; }
  .announce-sep { display: none; }
  .announce-cta { padding: 5px 10px; font-size: 11px; }
  .announce-close { width: 24px; height: 24px; }
}

/* ===== Spring Sale offer headline ===== */
.offer-spring .spring-headline {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: var(--space-2) 0 var(--space-3);
  flex-wrap: wrap;
  line-height: 0.9;
  color: #fff;
}
.offer-spring .spring-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.95);
}
.offer-spring .spring-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 6rem);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 0.12), 0 6px 20px rgb(0 0 0 / 0.18);
}
.offer-spring .spring-amount .dollar {
  font-size: 0.6em;
  vertical-align: 0.25em;
  margin-right: 2px;
  opacity: 0.9;
}
.offer-spring .spring-off {
  display: inline-block;
  padding: 2px 10px;
  background: #fff;
  color: var(--color-primary-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.04em;
  border-radius: 8px;
  transform: translateY(-6px);
}
.offer-spring .spring-subhead {
  color: #fff;
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  max-width: 24ch;
}
.offer-spring p { color: rgb(255 255 255 / 0.95); margin-bottom: var(--space-5); }
.offer-spring .cta-row { gap: var(--space-3); margin-bottom: var(--space-4); }
.offer-spring .btn-outline-dark {
  background: rgb(0 0 0 / 0.25);
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}
.offer-spring .btn-outline-dark:hover {
  background: rgb(0 0 0 / 0.4);
  border-color: #fff;
}
.offer-spring .spring-fine {
  font-size: 12px;
  color: rgb(255 255 255 / 0.75);
  margin: 0;
  font-family: var(--font-body);
}

/* ===== Referral Section ===== */
.section-referral { background: var(--color-surface); }
.referral-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0b0d10 0%, #14171c 65%, #0f5c20 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.referral-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 110% -10%, rgba(45,180,65,0.35), transparent 60%),
    radial-gradient(400px 200px at -10% 110%, rgba(45,180,65,0.20), transparent 60%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .referral-card { grid-template-columns: 1.5fr 1fr; align-items: center; gap: var(--space-10); }
}
.referral-copy { position: relative; z-index: 1; }
.referral-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgb(45 180 65 / 0.2);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgb(45 180 65 / 0.35);
  margin-bottom: var(--space-4);
}
.referral-copy h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
  max-width: 22ch;
  line-height: 1.05;
}
.referral-copy h2 .accent { color: var(--color-primary); }
.referral-copy > p {
  color: rgb(255 255 255 / 0.9);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
  max-width: 50ch;
}
.referral-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.referral-bullets li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgb(255 255 255 / 0.92);
  font-size: var(--text-sm);
}
.referral-bullets svg { color: var(--color-primary); flex-shrink: 0; }
.referral-card .btn-outline-dark {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}
.referral-card .btn-outline-dark:hover {
  background: rgb(255 255 255 / 0.15);
  border-color: #fff;
}

/* Gift card visual */
.referral-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gift-card {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1.586 / 1;
  padding: var(--space-5) var(--space-6);
  border-radius: 16px;
  background: linear-gradient(135deg, #2DB441 0%, #1d7c2f 55%, #0f5c20 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 20px 40px rgb(0 0 0 / 0.4),
    0 4px 8px rgb(0 0 0 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.25);
  transform: rotate(-3deg);
  position: relative;
  overflow: hidden;
}
.gift-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 8px);
  pointer-events: none;
}
.gift-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.gift-card-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.gift-card-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 2px 0 rgb(0 0 0 / 0.15);
  position: relative;
  z-index: 1;
}
.gift-card-amount .dollar {
  font-size: 0.55em;
  vertical-align: 0.35em;
  margin-right: 2px;
  opacity: 0.85;
}
.gift-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
.gift-card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #d4af37, #f5d76e, #c9a227);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
}

/* ===== Referrals page (referrals.html) ===== */
.ref-hero {
  background: linear-gradient(135deg, #0b0d10 0%, #14171c 60%, #0f5c20 100%);
  color: #fff;
  padding: clamp(var(--space-10), 9vw, var(--space-16)) 0;
}
.ref-hero .container { text-align: center; }
.ref-hero .eyebrow {
  justify-content: center;
  display: inline-flex;
  background: rgb(45 180 65 / 0.2);
  border: 1px solid rgb(45 180 65 / 0.4);
  color: var(--color-primary);
}
.ref-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
  margin: var(--space-4) auto var(--space-3);
  max-width: 22ch;
}
.ref-hero h1 .accent { color: var(--color-primary); }
.ref-hero .lede {
  font-size: var(--text-lg);
  color: rgb(255 255 255 / 0.88);
  max-width: 55ch;
  margin: 0 auto var(--space-6);
}

.ref-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (min-width: 700px) {
  .ref-steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
}
.ref-step {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.ref-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.ref-step h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.ref-step p { color: var(--color-text-muted); font-size: var(--text-sm); }

.ref-faq { display: grid; gap: var(--space-3); max-width: 780px; margin: 0 auto; }
.ref-faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: var(--space-4) var(--space-5);
  transition: background 0.15s ease;
}
.ref-faq details[open] { background: var(--color-surface-2); }
.ref-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}
.ref-faq summary::-webkit-details-marker { display: none; }
.ref-faq summary::after {
  content: '+';
  font-size: 24px;
  line-height: 1;
  color: var(--color-primary);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.ref-faq details[open] summary::after { content: '−'; }
.ref-faq p {
  margin: var(--space-3) 0 0;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.ref-terms {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
}
.ref-terms h3 { font-size: var(--text-base); margin-bottom: var(--space-3); }
.ref-terms ul {
  padding-left: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.ref-terms li { margin-bottom: 4px; }

/* Breadcrumb back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: var(--space-4);
}
.back-link:hover { color: var(--color-primary-hover); }

.ref-steps { list-style: none; padding: 0; margin-top: var(--space-6); }

/* ============================================================
   FINANCING SECTION
   ============================================================ */
.section-financing { background: var(--color-surface); }
.financing-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0b0d10 0%, #1a1510 55%, #3a2a0c 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.financing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 320px at 115% -10%, rgba(212, 164, 55, 0.35), transparent 60%),
    radial-gradient(420px 220px at -10% 115%, rgba(212, 164, 55, 0.18), transparent 60%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .financing-card { grid-template-columns: 1.5fr 1fr; align-items: center; gap: var(--space-10); }
}
.financing-copy { position: relative; z-index: 1; }
.financing-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgb(212 164 55 / 0.18);
  color: #e8b84a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgb(212 164 55 / 0.4);
  margin-bottom: var(--space-4);
}
.financing-copy h2 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4);
  max-width: 22ch;
  line-height: 1.05;
}
.financing-copy h2 .accent { color: #e8b84a; display: inline; }
.financing-copy > p {
  color: rgb(255 255 255 / 0.9);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
  max-width: 54ch;
}
.financing-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.financing-bullets li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgb(255 255 255 / 0.92);
  font-size: var(--text-sm);
}
.financing-bullets svg { color: #e8b84a; flex-shrink: 0; }

.financing-form { margin: 0; display: inline-flex; }
.financing-fine {
  margin-top: var(--space-5);
  font-size: 12px;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.55);
  max-width: 60ch;
}

/* Gold button (used inside financing section) */
.btn-gold {
  background: linear-gradient(180deg, #e8b84a 0%, #d4a437 100%);
  color: #0b0d10;
  border: 1px solid #b78d26;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(212, 164, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(212, 164, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-gold svg { stroke: #0b0d10; }

/* Outline button on dark backgrounds */
.financing-card .btn-outline-light,
.btn-outline-light {
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.4);
  color: #fff;
}
.financing-card .btn-outline-light:hover,
.btn-outline-light:hover {
  background: rgb(255 255 255 / 0.14);
  border-color: #fff;
}

/* Payment tile visual */
.financing-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.finance-tile {
  width: 100%;
  max-width: 360px;
  padding: 22px 22px 18px;
  border-radius: 18px;
  background: linear-gradient(155deg, #fff8e6 0%, #f3d98a 55%, #d4a437 100%);
  color: #1a1510;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}
.finance-tile::after {
  content: '';
  position: absolute;
  inset: -40% -40% auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
  pointer-events: none;
}
.finance-tile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.finance-tile-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a4a10;
}
.finance-tile-top svg { color: #6a4a10; }
.finance-tile-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 3.4rem);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #1a1510;
  margin-bottom: 16px;
}
.finance-tile-amount .dollar { font-size: 0.55em; margin-right: 2px; }
.finance-tile-amount .per {
  font-size: 0.32em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 8px;
  color: #6a4a10;
}
.finance-tile-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid rgba(26, 21, 16, 0.25);
  border-bottom: 1px solid rgba(26, 21, 16, 0.25);
}
.finance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2a2010;
}
.finance-row .dot-sep {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted rgba(26, 21, 16, 0.35);
  margin: 0 4px;
}
.finance-tile-bottom {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a4a10;
}
.finance-chip {
  display: inline-block;
  width: 36px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(135deg, #b78d26 0%, #e8c972 100%);
  border: 1px solid rgba(26, 21, 16, 0.35);
}

/* ============================================================
   SERVICE BADGE (for "Best Pricing Guaranteed")
   ============================================================ */
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  padding: 4px 12px;
  background: rgb(45 180 65 / 0.14);
  color: var(--color-primary);
  border: 1px solid rgb(45 180 65 / 0.4);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
}
.service-card { display: flex; flex-direction: column; }
.service-card > p { flex: 1; }

/* ============================================================
   SPRING SALE — Best Pricing Guaranteed callout
   ============================================================ */
.spring-guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: var(--space-3) 0 var(--space-1);
  padding: 10px 16px;
  background: rgb(255 255 255 / 0.14);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  font-size: 14px;
  backdrop-filter: blur(6px);
}
.spring-guarantee svg {
  color: #fff;
  flex-shrink: 0;
}
.spring-guarantee strong { color: #fff; font-weight: 700; }
@media (max-width: 600px) {
  .spring-guarantee {
    width: 100%;
    justify-content: flex-start;
    font-size: 13px;
  }
}

/* ============================================================
   PROVIA WINDOWS & DOORS — brand moment
   ============================================================ */
.section-provia {
  background: var(--color-surface);
  position: relative;
}
.provia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 960px) {
  .provia-grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-12); }
}
.provia-copy { max-width: 56ch; }
.provia-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: var(--space-4);
  background: rgb(45 180 65 / 0.12);
  color: var(--color-primary);
  border: 1px solid rgb(45 180 65 / 0.35);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.provia-copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.02;
  margin-bottom: var(--space-4);
}
.provia-copy h2 .accent { color: var(--color-primary); }
.provia-copy .lede {
  font-size: var(--text-lg);
  color: var(--color-ink-muted, #4a4f57);
  margin-bottom: var(--space-6);
  max-width: 48ch;
}
.provia-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 560px) {
  .provia-bullets { grid-template-columns: 1fr 1fr; gap: var(--space-3) var(--space-5); }
}
.provia-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
}
.provia-bullets li > div { display: flex; flex-direction: column; gap: 2px; }
.provia-bullets li strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--color-ink, #0b0d10);
  text-transform: uppercase;
}
.provia-bullets li span {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-ink-muted, #4a4f57);
}
.provia-bullet-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgb(45 180 65 / 0.12);
  color: var(--color-primary);
}

.provia-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 20px 40px rgba(0,0,0,0.15));
  aspect-ratio: 16 / 10;
}
.provia-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.provia-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(11,13,16,0.88) 0%, rgba(11,13,16,0.6) 60%, transparent 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.caption-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}
.caption-sub {
  font-size: 12px;
  color: rgb(255 255 255 / 0.85);
  letter-spacing: 0.02em;
}
@media (max-width: 560px) {
  .provia-caption { padding: 14px 16px; }
  .provia-visual { aspect-ratio: 4 / 3; }
}

/* ============================================================
   REALTOR LANDING PAGE
   ============================================================ */

/* HERO */
.rlt-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: clamp(120px, 16vh, 180px) 0 var(--space-12);
  color: var(--color-on-dark);
}
.rlt-hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.rlt-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.rlt-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(11, 13, 16, 0.92) 0%, rgba(11, 13, 16, 0.78) 45%, rgba(11, 13, 16, 0.4) 100%);
}
.rlt-hero-inner { max-width: 760px; }
.rlt-hero-inner .eyebrow {
  background: rgb(45 180 65 / 0.18);
  border: 1px solid rgb(45 180 65 / 0.5);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rlt-hero-inner h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 1;
  margin-bottom: var(--space-5);
}
.rlt-hero-inner h1 .accent { color: var(--color-primary); }
.rlt-hero-inner .lede {
  color: rgb(255 255 255 / 0.92);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 60ch;
  margin-bottom: var(--space-6);
}
.rlt-hero-trust {
  list-style: none;
  padding: 0;
  margin: var(--space-7) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: rgb(255 255 255 / 0.72);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rlt-hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rlt-hero-trust li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* PROBLEM CARDS */
.problem-card {
  background: var(--color-surface-2);
  border-radius: var(--radius-lg, 16px);
  padding: var(--space-7) var(--space-6);
  border: 1px solid var(--color-border, rgba(0,0,0,0.06));
}
.problem-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--color-primary);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}
.problem-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.problem-card p {
  color: var(--color-ink-muted, #4a4f57);
  font-size: 15px;
  line-height: 1.55;
}

/* PARTNER PERKS GRID */
.rlt-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) { .rlt-perks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rlt-perks { grid-template-columns: repeat(3, 1fr); } }
.rlt-perk {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius-lg, 16px);
  padding: var(--space-7) var(--space-6);
  color: var(--color-on-dark);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.rlt-perk:hover {
  transform: translateY(-2px);
  border-color: rgb(45 180 65 / 0.4);
}
.rlt-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgb(45 180 65 / 0.18);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.rlt-perk h3 {
  color: #fff;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.rlt-perk p {
  color: rgb(255 255 255 / 0.78);
  font-size: 14px;
  line-height: 1.55;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border, rgba(0,0,0,0.08));
  border-radius: var(--radius-lg, 16px);
  padding: var(--space-7) var(--space-6);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: var(--space-4);
}
.step-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.step-card p {
  color: var(--color-ink-muted, #4a4f57);
  font-size: 15px;
  line-height: 1.55;
}

/* INTRO STATS */
.intro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin: var(--space-5) 0 var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.intro-stat { display: flex; flex-direction: column; gap: 4px; min-width: 80px; }
.intro-stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--color-primary);
  line-height: 1;
}
.intro-stat .stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted, #4a4f57);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1.4fr; gap: var(--space-10); align-items: start; }
}
.faq-head h2 { margin-bottom: var(--space-3); }
.faq-head .muted { color: var(--color-ink-muted, #4a4f57); font-size: 15px; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item {
  border: 1px solid var(--color-border, rgba(0,0,0,0.08));
  border-radius: 12px;
  background: var(--color-surface);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--color-ink, #0b0d10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-ink-muted, #4a4f57);
  font-size: 15px;
  line-height: 1.6;
}

/* FORM ENHANCEMENTS for partner-form */
.form-section-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
}
.form-section-label:not(:first-of-type) { margin-top: var(--space-6); }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 520px) { .form-row-split { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.form-row-split > div { display: flex; flex-direction: column; }
.form-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border, rgba(0,0,0,0.1));
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-radio:hover { border-color: var(--color-primary); }
.form-radio input[type="radio"] {
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}
.form-radio:has(input:checked) {
  border-color: var(--color-primary);
  background: rgb(45 180 65 / 0.06);
}
.form-perks .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgb(45 180 65 / 0.15);
  color: var(--color-primary);
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  margin-right: 8px;
  flex-shrink: 0;
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .rlt-hero { min-height: 600px; padding-top: 110px; }
  .rlt-hero-overlay {
    background: linear-gradient(180deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.85) 100%);
  }
}

/* ===== Realtor page scoped overrides ===== */
.rlt-page .problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: stretch;
}
@media (min-width: 760px) {
  .rlt-page .problem-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
}

/* Section heads center on realtor page for cleaner rhythm */
.rlt-page .section-head { max-width: 820px; }

/* Hero overlay needs to be a bit darker so body copy reads against the photo */
.rlt-hero-overlay {
  background: linear-gradient(
    100deg,
    rgba(11,13,16,0.78) 0%,
    rgba(11,13,16,0.55) 45%,
    rgba(11,13,16,0.20) 100%
  );
}

/* ===== Monday form iframe embed ===== */
.form-embed-wrap {
  width: 100%;
  background: var(--color-surface, #fff);
  border-radius: 16px;
  border: 1px solid rgba(11, 13, 16, 0.08);
  overflow: hidden;
  box-shadow: 0 12px 36px -12px rgba(11, 13, 16, 0.18);
  display: flex;
  flex-direction: column;
}
.form-embed-wrap iframe {
  width: 100%;
  height: 720px;
  border: 0;
  display: block;
  background: #fff;
}
.form-embed-wrap .form-fine {
  font-size: 13px;
  color: rgba(11, 13, 16, 0.6);
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid rgba(11, 13, 16, 0.06);
  background: rgba(248, 249, 250, 0.6);
  text-align: center;
}
@media (max-width: 700px) {
  .form-embed-wrap iframe { height: 820px; }
}
