/* =========================================================
   Clearwater Offers — styles.css
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Design Tokens ---------- */
:root {
  --navy-900: #0C4A6E;
  --navy-800: #0e5985;
  --navy-700: #146d9f;
  --navy-950: #082f49;
  --teal-500: #0891B2;
  --gold-500: #D97706;
  --gold-400: #F59E0B;
  --gold-100: #FEF3C7;
  --cream-50: #FEFCE8;
  --cream-100: #FEF9C3;
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50: #F8FAFC;
  --white: #ffffff;
  --bg: #ffffff;
  --success: #15803D;
  --focus: #38BDF8;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08),
    0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 40px -10px rgba(15, 23, 42, 0.12),
    0 4px 12px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 60px -15px rgba(12, 74, 110, 0.18),
    0 8px 20px -8px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --container: 1200px;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.25rem, 4.5vw + 0.5rem, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  line-height: 1.1;
}

h3 {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--ink-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-800);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: rgba(12, 74, 110, 0.06);
  border: 1px solid rgba(12, 74, 110, 0.12);
  border-radius: var(--radius-pill);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.lede {
  font-size: 1.1875rem;
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 540px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-head p {
  font-size: 1.0625rem;
  color: var(--ink-500);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  font-size: 1.0625rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy-900);
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
}

.nav-toggle {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  will-change: transform;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(12, 74, 110, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(12, 74, 110, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--ink-200);
}

.btn-secondary:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--white);
  box-shadow: 0 6px 18px -6px rgba(217, 119, 6, 0.55);
}

.btn-gold:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(217, 119, 6, 0.6);
}

.btn-lg {
  padding: 18px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 700px;
  background: radial-gradient(
      ellipse at center,
      rgba(217, 119, 6, 0.12) 0%,
      rgba(217, 119, 6, 0) 45%
    ),
    radial-gradient(
      ellipse at 30% 60%,
      rgba(8, 145, 178, 0.13) 0%,
      rgba(8, 145, 178, 0) 55%
    );
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-copy h1 .accent {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin: 32px 0 36px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-200);
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink-700);
  font-weight: 500;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--success);
}

/* Mascot container */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-frame::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(254, 252, 232, 1) 0%,
    rgba(254, 243, 199, 0.7) 40%,
    rgba(254, 243, 199, 0) 70%
  );
  z-index: 0;
}

.mascot-frame svg {
  position: relative;
  z-index: 1;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(12, 74, 110, 0.18));
  animation: float 6s ease-in-out infinite;
}

.mascot-caption {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--ink-500);
  font-style: italic;
  text-align: center;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.tail-wag {
  transform-origin: 30% 70%;
  animation: wag 1.4s ease-in-out infinite;
}

@keyframes wag {
  0%, 100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

/* ---------- Credibility Strip ---------- */
.credibility {
  padding: 40px 0 40px;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  background: var(--ink-50);
}

.credibility-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 28px 40px;
  opacity: 0.85;
}

.trust-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-500);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.trust-mark svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

/* ---------- How it Works ---------- */
.how-it-works {
  background: linear-gradient(180deg, var(--white) 0%, var(--ink-50) 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--ink-200) 0 6px,
    transparent 6px 12px
  );
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  border: 2px solid var(--navy-900);
  box-shadow: 0 0 0 6px var(--white), var(--shadow-md);
  transition: transform 0.3s ease;
}

.step:hover .step-num {
  transform: translateY(-4px);
  background: var(--navy-900);
  color: var(--white);
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: var(--ink-500);
  font-size: 0.9375rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ---------- Why Sellers Choose Us ---------- */
.features .feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.features .feature-row:last-child {
  margin-bottom: 0;
}

.features .feature-row.reverse {
  direction: rtl;
}

.features .feature-row.reverse > * {
  direction: ltr;
}

.feature-text .feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.feature-text .feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-text h3 {
  font-size: 1.625rem;
  margin-bottom: 16px;
}

.feature-text p {
  color: var(--ink-500);
  max-width: 480px;
}

.feature-visual {
  background: linear-gradient(
    145deg,
    var(--cream-50) 0%,
    rgba(254, 243, 199, 0.35) 100%
  );
  border-radius: var(--radius-xl);
  padding: 40px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(217, 119, 6, 0.1);
  box-shadow: var(--shadow-lg);
}

.feature-visual svg {
  width: 75%;
  height: auto;
}

/* ---------- About ---------- */
.about {
  background: var(--ink-50);
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-inner p {
  font-size: 1.0625rem;
  color: var(--ink-500);
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.stat {
  background: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--ink-500);
  font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.quote-mark {
  color: var(--gold-500);
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 8px;
  opacity: 0.4;
}

.testimonial blockquote {
  margin: 0 0 24px;
  color: var(--ink-700);
  font-size: 1rem;
  line-height: 1.65;
  flex: 1;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--ink-200);
  padding-top: 20px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--teal-500));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  flex: 0 0 auto;
}

.avatar.gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
}

.avatar.teal {
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
}

.meta-name {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.9375rem;
}

.meta-loc {
  font-size: 0.8125rem;
  color: var(--ink-500);
}

.testimonial-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.8125rem;
  color: var(--ink-400);
  font-style: italic;
}

/* ---------- FAQ ---------- */
.faq {
  background: linear-gradient(180deg, var(--ink-50) 0%, var(--white) 100%);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  padding: 22px 24px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-item summary:hover {
  color: var(--navy-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--navy-900);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-500);
  font-size: 0.9375rem;
  line-height: 1.65;
  animation: fadeInUp 0.3s ease;
}

/* ---------- Final CTA Band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(217, 119, 6, 0.18) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(8, 145, 178, 0.25) 0%,
      transparent 55%
    );
  pointer-events: none;
}

.cta-band-watermark {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 360px;
  opacity: 0.07;
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  margin-bottom: 36px;
}

.cta-band .btn-primary {
  background: var(--gold-500);
  color: var(--white);
}

.cta-band .btn-primary:hover {
  background: var(--gold-400);
}

/* ---------- Contact Form ---------- */
.contact {
  padding: 120px 0;
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-xl);
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.form-field label .req {
  color: var(--gold-500);
  margin-left: 2px;
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink-900);
  background: var(--white);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-400);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--ink-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
}

.consent input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--navy-900);
  flex: 0 0 auto;
}

.consent label {
  font-size: 0.8125rem;
  color: var(--ink-500);
  line-height: 1.6;
}

.consent label a {
  color: var(--navy-900);
  text-decoration: underline;
}

.form-foot {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9375rem;
  color: var(--ink-500);
}

.form-foot a {
  color: var(--navy-900);
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -9999px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-900);
  color: var(--ink-400);
  padding: 64px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 40px;
}

.footer .brand {
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: var(--ink-400);
  transition: color 0.2s ease;
}

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

.footer-legal {
  font-size: 0.8125rem;
  color: var(--ink-500);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  max-width: 680px;
  line-height: 1.6;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 72px 0 96px;
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--ink-500);
  font-weight: 500;
  margin-bottom: 28px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--navy-900);
}

.legal h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal .updated {
  font-size: 0.875rem;
  color: var(--ink-500);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.375rem;
  margin: 40px 0 14px;
  color: var(--navy-900);
}

.legal h3 {
  font-size: 1.0625rem;
  margin: 24px 0 10px;
}

.legal p,
.legal li {
  color: var(--ink-700);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--navy-900);
  text-decoration: underline;
}

/* ---------- Success page ---------- */
.success {
  padding: 100px 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.success-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-xl);
}

.check-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--success);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px -6px rgba(21, 128, 61, 0.4);
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.check-badge svg {
  width: 44px;
  height: 44px;
  animation: drawCheck 0.6s ease 0.3s both;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes drawCheck {
  from {
    stroke-dashoffset: 40;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.check-badge svg path {
  stroke-dasharray: 40;
  stroke-dashoffset: 0;
}

.success-card h1 {
  margin-bottom: 12px;
}

.success-card p {
  color: var(--ink-500);
  margin-bottom: 28px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section {
    padding: 84px 0;
  }
  .hero {
    padding: 56px 0 84px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-copy .eyebrow,
  .hero-copy .lede {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-copy .lede {
    max-width: 540px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .trust-row {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .mascot-frame {
    max-width: 340px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .steps::before {
    display: none;
  }
  .features .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  .features .feature-row.reverse {
    direction: ltr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--ink-200);
    color: var(--ink-900);
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-md);
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }
  .form-wrap {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding: 40px 0 64px;
  }
  .btn-lg {
    padding: 16px 24px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .mascot-frame {
    max-width: 280px;
  }
  .success-card {
    padding: 40px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
