/* ============================================================
   Kudos — automated Google-review requests for Xero businesses.
   Light / red-white theme. House conventions per
   05_Marketing/_Resources/STREaMLiNE-Design-Conventions.md,
   implementation cloned from OzLedger (light) + Portfolio,
   recoloured red. Colour direction: red-theme-wwebsite-example.jpg.
   Tokens exposed as CSS variables (mirrored from head-theme intent).
   ============================================================ */
:root {
  --red:      #e01f26;   /* PRIMARY — CTAs, accents, brand */
  --red-d:    #b91c1c;   /* hover / darker */
  --red-tint: rgba(224,31,38,.10);
  --ink:      #16181d;   /* headings */
  --body:     #444b57;   /* paragraph text */
  --muted:    #6b7280;   /* labels / subtext — AA on white + alt */
  --bg:       #ffffff;
  --bg-alt:   #f7f7f9;   /* alternating surface (Level-2) */
  --border:   #e6e8ec;
  --star:     #f5a623;   /* rating gold (from hero image) */
  --xero:     #0077b8;   /* "Connect App in Xero" button — Xero brand blue (white text 4.86:1, AA) */
  --xero-d:   #00618f;   /* hover / darker */

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:      0 1px 3px rgba(20,24,31,.06), 0 10px 30px rgba(20,24,31,.06);
  --shadow-lift: 0 10px 24px rgba(20,24,31,.10), 0 24px 50px rgba(20,24,31,.08);
  --max: 1200px;

  --display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --font:    'Inter', ui-sans-serif, system-ui, sans-serif;

  /* named type scale (house §2 canonical-pick) */
  --type-h1:    clamp(2.4rem, 5.2vw, 3.6rem);
  --type-h2:    clamp(1.9rem, 3.4vw, 2.6rem);
  --type-h3:    1.35rem;
  --type-sub:   clamp(1.1rem, 1.8vw, 1.3rem);
  --type-body:  18px;
  --type-label: 0.8rem;

  /* motion tokens (house §5) */
  --dur-micro: 0.2s;
  --dur-ui:    0.3s;
  --dur-reveal:0.65s;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: var(--type-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 16px; top: 16px; }

/* section header (eyebrow + h2 + sub) */
.eyebrow {
  display: inline-block; font-family: var(--display);
  font-size: var(--type-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: var(--type-h2); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ---------- buttons (house §6 — 2 tiers) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 13px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: background var(--dur-micro) ease, color var(--dur-micro) ease, transform var(--dur-micro) ease, box-shadow var(--dur-micro) ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,31,38,.28); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-xero { background: var(--xero); color: #fff; }
.btn-xero:hover { background: var(--xero-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,119,184,.28); }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- nav (house §4) ---------- */
.logo { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.logo span { color: var(--red); }
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--dur-ui) ease, box-shadow var(--dur-ui) ease; }
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(20,24,31,.02); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { position: relative; color: var(--body); font-weight: 500; font-size: 0.95rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red); transition: width var(--dur-ui) ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- hero (house §12, §15 — never text-only, layered) ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(60% 60% at 78% 8%, var(--red-tint), transparent 60%),
  radial-gradient(50% 50% at 8% 100%, rgba(245,166,35,.08), transparent 60%); }
.hero-dots { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: var(--type-h1); letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--red); }
.hero .lead { margin: 22px 0 28px; font-size: var(--type-sub); color: var(--body); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.rating { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--body); }
.rating .stars { color: var(--star); letter-spacing: 1px; }
.rating strong { color: var(--ink); }
.hero-trust .sep { width: 1px; height: 20px; background: var(--border); }
.hero-trust .with-xero { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--muted); }
.hero-trust .with-xero b { color: var(--ink); font-weight: 600; }

/* hero art frame */
.hero-art { position: relative; border-radius: 20px; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-lift); background: #fff; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1200 / 760; }
.hero-art .art-badge {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.94); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink); box-shadow: var(--shadow);
}
.art-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- trust strip ---------- */
.trust-strip { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; text-align: center; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--body); }
.trust-item svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; }
.trust-item b { color: var(--ink); font-weight: 600; }

/* ---------- review bubble (SIGNATURE element) ---------- */
.bubble {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; box-shadow: var(--shadow); text-align: left;
}
.bubble-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bubble-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.9rem; font-family: var(--display); }
.bubble-meta { flex: 1; min-width: 0; }
.bubble-name { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.bubble-stars { color: var(--star); font-size: 0.82rem; letter-spacing: 1px; }
.bubble-g { width: 18px; height: 18px; flex-shrink: 0; }
.bubble p { font-size: 0.9rem; color: var(--body); line-height: 1.55; }

/* ---------- pain / why ---------- */
.pain { background: var(--bg-alt); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pain h2 { font-size: var(--type-h2); }
.pain .lead { margin: 18px 0 26px; color: var(--body); }
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.pain-list li { display: flex; gap: 12px; font-size: 1rem; color: var(--body); }
.pain-list .x { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; margin-top: 2px; }
.pain-list .x svg { width: 14px; height: 14px; }
.pain-bubbles { display: grid; gap: 14px; }
.pain-bubbles .bubble:nth-child(2) { margin-left: 32px; }
.pain-bubbles .bubble:nth-child(3) { margin-left: 12px; }

/* ---------- how it works (steps, house §6) ---------- */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
.step-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.step h3 { font-size: var(--type-h3); margin-bottom: 8px; }
.step p { font-size: 0.96rem; color: var(--body); }
.step .step-ico { position: absolute; top: 30px; right: 28px; color: var(--red); opacity: .55; }
.step .step-ico svg { width: 26px; height: 26px; }

/* ---------- better reviews (2-col content, betterbunch copy) ---------- */
.better { background: var(--bg-alt); }
.better-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.better h2 { font-size: var(--type-h2); }
.better .lead { margin: 18px 0 24px; color: var(--body); }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 12px; font-size: 1rem; color: var(--body); }
.check-list .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(60,178,77,.14); color: #2f9b40; display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 14px; height: 14px; }
.check-list b { color: var(--ink); font-weight: 600; }
.better-panel { display: grid; gap: 14px; }
.better-panel .bubble:nth-child(odd) { margin-right: 28px; }
.better-panel .bubble:nth-child(even) { margin-left: 28px; }

/* ---------- features grid (house §6 cards) ---------- */
.features { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: transform var(--dur-ui) ease, box-shadow var(--dur-ui) ease, border-color var(--dur-ui) ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--red); }
.card-ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 12px; background: var(--red-tint); color: var(--red); transition: transform var(--dur-ui) ease; }
.card:hover .card-ico { transform: translateY(-3px) scale(1.05); }
.card-ico svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--body); }

/* ---------- proof / testimonials ---------- */
.proof { background: var(--bg-alt); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote .stars { color: var(--star); letter-spacing: 1px; margin-bottom: 14px; }
.quote blockquote { font-size: 1.02rem; color: var(--ink); font-weight: 500; line-height: 1.5; margin-bottom: 18px; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .bubble-avatar { width: 40px; height: 40px; }
.quote .who .name { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.quote .who .biz { font-size: 0.82rem; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { background: var(--bg); }
.price-wrap { max-width: 520px; margin: 0 auto; }
.price-card { position: relative; background: #fff; border: 1.5px solid var(--red); border-radius: 18px; padding: 40px 36px; box-shadow: var(--shadow-lift); text-align: center; }
.price-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price-card .price { font-family: var(--display); margin: 18px 0 6px; }
.price-card .price .amount { font-size: 3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.price-card .price .per { color: var(--muted); font-size: 1rem; }
.price-card .price-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.price-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 12px; margin: 0 auto 28px; max-width: 360px; }
.price-features li { display: flex; gap: 10px; font-size: 0.96rem; color: var(--body); }
.price-features .tick { flex-shrink: 0; color: var(--red); }
.price-features .tick svg { width: 18px; height: 18px; }
.price-card .trial { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* ---------- final CTA ---------- */
.cta-band { background: var(--bg-alt); }
.cta-inner { background: var(--ink); border-radius: 22px; padding: 56px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 80% 0%, rgba(224,31,38,.35), transparent 60%); }
.cta-inner > * { position: relative; }
.cta-inner h2 { color: #fff; font-size: var(--type-h2); }
.cta-inner p { color: #cdd2db; margin: 14px auto 28px; max-width: 520px; }
.cta-inner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-inner .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- footer (house §4) ---------- */
.footer { background: #fff; border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.95rem; color: var(--muted); max-width: 320px; margin-bottom: 16px; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #2f9b40; background: rgba(60,178,77,.10); border: 1px solid rgba(60,178,77,.22); border-radius: 999px; padding: 6px 14px; }
.footer-badge svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 1rem; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.93rem; color: var(--muted); }
.footer-col a:hover { color: var(--red); }
.footer-fineprint { font-size: 0.82rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 48px; padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: var(--muted); }
.footer-bottom .legal-line a { color: var(--red); font-weight: 600; }
.footer-bottom .legal-line a:hover { color: var(--red-d); text-decoration: underline; }

/* ---------- signup / auth ---------- */
.auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-aside { background: var(--ink); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 20% 10%, rgba(224,31,38,.30), transparent 60%); }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside .eyebrow { color: #ff9a8f; }
.auth-aside h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.auth-aside .aside-lead { color: #cdd2db; margin-bottom: 28px; max-width: 400px; }
.auth-points { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: #e7e9ee; font-size: 0.98rem; }
.auth-points .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; margin-top: 1px; }
.auth-points .tick svg { width: 14px; height: 14px; color: #ff9a8f; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg-alt); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lift); padding: 40px 36px; }
.auth-card .logo { display: inline-block; margin-bottom: 22px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input { width: 100%; font-family: inherit; font-size: 0.98rem; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color var(--dur-micro) ease, box-shadow var(--dur-micro) ease; }
.field input::placeholder { color: #9aa1ac; }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-tint); }
.field-check { display: flex; align-items: center; gap: 9px; margin: -4px 0 20px; }
.field-check input { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }
.field-check label { font-size: 0.9rem; color: var(--body); font-weight: 400; cursor: pointer; }
.auth-fine { font-size: 0.85rem; color: var(--muted); margin: 4px 0 20px; line-height: 1.5; }
.auth-fine a { color: var(--red); font-weight: 500; }
.auth-fine a:hover { text-decoration: underline; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 0.92rem; color: var(--muted); }
.auth-alt a { color: var(--red); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }
.form-status { font-size: 0.9rem; margin-top: 12px; text-align: center; min-height: 1.2em; }
.form-status.error { color: var(--red-d); }
.form-status.ok { color: #2f9b40; }

/* honeypot (house §9) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- scaffold placeholder (removed once pages built) ---------- */
.scaffold-note { max-width: 640px; margin: 96px auto; text-align: center; }
.scaffold-note h1 { font-size: clamp(2rem, 5vw, 3rem); }
.scaffold-note .accent { color: var(--red); }

/* ---------- FAB stack (house §1) ---------- */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--red); color: #fff; border: none; box-shadow: 0 4px 14px rgba(224,31,38,.32); transition: transform var(--dur-micro) ease, background var(--dur-micro) ease; text-decoration: none; }
.fab:hover { background: var(--red-d); transform: translateY(-2px); }
.fab svg { width: 20px; height: 20px; }
.fab--top { opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- scroll reveal (house §5) ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-reveal) ease, transform var(--dur-reveal) ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .pain-grid, .better-grid { grid-template-columns: 1fr; gap: 40px; }
  .pain-bubbles .bubble, .better-panel .bubble { margin: 0 !important; }
  .steps, .cards, .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
@media (max-width: 860px) {
  .nav-inner { height: auto; flex-wrap: wrap; padding: 14px 24px; }
  .nav-toggle { display: block; order: 1; margin-left: auto; }
  .nav-links { order: 2; flex-basis: 100%; flex-direction: column; gap: 0; padding: 6px 0 0; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links a::after { display: none; }
  .nav-login, .nav-connect { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .cards, .footer-grid, .proof-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-inner { padding: 40px 24px; }
  .auth-card { padding: 32px 24px; }
}

/* ---------- reduced motion (house §5/§11) ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3 { transition: none; opacity: 1; transform: none; }
  .card, .btn, .fab, .card-ico { transition: none; }
  .card:hover, .btn:hover, .fab:hover, .card:hover .card-ico { transform: none; }
}
