/* ==========================================================================
   AutoWeb Solutions — Landing Page Styles
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop), 1280px (wide)
   ========================================================================== */

:root {
  /* Colors (locked — sampled from logo, see Docs/BRIEF.md) */
  --teal: #03624C;
  --teal-deep: #013C2F;
  --accent: #FC6F20;
  --accent-hover: #D65E1B;
  --bg: #FBFAF8;
  --bg-alt: #F1F5F3;
  --ink: #16211D;
  --ink-soft: #4F5D59;
  --border: #E1E6E3;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;

  /* Spacing (8px base grid) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 20px rgba(1, 60, 47, 0.08);
  --shadow-card-lift: 0 12px 32px rgba(1, 60, 47, 0.14);
  --header-height: 100px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal);
  line-height: 1.2;
  font-weight: 700;
}

/* Reveal-on-load: headline words fade, un-blur and rise in on page open.
   Applied via JS (script.js) to any element with .reveal-text — it wraps
   each word in a .reveal-word span with a staggered animation-delay. */
.reveal-word {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  animation: reveal-word-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes reveal-word-in {
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-word { animation: none; opacity: 1; filter: none; transform: none; }
}

/* Scroll reveal: elements fade + slide in as they enter the viewport.
   Applied via JS (script.js), which watches every [data-animate] element
   with an IntersectionObserver and adds .in-view the first time it's seen.
   Direction is set by the attribute's value; default (no value) is "up". */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate=""], [data-animate="up"] { transform: translateY(28px); }
[data-animate="left"] { transform: translateX(-36px); }
[data-animate="right"] { transform: translateX(36px); }
[data-animate="fade"] { transform: none; }

[data-animate].in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* Stagger delays for grouped scroll-reveal items, so cards in a row settle
   in one after another instead of all at once. */
.trust-item:nth-child(1) { transition-delay: 0s; }
.trust-item:nth-child(2) { transition-delay: 0.08s; }
.trust-item:nth-child(3) { transition-delay: 0.16s; }
.trust-item:nth-child(4) { transition-delay: 0.24s; }

.step:nth-child(1) { transition-delay: 0s; }
.step:nth-child(2) { transition-delay: 0.12s; }
.step:nth-child(3) { transition-delay: 0.24s; }

.price-card:nth-child(1) { transition-delay: 0s; }
.price-card:nth-child(2) { transition-delay: 0.12s; }
.price-card:nth-child(3) { transition-delay: 0.24s; }

.faq-item:nth-child(1) { transition-delay: 0s; }
.faq-item:nth-child(2) { transition-delay: 0.06s; }
.faq-item:nth-child(3) { transition-delay: 0.12s; }
.faq-item:nth-child(4) { transition-delay: 0.18s; }
.faq-item:nth-child(5) { transition-delay: 0.24s; }
.faq-item:nth-child(6) { transition-delay: 0.3s; }

/* Visible keyboard focus states everywhere */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-deep);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-outline-on-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-on-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.eyebrow-on-dark {
  display: inline-block;
  color: var(--accent);
  background: rgba(252, 111, 32, 0.12);
  border: 1px solid rgba(252, 111, 32, 0.4);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-heading h2 { font-size: 1.75rem; }

section { padding-block: var(--space-6); }

/* ==========================================================================
   Header — floating pill nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 12px 12px 0;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  max-width: 1180px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
}
.brand { flex-shrink: 0; }
.brand-logo { height: 48px; width: auto; }

.main-nav ul {
  display: flex;
  gap: var(--space-4);
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover { color: var(--teal); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.header-cta { padding: 0.5rem 0.8rem; font-size: 0.78rem; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  transition: background-color 0.15s ease;
}
.nav-toggle:hover { background: var(--teal-deep); }
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 16px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav: floating panel below the pill header.
   Background/border/shadow only switch on while open — otherwise, on a
   sticky header, a sub-pixel compositing gap in the max-height:0 clip can
   leak a hairline of the collapsed panel's own fill during scroll repaints. */
.main-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.main-nav.is-open {
  max-height: 300px;
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-card-lift);
}
.main-nav ul {
  flex-direction: column;
  gap: 0;
  padding: var(--space-2) var(--space-3) var(--space-3);
}
.main-nav li { border-bottom: 1px solid var(--border); }
.main-nav li:last-child { border-bottom: none; }
.main-nav a { display: block; padding: var(--space-2) 0.1rem; }

@media (min-width: 768px) {
  .header-cta { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
  .site-header { padding: 20px 20px 0; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    border: none;
    box-shadow: none;
  }
  .main-nav ul {
    flex-direction: row;
    padding: 0;
    gap: var(--space-4);
  }
  .main-nav li { border-bottom: none; }
  .main-nav a { padding: 0.4rem 0.1rem; }
  .brand-logo { height: 52px; }
  .header-inner { padding: 0.5rem 0.6rem 0.5rem 1.5rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--teal-deep);
  color: var(--white);
  padding-block: var(--space-6) var(--space-6);
  /* Closes a sub-pixel rendering seam where this section's fractional-height
     sticky header above it can leave a hairline of page background visible. */
  margin-top: -1px;
}
.hero-inner {
  max-width: 760px;
  text-align: center;
}
.hero-headline {
  color: var(--white);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}
.hero-subhead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto var(--space-4);
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
}
.hero-ctas .btn { width: 100%; max-width: 340px; }

@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-ctas .btn { width: auto; }
}

@media (min-width: 768px) {
  .hero-headline { font-size: 2.75rem; }
}

@media (min-width: 1024px) {
  .hero-inner { max-width: 880px; }
  .hero-headline { font-size: 3.25rem; }
  .hero-subhead { font-size: 1.15rem; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding-block: var(--space-4);
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  gap: var(--space-3);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  justify-content: flex-start;
  text-align: left;
}
.trust-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 640px) {
  .trust-bar-inner {
    grid-template-columns: repeat(2, max-content);
    column-gap: var(--space-5);
    row-gap: var(--space-3);
  }
}
@media (min-width: 1024px) {
  .trust-bar-inner { grid-template-columns: repeat(4, 1fr); justify-content: normal; }
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); }

@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   About / Who we serve
   ========================================================================== */
.about { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}
/* This section gets a slower, more deliberate reveal than the site default,
   photo leads in, copy follows a beat behind, building a bit of a "reveal"
   moment rather than the usual quick fade-up. */
.about-photo[data-animate] {
  transition-duration: 1.4s;
}
.about-content[data-animate] {
  transition-duration: 1.4s;
  transition-delay: 0.2s;
}
.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.about-content p { color: var(--ink-soft); margin-bottom: var(--space-3); }
.about-content h2 { font-size: 1.75rem; margin-bottom: var(--space-3); }
.chip-row-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-2) !important;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}

@media (min-width: 768px) {
  .about-inner { grid-template-columns: 320px 1fr; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.price-card-popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-lift);
}
@media (min-width: 1024px) {
  .price-card-popular { transform: scale(1.03); }
}
.price-badge {
  position: absolute;
  top: -14px;
  left: var(--space-4);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
}
.price-tier-name { font-size: 1.3rem; margin-bottom: 0.4rem; }
.price-tier-desc { color: var(--ink-soft); margin-bottom: var(--space-3); min-height: 3em; }
.price-figure { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.3rem; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; color: var(--teal); }
.price-period { color: var(--ink-soft); font-weight: 600; }
.price-terms { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: var(--space-3); }
.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--space-4);
  flex-grow: 1;
}
.price-features li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1.5px solid var(--teal);
}
.price-features li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.pricing-footnote {
  text-align: center;
  color: var(--ink-soft);
  margin-top: var(--space-4);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Guarantee band
   ========================================================================== */
.guarantee {
  background: var(--teal-deep);
  color: var(--white);
}
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.guarantee-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}
.guarantee-icon {
  width: 34px;
  height: 34px;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: var(--space-2);
}
.guarantee-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.guarantee-card p { color: rgba(255, 255, 255, 0.82); }

@media (min-width: 768px) {
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.25rem var(--space-3);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-3) 0.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--teal);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p {
  color: var(--ink-soft);
  padding: 0 0.25rem var(--space-3);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  background: var(--bg-alt);
  text-align: center;
}
.final-cta-inner { max-width: 640px; }
.final-cta h2 { font-size: 1.85rem; margin-bottom: var(--space-2); }
.final-cta p { color: var(--ink-soft); margin-bottom: var(--space-4); }
.final-cta .btn { margin-bottom: var(--space-3); }
.final-cta-smallprint { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0 !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--space-5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-2);
  border-radius: var(--radius-md);
}
.footer-brand p { max-width: 320px; }
.footer-col h3 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: var(--space-3);
  font-size: 0.85rem;
}
.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* ==========================================================================
   Audit request page (hero variant, form, thank-you panel)
   ========================================================================== */
.hero-compact { padding-block: var(--space-5); }
.hero-compact .hero-headline { margin-bottom: var(--space-2); }

.audit-section { padding-block: var(--space-5) var(--space-6); }
.audit-container { max-width: 640px; }

.audit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
}
.audit-card-title { font-size: 1.5rem; margin-bottom: var(--space-2); }
.audit-card-intro { color: var(--ink-soft); margin-bottom: var(--space-4); }

.required-mark { color: var(--accent); }
.optional-mark { color: var(--ink-soft); font-weight: 400; font-size: 0.82rem; }

/* Honeypot field — hidden from real visitors, left for bots to fill in */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.form-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.form-field input:hover { border-color: var(--teal); }
.form-field input:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3, 98, 76, 0.15);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: var(--space-3);
}
.form-checkbox input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--teal);
}
.form-checkbox input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.form-checkbox label {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.audit-form-footnote {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: var(--space-3);
}
.audit-form-footnote a { color: var(--teal); text-decoration: underline; }

/* Thank-you panel */
.audit-thankyou-card { text-align: center; }
.thankyou-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-3);
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thankyou-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--teal);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thankyou-body { color: var(--ink-soft); margin-bottom: var(--space-4); }
.thankyou-steps {
  text-align: left;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-3) var(--space-3) 2.6rem;
  margin-bottom: var(--space-4);
}
.thankyou-steps-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-2);
}
.thankyou-steps ol { list-style: decimal; display: flex; flex-direction: column; gap: 0.6rem; }
.thankyou-steps li { color: var(--ink-soft); padding-left: 0.3rem; }
.thankyou-footnote {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-top: var(--space-3);
  margin-bottom: 0 !important;
}

/* ==========================================================================
   Legal pages (Privacy Policy)
   ========================================================================== */
.legal-section { padding-block: var(--space-5) var(--space-6); }
.legal-container { max-width: 720px; }
.legal-container h1 { font-size: 2rem; margin-bottom: var(--space-1); }
.legal-updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: var(--space-4) !important; }
.legal-container h2 {
  font-size: 1.2rem;
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.legal-container p { color: var(--ink-soft); margin-bottom: var(--space-3); }
.legal-container a { color: var(--teal); text-decoration: underline; }
.legal-list {
  list-style: disc;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
