@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;600;700&display=swap');

/* ============================================================
   טהרת 7 דורות — Design System
   Luminous, airy minimalism · lineage-node motif · evergreen accent
   ============================================================ */

:root {
  /* Palette */
  --bg: #F7F3EC;            /* warm alabaster — page base */
  --surface: #FCFAF5;       /* warm white — cards, raised panels */
  --ink: #232820;           /* deep warm ink — headings & body */
  --muted: #6F6B5E;         /* muted taupe — sub-copy, captions */
  --accent: #2E5E4E;        /* deep evergreen — the single accent */
  --accent-deep: #244B3E;   /* hover/active */
  --hairline: #E7E0D2;      /* 1px dividers, card outlines, lineage strokes */
  --hairline-deep: #d9cfba; /* slightly darker hairline (card hover border) */
  --tint: #E9F0EB;          /* soft evergreen wash — chips, bands, ghost hover */
  --ivory-panel: rgba(247, 243, 236, 0.72); /* frosted hero text panel */
  --danger: #9e3b34;

  /* Radius scale */
  --r-sm: 10px;
  --r-card: 18px;
  --r-img: 16px;
  --r-pill: 999px;

  /* Shadow & depth (subtle only) */
  --sh-card-rest: 0 1px 2px rgba(35, 40, 32, 0.03);
  --sh-card-hover: 0 12px 30px rgba(35, 40, 32, 0.06);
  --sh-btn-hover: 0 6px 16px rgba(46, 94, 78, 0.18);

  /* Motion */
  --t-micro: 200ms;
  --t-default: 450ms;
  --t-reveal: 700ms;
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(1.2rem, 4vw, 2.5rem);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Assistant', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;      /* 17px */
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent); transition: color var(--t-micro) var(--ease-hover); }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

/* ----- Utilities ----- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; }
.section--surface { background: var(--surface); }
.section--tint { background: var(--tint); }
.section--center { text-align: center; }

.measure { max-width: 760px; margin-inline: auto; }

.eyebrow {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  margin: 0 0 0.6rem;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink);
}

.muted { color: var(--muted); }

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section--center .section-head { margin-inline: auto; }

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

/* Skip link: stays clipped until keyboard-focused, then reveals on screen */
a.visually-hidden:focus {
  position: fixed !important;
  top: 12px;
  inset-inline-start: 12px;
  width: auto !important; height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--surface);
  border-radius: var(--r-sm);
  z-index: 200;
}

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--r-pill);
  padding: 0.9rem 1.8rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-micro) var(--ease-hover),
              background var(--t-micro) var(--ease-hover),
              box-shadow var(--t-micro) var(--ease-hover),
              border-color var(--t-micro) var(--ease-hover),
              color var(--t-micro) var(--ease-hover);
}
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--accent-deep); color: var(--surface); transform: translateY(-2px); box-shadow: var(--sh-btn-hover); }
.btn-secondary { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-secondary:hover { background: var(--tint); color: var(--accent-deep); transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

.btn svg { width: 1.05em; height: 1.05em; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ----- Header / Nav ----- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--t-default) var(--ease-hover),
              border-color var(--t-default) var(--ease-hover),
              box-shadow var(--t-default) var(--ease-hover);
}
.site-header.scrolled {
  background: var(--surface);
  border-bottom-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(35, 40, 32, 0.02);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}
.brand:hover { color: var(--accent); }
.brand-mark { width: 38px; height: 24px; flex: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transition: inset-inline var(--t-default) var(--ease-hover);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { inset-inline: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform var(--t-micro) var(--ease-hover), opacity var(--t-micro);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 2rem) 3rem;
  overflow: hidden;
}
.hero--short { min-height: 64vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  animation: heroFade 1.2s var(--ease-reveal) 120ms forwards;
}
.hero-bg::after {
  /* faint high-key wash to lift legibility without going dark */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247,243,236,0.35), rgba(247,243,236,0.10) 40%, rgba(247,243,236,0.30));
}
@keyframes heroFade { to { opacity: 1; } }

.hero-panel {
  position: relative;
  z-index: 2;
  max-width: 660px;
  background: var(--ivory-panel);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  border: 1px solid rgba(231, 224, 210, 0.85);
  border-radius: var(--r-card);
  padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: 0 18px 50px rgba(35, 40, 32, 0.07);
}
.hero-panel h1 { margin-bottom: 0.4em; }
.hero-panel .lead { color: var(--muted); margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ----- Lineage motif: single-node divider ----- */
.lineage-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 320px;
  margin: clamp(1.6rem, 4vw, 2.4rem) auto 0;
}
.lineage-divider .ln-line {
  height: 1px;
  flex: 1;
  background: var(--hairline);
}
.lineage-divider .ln-node {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
  flex: none;
}

/* ----- Seven-generations diagram ----- */
.generations { --dot: clamp(38px, 7vw, 56px); margin-block: clamp(1.5rem, 4vw, 2.5rem); }
.gen-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.3rem;
}
.gen-track::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: calc(var(--dot) / 2);
  height: 2px;
  transform: translateY(-50%);
  /* RTL: gen 1 (right) strong → gen 7 (left) light */
  background: linear-gradient(to left, var(--accent), var(--hairline));
  z-index: 0;
}
.gen {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.gen-dot {
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  background: var(--surface);
  color: var(--accent);
  transition: transform var(--t-default) var(--ease-hover);
}
.gen--strong .gen-dot { background: var(--accent); color: var(--surface); }
.gen--mid .gen-dot { background: var(--tint); color: var(--accent-deep); }
.gen--eased .gen-dot { background: var(--surface); color: var(--accent); border-style: solid; opacity: 0.85; }
.gen:hover .gen-dot { transform: translateY(-3px); }

.gen-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  margin-top: 1.8rem;
}
.gen-legend li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  font-size: 0.92rem;
  color: var(--muted);
}
.gen-legend .swatch {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  flex: none;
}
.swatch--strong { background: var(--accent); }
.swatch--mid { background: var(--tint); }
.swatch--eased { background: var(--surface); }

/* ----- Feature grid (value props) ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.feature { text-align: center; }
.chip {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 1.1rem;
}
.chip svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 0.4rem; }
.feature p { color: var(--muted); }

/* ----- Cards ----- */
.card-grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2rem);
  box-shadow: var(--sh-card-rest);
  transition: box-shadow var(--t-default) var(--ease-hover),
              border-color var(--t-default) var(--ease-hover),
              transform var(--t-default) var(--ease-hover);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--sh-card-hover); border-color: var(--hairline-deep); transform: translateY(-3px); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); }
.card .card-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-link {
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-link svg { width: 1em; height: 1em; transition: transform var(--t-micro) var(--ease-hover); }
.card-link:hover svg { transform: translateX(-4px); } /* RTL: arrow points/moves leftward */

.card--feature {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--tint), var(--surface) 55%);
}
.card--feature .pill-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  padding: 0.25rem 0.85rem;
  margin-bottom: 1rem;
}

/* ----- Numbered steps ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  counter-reset: step;
}
.step { position: relative; }
.step-num {
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); }

/* ----- Deliverables list ----- */
.deliverables {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
}
.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 1.3rem 1.5rem;
}
.deliverable .d-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  display: grid; place-items: center;
}
.deliverable .d-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.deliverable h3 { margin-bottom: 0.2rem; }
.deliverable p { color: var(--muted); margin: 0; }

/* ----- Quote band ----- */
.quote-band { text-align: center; }
.quote-band .quote {
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-deep);
  max-width: 860px;
  margin-inline: auto;
}
.quote-band cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 1rem;
}

/* ----- Trust row ----- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
}
.trust { text-align: center; }
.trust .chip { margin-bottom: 1rem; }
.trust h3 { margin-bottom: 0.3rem; }
.trust p { color: var(--muted); }

/* ----- FAQ accordion ----- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  text-align: start;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  padding: 1.3rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  transition: transform var(--t-default) var(--ease-hover);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  inset: 0;
  margin: auto;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-default) var(--ease-hover);
}
.faq-a-inner { padding-bottom: 1.3rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 460px; }

/* ----- Contact / form ----- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 620px;
  margin-inline: auto;
  box-shadow: var(--sh-card-rest);
}
.contact-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { text-align: start; }
.field label { display: block; font-weight: 500; margin-bottom: 0.4rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  transition: border-color var(--t-micro) var(--ease-hover), box-shadow var(--t-micro) var(--ease-hover), background var(--t-micro);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--tint);
}
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field .error-msg { color: var(--danger); font-size: 0.85rem; margin-top: 0.35rem; min-height: 0; display: none; }
.field.invalid .error-msg { display: block; }

.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }

.form-feedback {
  margin-top: 1rem;
  border-radius: var(--r-sm);
  padding: 0.95rem 1.2rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid transparent;
}
.form-feedback.show { display: flex; }
.form-feedback.success { background: var(--tint); color: var(--accent-deep); border-color: rgba(46,94,78,0.25); }
.form-feedback.error { background: #f7e9e7; color: var(--danger); border-color: rgba(158,59,52,0.25); }
.form-feedback svg { width: 1.3em; height: 1.3em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ----- CTA band ----- */
.cta-band { text-align: center; }
.cta-band .lead { color: var(--muted); }

/* ----- Footer ----- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(2.8rem, 6vw, 4rem) 1.8rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}
.footer-brand { max-width: 360px; }
.footer-brand .brand { margin-bottom: 0.8rem; }
.footer-brand p { color: var(--muted); }
.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav h4 { font-size: 0.95rem; color: var(--muted); font-weight: 600; margin-bottom: 0.3rem; }
.footer-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
}
.footer-signature {
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted);
  opacity: 0.6;
  margin: 0;
}
.footer-signature a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-signature a:hover { color: var(--accent); }

/* ----- Multi-step / wizard (compliance pattern) ----- */
.funnel-page, .quote-step, .wizard-step { display: none; }
.funnel-page.active, .quote-step.active, .wizard-step.active { display: block; }

/* ----- Scroll reveal (only hidden when JS is active, so no-JS shows all) ----- */
.is-js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-reveal) var(--ease-reveal),
              transform var(--t-reveal) var(--ease-reveal);
  will-change: opacity, transform;
}
.is-js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .feature-grid, .trust-row { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset-inline: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    padding: 1rem var(--gutter) 1.6rem;
    box-shadow: 0 14px 28px rgba(35, 40, 32, 0.06);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-default) var(--ease-hover),
                transform var(--t-default) var(--ease-hover),
                visibility var(--t-default);
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links li { border-bottom: 1px solid var(--hairline); }
  .nav-links a { display: block; padding: 0.9rem 0; }
  .nav-links a::after { display: none; }
  .nav-cta { margin-top: 1.1rem; width: 100%; }
  /* Header gets a surface base when the menu is open, even at the top */
  .site-header:has(.nav-menu.open) { background: var(--surface); border-bottom-color: var(--hairline); }
}

@media (max-width: 720px) {
  .feature-grid, .trust-row, .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: 84vh; }
  .footer-grid { flex-direction: column; gap: 1.6rem; }
}

@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .generations { --dot: clamp(30px, 11vw, 40px); }
  .gen-legend { gap: 0.5rem 1rem; }
}

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

/* Mobile: disable fixed parallax (iOS jank) */
@media (max-width: 880px) {
  .hero-bg { background-attachment: scroll; }
}
