/* ==========================================================================
   SmartShift — public landing page
   Brand refresh 2026-11-20: plum / burgundy / rose palette, electric-blue
   used only as an accent (focus rings, glow, highlight tip).
   Standalone: does not depend on the app's static/smartshift.css.
   NOTE: the app still uses the older blue tokens; the blue version of this
   file is backed up in SmartShift/Backups/.
   ========================================================================== */

:root {
  /* brand: plum scale (dark surfaces, headings) */
  --plum-950: #1e0a18;
  --plum-900: #2d1025;          /* Dark Plum */
  --plum-800: #3d1631;
  --plum-700: #52203f;
  --plum-600: #6a2c52;
  --burgundy: #641d43;          /* Deep Burgundy */

  /* brand: warm accents */
  --mauve: #b76a9d;             /* Dusty Mauve */
  --rose: #e89ac2;              /* Rose Pink */
  --blush: #f4b6d2;             /* Soft Blush Pink */

  /* brand: blue, accent only */
  --electric: #175bee;          /* Electric Blue */
  --ice: #58a8ff;               /* Neon Ice Blue */

  /* functional roles */
  --color-brand: #8e3a6e;       /* text/links on light: 7:1 on white */
  --color-brand-600: #7a2e5e;
  --color-brand-dark: var(--burgundy);
  --color-brand-soft: #fbeaf3;
  --color-brand-soft-border: #f1cfe1;
  --color-accent: var(--rose);  /* accent on dark: 8:1 on plum-900 */
  --color-focus: var(--electric);
  --color-focus-on-dark: var(--ice);

  /* neutrals (warm) */
  --color-bg: #fbf7fa;
  --color-surface: #ffffff;
  --color-surface-alt: #fdf9fc;
  --color-surface-sunken: #f6eef3;
  --color-border: #eedfe8;
  --color-border-strong: #dcc6d3;

  --color-text: #2d1025;
  --color-text-secondary: #5e4656;      /* 8.5:1 on white */
  --color-text-muted: #6e5a68;          /* 6.4:1 on white */
  --color-text-inverse: #fbeff5;
  --color-text-inverse-muted: #d4b9c9;  /* 9.7:1 on plum-900, 6.4:1 on burgundy */

  --color-success: #1c7c42;
  --color-warning: #8a5a00;

  --grad-primary: linear-gradient(135deg, var(--blush) 0%, var(--rose) 55%, #d987b8 100%);
  --grad-deep: linear-gradient(135deg, #7a2752 0%, var(--burgundy) 100%);
  --grad-highlight: linear-gradient(90deg, var(--blush) 0%, var(--rose) 45%, var(--ice) 100%);
  --grid-line: rgba(244, 182, 210, .07);
  --grad-edge: linear-gradient(135deg, rgba(244, 182, 210, .9), rgba(183, 106, 157, .35) 45%, rgba(88, 168, 255, .7));
  --grad-hairline: linear-gradient(90deg, transparent, rgba(232, 154, 194, .55) 30%, rgba(88, 168, 255, .45) 70%, transparent);
  /* very faint film grain for the dark plum surfaces (decorative) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(45, 16, 37, .08), 0 1px 2px rgba(45, 16, 37, .04);
  --shadow-lg: 0 30px 70px -24px rgba(30, 10, 24, .6), 0 8px 22px -10px rgba(30, 10, 24, .38);
  --glow-rose: 0 10px 30px -10px rgba(232, 154, 194, .55);

  --font-display: 'Figtree', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .6, .3, 1);
  --tap: 44px;                          /* minimum touch target */
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;                       /* anchors land below the sticky nav */
  scrollbar-color: var(--mauve) var(--color-surface-sunken);
}
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--color-surface-sunken); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--rose), var(--mauve)); border-radius: 999px; border: 3px solid var(--color-surface-sunken); }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--mauve), var(--burgundy)); }
body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav :focus-visible, .hero :focus-visible, .trust :focus-visible, .cta :focus-visible,
.footer :focus-visible, .demo-aside :focus-visible, .cookie-bar :focus-visible, .mobile-menu :focus-visible {
  outline-color: var(--color-focus-on-dark);
}
::selection { background: rgba(232, 154, 194, .5); color: var(--plum-900); }
.hero ::selection, .cta ::selection, .demo-aside ::selection { background: rgba(232, 154, 194, .38); color: #fff; }

h1, h2, h3, .brand { font-family: var(--font-display); }
h1, h2 { text-wrap: balance; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
  white-space: nowrap;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; }

/* primary: rose gradient with plum text (9:1), soft glow */
.btn-primary {
  background: var(--grad-primary); color: var(--plum-900);
  box-shadow: var(--glow-rose), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { filter: brightness(1.05) saturate(1.05); transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(232, 154, 194, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn:active { transform: scale(.97); }
.btn-primary:active { transform: scale(.97); filter: brightness(.97); }
/* on light surfaces the primary goes deep burgundy so it carries weight */
.demo-card .btn-primary, .demo-done .btn-primary, .legal-page .btn-primary {
  background: var(--grad-deep); color: #fff;
  box-shadow: 0 10px 26px -12px rgba(100, 29, 67, .6), inset 0 1px 0 rgba(255,255,255,.12);
}

.btn-ghost-light {
  color: var(--color-text-inverse);
  border-color: rgba(244, 182, 210, .28);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(244, 182, 210, .12); border-color: rgba(244, 182, 210, .5); }
.btn-secondary { background: var(--color-surface); color: var(--color-text-secondary); border-color: var(--color-border-strong); }
.btn-secondary:hover { background: var(--color-surface-sunken); color: var(--color-text); border-color: var(--rose); }

/* ── nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(30, 10, 24, .93);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(244, 182, 210, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--color-text-inverse);
  font-weight: 700; font-size: 18px; letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand-icon { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(232, 154, 194, .35)); }
.brand-accent { color: var(--color-accent); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a, .nav-signin {
  color: var(--color-text-inverse-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 7px 12px; border-radius: var(--radius-pill);
  transition: color .15s var(--ease), background .15s var(--ease);
  white-space: nowrap;
}
.nav-links a, .nav-signin { display: inline-flex; align-items: center; min-height: 38px; }
.nav-links a:hover, .nav-signin:hover { color: #fff; background: rgba(244, 182, 210, .08); }
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-select {
  height: 38px; padding: 0 8px; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--color-text-inverse-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(244, 182, 210, .2); border-radius: var(--radius-md);
  cursor: pointer;
}
.lang-select:hover { color: #fff; border-color: rgba(244, 182, 210, .4); }
.lang-select option { color: #111; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background:
    var(--grain),
    radial-gradient(760px 540px at 10% 4%, rgba(232, 154, 194, .22), transparent 62%),
    radial-gradient(620px 460px at 96% 96%, rgba(23, 91, 238, .20), transparent 62%),
    radial-gradient(520px 380px at 70% 30%, rgba(183, 106, 157, .16), transparent 65%),
    linear-gradient(160deg, var(--plum-950) 0%, var(--plum-900) 48%, #4a1634 100%);
  color: var(--color-text-inverse);
  padding: 92px 0 104px;
}
/* subtle grid texture, fading out toward the edges */
.hero::before { display: none; }
/* hairline glow along the bottom edge */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(232, 154, 194, .55) 30%, rgba(88, 168, 255, .55) 70%, transparent);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #f8d3e5;
  background: rgba(232, 154, 194, .12); border: 1px solid rgba(232, 154, 194, .34);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 22px;
  box-shadow: 0 0 24px -8px rgba(232, 154, 194, .5);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px); line-height: 1.04; font-weight: 800;
  letter-spacing: -.035em; color: #fff;
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--color-accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hl {
    background: var(--grad-highlight);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}
.lead { font-size: 18px; color: var(--color-text-inverse-muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.reassure { font-size: 13.5px; color: var(--color-text-inverse-muted); opacity: .9; }

/* product mock: white sheet in a glowing glass frame */
.mock {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(244, 182, 210, .28),
    0 0 0 8px rgba(255, 255, 255, .04),
    0 40px 90px -30px rgba(232, 154, 194, .38),
    var(--shadow-lg);
  overflow: hidden;
  color: var(--color-text);
  min-width: 0;
}
.mock-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--color-surface-sunken);
  border-bottom: 1px solid var(--color-border);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border-strong); display: block; }
.dots i:first-child { background: var(--rose); }
.mock-url {
  font-size: 12px; color: var(--color-text-muted);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-pill); padding: 2px 12px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-body { padding: 16px 16px 14px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.mock-head strong { font-size: 14px; }
.mock-status {
  font-size: 11.5px; font-weight: 600;
  padding: 2px 10px; border-radius: var(--radius-pill);
  background: var(--color-surface-sunken); color: var(--color-text-muted);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.mock-status.done { background: #e5f5ea; color: var(--color-success); }
.mock-grid-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.mock-grid { border-collapse: collapse; width: 100%; font-size: 10.5px; min-width: 420px; }
.mock-grid th {
  background: var(--color-surface-sunken); color: var(--color-text-secondary);
  font-weight: 700; padding: 5px 2px; text-align: center;
  border: 1px solid var(--color-border);
}
.mock-grid th.name, .mock-grid td.name { text-align: left; padding-left: 8px; white-space: nowrap; }
.mock-grid td {
  border: 1px solid var(--color-border);
  height: 24px; text-align: center; font-weight: 600;
}
.mock-grid td.name { font-weight: 600; color: var(--color-text); background: var(--color-surface-alt); }
.mock-grid td.off { color: #cdbec8; }
.mock-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 2px 12px; font-size: 11.5px; color: var(--color-text-secondary); }
.mock-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mock-legend i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.mock-replay { width: 100%; height: var(--tap); }

/* station colours (same hues as the app grid; deliberately unchanged) */
.st-p1  { background: #e0f2e8; color: #1e6b46; }
.st-p2  { background: #e1f0f4; color: #1f6e82; }
.st-tel { background: #e2eef8; color: #1f6fae; }
.st-cas { background: #eee6f8; color: #6a3f9e; }
.st-brk { background: #f7f1d4; color: #7a6300; }
.st-p1-dot  { background: #1e6b46; }
.st-p2-dot  { background: #1f6e82; }
.st-tel-dot { background: #1f6fae; }
.st-cas-dot { background: #6a3f9e; }
.st-brk-dot { background: #c9a400; }

/* ── problem strip ────────────────────────────────────────────────────── */
.problem { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 52px 0; }
.problem-lead { font-size: clamp(19px, 2.2vw, 23px); font-weight: 600; letter-spacing: -.01em; max-width: 820px; margin-bottom: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: 13px; font-weight: 600; color: var(--burgundy);
  background: var(--color-brand-soft); border: 1px solid var(--color-brand-soft-border);
  padding: 6px 14px; border-radius: var(--radius-pill);
}

/* ── sections ─────────────────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; }
/* faint dot texture on the plain light sections */
.section:not(.section-alt) {
  background:
    radial-gradient(rgba(183, 106, 157, .10) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--color-bg);
}
.section-alt {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(244, 182, 210, .18), transparent 70%),
    var(--color-surface);
}
/* gradient hairlines instead of flat borders between sections */
.section-alt::before, .section-alt::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: var(--grad-hairline);
}
.section-alt::before { top: 0; }
.section-alt::after { bottom: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-brand); margin-bottom: 10px;
}
.kicker::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--rose), var(--ice));
}
.section h2 {
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; font-weight: 800;
  letter-spacing: -.03em; color: var(--plum-900);
  max-width: 720px; margin-bottom: 16px;
}
.section-lead { font-size: 17px; color: var(--color-text-secondary); max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(253,248,251,.92));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover {
  border-color: var(--color-brand-soft-border);
  box-shadow: 0 18px 40px -20px rgba(100, 29, 67, .35), 0 0 0 4px rgba(244, 182, 210, .18);
  transform: translateY(-3px);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, var(--plum-900), var(--burgundy));
  color: var(--blush);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(244, 182, 210, .22), 0 8px 18px -8px rgba(100, 29, 67, .55);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: var(--plum-900); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--color-text-secondary); }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; counter-reset: none; }
.steps li {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-deep); color: #fff;
  font-weight: 800; font-size: 15px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 4px var(--color-brand-soft), 0 8px 18px -8px rgba(100, 29, 67, .6);
}
.steps h3 { font-size: 17px; font-weight: 700; color: var(--plum-900); margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--color-text-secondary); }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split h2 { font-size: clamp(24px, 2.8vw, 32px); }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 500; color: var(--color-text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--color-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e3a6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--color-brand-soft-border);
}

/* ── closing CTA ──────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    var(--grain),
    radial-gradient(620px 380px at 50% 0%, rgba(232, 154, 194, .26), transparent 65%),
    radial-gradient(500px 300px at 85% 100%, rgba(23, 91, 238, .18), transparent 65%),
    linear-gradient(180deg, var(--plum-900), var(--plum-950));
  color: var(--color-text-inverse);
  padding: 104px 0;
  text-align: center;
}
.cta::before { display: none; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #fff; max-width: 760px; margin-bottom: 14px; }
.cta p { font-size: 17px; color: var(--color-text-inverse-muted); margin-bottom: 30px; }

/* ── footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--plum-950); border-top: 1px solid rgba(244, 182, 210, .1); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand-footer { font-size: 16px; }
.brand-footer .brand-icon { width: 24px; height: 24px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--color-text-inverse-muted); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; min-height: var(--tap); }
.footer-links a:hover { color: #fff; }
.footer-copy { margin-left: auto; font-size: 13px; color: var(--color-text-inverse-muted); opacity: .8; }

.footer-links a[data-cookie-settings] { cursor: pointer; }

/* ── demo request page ────────────────────────────────────────────────── */
.demo-page {
  background:
    radial-gradient(720px 520px at 8% 0%, rgba(232, 154, 194, .2), transparent 60%),
    radial-gradient(520px 380px at 100% 10%, rgba(23, 91, 238, .14), transparent 60%),
    linear-gradient(180deg, var(--plum-950) 0, #4a1634 420px, var(--color-bg) 420px);
  padding: 64px 0 96px;
}
.demo-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.demo-aside {
  color: var(--color-text-inverse); position: sticky; top: 96px;
  background:
    radial-gradient(420px 300px at 0% 0%, rgba(232, 154, 194, .2), transparent 65%),
    linear-gradient(165deg, rgba(45, 16, 37, .92), rgba(61, 22, 49, .92));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 182, 210, .18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.demo-aside h1 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: #fff; margin-bottom: 16px; }
.demo-aside-lead { color: var(--color-text-inverse-muted); font-size: 17px; margin-bottom: 28px; }
.demo-next { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.demo-next li { display: flex; gap: 14px; align-items: flex-start; }
.demo-next span {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(232, 154, 194, .16); border: 1px solid rgba(232, 154, 194, .42);
  color: #f8d3e5; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.demo-next p { color: var(--color-text-inverse); font-size: 15px; padding-top: 3px; }
.demo-aside-foot { font-size: 14px; color: var(--color-text-inverse-muted); }
.demo-aside-foot a { color: #f8d3e5; }

.demo-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.demo-card fieldset { border: none; margin-bottom: 26px; }
.demo-card legend {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-brand); margin-bottom: 14px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.field label em { color: var(--color-brand); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; height: 44px; padding: 0 12px;
  font: inherit; font-size: 15px; color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-md);
  outline: none;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-brand); box-shadow: 0 0 0 3px rgba(232, 154, 194, .35); }
.field .invalid { border-color: #b3261e; box-shadow: 0 0 0 3px #fbe9e7; }
.field textarea::placeholder { color: var(--color-text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .consent, .consent { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; font-size: 14px; color: var(--color-text-secondary); margin: 4px 0 18px; cursor: pointer; }
.field .consent input, .consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--burgundy); cursor: pointer; }
.consent a { color: var(--color-brand); }
.form-error {
  font-size: 14px; color: #7a1a15; background: #fbe9e7;
  border-left: 3px solid #b3261e; border-radius: var(--radius-sm);
  padding: 10px 12px; margin-bottom: 16px;
}
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: progress; }
.form-note { font-size: 12.5px; color: var(--color-text-muted); margin-top: 10px; text-align: center; }
.demo-done { text-align: center; padding: 40px 12px; }
.done-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: #e5f5ea; color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
}
.done-icon svg { width: 28px; height: 28px; }
.demo-done h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--plum-900); margin-bottom: 10px; }
.demo-done p { color: var(--color-text-secondary); max-width: 440px; margin: 0 auto 24px; }

/* ── legal pages ──────────────────────────────────────────────────────── */
.legal-page { background: var(--color-surface); padding: 56px 0 88px; }
.legal-wrap { max-width: 780px; }
.legal-back { display: inline-block; font-size: 14px; font-weight: 600; color: var(--color-brand); text-decoration: none; margin-bottom: 20px; }
.legal-back::before { content: "← "; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; color: var(--plum-900); line-height: 1.1; margin-bottom: 8px; }
.legal-date { font-size: 14px; color: var(--color-text-muted); margin-bottom: 20px; }
.legal-draft {
  font-size: 14px; color: #6b4400; background: #fdf1dc;
  border-left: 3px solid var(--color-warning); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 32px;
}
.legal-body { color: var(--color-text-secondary); font-size: 16px; }
.legal-body h2 { font-size: 20px; font-weight: 700; color: var(--plum-900); letter-spacing: -.01em; margin: 34px 0 10px; scroll-margin-top: 84px; }
.legal-body p { margin-bottom: 12px; }
.legal-body ul { padding-left: 22px; margin-bottom: 12px; }
.legal-body li { margin-bottom: 8px; }
.legal-body strong { color: var(--color-text); }
.legal-body a { color: var(--color-brand); }

/* ── cookie notice ────────────────────────────────────────────────────── */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 980px; margin: 0 auto;
  background: rgba(30, 10, 24, .92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 182, 210, .2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-inverse);
}
.cookie-bar[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; gap: 20px; padding: 16px 20px; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.cookie-text p { font-size: 13.5px; color: var(--color-text-inverse-muted); line-height: 1.5; }
.cookie-text a { color: #f8d3e5; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn { height: var(--tap); }
.cookie-actions .btn-secondary { background: transparent; color: var(--color-text-inverse); border-color: rgba(244, 182, 210, .3); }
.cookie-actions .btn-secondary:hover { background: rgba(244, 182, 210, .1); color: #fff; }

/* ── skip link ────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: var(--plum-900);
  padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg);
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ── mobile menu (built by common.js) ─────────────────────────────────── */
.nav-toggle {
  display: none;
  width: var(--tap); height: var(--tap);
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(244, 182, 210, .22); border-radius: var(--radius-md);
  color: var(--color-text-inverse); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(244, 182, 210, .12);
  padding: 8px 16px 18px;
}
.mobile-menu.open { display: block; }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 48px;
  color: var(--color-text-inverse); text-decoration: none; font-weight: 500; font-size: 16px;
  border-bottom: 1px solid rgba(244, 182, 210, .1);
}
.mobile-menu .btn { width: 100%; height: 48px; margin-top: 14px; }

/* ── trust strip ──────────────────────────────────────────────────────── */
.trust { background: var(--plum-950); border-top: 1px solid rgba(244, 182, 210, .08); }
.trust ul {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 36px; padding: 18px 0;
}
.trust li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 500; color: var(--color-text-inverse-muted);
}
.trust svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(232, 154, 194, .45)); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { margin-top: 36px; max-width: 820px; display: grid; gap: 12px; }
.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-list details[open] { border-color: var(--color-brand-soft-border); box-shadow: 0 14px 34px -20px rgba(100, 29, 67, .38); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 22px;
  font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--plum-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e3a6e' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; border-radius: var(--radius-lg); }
.faq-list details p { padding: 0 22px 20px; color: var(--color-text-secondary); font-size: 15.5px; max-width: 720px; }

/* ── scroll reveal (only when JS is on; see the inline script in <head>) ─ */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── demo form: steps and inline errors ───────────────────────────────── */
.form-progress { display: flex; gap: 8px; margin-bottom: 26px; list-style: none; }
.form-progress li { flex: 1; }
.form-progress .bar { display: block; height: 5px; border-radius: var(--radius-pill); background: var(--color-surface-sunken); overflow: hidden; }
.form-progress .bar::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--burgundy), var(--mauve)); transition: width .3s var(--ease); }
.form-progress li.done .bar::after, .form-progress li.current .bar::after { width: 100%; }
.form-progress .lbl { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: var(--color-text-muted); }
.form-progress li.current .lbl { color: var(--color-brand); }
.form-progress li.done .lbl { color: var(--color-text-secondary); }
.step-count { font-size: 13px; font-weight: 600; color: var(--color-text-muted); margin-bottom: 4px; }
.demo-card .step-title { text-transform: none; letter-spacing: -.015em; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -.015em; color: var(--plum-900); margin-bottom: 18px; }
.form-step[hidden] { display: none; }
.field-msg { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; font-size: 13px; font-weight: 500; color: #b3261e; }
.field-msg[hidden] { display: none; }
.field-msg svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.step-actions { display: flex; gap: 12px; margin-top: 22px; }
.step-actions .btn { height: 48px; flex: 1; }
.step-actions .btn-back { flex: 0 0 auto; padding: 0 22px; }

/* ── detail pass 2026-11-21 ───────────────────────────────────────────────
   Small finishing details on top of the plum refresh. All decorative:
   motion is off under prefers-reduced-motion, extras drop in forced colors. */

/* primary button: light sweep on hover */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 50%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); pointer-events: none;
  transition: left .55s var(--ease-out);
}
.btn-primary:hover::before { left: 130%; }
.demo-card .btn-primary::before, .demo-done .btn-primary::before, .legal-page .btn-primary::before {
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .18), transparent);
}
/* arrow that nudges forward on the main calls to action (mask, so screen readers skip it) */
.hero-actions .btn-primary::after, .cta .btn-primary::after {
  content: ""; width: 16px; height: 16px; margin-left: 9px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease-out);
}
.hero-actions .btn-primary:hover::after, .cta .btn-primary:hover::after { transform: translateX(3px); }

/* hero: slowly drifting ambient glow behind the content */
.hero-inner::before {
  content: ""; position: absolute; inset: -15% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 320px at 30% 35%, rgba(232, 154, 194, .16), transparent 70%),
    radial-gradient(380px 300px at 75% 65%, rgba(88, 168, 255, .12), transparent 70%);
  animation: ss-drift 22s ease-in-out infinite alternate;
}
@keyframes ss-drift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(4%, -3%, 0); }
  100% { transform: translate3d(-3%, 4%, 0); }
}

/* hero label: frosted pill with a softly pulsing "live" dot */
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(232, 154, 194, .6), 0 0 10px rgba(232, 154, 194, .8);
  animation: ss-pulse 2.4s var(--ease-out) infinite;
}
.eyebrow { box-shadow: 0 0 24px -8px rgba(232, 154, 194, .5), inset 0 1px 0 rgba(255, 255, 255, .08); }
@keyframes ss-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 154, 194, .55), 0 0 10px rgba(232, 154, 194, .8); }
  70%  { box-shadow: 0 0 0 7px rgba(232, 154, 194, 0), 0 0 10px rgba(232, 154, 194, .8); }
  100% { box-shadow: 0 0 0 0 rgba(232, 154, 194, 0), 0 0 10px rgba(232, 154, 194, .8); }
}

/* product mock: thin gradient edge around the frame */
.mock::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad-edge); opacity: .7;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.mock-grid { font-variant-numeric: tabular-nums; }

/* cards: gradient edge fades in on hover, icon lifts */
.card { position: relative; }
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad-edge); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .25s var(--ease);
}
.card:hover::before { opacity: 1; }
.card-icon { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease); }
.card:hover .card-icon {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: inset 0 0 0 1px rgba(244, 182, 210, .3), 0 12px 24px -8px rgba(183, 106, 157, .6);
}

/* steps: gradient accent along the top edge + soft inner highlight */
.steps li { overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-sm); }
.steps li::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 2px; border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--rose), var(--mauve) 60%, var(--ice));
  opacity: .75;
}

/* FAQ: gradient edge on the open item */
.faq-list details { position: relative; }
.faq-list details[open]::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad-edge); opacity: .8;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.faq-list summary { transition: color .15s var(--ease); }
.faq-list summary:hover { color: var(--color-brand); }

/* dark surfaces: grain + glass top highlight */
.trust { background: var(--grain), var(--plum-950); }
.footer { background: var(--grain), var(--plum-950); }
.footer { border-top: 0; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad-hairline); opacity: .7; }
.cookie-bar, .demo-aside { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .07); }
.demo-card { position: relative; }
.demo-card::before {
  content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 2px; border-radius: 0 0 2px 2px;
  background: var(--grad-highlight);
}

/* nav + footer links: gradient underline grows on hover */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--rose), var(--ice));
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.brand-icon { transition: filter .25s var(--ease), transform .25s var(--ease-out); }
.brand:hover .brand-icon { filter: drop-shadow(0 0 14px rgba(232, 154, 194, .6)); transform: rotate(-6deg); }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .demo-layout { grid-template-columns: 1fr; gap: 32px; }
  .demo-aside { position: static; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; }
}
@media (max-width: 860px) {
  .nav-links, .nav-signin, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .lang-select { height: var(--tap); }
  .nav-inner { height: 64px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .section, .cta { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; margin-top: 32px; }
  .lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-copy { margin-left: 0; width: 100%; }
  .demo-page { padding: 40px 0 64px; }
  .demo-card, .demo-aside { padding: 22px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
  .cookie-inner { padding: 12px 14px; gap: 10px; }
  .cookie-text strong { font-size: 14px; }
  .cookie-text p { font-size: 12.5px; }
  /* phones: get to the form sooner; the lead already says it's free */
  .demo-next { display: none; }
  .demo-aside h1 { font-size: 28px; }
  .demo-aside-lead { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .hero-inner::before, .eyebrow::before { animation: none !important; }
  .btn-primary::before { display: none; }
  .btn:active, .btn-primary:active { transform: none; }
}

/* Windows high-contrast: drop decorative gradients so text stays visible */
@media (forced-colors: active) {
  .hero h1 .hl { background: none; color: CanvasText; }
  .btn-primary { border-color: ButtonText; }
  .btn-primary::before, .hero-inner::before, .card::before, .mock::after,
  .faq-list details[open]::before, .section-alt::before, .section-alt::after { display: none; }
  .hero-actions .btn-primary::after, .cta .btn-primary::after { background: ButtonText; }
}
