  :root {
    --acc: #19a974;
    --acc-dark: #128a5e;
    --err: #e4332a;
    --ui: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
    --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --stage-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    --card-shadow: 0 28px 64px rgba(26, 26, 22, 0.14);
  }
  html[data-accent="rot"] { --acc: #d8252c; --acc-dark: #b21f25; }
  html[data-accent="blau"] { --acc: #2f6bd8; --acc-dark: #2456b5; }

  /* ---------- section token sets ---------- */
  /* Nacht (default): dark primary sections, papier alternates */
  .sec-d { --bg: #0e0e10; --fg: #f4f4f1; --mut: #9a9aa3; --mut2: #66666e; --line: #232328; --surf: #131316; }
  .sec-l { --bg: #f4f4f1; --fg: #1a1a16; --mut: #6c6c64; --mut2: #8f8f85; --line: #d9d9d1; --surf: #ffffff; }
  /* Dossier: all-paper, ink on white */
  html[data-theme="dossier"] { --stage-shadow: 0 18px 48px rgba(26, 26, 22, 0.10); --card-shadow: 0 20px 48px rgba(26, 26, 22, 0.10); }
  html[data-theme="dossier"] .sec-d { --bg: #f6f5f0; --fg: #17170f; --mut: #67675e; --mut2: #909084; --line: #deddd2; --surf: #ffffff; }
  html[data-theme="dossier"] .sec-l { --bg: #ffffff; --fg: #17170f; --mut: #67675e; --mut2: #909084; --line: #e7e5dc; --surf: #f7f6f1; }

  .sec-d, .sec-l { background: var(--bg); color: var(--fg); }

  /* swisstopo contour field — fixed canvas above section backgrounds,
     below content (.wrap is raised to z-index 1) */
  #contourFx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
  html { scroll-behavior: smooth; background: #0e0e10; }
  html[data-theme="dossier"] { background: #f6f5f0; }

  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: var(--ui);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    padding-top: 59px; /* fixed nav height */
  }
  section[id] { scroll-margin-top: 80px; }

  .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
  .wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; position: relative; z-index: 1; }

  h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; text-wrap: pretty; }
  p { margin: 0; text-wrap: pretty; }

  /* ---------- reveal system ---------- */
  .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; }
  .rv.in { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: .12s; }
  .rv-d2 { transition-delay: .24s; }
  .rv-d3 { transition-delay: .36s; }
  @media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
  }

  /* ---------- wordmark ---------- */
  .wordmark {
    display: inline-flex; align-items: baseline;
    font-weight: 700; letter-spacing: -0.045em; line-height: 1;
    color: inherit; text-decoration: none;
  }
  .wordmark .punkt { display: inline-block; background: var(--acc); width: 0.18em; height: 0.18em; margin-left: 0.09em; }

  /* ---------- nav (sticky) ---------- */
  .nav-bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    background: var(--bg);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
  .nav .wordmark { font-size: 30px; }
  .nav-right { display: flex; align-items: center; gap: 18px; }
  .nav-langs { display: flex; gap: 2px; font-family: var(--mono); font-size: 11px; color: var(--mut2); }
  .nav-langs span { padding: 4px 6px; cursor: pointer; transition: color .3s ease-out; }
  .nav-langs span:hover { color: var(--fg); }
  .nav-langs span.on { color: var(--fg); }
  /* day / night theme toggle — single sun/moon icon, sized like the lang buttons */
  .nav-theme { background: none; border: 0; padding: 4px 5px; margin: 0; cursor: pointer; color: var(--mut2); display: inline-flex; align-items: center; transition: color .3s ease-out; }
  .nav-theme:hover { color: var(--fg); }
  .nav-theme svg { width: 15px; height: 15px; display: block; }
  .nav-theme .ic-moon { display: none; }
  html[data-theme="dossier"] .nav-theme .ic-sun { display: none; }
  html[data-theme="dossier"] .nav-theme .ic-moon { display: block; }
  .nav-cta {
    font-size: 13.5px; font-weight: 600; color: var(--fg); text-decoration: none;
    border: 1px solid var(--line); padding: 9px 16px; border-radius: 9px;
    white-space: nowrap; transition: border-color .3s ease-out;
  }
  .nav-cta:hover { border-color: var(--mut2); }
  .nav-demo {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
    color: var(--mut); text-decoration: none;
    transition: color .3s ease-out;
  }
  .nav-demo:hover { color: var(--fg); }

  /* mobile menu toggle + dropdown panel */
  .nav-toggle { display: none; width: 44px; height: 44px; flex-shrink: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; padding: 0; transition: border-color .3s ease-out; }
  .nav-toggle:hover { border-color: var(--mut2); }
  .nav-toggle .nt-bar { display: block; width: 18px; height: 1.6px; background: var(--fg); border-radius: 2px; transition: transform .26s ease, opacity .26s ease; }
  .nav-toggle[aria-expanded="true"] .nt-bar:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nt-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nt-bar:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
  .nav-bar.menu-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .mobile-menu { display: none; flex-direction: column; gap: 14px; padding-top: 4px; padding-bottom: 22px; }
  .mobile-menu .mm-langs { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mm-lang-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--mut2); }
  .mm-lang-pills { display: flex; gap: 6px; }
  .mm-lang-pills span { padding: 10px 14px; font-family: var(--mono); font-size: 12px; color: var(--mut2); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: color .2s ease, border-color .2s ease; }
  .mm-lang-pills span:hover { color: var(--fg); }
  .mm-lang-pills span.on { color: var(--fg); border-color: var(--mut2); }
  .mm-link { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--mut); text-decoration: none; padding-top: 14px; border-top: 1px solid var(--line); }
  .mm-link:hover { color: var(--fg); }
  .mm-cta { display: block; text-align: center; font-family: var(--ui); font-weight: 600; font-size: 15px; color: #0e0e10; background: var(--acc); border-radius: 9px; padding: 14px 16px; text-decoration: none; }

  /* ---------- hero ---------- */
  .hero { padding-top: 80px; padding-bottom: 92px; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
  .hero .kicker { font-family: var(--mono); font-size: 12.65px; font-weight: 600; letter-spacing: 0.24em; color: var(--acc); margin-bottom: 26px; }
  .hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.04; }
  .hero h1 .hw { display: inline-block; white-space: nowrap; }
  .hero h1 .hl { display: inline-block; transform-origin: center 70%; transition: transform .3s ease-out, color .3s ease-out; will-change: transform; }
  .hero .sub { margin-top: 22px; font-size: 17px; color: var(--mut); max-width: 50ch; }
  .hero .sub strong { color: var(--fg); font-weight: 600; }
  #capture-hero { margin-top: 16px; }
  .hero .quiet-line { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--mut2); letter-spacing: 0.06em; }

  /* ---------- ledger set piece ---------- */
  .ledger-stage {
    background: var(--surf);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 24px 20px;
    min-height: 396px;
    display: flex; flex-direction: column;
    position: relative;
    box-shadow: var(--stage-shadow);
  }
  .ledger-stage .lh {
    display: flex; justify-content: space-between;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
    color: var(--mut2);
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px; margin-bottom: 10px;
  }
  .ledger-rows-anim { flex: 1; display: flex; flex-direction: column; transition: opacity .5s ease-out; }
  .lr {
    display: grid; grid-template-columns: 1fr 92px 92px; gap: 12px;
    font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12px;
    padding: 6.5px 0;
    color: var(--mut);
    opacity: 0; transform: translateY(8px);
    transition: opacity .45s ease-out, transform .45s ease-out;
  }
  .lr.show { opacity: 1; transform: none; }
  .lr .acc { color: var(--mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lr .dr, .lr .cr { text-align: right; color: var(--fg); }
  .lr .cr:empty::after, .lr .dr:empty::after { content: "·"; color: var(--line); }
  .lr.totals {
    border-top: 1px solid var(--line);
    margin-top: 8px; padding-top: 11px;
    color: var(--mut2); font-size: 11.5px;
  }
  .lr.totals .dr, .lr.totals .cr { color: var(--fg); font-weight: 700; }
  .balance-line {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 12px; padding-top: 13px;
    border-top: 1px solid var(--line);
    font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em;
    color: var(--mut2);
    opacity: 0; transition: opacity .5s ease-out;
  }
  .balance-line.show { opacity: 1; }
  .balance-line .val { display: inline-flex; align-items: center; gap: 9px; color: var(--acc); font-weight: 700; }
  .balance-line .stamp {
    width: 10px; height: 10px; background: var(--acc); display: inline-block;
    transform: scale(0); transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1) .15s;
  }
  .balance-line.show .stamp { transform: scale(1); }

  /* ---------- pitch ---------- */
  .pitch { border-top: 1px solid var(--line); padding-top: 76px; padding-bottom: 84px; }
  .section-label { font-family: var(--mono); font-size: 12.1px; font-weight: 600; letter-spacing: 0.22em; color: var(--mut2); margin-bottom: 22px; }
  html[data-theme="nacht"] .sec-d .section-label { color: #c4c4cc; }
  .pitch p.lead {
    font-size: clamp(20px, 2.5vw, 26px);
    line-height: 1.48;
    letter-spacing: -0.012em;
    color: var(--mut);
    max-width: 62ch;
  }
  .pitch p.lead strong { color: var(--fg); font-weight: 600; }

  /* ---------- value blocks ---------- */
  .values { border-top: 1px solid var(--line); padding-top: 76px; padding-bottom: 84px; }
  .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .value-item { border-top: 2px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; position: relative; }
  .value-item::before {
    content: ""; position: absolute; top: -2px; left: 0;
    width: 100%; height: 2px; background: var(--fg);
    transform: scaleX(var(--vfill, 1)); transform-origin: left center;
  }
  .value-item h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; }
  .value-item p { font-size: 14.5px; color: var(--mut); line-height: 1.6; }

  /* pictograms — square-grid style */
  .picto { width: 44px; height: 44px; }
  @media (prefers-reduced-motion: no-preference) {
    .picto-local .p-dot { animation: pulseDot 5s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
    @keyframes pulseDot { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.72); } }
    .picto-qr rect.q { animation: qrBlink 6s ease-in-out infinite; }
    .picto-qr rect.q:nth-child(odd) { animation-delay: 3s; }
    @keyframes qrBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
    .picto-flow .f-sq { animation: flowAcross 4.5s ease-in-out infinite; }
    .picto-flow .f-sq.f2 { animation-delay: 1.5s; }
    .picto-flow .f-sq.f3 { animation-delay: 3s; }
    @keyframes flowAcross {
      0% { transform: translateX(0); opacity: 0; }
      18% { opacity: 1; }
      82% { opacity: 1; }
      100% { transform: translateX(26px); opacity: 0; }
    }
  }

  /* ---------- swiss soil band ---------- */
  .soil { border-top: 1px solid var(--line); padding-top: 64px; padding-bottom: 72px; }
  .soil-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
  /* app-icon mark — night tile, green plus inside (PLUS AUF NACHT) */
  .soil-mark { width: 56px; height: 56px; background: #0e0e10; border: 1px solid var(--line); border-radius: 13px; position: relative; flex-shrink: 0; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
  .soil-mark::before, .soil-mark::after { content: ""; position: absolute; background: var(--acc); border-radius: 2px; }
  .soil-mark::before { left: 43%; top: 27%; width: 14%; height: 46%; }
  .soil-mark::after { left: 27%; top: 43%; width: 46%; height: 14%; }
  .soil h2 { font-size: clamp(22px, 2.8vw, 28px); max-width: 30ch; }
  .soil .soil-body { margin-top: 12px; font-size: 15px; color: var(--mut); line-height: 1.65; max-width: 64ch; }
  .soil .soil-body strong { color: var(--fg); font-weight: 600; }
  .soil-facts { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
  .soil-fact { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mut); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; }
  .soil-fact em { font-style: normal; color: var(--acc); }
  @media (max-width: 760px) {
    .soil-inner { grid-template-columns: 1fr; gap: 20px; }
    .values-grid { grid-template-columns: 1fr; gap: 28px; }
  }

  /* ---------- pillars ---------- */
  .pillars { padding-top: 80px; padding-bottom: 72px; }
  .pillars h2 { font-size: clamp(26px, 3.4vw, 34px); max-width: 28ch; }
  .pillar-list { margin-top: 44px; border-top: 1px solid var(--line); perspective: 1100px; }
  .pillars h2, .pillar, .pillar-foot { will-change: opacity, transform; }
  .pillar {
    display: grid; grid-template-columns: 88px 1fr; gap: 28px;
    padding: 34px 0 36px;
    border-bottom: 1px solid var(--line);
  }
  .pillar .pn {
    font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
    color: var(--mut2); padding-top: 6px;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  }
  .pillar .pn .tick { width: 22px; height: 3px; background: var(--acc); }
  .pillar h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
  .pillar .pb { margin-top: 12px; font-size: 15px; color: var(--mut); line-height: 1.68; max-width: 74ch; }
  .ref {
    font-family: var(--mono); font-variant-numeric: tabular-nums;
    font-size: 0.88em; color: var(--fg);
    border-bottom: 1px solid var(--line);
    padding-bottom: 1px;
    white-space: nowrap;
  }
  .pillar .pb .fig { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 0.88em; color: var(--fg); }
  .pillar-foot {
    margin-top: 30px;
    font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em;
    color: var(--mut2); line-height: 1.8;
  }
  @media (max-width: 760px) {
    .pillar { grid-template-columns: 1fr; gap: 12px; padding: 28px 0 30px; }
    .pillar .pn { flex-direction: row; align-items: center; padding-top: 0; }
  }

  /* ---------- who ---------- */
  .who { padding-top: 84px; padding-bottom: 88px; }
  .who h2 { font-size: clamp(26px, 3.4vw, 34px); max-width: 30ch; }
  .who .who-body { margin-top: 18px; font-size: 15.5px; color: var(--mut); line-height: 1.68; max-width: 68ch; }
  .who .who-body strong { color: var(--fg); font-weight: 600; }
  .who .epigraph { margin-top: 44px; border-left: 2px solid var(--acc); padding-left: 20px; font-size: 17.5px; max-width: 44ch; }
  .who .epigraph .ep-punkt { display: inline-block; width: 8px; height: 8px; background: var(--acc); margin-left: 9px; }

  /* ---------- QR showcase ---------- */
  .qrshow { padding-top: 80px; padding-bottom: 96px; }
  .qr-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  .qrshow h2 { font-size: clamp(26px, 3.4vw, 34px); }
  .qrshow .sub { margin-top: 14px; font-size: 15px; color: var(--mut); max-width: 44ch; line-height: 1.65; }
  .qr-points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
  .qr-point { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: var(--mut); }
  .qr-point .sq { width: 8px; height: 8px; background: var(--acc); flex-shrink: 0; align-self: center; }
  .qr-point strong { color: var(--fg); font-weight: 600; }
  .demo-btn {
    display: inline-block; margin-top: 30px;
    font-size: 14px; font-weight: 600; color: #ffffff;
    background: var(--acc); text-decoration: none;
    padding: 13px 24px;
    transition: background .3s ease-out;
  }
  .demo-btn:hover { background: var(--acc-dark); }
  .demo-btn .arr { font-family: var(--mono); margin-left: 8px; }

  .qr-tilt { perspective: 1200px; }
  .qr-slip {
    background: #ffffff;
    border: 1px solid #d9d9d1;
    box-shadow: var(--card-shadow);
    display: grid; grid-template-columns: 0.62fr 1.38fr;
    font-family: var(--mono); font-variant-numeric: tabular-nums;
    color: #1a1a16;
    will-change: transform;
  }
  .qr-receipt { border-right: 1px dashed #b9b9af; padding: 18px; display: flex; flex-direction: column; gap: 12px; position: relative; }
  .qr-receipt::after {
    content: "✂"; position: absolute; right: -9px; top: 8px;
    font-size: 12px; color: #b9b9af; background: transparent; transform: rotate(90deg);
  }
  .qr-pay { padding: 18px 22px; display: grid; grid-template-columns: auto 1fr; gap: 18px; }
  .qr-h { font-family: var(--ui); font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }
  .qr-f { display: flex; flex-direction: column; gap: 2px; }
  .qr-f .fl { font-size: 8px; letter-spacing: 0.1em; color: #8f8f85; font-weight: 700; }
  .qr-f .fv { font-size: 10.5px; line-height: 1.45; }
  .qr-amount-row { display: flex; gap: 22px; margin-top: auto; }
  .qr-code-cell { display: flex; flex-direction: column; gap: 14px; }
  .qr-code { width: 158px; height: 158px; display: block; }
  .qr-fields { display: flex; flex-direction: column; gap: 11px; min-width: 0; }

  /* ---------- roadmap ---------- */
  .roadmap { border-top: 1px solid var(--line); padding-top: 80px; padding-bottom: 88px; }
  .roadmap h2 { font-size: clamp(24px, 3vw, 30px); }
  .roadmap .sub { margin-top: 10px; font-size: 14.5px; color: var(--mut); max-width: 56ch; }
  .timeline { margin-top: 44px; position: relative; padding-left: 26px; }
  .timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
  .tl-item { position: relative; padding-bottom: 30px; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item .tsq { position: absolute; left: -26px; top: 5px; width: 11px; height: 11px; background: var(--bg); border: 1.5px solid var(--mut2); }
  .tl-item .t-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; color: var(--mut2); }
  .tl-item .t-what { margin-top: 4px; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; max-width: 64ch; }
  .tl-item .t-what span { font-weight: 400; color: var(--mut); }
  .tl-progress { position: absolute; left: 5px; top: 6px; width: 1px; height: 0; background: var(--acc); }
  .tl-marker { position: absolute; left: 1px; top: 1.5px; width: 9px; height: 9px; background: var(--acc); }
  .tl-item .tsq, .tl-item .t-tag { transition: background .35s ease-out, border-color .35s ease-out, color .35s ease-out; }
  .tl-item.on .tsq { background: var(--acc); border-color: var(--acc); }
  .tl-item.on .t-tag { color: var(--acc); }

  /* ---------- email capture ---------- */
  .capture { margin-top: 36px; width: 100%; max-width: 460px; }
  .capture form { display: flex; flex-direction: column; gap: 10px; }
  .capture input[type="text"], .capture input[type="email"], .capture input[type="tel"] {
    flex: 1; min-width: 0; width: 100%;
    font-family: var(--mono); font-size: 14px;
    color: var(--fg); background: var(--surf);
    border: 1px solid var(--line); border-radius: 0;
    padding: 14px 16px; outline: none;
    transition: border-color .3s ease-out;
  }
  .capture input::placeholder { color: var(--mut2); }
  .capture input[type="text"]:focus, .capture input[type="email"]:focus, .capture input[type="tel"]:focus { border-color: var(--acc); }
  .capture input.error { border-color: var(--err); }
  .consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-family: var(--mono); font-size: 11px; line-height: 1.5;
    color: var(--mut2); cursor: pointer; text-align: left;
    padding: 2px 0;
  }
  .consent input {
    appearance: none; -webkit-appearance: none;
    width: 14px; height: 14px; flex-shrink: 0; margin: 1px 0 0;
    border: 1px solid var(--mut2); border-radius: 0;
    background: transparent; cursor: pointer;
    display: inline-block; position: relative;
  }
  .consent input:checked { background: var(--acc); border-color: var(--acc); }
  .consent.error-row { color: var(--err); }
  .consent.error-row input { border-color: var(--err); }
  .capture button {
    font-family: var(--ui); font-size: 14.5px; font-weight: 600;
    color: #fff; background: var(--acc);
    border: none; border-radius: 0; padding: 14px 22px;
    cursor: pointer; white-space: nowrap;
    transition: background .3s ease-out;
  }
  .capture button:hover { background: var(--acc-dark); }
  .capture .note { margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--mut2); }
  .capture .field-error { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: var(--err); display: none; }
  .capture.show-error .field-error { display: block; }
  .capture .success { display: none; border: 1px solid var(--acc); border-radius: 0; padding: 16px 20px; }
  .capture .success .mono-line { font-family: var(--mono); font-size: 12px; color: var(--acc); letter-spacing: 0.06em; }
  .capture .success .sub-line { margin-top: 6px; font-size: 13.5px; color: var(--mut); }
  .capture.done form, .capture.done .note, .capture.done .field-error { display: none; }
  .capture.done .success { display: block; }

  /* ---------- final ---------- */
  .final { border-top: 1px solid var(--line); padding-top: 96px; padding-bottom: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .final h2 { font-size: clamp(28px, 4vw, 40px); max-width: 22ch; }
  .final .sub { margin-top: 16px; font-size: 16px; color: var(--mut); max-width: 46ch; }
  .final .capture { display: flex; flex-direction: column; align-items: center; }
  .final .capture form { width: 100%; }
  .final .consent { justify-content: center; }

  /* ---------- footer ---------- */
  .footer { border-top: 1px solid var(--line); padding-top: 44px; padding-bottom: 40px; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; align-items: start; }
  .footer .wordmark { font-size: 20px; }
  .footer-brand { display: flex; flex-direction: column; gap: 12px; }
  .footer-brand .made { font-family: var(--mono); font-size: 11px; color: var(--mut2); line-height: 1.7; }
  .footer-brand .ig { display: inline-flex; align-items: center; color: var(--mut); text-decoration: none; transition: color .3s ease-out; width: fit-content; margin-top: 2px; }
  .footer-brand .ig:hover { color: var(--fg); }
  .footer-brand .ig svg { width: 19px; height: 19px; display: block; }
  .f-col { display: flex; flex-direction: column; gap: 9px; }
  .f-col .fc-h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--mut2); margin-bottom: 4px; }
  .f-col a { font-family: var(--mono); font-size: 12px; color: var(--mut); text-decoration: none; transition: color .3s ease-out; }
  .f-col a:hover { color: var(--fg); }
  .footer-langs { display: flex; gap: 6px; flex-wrap: wrap; }
  .footer-langs span { font-family: var(--mono); font-size: 11px; color: var(--mut2); border: 1px solid var(--line); border-radius: 99px; padding: 4px 11px; cursor: pointer; transition: color .3s ease-out, border-color .3s ease-out; }
  .footer-langs span:hover { color: var(--fg); }
  .footer-langs span.on { color: var(--fg); border-color: var(--mut2); }
  @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

  /* ---------- infomaniak newsletter webform (hero) ---------- */
  .inf-form{--f-text:#f4f4f1;--f-border:#5c5c63;--f-bg:transparent;--f-place:#6c6c72;}
  html[data-theme="dossier"] .inf-form{--f-text:#17170f;--f-border:#909084;--f-place:#8f8f85;}
  .inf-form .inf-main_91d34433e0793908f20c5e6fdbcba61c{background:transparent;padding:0;margin:0}
  .inf-form h4,.inf-form .inf-content > span,.inf-form .inf-main_91d34433e0793908f20c5e6fdbcba61c > span{display:none}
  .inf-form .inf-content{margin-top:0;display:flex;flex-direction:column;gap:12px}
  .inf-form .inf-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  @media(max-width:480px){.inf-form .inf-row{grid-template-columns:1fr}}
  .inf-form .inf-input{margin:0}
  .inf-form .inf-input label{display:none}
  .inf-form .inf-input input{width:100%;height:auto;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;padding:14px;color:var(--f-text);background:var(--f-bg);border:1px solid var(--f-border);border-radius:0;line-height:1.2}
  .inf-form .inf-input input::placeholder{color:var(--f-place)}
  .inf-form .inf-input input:focus{outline:none;border-color:#19a974}
  .inf-form .inf-input.inf-error input{border-color:#e4332a}
  .inf-form .inf-input.inf-error label,.inf-form .inf-input.inf-error span.inf-message{color:#e4332a;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;display:block;margin-top:4px}
  .inf-form .inf-rgpd{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:11px;line-height:1.5;color:#9a9aa3;margin:6px 0 0;max-width:60ch}
  .inf-form .inf-rgpd a{color:#19a974;text-decoration:none;border-bottom:1px solid #26262a}
  .inf-form .hf-consent{display:flex;gap:10px;align-items:flex-start;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;color:#9a9aa3;cursor:pointer;margin-top:4px}
  .inf-form .hf-consent input{width:15px;height:15px;accent-color:#19a974;flex:none;margin-top:1px}
  .inf-form .inf-submit{text-align:left;margin-top:6px}
  .inf-form .inf-submit input{font-family:"Helvetica Neue",Arial,sans-serif;font-weight:700;letter-spacing:-.01em;font-size:15px;background:#19a974;color:#0e0e10;border:1px solid #19a974;border-radius:0;padding:15px 28px;height:auto;cursor:pointer;width:auto}
  .inf-form .inf-submit input:hover{background:#15936a;border-color:#15936a}
  .inf-form .inf-success{border:1px solid #19a974;padding:24px;display:none}
  .inf-form .inf-success h4{display:block;font-family:"Helvetica Neue",Arial,sans-serif;font-weight:700;letter-spacing:-.02em;font-size:18px;color:#f4f4f1;margin:0 0 8px}
  html[data-theme="dossier"] .inf-form .inf-success h4{color:#17170f}
  .inf-form .inf-success p{margin:0}
  .inf-form .inf-success .inf-btn{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;color:#9a9aa3;background:none;box-shadow:none;border:none;border-bottom:1px solid #26262a;padding:0 0 2px;border-radius:0}
  .inf-final{margin-top:36px;width:100%;max-width:520px;text-align:left}

  /* ---------- responsive ---------- */
  @media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .qr-grid { grid-template-columns: 1fr; gap: 40px; }
  }
  /* ====================================================================
     LAUNCH WELCOME — first-load splash that dissolves into the site.
     Reuses the live #contourFx field (mouse-reactive), so the intro
     moves with the cursor exactly like the page beneath it.
  ==================================================================== */
  .iv-scrim, .iv-stage, .iv-skip { display: none; }
  html.intro { overflow: hidden; }
  html.intro body { overflow: hidden; }
  html.intro .iv-scrim { display: block; }
  html.intro .iv-stage { display: flex; }
  html.intro .iv-skip { display: block; }
  html.intro #contourFx { z-index: 95; } /* lift contour above the scrim during the intro */

  .iv-scrim { position: fixed; inset: 0; z-index: 90; background: #0e0e10; transition: opacity .8s ease; }
  html[data-theme="dossier"] .iv-scrim { background: #f6f5f0; }

  .iv-stage {
    position: fixed; inset: 0; z-index: 100;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 26px; padding: 0 24px; pointer-events: none; transition: opacity .8s ease;
  }
  .iv-kicker { font-family: var(--mono); font-size: clamp(10px,1.1vw,12.5px); letter-spacing: .34em; text-transform: uppercase; color: #9a9aa3; opacity: 0; transform: translateY(6px); margin: 0; text-align: center; }
  .iv-kicker .k { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(8px); }
  .iv-word { display: flex; align-items: baseline; font-weight: 700; letter-spacing: -.05em; font-size: clamp(76px,16vw,184px); line-height: .9; color: #f4f4f1; }
  html[data-theme="dossier"] .iv-word { color: #17170f; }
  html[data-theme="dossier"] .iv-kicker { color: #67675e; }
  .iv-word .ltr { display: inline-block; opacity: 0; transform: translateY(.42em); filter: blur(14px); will-change: transform, opacity, filter; }
  .iv-word .punkt { display: inline-block; width: .155em; height: .155em; background: var(--acc); margin-left: .1em; transform: scale(0); opacity: 0; }
  .iv-rule { height: 1px; width: min(420px,72vw); background: #232328; position: relative; overflow: hidden; }
  html[data-theme="dossier"] .iv-rule { background: #deddd2; }
  .iv-rule::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent,var(--acc),transparent); transform: scaleX(0); transform-origin: left; }
  .iv-tag { font-family: var(--mono); font-size: clamp(11px,1.2vw,13px); letter-spacing: .18em; text-transform: uppercase; color: #9a9aa3; display: flex; gap: .85em; align-items: center; flex-wrap: wrap; justify-content: center; opacity: 0; transform: translateY(8px); margin: 0; }
  html[data-theme="dossier"] .iv-tag { color: #67675e; }
  .iv-tag b { color: #f4f4f1; font-weight: 400; }
  html[data-theme="dossier"] .iv-tag b { color: #17170f; }
  .iv-tag .dot { width: 4px; height: 4px; background: var(--acc); display: inline-block; }

  .iv-stage.play .iv-kicker { animation: ivFadeUp .6s ease .15s forwards; }
  .iv-stage.play .iv-kicker .k { animation: ivKIn .5s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.2s + var(--i)*.045s); }
  .iv-stage.play .iv-word .ltr { animation: ivLtrIn .8s cubic-bezier(.16,.84,.26,1) forwards; animation-delay: calc(.55s + var(--i)*.085s); }
  .iv-stage.play .iv-word .punkt { animation: ivPunktIn .7s cubic-bezier(.34,1.56,.4,1) 1.18s forwards; }
  .iv-stage.play .iv-rule::after { animation: ivRule 1s cubic-bezier(.5,0,.2,1) 1.35s forwards; }
  .iv-stage.play .iv-tag { animation: ivFadeUp .8s ease 1.55s forwards; }
  @keyframes ivFadeUp { to { opacity: 1; transform: translateY(0); } }
  @keyframes ivFadeIn { to { opacity: 1; } }
  @keyframes ivKIn { to { opacity: 1; filter: blur(0); transform: translateY(0); } }
  @keyframes ivLtrIn { to { opacity: 1; filter: blur(0); transform: translateY(0); } }
  @keyframes ivPunktIn { 0% { transform: scale(0); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
  @keyframes ivRule { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.01% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

  .iv-fade { opacity: 0 !important; }

  .iv-skip { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 101; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #66666e; cursor: pointer; user-select: none; background: none; border: 0; padding: 8px 12px; opacity: 0; animation: ivFadeIn .6s ease 2.2s forwards; transition: opacity .8s ease, color .3s ease; }
  .iv-skip:hover { color: #f4f4f1; }
  html[data-theme="dossier"] .iv-skip:hover { color: #17170f; }

  @media (max-width: 760px) {
    .nav { padding-top: 13px; padding-bottom: 13px; }
    .nav .wordmark { font-size: 25px; }
    .nav-right { gap: 8px; }
    .nav-langs, .nav-demo, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .mobile-menu.open { display: flex; }
    .hero { padding-top: 56px; padding-bottom: 64px; }
    .qr-slip { grid-template-columns: 1fr; }
    .qr-receipt { border-right: none; border-bottom: 1px dashed #b9b9af; }
    .qr-receipt::after { right: 8px; top: auto; bottom: -9px; transform: none; }
    .qr-pay { grid-template-columns: 1fr; }
    .lr { grid-template-columns: 1fr 76px 76px; font-size: 11px; }
  }

  /* ── content-page hamburger nav (all viewports) — the signature site menu ── */
  .nav-toggle { display: inline-flex; }
  .site-menu {
    position: absolute; top: calc(100% + 8px); right: 24px; min-width: 250px;
    background: var(--surf); border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--card-shadow); padding: 8px; display: none; flex-direction: column; z-index: 60;
  }
  .site-menu.open { display: flex; animation: smIn .18s ease-out; }
  @keyframes smIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .site-menu a { font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--fg); text-decoration: none; padding: 11px 14px; border-radius: 9px; transition: background .18s ease, color .18s ease; }
  .site-menu a:hover { background: var(--bg); }
  .site-menu a.on { color: var(--acc); }
  .site-menu .sm-div { height: 1px; background: var(--line); margin: 7px 8px; }
  .site-menu .sm-cta { margin-top: 2px; text-align: center; background: var(--acc); color: #fff; font-weight: 600; border-radius: 9px; padding: 12px; }
  .site-menu .sm-cta:hover { background: var(--acc-dark); color: #fff; }
  @media (max-width: 560px) { .site-menu { position: fixed; left: 12px; right: 12px; top: 54px; min-width: 0; } }
