/* =============================================================
   eNudge redesign — page styles
   Extends colors_and_type.css. Page is light by default; toggle
   data-theme="dark" on <html> to flip.
   ============================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---- Theme tokens layered over the base design system ---- */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-elev: #FFFFFF;
  --fg: var(--ink-1);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --fg-muted: var(--ink-4);
  --hairline: rgba(14, 27, 44, 0.08);
  --hairline-strong: rgba(14, 27, 44, 0.14);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-line: rgba(14, 27, 44, 0.08);
  --shadow-card: 0 1px 2px rgba(16, 35, 60, 0.05), 0 14px 36px rgba(16, 35, 60, 0.06);
  --shadow-card-hover: 0 6px 14px rgba(16, 35, 60, 0.08), 0 30px 60px rgba(16, 35, 60, 0.12);
  --halo-1: radial-gradient(circle at 30% 20%, rgba(86, 194, 232, 0.50), transparent 60%);   /* @kind color */
  --halo-2: radial-gradient(circle at 70% 60%, rgba(188, 113, 219, 0.52), transparent 60%);   /* @kind color */
  --halo-3: radial-gradient(circle at 50% 50%, rgba(246, 200, 78, 0.30), transparent 65%);   /* @kind color */
}
[data-theme="dark"] {
  --bg: #07111E;
  --bg-soft: #0C1A2C;
  --bg-elev: #11203A;
  --fg: #F4F8FD;
  --fg-2: #C2CFE2;
  --fg-3: #8AA0BD;
  --fg-muted: #5F7795;
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.14);
  --glass: rgba(14, 27, 44, 0.62);
  --glass-line: rgba(255, 255, 255, 0.08);
  --shadow-card: 0 1px 2px rgba(0,0,0,0.4), 0 14px 36px rgba(0,0,0,0.45);
  --shadow-card-hover: 0 6px 14px rgba(0,0,0,0.45), 0 30px 60px rgba(0,0,0,0.55);
  --halo-1: radial-gradient(circle at 30% 20%, rgba(86, 194, 232, 0.42), transparent 60%);   /* @kind color */
  --halo-2: radial-gradient(circle at 70% 60%, rgba(188, 113, 219, 0.46), transparent 60%);   /* @kind color */
  --halo-3: radial-gradient(circle at 50% 50%, rgba(246, 200, 78, 0.26), transparent 65%);   /* @kind color */
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--enudge-deep-blue);
}
[data-theme="dark"] .eyebrow { color: var(--enudge-mint); }
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--enudge-gradient);
}
.h-display { font-weight: 800; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -0.025em; margin: 0; }
.h-display .grad {
  background: var(--enudge-gradient);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradDrift 14s linear infinite;
}
@keyframes gradDrift { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.h-1 { font-weight: 800; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.h-2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--fg-2); max-width: 580px; margin: 0; }
.muted { color: var(--fg-3); font-size: 14px; }

/* ============================================================
   Buttons (redesign variants)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform 200ms var(--ease-out),
              box-shadow 250ms var(--ease-out),
              background-position 350ms var(--ease-out),
              border-color 200ms var(--ease-out),
              color 200ms var(--ease-out);
  text-decoration: none; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(188, 113, 219, 0.32); }

.btn-primary {
  background: var(--orchid-500);
  color: #FFFFFF;
  box-shadow: 0 14px 32px rgba(188, 113, 219, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { background: var(--orchid-600); transform: translateY(-2px); box-shadow: 0 20px 42px rgba(188, 113, 219, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.22); }

.btn-ghost {
  background: var(--bg-elev);
  color: var(--fg);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--enudge-sky); color: var(--enudge-sky); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ============================================================
   Header — floating glass pill
   ============================================================ */
.header {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 80;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
          backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(16, 35, 60, 0.08), 0 1px 2px rgba(16, 35, 60, 0.04);
  transition: top 300ms var(--ease-out);
}
.header.hide { top: -80px; }
.header-brand {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px;
  font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  flex: none;
}
.header-brand sup { font-size: 9px; top: -1em; color: var(--fg-3); }
.header-brand > span:first-child { width: 28px; height: 28px; line-height: 0; display: inline-block; }
.header-brand > span:first-child svg { width: 100%; height: 100%; }
.header-brand > span:first-child img { width: 100%; height: 100%; object-fit: contain; }
/* Logo lockups — swap light/dark artwork with the theme */
.brand-lockup { height: 26px; width: auto; display: block; }
.brand-lockup-dark { display: none; }
[data-theme="dark"] .brand-lockup-light { display: none; }
[data-theme="dark"] .brand-lockup-dark { display: block; }

.header-divider { width: 1px; height: 24px; background: var(--hairline-strong); }
.header-nav { display: flex; gap: 2px; align-items: center; }
.header-nav-item { position: relative; }
.header-nav-item .header-link svg { transition: transform 200ms var(--ease-out); }
.header-nav-item:hover .header-link svg,
.header-nav-item:focus-within .header-link svg { transform: rotate(180deg); }

/* Solution dropdown */
.header-pop {
  position: absolute; top: calc(100% + 10px); left: -8px;
  min-width: 300px;
  background: var(--bg-elev);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(16, 35, 60, 0.18), 0 4px 12px rgba(16, 35, 60, 0.08);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
  z-index: 90;
}
.header-nav-item:hover .header-pop,
.header-nav-item:focus-within .header-pop {
  opacity: 1; visibility: visible; transform: none;
}
.header-pop a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 150ms;
}
.header-pop a:hover { background: var(--bg-soft); }
.hp-ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex: none;
}
.hp-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.hp-text strong { font-size: 14px; font-weight: 700; color: var(--fg); letter-spacing: -0.005em; }
.hp-text small { font-size: 12px; color: var(--fg-3); font-weight: 500; }
.header-link {
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 4px;
  transition: color 200ms, background 200ms;
}
.header-link:hover { color: var(--fg); background: rgba(48, 176, 240, 0.08); }
.header-spacer { width: 12px; }
.header-cta-row { display: flex; align-items: center; gap: 8px; padding-right: 4px; }
.header-cta-row a:first-child:not(.btn) { padding: 8px 12px; font-size: 13px; font-weight: 700; color: var(--fg-2); }
.header-cta-row a:first-child:not(.btn):hover { color: var(--fg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 180px 0 120px; overflow: hidden; }
.hero-halos { position: absolute; inset: -10%; pointer-events: none; z-index: 0;
  background:
    var(--halo-1), var(--halo-2), var(--halo-3);
  filter: blur(80px);
  opacity: 0.85;
  animation: haloDrift 24s ease-in-out infinite alternate;
}
@keyframes haloDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

/* Large pale arrow mark hidden in the hero gradient — the arrow shape is cut
   out of a soft brand gradient, and a spotlight following the mouse reveals
   more or less of it. */
.hero-mark { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-mark-layer {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #56C2E8 0%, #7370C8 52%, #BC71DB 100%);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 44% 48%; mask-position: 44% 48%;
  -webkit-mask-size: 620px 620px; mask-size: 620px 620px;
  will-change: opacity;
}
/* Always-on, very faint base arrow */
.hero-mark-base {
  opacity: 0.09;
  -webkit-mask-image: url(assets/enudge-arrow-white.svg);
          mask-image: url(assets/enudge-arrow-white.svg);
}
/* Brighter arrow, but only revealed inside the moving spotlight */
.hero-mark-reveal {
  opacity: 0.28;
  --mx: 44%; --my: 48%;
  -webkit-mask-image: url(assets/enudge-arrow-white.svg),
    radial-gradient(520px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,0.5) 45%, transparent 72%);
          mask-image: url(assets/enudge-arrow-white.svg),
    radial-gradient(520px circle at var(--mx) var(--my), #000 0%, rgba(0,0,0,0.5) 45%, transparent 72%);
  -webkit-mask-repeat: no-repeat, no-repeat; mask-repeat: no-repeat, no-repeat;
  -webkit-mask-position: 44% 48%, 0 0; mask-position: 44% 48%, 0 0;
  -webkit-mask-size: 620px 620px, 100% 100%; mask-size: 620px 620px, 100% 100%;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  transition: opacity 0.5s ease;
}
[data-theme="dark"] .hero-mark-base   { opacity: 0.11; }
[data-theme="dark"] .hero-mark-reveal { opacity: 0.30; }
@media (prefers-reduced-motion: reduce) {
  .hero-mark-reveal { transition: none; }
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-meta { display: flex; gap: 8px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--fg-2);
  border: 1px solid var(--hairline);
  background: var(--bg-elev);
}
.pill .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1FB07A; box-shadow: 0 0 0 4px rgba(31, 176, 122, 0.18);
  animation: pip 2s ease-in-out infinite;
}
@keyframes pip { 50% { box-shadow: 0 0 0 8px rgba(31, 176, 122, 0.06); } }
.pill-am {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FA 100%);
  border-color: rgba(10, 142, 71, 0.18);
  padding-left: 6px;
}
[data-theme="dark"] .pill-am {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(10, 142, 71, 0.32);
}
.pill-am img { height: 20px; width: auto; }
.hero-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-finep { font-size: 13px; color: var(--fg-3); display: inline-flex; align-items: center; gap: 8px; }
.hero-finep svg { color: var(--success); }

/* Hero scene — floating email + SMS */
.scene { position: relative; aspect-ratio: 5 / 6; }
.scene-orb {
  position: absolute; inset: 8% 8%;
  background: var(--enudge-gradient-radial);
  filter: blur(40px); opacity: 0.55; border-radius: 50%;
  animation: orbBreath 8s ease-in-out infinite alternate;
}
@keyframes orbBreath { from { transform: scale(.92); } to { transform: scale(1.05); } }

/* ============================================================
   Hero scene — email + phone
   ============================================================ */

.scene-email {
  position: absolute; left: 0; top: 4%;
  width: 76%;
  background: var(--bg-elev);
  border-radius: 22px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  z-index: 3;
  animation: floatA 9s ease-in-out infinite alternate;
  display: flex; flex-direction: column;
}
/* Auto-rotating vertical carousel */
.scene-carousel { position: relative; width: 100%; aspect-ratio: 768 / 793; overflow: hidden; }
.scene-carousel-track {
  display: flex; flex-direction: column;
  height: 200%;
  transform: translateY(0);
  transition: transform 0.85s cubic-bezier(0.7, 0, 0.2, 1);
}
.scene-carousel-track.to-2 { transform: translateY(-50%); }
.scene-slide { height: 50%; }
.scene-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.scene-carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 10px;
  display: flex; justify-content: center; gap: 7px; z-index: 2;
}
.scene-carousel-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(14, 27, 44, 0.35);
  transition: background 0.4s ease, width 0.4s ease;
}
.scene-carousel-dots span.is-active { width: 20px; border-radius: 99px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .scene-carousel-track { transition: none; }
}

/* Branded header bar */
.scene-email-bar {
  display: flex; align-items: center;
  padding: 12px 16px;
  background: linear-gradient(180deg, #FAFBFD 0%, #F2F5FA 100%);
  border-bottom: 1px solid var(--hairline);
}
[data-theme="dark"] .scene-email-bar { background: linear-gradient(180deg, #182239 0%, #11203A 100%); }
.scene-email-bar-logo { display: inline-flex; align-items: center; gap: 9px; }
.scene-email-bar-logo .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #F2A93B, #E66856);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.scene-email-bar-logo .word { font-weight: 800; font-size: 14px; color: var(--fg); letter-spacing: -0.01em; }
.scene-email-bar-link { margin-left: auto; font-size: 11px; color: var(--fg-3); }

/* Hero illustration — stylised beach scene rendered in CSS */
.scene-email-hero {
  position: relative;
  height: 130px;
  background: linear-gradient(180deg, #FFD89B 0%, #F2A93B 55%, #E66856 100%);
  overflow: hidden;
}
.scene-email-hero-sun {
  position: absolute; right: 18%; top: 18%;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF6D2 0%, #FFC85A 60%, #FFB23A 100%);
  box-shadow: 0 0 24px rgba(255, 200, 90, 0.6);
}
.scene-email-hero-wave-1 {
  position: absolute; left: -4%; right: -4%; bottom: -10px; height: 60px;
  background: linear-gradient(180deg, rgba(48, 176, 240, 0.35) 0%, #2A8FD4 100%);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  filter: blur(1px);
}
.scene-email-hero-wave-2 {
  position: absolute; left: -8%; right: -8%; bottom: -16px; height: 50px;
  background: linear-gradient(180deg, rgba(96, 224, 240, 0.55) 0%, #5BC4F4 100%);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
}
.scene-email-hero-flag {
  position: absolute; left: 16px; top: 16px;
  padding: 4px 10px;
  background: rgba(14, 27, 44, 0.78);
  color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* Email body */
.scene-email-body { padding: 18px 20px 16px; }
.scene-email-subj {
  margin: 0;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.015em;
  font-weight: 800; color: var(--fg);
}
.scene-email-greet {
  margin: 10px 0 0;
  font-size: 13px; line-height: 1.55; color: var(--fg-2);
}
.scene-email-cta { margin: 16px 0 0; display: flex; align-items: center; gap: 12px; }
.scene-email-cta-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px;
  background: linear-gradient(180deg, #5BC4F4 0%, #2A8FD4 100%);
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(48, 176, 240, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.scene-email-cta-sub { font-size: 11px; color: var(--fg-3); }

.scene-email-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.scene-email-tile {
  aspect-ratio: 4 / 3; border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 50%),
    var(--c, var(--enudge-sky));
  position: relative; overflow: hidden;
}
.scene-email-tile::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -40%; height: 80%;
  background: radial-gradient(ellipse at center top, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: 50%;
}

.scene-email-footer {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 10px; color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
}
.scene-email-footer .dot { color: var(--fg-muted); }

/* ---------- Phone ---------- */
.scene-phone {
  position: absolute; right: -2%; bottom: 0;
  width: 50%; aspect-ratio: 9 / 17;
  background: var(--bg-elev);
  border-radius: 32px;
  border: 6px solid #0E1B2C;
  box-shadow: var(--shadow-card-hover);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
  z-index: 2;
  animation: floatB 12s ease-in-out infinite alternate;
}
[data-theme="dark"] .scene-phone { border-color: #1B2C44; }
.scene-bubble {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 14px 14px 14px 4px;
  background: var(--bg-soft);
  color: var(--fg);
  font-size: 12px; line-height: 1.45;
  align-self: flex-start;
  display: flex; flex-direction: column; gap: 8px;
}
.scene-bubble-opt {
  font-size: 11px; color: var(--fg-3); font-weight: 500;
}
.scene-bubble.mine {
  align-self: flex-end;
  background: var(--enudge-gradient);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

/* Rotating SMS — messages slide up and swap, on their own timing */
.scene-sms { position: relative; flex: 1; width: 100%; }
.scene-sms-msg {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.65, 0, 0.2, 1);
  pointer-events: none;
}
.scene-sms-msg.is-active { opacity: 1; transform: translateY(0); }
.scene-sms-msg.is-leaving { opacity: 0; transform: translateY(-24px); }
@media (prefers-reduced-motion: reduce) {
  .scene-sms-msg { transition: opacity 0.4s ease; }
  .scene-sms-msg.is-active, .scene-sms-msg.is-leaving { transform: none; }
}

@keyframes floatA { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes floatB { from { transform: translateY(0); } to { transform: translateY(-14px); } }
@keyframes floatC { from { transform: translateY(0); } to { transform: translateY(-6px); } }

/* ============================================================
   Trust strip (logos + claims)
   ============================================================ */
.trust {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  background: var(--bg-soft);
}
.trust-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-row .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.trust-row .org { font-weight: 700; color: var(--fg-2); font-size: 14px; opacity: 0.78; transition: opacity 200ms; }
.trust-row .org:hover { opacity: 1; }
.trust-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trust-logo {
  height: 36px; width: auto;
  color: var(--fg-2);
  opacity: 0.62;
  transition: opacity 200ms var(--ease-out);
  filter: grayscale(100%);
}
.trust-logo:hover { opacity: 1; }
.trust-am { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.trust-am img { display: block; flex: none; height: 88px; width: auto; filter: drop-shadow(0 4px 10px rgba(10, 142, 71, 0.18)); }
.trust-am > span { display: flex; flex-direction: column; line-height: 1.25; }
.trust-am strong { font-size: 14px; font-weight: 800; color: var(--fg); letter-spacing: -0.005em; }
.trust-am small { font-size: 12px; color: var(--fg-3); font-weight: 600; }
.trust-divider { width: 1px; height: 32px; background: var(--hairline-strong); }

/* Australian-made diff card variant — mark sits above the title so the
   heading wraps cleanly without colliding with the logo. */
.diff-card-am { gap: 18px; }
.diff-am-mark {
  height: 80px; width: auto;
  align-self: flex-start;
  filter: drop-shadow(0 6px 14px rgba(10, 142, 71, 0.18));
}

/* ============================================================
   Stat counters strip
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--hairline); background: var(--bg-elev); box-shadow: var(--shadow-card); }
.stat-cell { padding: 28px 24px; border-right: 1px solid var(--hairline); }
.stat-cell:last-child { border-right: none; }
.stat-cell .v { font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -0.02em; color: var(--fg); line-height: 1; }
.stat-cell .v .grad {
  background: var(--enudge-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat-cell .l { margin-top: 8px; font-size: 13px; color: var(--fg-3); }

/* ============================================================
   Products / capability cards
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cap-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms;
  box-shadow: var(--shadow-card);
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: transparent; }
.cap-card::before {
  content: ""; position: absolute; inset: -50% -10% auto auto; height: 200px; width: 200px;
  background: radial-gradient(circle at center, rgba(48, 176, 240, 0.18), transparent 70%);
  filter: blur(20px); opacity: 0; transition: opacity 350ms;
  pointer-events: none;
}
.cap-card:hover::before { opacity: 1; }
.cap-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--enudge-gradient-soft);
  color: var(--enudge-deep-blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
[data-theme="dark"] .cap-icon { background: rgba(48, 176, 240, 0.12); color: var(--enudge-mint); }
.cap-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--fg); }
.cap-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.cap-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--enudge-blue); letter-spacing: 0.02em; }
.cap-link svg { transition: transform 200ms; }
.cap-card:hover .cap-link svg { transform: translateX(4px); }

.cap-art {
  position: absolute; right: -20px; bottom: -20px;
  width: 160px; height: 160px;
  opacity: 0.5;
  pointer-events: none;
}

/* ============================================================
   Differentiators — three glass cards
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diff-card {
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 250ms, border-color 250ms;
}
.diff-card:hover { transform: translateY(-3px); border-color: var(--hairline-strong); }
.diff-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--enudge-gradient);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(48, 176, 240, 0.30);
}
.diff-card h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--fg); }
.diff-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }

/* ============================================================
   Accreditations / trust band
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.trust-item {
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 30px 18px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.trust-item:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-strong);
  box-shadow: var(--shadow-card);
}
.trust-ico {
  width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--orchid-600);
  background: var(--orchid-50);
  border: 1px solid var(--orchid-100);
}
[data-theme="dark"] .trust-ico {
  color: #D9A8EC;
  background: rgba(188, 113, 219, 0.12);
  border-color: rgba(188, 113, 219, 0.24);
}
.trust-label {
  font-size: 14px; font-weight: 700; line-height: 1.4;
  letter-spacing: -0.01em; color: var(--fg);
  text-wrap: balance;
}
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Product showcase — sticky-ish frame
   ============================================================ */
.showcase {
  position: relative;
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 56px;
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.showcase::before {
  content: ""; position: absolute; inset: 0;
  background: var(--halo-2);
  filter: blur(80px); opacity: 0.4; pointer-events: none;
}
.showcase-grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.showcase-frame {
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  aspect-ratio: 1472 / 957;
  position: relative;
}
.showcase-shot {
  display: block;
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: top left;
}
.showcase-frame .titlebar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bg-soft);
}
.showcase-frame .titlebar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.showcase-frame .titlebar i:nth-child(1) { background: #FF5F57; }
.showcase-frame .titlebar i:nth-child(2) { background: #FEBC2E; }
.showcase-frame .titlebar i:nth-child(3) { background: #28C840; }
.showcase-frame .titlebar span { margin-left: 10px; font-size: 11px; color: var(--fg-3); font-family: var(--font-mono); }
.showcase-frame .body { display: grid; grid-template-columns: 140px 1fr; height: calc(100% - 36px); }
.showcase-frame .body .sidebar {
  background: var(--bg-soft); border-right: 1px solid var(--hairline);
  padding: 14px; display: flex; flex-direction: column; gap: 6px;
}
.showcase-frame .body .sidebar .item { font-size: 11px; color: var(--fg-2); padding: 6px 8px; border-radius: 6px; display: flex; align-items: center; gap: 6px; }
.showcase-frame .body .sidebar .item.active { background: var(--enudge-gradient-soft); color: var(--enudge-deep-blue); font-weight: 700; }
[data-theme="dark"] .showcase-frame .body .sidebar .item.active { background: rgba(48, 176, 240, 0.1); color: var(--enudge-mint); }
.showcase-frame .body .content { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.showcase-frame .body .content .line { height: 8px; background: var(--bg-soft); border-radius: 4px; }
.showcase-frame .body .content .line.h { height: 12px; width: 50%; background: var(--enudge-sky); }
.showcase-frame .body .content .row { display: flex; gap: 8px; }
.showcase-frame .body .content .row .cell { flex: 1; height: 32px; background: var(--bg-soft); border-radius: 6px; }
.showcase-frame .body .content .row .cell:last-child { flex: 0 0 60px; background: var(--enudge-gradient); }

.showcase-copy { display: flex; flex-direction: column; gap: 18px; }
.showcase-copy ul { display: flex; flex-direction: column; gap: 10px; }
.showcase-copy li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--fg-2); line-height: 1.55; }
.showcase-copy li svg { color: var(--enudge-sky); flex: none; margin-top: 4px; }

/* ============================================================
   Testimonials
   ============================================================ */
.testi-feature {
  background: var(--bg-elev); border: 1px solid var(--hairline);
  border-radius: 28px; padding: 40px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.testi-feature::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 360px; height: 360px;
  background: var(--halo-2); filter: blur(60px); opacity: 0.4;
  pointer-events: none;
}
.testi-quote { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.4; font-weight: 600; color: var(--fg); letter-spacing: -0.01em; }
.testi-quote::before { content: "“"; font-size: 80px; line-height: 0.4; color: var(--enudge-sky); margin-right: 6px; vertical-align: -0.3em; }
.testi-meta { font-size: 13px; color: var(--fg-3); margin-top: 18px; }
.testi-meta strong { color: var(--fg); font-weight: 700; }
.testi-orb { aspect-ratio: 1 / 1; border-radius: 32px; background: var(--enudge-gradient-radial); position: relative; }
.testi-orb::after {
  content: ""; position: absolute; inset: 16%;
  background: var(--bg-elev); border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
}
.testi-orb span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2;
  font-weight: 900; font-size: 32px; color: var(--enudge-deep-blue); letter-spacing: -0.02em;
}
[data-theme="dark"] .testi-orb span { color: var(--enudge-mint); }

.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.testi-card { background: var(--bg-elev); border: 1px solid var(--hairline); border-radius: 20px; padding: 26px; }
.testi-card .q { font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.testi-card .m { margin-top: 16px; font-size: 12px; color: var(--fg-3); }
.testi-card .m strong { color: var(--fg); font-weight: 700; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-calc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
  align-items: stretch;
}
.pricing-slider {
  background: var(--bg-elev); border: 1px solid var(--hairline);
  border-radius: 24px; padding: 22px 28px 18px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
}
.pricing-note {
  background: var(--bg-soft);
  border: 1px dashed var(--hairline-strong);
  border-radius: 24px;
  padding: 22px 26px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.pricing-note-eyebrow {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--enudge-deep-blue);
}
[data-theme="dark"] .pricing-note-eyebrow { color: var(--enudge-mint); }
.pricing-note p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }

.tier-fineprint {
  /* footnote sits outside the panel but visually anchored to the
     Enterprise tier — small, right-aligned, no card chrome. */
  margin: 14px 4px 0;
  padding: 0;
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.5;
}
.tier-fineprint sup { color: var(--enudge-sky); font-weight: 700; }
.pricing-row { display: flex; flex-direction: column; gap: 8px; }
.pricing-row-l {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 14px; color: var(--fg-2); font-weight: 600;
}
.pricing-row-name { letter-spacing: -0.005em; }
.pricing-row-l strong {
  font-size: 22px; font-weight: 800; color: var(--fg);
  letter-spacing: -0.015em;
  background: var(--enudge-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pricing-foot { font-size: 12px; color: var(--fg-3); padding-top: 8px; border-top: 1px solid var(--hairline); }
.pricing-slider input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none;
  height: 6px; border-radius: 999px;
  background: var(--bg-soft);
  background-image: linear-gradient(90deg, #56C2E8, #BC71DB);
  background-size: var(--pf, 0%) 100%; background-repeat: no-repeat;
  outline: none;
}
.pricing-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 4px solid var(--orchid-500);
  box-shadow: 0 4px 12px rgba(188, 113, 219, 0.4);
  cursor: grab;
}
.pricing-slider input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 4px solid var(--orchid-500);
  box-shadow: 0 4px 12px rgba(188, 113, 219, 0.4);
  cursor: grab;
}

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.tier {
  background: var(--bg-elev); border: 1px solid var(--hairline);
  border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 250ms, box-shadow 250ms;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tier-footnotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}
.tier-footnotes .tier-fineprint { margin: 0; padding: 0 4px; text-align: left; }
.tier.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--bg-elev), var(--bg-elev)) padding-box,
    var(--enudge-gradient) border-box;
  box-shadow: var(--shadow-card-hover);
  position: relative;
}
.tier-flag { position: absolute; top: -14px; left: 24px; padding: 6px 12px; border-radius: 999px; background: var(--enudge-gradient); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.tier-name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.tier-price { display: flex; align-items: baseline; gap: 8px; }
.tier-price .a { font-size: clamp(34px, 3vw, 44px); font-weight: 800; letter-spacing: -0.02em; color: var(--fg); }
.tier-price .a .a-prefix {
  display: inline; font-size: 0.45em; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-3);
  margin-right: 4px;
  vertical-align: 0.4em;
}
.tier-price .s { font-size: 13px; color: var(--fg-3); }
.tier-cta { margin-top: 6px; }
.tier ul { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.tier li { display: flex; gap: 8px; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.tier li svg { color: var(--success); flex: none; margin-top: 3px; }

/* ============================================================
   Integration marquee
   ============================================================ */
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--hairline);
  font-weight: 700; color: var(--fg-2); font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.marquee-chip svg { color: var(--enudge-sky); }

/* ============================================================
   Blog teaser
   ============================================================ */
.blog-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  background: var(--bg-elev); border: 1px solid var(--hairline);
  border-radius: 28px; overflow: hidden;
}
.blog-art { aspect-ratio: 4 / 3; background: var(--enudge-gradient-radial); position: relative; }
.blog-art::before { content: ""; position: absolute; inset: 18%; background: var(--bg-elev); border-radius: 18px; transform: rotate(-3deg); border: 1px solid var(--hairline); }
.blog-art::after {
  content: "Inside eNudge";
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: var(--enudge-deep-blue); letter-spacing: -0.01em; z-index: 2;
}
[data-theme="dark"] .blog-art::after { color: var(--enudge-mint); }
.blog-copy { padding: 36px 36px 36px 8px; display: flex; flex-direction: column; gap: 14px; }
.blog-copy h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.01em; }
.blog-copy p { margin: 0; color: var(--fg-2); line-height: 1.55; }
.blog-copy .row { display: flex; gap: 14px; align-items: center; }

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip {
  position: relative; overflow: hidden;
  border-radius: 36px; padding: 80px 56px;
  background: var(--ink-1);
  color: #fff;
  text-align: center;
}
.cta-strip::before {
  content: ""; position: absolute; inset: -20%;
  background: var(--halo-1), var(--halo-2), var(--halo-3);
  filter: blur(80px); opacity: 0.5;
  animation: haloDrift 22s ease-in-out infinite alternate;
}
.cta-strip > * { position: relative; z-index: 1; }
.cta-strip .h-1 { color: #fff; }
.cta-strip p { color: rgba(255, 255, 255, 0.78); max-width: 540px; margin: 16px auto 28px; font-size: 17px; line-height: 1.5; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--bg-soft); padding: 72px 0 32px; border-top: 1px solid var(--hairline); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 96px; width: auto; }
.footer-brand .mark { width: 36px; height: 36px; line-height: 0; display: inline-block; }
.footer-brand .mark svg { width: 100%; height: 100%; }
.footer-brand .mark img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand .name { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.footer-brand .name sup { font-size: 10px; top: -1em; color: var(--fg-3); }
.footer-brand p { font-size: 14px; color: var(--fg-3); line-height: 1.5; max-width: 280px; margin: 0; }
.footer-col h5 { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--fg-2); }
.footer-col a:hover { color: var(--enudge-sky); }
.footer-social a { display: inline-flex; align-items: center; gap: 9px; }
.footer-social svg { flex: none; color: var(--fg-muted); transition: color 0.2s ease; }
.footer-social a:hover svg { color: var(--enudge-sky); }
.footer-base {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-3);
}
.footer-base .heart { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   Tweaks panel
   ============================================================ */
.tweaks {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  background: var(--bg-elev);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(16, 35, 60, 0.18);
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-width: 240px;
}
.tweaks h6 { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }
.tweaks-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-2); }
.tweaks-row label { font-weight: 600; }
.tweaks-row .seg { margin-left: auto; display: inline-flex; padding: 2px; background: var(--bg-soft); border-radius: 8px; }
.tweaks-row .seg button {
  border: 0; background: transparent; padding: 5px 10px;
  border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--fg-3);
}
.tweaks-row .seg button.active { background: var(--bg-elev); color: var(--enudge-deep-blue); box-shadow: 0 1px 2px rgba(16, 35, 60, 0.08); }
[data-theme="dark"] .tweaks-row .seg button.active { color: var(--enudge-mint); }
.tweaks-row input[type="range"] { flex: 1; }

/* ============================================================
   Reveal animation — only hides elements when JS confirms the
   document animation timeline is actually progressing. In paused
   iframes (some preview hosts) we fall through to visible.
   ============================================================ */
[data-reveal] { opacity: 1; transform: none; }
html.js-anim [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--rd, 0ms);
}
html.js-anim [data-reveal].in { opacity: 1; transform: none; }
:root.no-anim [data-reveal] { opacity: 1; transform: none; transition: none; }
:root.no-anim *,
:root.no-anim *::before,
:root.no-anim *::after { animation: none !important; transition-duration: 60ms !important; }

@media (max-width: 980px) {
  .hero-grid, .showcase-grid, .blog-feature, .testi-feature { grid-template-columns: 1fr; }
  .cap-grid, .diff-grid, .tier-grid, .testi-grid { grid-template-columns: 1fr; }
  .pricing-calc-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
}

/* ============================================================
   Mobile-only refinements (phones + large phones / folds)
   ============================================================ */
@media (max-width: 820px) {
  /* Hero: drop the status/cert pills so the headline sits higher */
  .hero-meta { display: none; }

  /* Trust strip: stack and centre everything cleanly */
  .trust-row { flex-direction: column; gap: 20px; text-align: center; }
  .trust-am { justify-content: center; white-space: normal; }
  .trust-am > span { text-align: left; }
  .trust-divider { display: none; }
  .trust-logos { justify-content: center; gap: 24px 28px; }

  /* Tighten the vertical rhythm between sections (~half) */
  .section { padding: 48px 0; }
  .section-tight { padding: 32px 0; }

  /* Footer: copyright + ABN on one line, legal links on the next */
  .footer-base { flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-top: 40px; }
  .footer-base .heart { display: none; }
}

/* ============================================================
   Mobile navigation (hamburger)
   ============================================================ */
.header-burger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 820px) {
  .header {
    left: 12px; right: 12px; transform: none; width: auto;
    justify-content: space-between; padding: 8px 8px 8px 16px;
  }
  .header.hide { top: -90px; }
  .header-nav, .header-divider, .header-spacer, .header-cta-row { display: none; }
  .header-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; flex: none; margin-left: auto;
    background: transparent; border: none; cursor: pointer; padding: 0;
  }
  .header-burger span {
    display: block; width: 22px; height: 2px; border-radius: 2px;
    background: var(--fg); margin: 0 auto;
    transition: transform 0.25s var(--ease-out), opacity 0.2s var(--ease-out);
  }
  .header-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header-burger.open span:nth-child(2) { opacity: 0; }
  .header-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    display: flex; flex-direction: column; gap: 2px;
    position: fixed; top: 76px; left: 12px; right: 12px; z-index: 79;
    background: var(--bg-elev); border: 1px solid var(--hairline);
    border-radius: 18px; padding: 14px; box-shadow: var(--shadow-card-hover);
    max-height: calc(100vh - 96px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu .mm-label { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); padding: 8px 12px 4px; }
  .mobile-menu a { display: block; padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--fg); text-decoration: none; }
  .mobile-menu a:hover, .mobile-menu a:active { background: var(--bg-soft); }
  .mobile-menu .mm-sub { padding-left: 22px; color: var(--fg-2); font-weight: 500; }
  .mobile-menu .mm-top { font-weight: 700; }
  .mobile-menu .mm-login { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--hairline); border-radius: 0; }
  .mobile-menu .mm-cta { margin-top: 10px; justify-content: center; text-align: center; color: #fff; }
}
body.mm-lock { overflow: hidden; }
