/* ============================================================
   Awwscooter — design system
   Light, proof-scan theme · trust blue + energetic green
   Headings: Space Grotesk · Body: Inter
   ============================================================ */

:root {
  --primary: #1E40AF;
  --primary-600: #2563EB;
  --primary-700: #1D4ED8;
  --accent: #059669;
  --accent-600: #047857;
  --danger: #DC2626;
  --amber: #B45309;

  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --border: #E2E8F0;
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 6px 20px rgba(15, 23, 42, .08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .12);

  --container: 1160px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--primary-700); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }

.section { padding-block: clamp(3rem, 6vw, 5rem); }
.section-title { text-align: center; }
.section-subtitle { text-align: center; max-width: 64ch; margin: 0 auto 2.5rem; color: var(--muted); font-size: 1.05rem; }

/* Section rhythm: alternate surfaces for proof-scanning flow */
.benefits, .features, .mission, .use-cases, .about-brief { background: var(--surface-alt); }
.how-it-works, .fears, .who-for, .about-story, .contact-section { background: var(--surface); }
.expert-copy { display: flex; flex-direction: column; }

.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  clip: auto; margin: 0; padding: .6rem 1rem; z-index: 1100;
  background: var(--primary); color: #fff; border-radius: var(--radius-sm);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none; line-height: 1; min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-700); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { color: var(--primary-700); border-color: var(--primary-600); background: var(--surface); }

:focus-visible { outline: 3px solid var(--primary-600); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark { display: inline-flex; width: 34px; height: 34px; color: var(--primary); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: -.01em; }

.site-nav { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 1.4rem; list-style: none; align-items: center; }
.nav-menu a { color: var(--ink-soft); font-weight: 500; font-size: .98rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--primary); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--ink); cursor: pointer;
  width: 44px; height: 44px; padding: 8px; border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #EEF3FF 0%, var(--bg) 70%); padding-block: clamp(2.5rem, 5vw, 4rem); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--accent-600);
  background: #ECFDF5; border: 1px solid #A7F3D0; padding: .35rem .75rem; border-radius: 999px; margin: 0 0 1rem;
}
.hero-copy h1 { margin-bottom: .6rem; }
.hero-subtitle { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1rem; font-weight: 500; }
.hero-lede { color: var(--muted); margin-bottom: 1.25rem; }
.hero-bullets { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.hero-bullets li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.hero-bullets li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem;
  background: var(--accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.8rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.8rem no-repeat;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--ink); color: #fff; padding-block: 1.4rem; }
.trust-grid { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1rem 1.5rem; text-align: center; }
.trust-item { display: flex; flex-direction: column; min-width: 110px; }
.trust-num { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; }
.trust-label { font-size: .85rem; color: #CBD5E1; }

/* ---------- Generic card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }

.benefit-card, .fear-card, .value-card, .persona-card, .use-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.benefit-card:hover, .fear-card:hover, .value-card:hover, .persona-card:hover, .use-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow);
}
.benefit-card h3, .fear-card h3, .value-card h3, .persona-card h3, .use-card h3 { margin-bottom: .5rem; }
.benefit-card p, .fear-card p, .value-card p, .persona-card p, .use-card p { color: var(--muted); margin: 0; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
  background: #EEF3FF; color: var(--primary);
}
.icon-badge svg { width: 26px; height: 26px; }

/* ---------- Products ---------- */
.products { background: var(--surface-alt); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card.is-unavailable { opacity: .92; }
.product-media { position: relative; background: #fff; aspect-ratio: 1 / 1; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.stock-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  font-size: .72rem; font-weight: 600; padding: .3rem .6rem; border-radius: 999px;
  font-family: var(--font-head); letter-spacing: .02em;
}
.stock-badge.in-stock { background: #ECFDF5; color: var(--accent-600); border: 1px solid #A7F3D0; }
.stock-badge.out-of-stock { background: #FEF2F2; color: var(--danger); border: 1px solid #FECACA; }
.product-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.08rem; margin-bottom: .5rem; }
.product-rating { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; }
.stars { color: #F59E0B; font-size: 1rem; letter-spacing: 1px; }
.star-partial { opacity: .4; }
.rating-text { font-size: .85rem; color: var(--muted); }
.product-highlights { list-style: none; display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.product-highlights li { position: relative; padding-left: 1.5rem; font-size: .92rem; color: var(--ink-soft); }
.product-highlights li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .95rem; height: .95rem;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.75rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.75rem no-repeat;
}
.product-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 600;
  padding: .75rem 1rem; border-radius: var(--radius-sm); min-height: 46px; transition: background .2s ease; }
.product-cta:hover { background: var(--accent-600); color: #fff; text-decoration: none; }
.product-cta.secondary { background: transparent; color: var(--primary); border: 2px solid var(--border); }
.product-cta.secondary:hover { background: var(--surface); border-color: var(--primary-600); }

/* ---------- How it works ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.step-num {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
}
.step h3 { margin-bottom: .25rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Features zigzag ---------- */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-bottom: 2.5rem; }
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse .feature-media { order: 2; }
.feature-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.feature-copy h3 { font-size: 1.4rem; margin-bottom: .75rem; }
.feature-copy p { color: var(--ink-soft); }
.feature-copy ul { list-style: none; display: grid; gap: .6rem; margin-top: 1rem; }
.feature-copy ul li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.feature-copy ul li::before {
  content: ""; position: absolute; left: 0; top: .4em; width: 1.1rem; height: 1.1rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.75rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.75rem no-repeat;
}

/* ---------- Timeline ---------- */
.timeline-section { background: var(--surface-alt); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.timeline-item { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--primary);
  border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.timeline-when { display: inline-block; font-family: var(--font-head); font-weight: 700; color: var(--primary); margin-bottom: .5rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Fears ---------- */
.fear-card { border-left: 4px solid var(--amber); }
.fear-stat { margin-top: .85rem !important; font-size: .85rem; font-weight: 600; color: var(--accent-600); }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--surface); }
.compare-table th, .compare-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .94rem; }
.compare-table thead th { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; position: sticky; top: 0; }
.compare-table tbody th { font-weight: 600; color: var(--ink); }
.compare-table .col-brand { background: #EEF3FF; color: var(--ink); font-weight: 600; }
.compare-table thead .col-brand { background: var(--primary); }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: 0; }

/* ---------- Who it's for ---------- */
.personas { margin-bottom: 1.75rem; }
.not-for { background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius); padding: 1.5rem 1.75rem; max-width: 820px; margin-inline: auto; }
.not-for h3 { color: var(--danger); margin-bottom: .75rem; }
.not-for ul { list-style: none; display: grid; gap: .65rem; }
.not-for li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
.not-for li::before { content: "\00d7"; position: absolute; left: 0; top: -.05em; color: var(--danger); font-weight: 700; font-size: 1.2rem; }

/* ---------- Mission values ---------- */
.value-card { text-align: left; }

/* ---------- Expert ---------- */
.expert { background: var(--surface-alt); }
.expert-inner { display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.expert-inner .section-title { text-align: left; }
.expert-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 1/1; }
.expert-quote { margin: 0 0 1.25rem; padding: 1.5rem 1.75rem; background: var(--surface);
  border-left: 4px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.expert-quote p { font-size: 1.1rem; color: var(--ink-soft); font-style: italic; }
.expert-quote footer { font-style: normal; color: var(--muted); font-size: .92rem; }
.expert-quote footer strong { color: var(--ink); }
.expert-tips { list-style: none; display: grid; gap: .65rem; margin-bottom: 1rem; }
.expert-tips li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.expert-tips li::before {
  content: ""; position: absolute; left: 0; top: .4em; width: 1.1rem; height: 1.1rem; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.75rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 6'/%3E%3C/svg%3E") center/.75rem no-repeat;
}
.expert-disclosure { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-inner .section-title { text-align: left; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.about-copy p { color: var(--ink-soft); }
.about-copy .btn { margin-top: .75rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .65rem; }
#faq-more { margin-top: .65rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.25rem; font-family: var(--font-head); font-weight: 600;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); flex: 0 0 auto; transition: transform .2s ease; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 1.25rem 1.1rem; }
.faq-answer p { margin: 0; color: var(--muted); }
.faq-toggle { display: flex; margin: 1.5rem auto 0; }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%); color: #fff; }
.newsletter-inner { text-align: center; max-width: 640px; margin-inline: auto; }
.newsletter .section-title, .newsletter .section-subtitle { color: #fff; }
.newsletter .section-subtitle { opacity: .9; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.newsletter-form input {
  flex: 1 1 240px; min-height: 48px; padding: .75rem 1rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; font-size: 1rem; font-family: var(--font-body);
}
.newsletter-form input:focus-visible { outline: 3px solid #fff; }
.newsletter-form .btn-primary { background: var(--accent); border-color: var(--accent); flex: 0 0 auto; }
.newsletter-form .btn-primary:hover { background: var(--accent-600); }
.newsletter .form-message { flex: 1 1 100%; min-height: 1.2em; margin: .25rem 0 0; font-size: .92rem; color: #ECFDF5; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  background: rgba(15,23,42,.96); backdrop-filter: blur(8px); color: #fff;
  padding: .7rem 1rem; box-shadow: 0 -6px 20px rgba(15,23,42,.18);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-text { font-size: .92rem; color: #E2E8F0; }
.sticky-cta .btn-primary { background: var(--accent); border-color: var(--accent); padding: .55rem 1.1rem; min-height: 42px; }
.sticky-cta .btn-primary:hover { background: var(--accent-600); }

/* ---------- Page head (subpages) ---------- */
.page-head { background: linear-gradient(180deg, #EEF3FF 0%, var(--bg) 100%); padding-block: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.page-head h1 { margin-bottom: .5rem; }
.page-cta { text-align: center; margin-top: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info h2 { font-size: 1.25rem; margin-top: 1.25rem; }
.contact-info h2:first-child { margin-top: 0; }
.contact-info p { color: var(--ink-soft); }
.contact-links { list-style: none; display: grid; gap: .65rem; margin-bottom: 1rem; }
.contact-links li { color: var(--muted); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font-body); background: var(--surface); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--primary-600); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: .82rem; margin-top: .3rem; min-height: 1em; }
.form-message { font-size: .92rem; margin: .5rem 0 0; min-height: 1.2em; }
.form-message.success { color: var(--accent-600); }
.form-message.error { color: var(--danger); }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 760px; margin-inline: auto; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CBD5E1; padding-block: 3rem 1.5rem; margin-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.footer-col p { color: #94A3B8; font-size: .92rem; }
.footer-col .brand-name { color: #fff; display: inline-block; margin-bottom: .6rem; }
.footer-col a { display: block; color: #CBD5E1; margin-bottom: .5rem; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.social-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; }
.social-row a { display: inline; margin: 0; font-size: .9rem; color: #94A3B8; }
.footer-bottom { border-top: 1px solid #1E293B; margin-top: 2rem; padding-top: 1.5rem; }
.footer-bottom p { color: #94A3B8; font-size: .85rem; margin: 0 0 .5rem; }
.footer-bottom a { color: #CBD5E1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-grid, .expert-inner { grid-template-columns: 1fr; }
  .hero-media, .about-media, .expert-media { order: -1; }
  .expert-inner .section-title, .about-inner .section-title { text-align: center; }
  .feature-block, .feature-block.reverse { grid-template-columns: 1fr; }
  .feature-block.reverse .feature-media { order: -1; }
  .feature-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .25s ease; align-items: stretch;
  }
  .nav-menu.open { max-height: 420px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .9rem 1.5rem; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr; }
  .sticky-text { display: none; }
  .sticky-cta { justify-content: stretch; }
  .sticky-cta .btn-primary { flex: 1; }
  .hero-cta-row .btn { flex: 1 1 100%; }
}
