/* ============================================================
   SnapDiagnose — shared stylesheet
   Light theme only. Self-hosted fonts. No external requests.
   ============================================================ */

/* ---------- Fonts (self-hosted woff2, variable, font-display:swap) ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/worksans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/worksans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #F2F5F8;
  --surface: #FFFFFF;
  --muted-surface: #E9EDF2;
  --heading: #2A4E7E;
  --body: #333333;
  --secondary: #3F6B8C;
  --border: #D1D8DF;
  --teal: #1AB1A3;
  --teal-dark: #0E7D71;
  --teal-soft: #DDF2EE;
  --gold: #F9C23D;
  --gold-ink: #3A2A02;

  /* severity */
  --diy-fg: #2C7A52;   --diy-bg: #E9F5EE;   --diy-dot: #88C999;
  --pro-fg: #8A6B10;   --pro-bg: #FBF3D6;   --pro-dot: #E0B93A;
  --danger-fg: #C0392B; --danger-bg: #FBE9E7; --danger-dot: #C0392B;

  --font-head: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(42, 78, 126, 0.04), 0 8px 24px rgba(42, 78, 126, 0.06);
  --shadow-sm: 0 1px 2px rgba(42, 78, 126, 0.06);
  --container: 1120px;
  --ease: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #0a6055; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}
p { margin: 0 0 1em; max-width: 70ch; }
ul, ol { max-width: 70ch; }

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--teal-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--tint { background: var(--muted-surface); }
.section--teal { background: var(--teal-soft); }
.section__head { max-width: 62ch; margin: 0 auto 40px; text-align: center; }
.section__head p { margin: 0 auto; color: var(--secondary); }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 10px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn--primary { background: var(--teal-dark); color: #fff; }
.btn--primary:hover { background: #0a6055; color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--teal-soft); color: var(--teal-dark); border-color: var(--teal); }
.btn:active { transform: translateY(1px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: transparent;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  backdrop-filter: saturate(1.4) blur(8px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px 10px 18px;
  box-shadow: var(--shadow-sm);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--heading); }
.brand svg, .brand img { width: 26px; height: 26px; flex: none; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: background-color var(--ease), color var(--ease);
}
.nav__links a:hover { background: var(--muted-surface); color: var(--heading); }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.nav__cta .btn { min-height: 42px; padding: 10px 18px; font-size: 0.95rem; }
/* With no header CTA button, push the links to the right on desktop. */
.nav__links { margin-left: auto; }

/* mobile disclosure (CSS-only, uses <details>) */
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 64px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}
.hero__sub { font-size: 1.12rem; color: var(--body); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--secondary);
  margin: 0;
}
.beta-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--teal); flex: none;
  box-shadow: 0 0 0 3px var(--teal-soft);
}

/* ---------- Phone mockup (placeholder, clearly labeled) ---------- */
.mockup { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 260px;
  max-width: 72vw;
  aspect-ratio: 9 / 19;
  background: #fff;
  border: 10px solid #1c2b3d;
  border-radius: 40px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone__notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44%; height: 22px;
  background: #1c2b3d;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone__shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.phone__screen {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--teal-soft), #fff 60%);
  padding: 34px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone__badge {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: 999px;
}
.phone__frame {
  flex: 1;
  border: 1.5px dashed var(--teal);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--secondary);
  text-align: center;
  padding: 14px;
  background: rgba(255,255,255,0.5);
}
.phone__frame svg { width: 40px; height: 40px; color: var(--teal); }
.phone__frame span { font-size: 0.82rem; font-weight: 500; }
.phone__chips { display: flex; flex-direction: column; gap: 8px; }
.phone__chips .chip { padding: 10px 12px; }
.phone__chips .chip__label { margin: 0; font-size: 0.85rem; }

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.card p { margin: 0; color: var(--body); font-size: 0.98rem; }
.card__icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.step { position: relative; padding-left: 4px; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.step p { margin: 0; color: var(--body); }

/* ---------- Two column: is / isn't ---------- */
.twocol {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.panel--is { border-top: 4px solid var(--teal); }
.panel--isnt { border-top: 4px solid var(--danger-dot); }
.panel h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.panel h3 svg { width: 22px; height: 22px; flex: none; }
.panel--is h3 svg { color: var(--diy-fg); }
.panel--isnt h3 svg { color: var(--danger-fg); }
.checklist { list-style: none; margin: 6px 0 0; padding: 0; }
.checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li svg {
  position: absolute; left: 0; top: 11px;
  width: 20px; height: 20px;
}
.panel--is .checklist li svg { color: var(--diy-fg); }
.panel--isnt .checklist li svg { color: var(--danger-fg); }

/* ---------- Severity chips ---------- */
.chips { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.chip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.chip__dot {
  width: 18px; height: 18px; border-radius: 50%;
  flex: none; margin-top: 3px;
  border: 2px solid rgba(0,0,0,0.12);
}
.chip__label { font-family: var(--font-head); font-weight: 700; display: block; margin-bottom: 2px; }
.chip__desc { font-size: 0.95rem; color: var(--body); }
.chip--diy    { background: var(--diy-bg); }
.chip--diy    .chip__dot { background: var(--diy-dot); }
.chip--diy    .chip__label { color: var(--diy-fg); }
.chip--pro    { background: var(--pro-bg); }
.chip--pro    .chip__dot { background: var(--pro-dot); }
.chip--pro    .chip__label { color: var(--pro-fg); }
.chip--danger { background: var(--danger-bg); }
.chip--danger .chip__dot { background: var(--danger-dot); }
.chip--danger .chip__label { color: var(--danger-fg); }

/* ---------- FAQ (native details/summary, no JS) ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -7px;
  border-right: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(45deg);
  transition: transform var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--teal-dark); }
.faq__body { padding: 0 20px 18px; }
.faq__body p { margin: 0; color: var(--body); }
.faq__shot { margin: 16px 0 0; }
.faq__shot img {
  display: block;
  width: 220px;
  max-width: 60%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.cta-band h2 { font-size: 1.6rem; }
.cta-band p { margin: 0 auto 22px; color: var(--secondary); }
.cta-band__alt {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 0 !important;
  font-size: 0.95rem;
}

/* ---------- Photo band ---------- */
.photoband { padding: 8px 0 56px; }
.photoband--tight { padding-top: 40px; padding-bottom: 8px; }
.photoband__frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  line-height: 0;
}
.photoband__frame img { width: 100%; height: auto; display: block; }
.photoband__cap {
  margin: 14px auto 0;
  text-align: center;
  color: var(--secondary);
  font-size: 0.95rem;
  max-width: 60ch;
}

/* ---------- Contact form ---------- */
.form { max-width: 560px; margin: 4px 0 8px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--heading);
  font-size: 0.98rem;
  margin-bottom: 6px;
}
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--body);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field select {
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233F6B8C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.form__hint { font-size: 0.9rem; color: var(--secondary); margin: 0 0 16px; max-width: none; }
.form__alt { font-size: 0.92rem; color: var(--secondary); margin: 14px 0 0; }

/* ---------- Disclaimer banner ---------- */
.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--pro-bg);
  border: 1px solid var(--pro-dot);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--gold-ink);
  font-size: 0.95rem;
}
.disclaimer svg { width: 22px; height: 22px; flex: none; color: var(--pro-fg); margin-top: 1px; }
.disclaimer p { margin: 0; max-width: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--heading);
  color: #dbe4f0;
  padding: 48px 0 32px;
  margin-top: 24px;
}
.site-footer a { color: #fff; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff; }
.footer__brand svg, .footer__brand img { width: 24px; height: 24px; }
.footer__tag { color: #b9c8dc; margin: 10px 0 0; max-width: 42ch; font-size: 0.96rem; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; }
.footer__links a { color: #dbe4f0; text-decoration: none; font-weight: 500; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 20px;
  font-size: 0.88rem;
  color: #a8bad2;
  max-width: none;
}
.footer__meta { margin: 14px 0 0; font-size: 0.85rem; color: #90a4c0; }

/* ---------- Legal / content pages ---------- */
.page-hero {
  padding: 48px 0 24px;
  background: var(--muted-surface);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.2em; }
.page-hero p { color: var(--secondary); margin: 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 40px 0 56px; }
.prose h2 {
  font-size: 1.4rem;
  margin: 1.8em 0 0.5em;
  padding-top: 0.4em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.96rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}
.prose th { background: var(--muted-surface); font-family: var(--font-head); color: var(--heading); }
.prose__meta {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.prose__meta p { margin: 0.2em 0; }
.table-wrap { overflow-x: auto; }

/* review highlight */
mark.review {
  background: #FBE9E7;
  color: #C0392B;
  border: 1px dashed #C0392B;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 500;
  font-style: normal;
}

/* ---------- Confirmation / success page ---------- */
.confirmed { text-align: center; padding: 72px 0 88px; max-width: 620px; margin: 0 auto; }
.confirmed__icon {
  width: 84px; height: 84px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-bottom: 22px;
}
.confirmed__icon svg { width: 42px; height: 42px; }
.confirmed h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 0.3em; }
.confirmed > p { margin: 0 auto 1em; color: var(--secondary); }
.confirmed__next {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: left;
  margin: 28px auto 26px;
}
.confirmed__next p { margin: 0; color: var(--body); max-width: none; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 90px 0; }
.notfound h1 { font-size: clamp(3rem, 12vw, 6rem); color: var(--teal-dark); margin-bottom: 0; }
.notfound p { margin: 0 auto 24px; color: var(--secondary); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 24px 0 48px; }
  .mockup { order: -1; }

  .nav__links, .nav__cta > .btn--ghost { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .nav-toggle summary {
    list-style: none;
    cursor: pointer;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--heading);
  }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav-toggle summary svg { width: 22px; height: 22px; }
  .nav-toggle[open] .menu-panel {
    position: absolute;
    top: 68px;
    left: 16px; right: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    z-index: 200;
  }
  .nav-toggle .menu-panel ul {
    list-style: none; margin: 0; padding: 0; max-width: none;
  }
  .nav-toggle .menu-panel a {
    display: block;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--heading);
    text-decoration: none;
    font-weight: 500;
  }
  .nav-toggle .menu-panel a:hover { background: var(--muted-surface); }
  .nav-toggle .menu-panel .btn { width: 100%; margin-top: 8px; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .section { padding: 48px 0; }
  .card, .panel { padding: 22px 20px; }
  .cta-band { padding: 32px 20px; }
}

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