/* The /survey/ landing page design (chosen by Juni 2026-10-28 as the "mix" preview), loaded after styles.css by
   public/survey/index.html only. Layout: headline and sign-up on the left; on the right the question sheet with the
   report inside it, the price promise overlapping its lower right corner. Type: Archivo (600, 700) for headlines and the
   sheet, Plus Jakarta Sans for body. Colour: neutral off-white and black with one warm amber for data, the answer circle
   and the logo. Fonts: SIL OFL 1.1, self-hosted (licences in assets/fonts/), all three preloaded: Archivo 600 sets the answer options,
   and a late swap from the wider fallback rewraps them (layout shift). */
@font-face { font-family: "Archivo"; font-weight: 600; src: url("/assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo"; font-weight: 700; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 100%; ascent-override: 90%; descent-override: 22%; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 98%; descent-override: 22%; }

:root, :root:not([data-theme="light"]) {
  --bg: #f2f2ef; --surface: #ffffff; --surface-2: #e8e8e4; --ink: #161616; --ink-2: #3d3d3a; --ink-3: #6b6b67; --line: #d6d6d1;
  --brand: #161616; --brand-ink: #ffffff; --brand-soft: #e8e8e4; --accent: #e59a2f; --accent-soft: #fbecd6; --focus: #c26f00;
  --amber: #e59a2f; --radius: 10px; --shadow: 0 1px 2px rgba(22, 22, 22, .05), 0 18px 40px -24px rgba(22, 22, 22, .25); color-scheme: light;
  --head: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
}
body { font-family: "Plus Jakarta Sans", "Jakarta Fallback", system-ui, sans-serif; }
a:hover { color: var(--focus); }
h1, h2, .pairs h3, .steps h3, .logo { font-family: var(--head); font-weight: 700; }
h1 { font-size: clamp(40px, 6.6vw, 86px); line-height: .94; letter-spacing: -.045em; margin-bottom: 22px; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -.035em; }
.pairs h3, .steps h3 { letter-spacing: -.03em; }
.pairs h3 { font-size: 26px; line-height: 1.05; }
.logo { letter-spacing: -.03em; }
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.btn { border-radius: 8px; background: var(--ink); color: #fff; font-weight: 650; }
.btn:hover { color: #fff; filter: none; background: #000; }
.lead { color: var(--ink-2); }
.facts li::before { width: 7px; height: 7px; background: var(--amber); }

/* The sheet: same position and contents as the riso preview, as a plain white panel. */
.print { position: relative; padding: 8px 0 34px; }
.sheet { position: relative; padding: 26px 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.sheet p { margin: 0; }
.rz-q { font: 700 28px/1.02 var(--head); letter-spacing: -.035em; margin-bottom: 14px !important; }
.sheet .opt { position: relative; display: inline-block; border: 0; border-radius: 0; padding: 3px 0; margin-right: 22px; font: 600 19px/1.4 var(--head); letter-spacing: -.02em; background: none; color: var(--ink-3); }
.sheet .opt::before { display: none; }
.sheet .opt.on { background: none; color: var(--ink); }
.sheet .opt.pick svg { position: absolute; left: -16px; top: -10px; width: calc(100% + 34px); height: calc(100% + 20px); overflow: visible; fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; }
.sheet .opt.pick path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s cubic-bezier(.5, 0, .3, 1); }
.sheet .opt.pick.on path { stroke-dashoffset: 0; }
.sheet .followup { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.sheet .followup span { display: inline; margin: 0 0 0 6px; border: 0; padding: 0; background: none; color: var(--ink); font: 600 16px/1.4 var(--head); letter-spacing: -.01em; }
.rz-report { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.rz-report h3 { margin: 0 0 10px; font: 700 18px/1.2 var(--head); letter-spacing: -.02em; }
.sheet .bar { grid-template-columns: 104px 1fr 64px; font-size: 14px; }
.sheet .bar i { height: 12px; border-radius: 3px; background: var(--amber); }
.sheet .bar.muted i { background: repeating-linear-gradient(-45deg, var(--ink-3) 0 1.5px, transparent 1.5px 5px); opacity: .7; }
.sheet .bar b { font-family: var(--head); font-weight: 700; }
/* The price promise, overlapping the sheet's lower right corner. */
.print .price-pill { position: absolute; right: -6px; bottom: 0; margin: 0; padding: 12px 16px; max-width: 13em; border-radius: 10px; background: var(--ink); color: #fff;
  font: 700 17px/1.1 var(--head); letter-spacing: -.02em; text-align: center; box-shadow: 0 12px 24px -12px rgba(22, 22, 22, .5);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, 1.3, .4, 1); }
.mock.nopill .price-pill { transform: translateY(10px); }
@media (max-width: 899px) { .print .price-pill { right: 8px; bottom: -4px; } }

/* Below the hero: plain panels, no entrance animations. */
.js .reveal { opacity: 1; transform: none; transition: none; }
.section-alt { background: var(--surface-2); border-color: var(--line); }
.steps li::before { background: var(--accent-soft); color: var(--ink); font-family: var(--head); }
.chart .flat { stroke: var(--amber); }
.chart .lb { fill: #a8620a; }
.price-list li::before { color: var(--amber); }
.choice:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.choice input, .consent input { accent-color: var(--ink); }

/* One sign-up button at a time: the header's button waits until the hero's has scrolled out of view (landing.js sets
   .hero-cta on <html>). visibility, not display, so the header doesn't reflow when it appears. */
.site-header .btn { transition: opacity .25s ease, visibility .25s; }
.hero-cta .site-header .btn { opacity: 0; visibility: hidden; }

/* The animation control as a quiet icon (landing.js sets data-s to pause, play or replay; the text stays for the
   accessible name). Beside the main button on phones; on desktop in the question sheet's top right corner, next to the
   movement it controls. */
.hero-grid { position: relative; }
.hero-ctl { width: 34px; height: 34px; padding: 0; margin-left: 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  font-size: 0; color: var(--ink-3); display: inline-grid; place-items: center; text-decoration: none; transition: color .2s, border-color .2s; }
.hero-ctl:hover { color: var(--ink); border-color: var(--ink-3); }
/* display above would override the hidden attribute: landing.js only unhides the control when the animation runs. */
.hero-ctl[hidden] { display: none; }
.hero-ctl::before { content: ""; width: 14px; height: 14px; background: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='2' width='3.5' height='12' rx='1'/%3E%3Crect x='9.5' y='2' width='3.5' height='12' rx='1'/%3E%3C/svg%3E"); }
.hero-ctl[data-s="play"]::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E"); }
.hero-ctl[data-s="replay"]::before { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8a5.5 5.5 0 1 0 1.7-4'/%3E%3Cpath d='M2.5 2v3.5H6'/%3E%3C/svg%3E"); }
@media (min-width: 900px) {
  .print { align-self: start; margin-top: 40px; }
  .hero-ctl { position: absolute; z-index: 2; top: calc(40px + 8px + 14px); right: calc(28px + 14px); margin: 0; } /* 28px: the .wrap gutter */
}

/* The logo's heart beats once (a soft double beat, like a pulse) when the buyer's answer is circled in the hero, and
   again on hover or keyboard focus. CSS only: :has() restarts it each time the answer is picked (Replay included).
   Never loops; off under reduced motion. */
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } 70% { transform: scale(1); } }
.logo svg path { transform-box: fill-box; transform-origin: center; }
html:has(.mock .opt.pick.on) .logo svg path { animation: heartbeat .9s ease-in-out .25s; }
/* Hover and focus use a second, identical keyframes name: reusing the first would not restart an animation that has
   already run. Same specificity as the rule above, and later, so it wins. */
@keyframes heartbeat-again { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } 70% { transform: scale(1); } }
html:has(.mock .opt.pick) .logo:is(:hover, :focus-visible) svg path { animation: heartbeat-again .9s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .logo svg path { animation: none !important; } }

/* Logo colour, option C (Juni, 2026-10-28): a pale amber square with a deep amber heart, the warmest of the options and
   still in the page's one accent. CSS fill overrides the SVG's fill attributes. */
.logo svg rect { fill: #f6e3c4; }
.logo svg path { fill: #c26f00; }
