/* 12lap landing page (ADR-0014). Colours and type as the app (ADR-0009, ui/src/tokens.css); layout after the concept
   boards "Landingpage-*" (03_Design/concepts). Motion: fade and a short vertical rise when a part scrolls into view,
   then a light vertical parallax of the highlights; nothing changes size, nothing moves sideways. */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Barlow-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Barlow-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Barlow-600-normal.woff2') format('woff2'); }
@font-face {
  font-family: 'Saira'; font-style: normal; font-weight: 100 900; font-stretch: 50% 125%; font-display: swap;
  src: url('fonts/Saira-latin-wght-wdth.woff2') format('woff2-variations'), url('fonts/Saira-latin-wght-wdth.woff2') format('woff2');
}

:root {
  --bg: #060607;
  --brand: #4cc3f2;
  --on-brand: #00161f;
  --orange: #ff6a2a;
  --text: #fff;
  --text-2: #d5dbdf;
  --muted: #9aa5ad;
  --dim: #7d8890;
  --tile: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .08);
  --wrap: 1136px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --sans: Barlow, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --voice: Saira, Barlow, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 400 16px/1.5 var(--sans); font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* ---- type */
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.voice { font-family: var(--voice); font-style: italic; font-weight: 300; line-height: 1.22; letter-spacing: .005em; font-size: clamp(28px, 3.6vw, 38px); }
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); }
.note { font-size: 13px; color: var(--dim); }
.note--center { text-align: center; margin-top: 18px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 10px; background: rgba(255, 106, 42, .14); color: var(--orange); font: 600 12px/1.5 var(--sans); letter-spacing: .04em; white-space: nowrap; font-style: normal; vertical-align: 1px; }

/* ---- logo: 03_Design/concepts/12_lap_logo.svg, inline in every page */
.logo { display: block; width: 150px; color: #fff; text-decoration: none; }
.logo svg { display: block; width: 100%; height: auto; }
.logo--small { width: 112px; }

/* ---- buttons and fields */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 0; border-radius: 26px;
  font: 600 17px var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn--fill { background: var(--brand); color: var(--on-brand); }
.btn--fill:hover { background: #7bd5f6; }
.btn--tint { background: rgba(76, 195, 242, .12); color: var(--brand); }
.btn--tint:hover { background: rgba(76, 195, 242, .2); }
.btn--small { height: 42px; padding: 0 18px; font-size: 15px; }
/* the way into the web app, next to the waitlist: quieter than it */
.btn--line { background: transparent; color: var(--text-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn--line:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); }
.btn--wide { width: 100%; height: 54px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.field { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 26px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: box-shadow .2s; }
.field:focus-within { box-shadow: inset 0 0 0 1.5px var(--brand); }
.field.is-wrong { box-shadow: inset 0 0 0 1.5px var(--orange); }
.field svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: 400 16px var(--sans); outline: none; }
.field input::placeholder { color: var(--dim); }

.play { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 12px rgba(76, 195, 242, .18); }
.play::after { content: ''; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent var(--on-brand); }
.play--small { width: 44px; height: 44px; box-shadow: 0 0 0 5px rgba(76, 195, 242, .18); }
.play--small::after { margin-left: 3px; border-width: 8px 0 8px 13px; }

/* ---- background light */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.glow--orange { background: radial-gradient(closest-side, rgba(255, 106, 42, .12), rgba(255, 106, 42, 0)); }
.glow--cyan { background: radial-gradient(closest-side, rgba(76, 195, 242, .08), rgba(76, 195, 242, 0)); }

/* ---- bar */
.bar { position: relative; z-index: 2; }
.bar__in { display: flex; align-items: center; gap: 30px; padding-top: 30px; padding-bottom: 10px; }
.bar__nav { display: flex; gap: 30px; margin-left: auto; }
.bar__nav a { font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none; }
.bar__nav a:hover { color: #fff; }
.bar__go { display: flex; gap: 10px; }

/* ---- hero */
.hero { position: relative; isolation: isolate; }
.hero__glow { width: 1040px; height: 1040px; right: -320px; top: 0; }
.hero__in { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); align-items: center; min-height: 680px; padding-top: 40px; padding-bottom: 60px; }
.hero__title { margin-top: 18px; font-size: clamp(30px, 3.4vw, 45px); }
.hero .lead { max-width: 520px; margin-top: 26px; }
.quick { display: flex; gap: 10px; margin-top: 32px; max-width: 560px; }
.quick .field { flex: 1; }
.hero .note { margin: 10px 0 0 18px; }
.play-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-weight: 600; text-decoration: none; }
.hero__media { position: relative; align-self: stretch; margin-right: calc(-1 * var(--pad)); }
.hero__text { position: relative; z-index: 1; }
.hero__media .depth { position: absolute; right: -24px; top: 50%; width: min(720px, 52vw); transform: translate3d(0, calc(-50% + var(--par, 0px)), 0); }
.hero__media img {
  width: 100%;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

/* ---- numbers */
.stats__in { display: flex; min-height: 100px; border-radius: 16px; background: var(--tile); }
.stat { flex: 1; display: flex; align-items: center; gap: 18px; padding: 18px 28px; }
.stat + .stat { box-shadow: inset 1px 0 0 var(--line); }
.stat b { font: 600 40px/1 var(--voice); white-space: nowrap; }
.stat strong { display: block; font-weight: 600; }
.stat small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--dim); }

/* ---- themes */
.themes { position: relative; isolation: isolate; padding: 84px 0 40px; }
.themes__glow1 { width: 840px; height: 840px; left: -260px; top: 500px; }
.themes__glow2 { width: 920px; height: 920px; right: -300px; top: 1200px; }
.head .voice { margin-top: 14px; }
.head--center { text-align: center; }

.theme { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 660px); justify-content: space-between; align-items: center; gap: 40px 76px; margin-top: 110px; }
.theme--left { grid-template-columns: minmax(0, 660px) minmax(0, 400px); }
.theme--left .theme__stage { order: -1; }
.theme__n { font: 500 15px var(--voice); color: var(--orange); letter-spacing: .08em; }
.theme h3 { margin-top: 8px; font-size: 30px; font-weight: 600; line-height: 1.15; }
.theme__text > p:not(.theme__n) { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.dots { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; }
.dots li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.dots li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.dots--rich strong { color: #fff; font-weight: 600; }
.dots--rich span { display: block; font-size: 15px; color: var(--muted); }

.theme__stage { position: relative; }
.stage { border-radius: 14px; overflow: hidden; background: #050709; box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 70px rgba(0, 0, 0, .65); }
.stage--device, .hl--phone .hl__in { box-shadow: 0 0 0 9px #0e1215, 0 0 0 10px rgba(255, 255, 255, .14), 0 30px 70px rgba(0, 0, 0, .65); }

/* the one highlight of a theme: placed over the stage in % of the stage, so it scales with it */
.hl { position: absolute; left: var(--x); top: var(--y); width: var(--w); }
.hl__in { border-radius: var(--r, 14px); overflow: hidden; background: #050709; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 60px rgba(0, 0, 0, .7); }
.hl--files { --x: -9.7%; --y: 70.7%; --w: 87%; --r: 14px; --mw: 96%; --mo: 22px; }
.hl--corner { --x: 78.8%; --y: 1.7%; --w: 28.8%; --r: 16px; --mw: 36%; --mo: 150px; }
.hl--compare { --x: -6.7%; --y: 36.4%; --w: 44.2%; --r: 18px; --mw: 58%; --mo: 90px; }
.hl--phone { --x: 76.7%; --y: 10%; --w: 29.5%; --r: 22px; --mw: 40%; --mo: 160px; }

/* ---- trailer */
.trailer { position: relative; isolation: isolate; padding: 90px 0 20px; }
.trailer__glow { width: 860px; height: 860px; left: 50%; top: 60px; margin-left: -430px; }
.video { position: relative; max-width: 1040px; margin: 54px auto 0; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #050709;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 90px rgba(0, 0, 0, .7); }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 9, .2), rgba(5, 7, 9, .1) 45%, rgba(5, 7, 9, .9)); pointer-events: none; }
.video__play { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.video__caption { position: absolute; left: 36px; bottom: 30px; z-index: 1; font-size: 24px; font-weight: 600; }
.video__caption small { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.video__yt { position: absolute; right: 36px; bottom: 32px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text-2); text-decoration: none; }
.video__yt svg, .demo svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.video iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; }

/* ---- steps */
.how { padding-top: 100px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.steps li { padding: 26px 28px; border-radius: 16px; background: var(--tile); }
.steps b { display: block; font: 600 44px/1 var(--voice); color: var(--brand); }
.steps strong { display: block; margin-top: 14px; font-size: 20px; font-weight: 600; }
.steps span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.demo { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.demo span { color: var(--muted); }
.demo a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; text-decoration: none; }

/* ---- waitlist */
.waitlist { padding-top: 110px; }
.waitlist__card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 460px); justify-content: space-between; align-items: center;
  gap: 40px; padding: 48px 64px; border-radius: 24px; background: linear-gradient(135deg, #0c1114 0%, #0a0b0d 55%, #170f0b 100%); }
.waitlist__glow { width: 960px; height: 960px; right: -340px; bottom: -480px; }
.waitlist__text .voice { margin-top: 16px; font-size: clamp(30px, 3.4vw, 44px); }
.waitlist__text .lead { margin-top: 22px; }
.form { padding: 28px; border-radius: 16px; background: var(--tile); }
.form__fields { display: flex; flex-direction: column; gap: 14px; }
.label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 0; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 14px; padding: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 22px; background: rgba(255, 255, 255, .06); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.chip input:checked + span { background: rgba(76, 195, 242, .16); color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand); }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 3px; }
.consent { display: flex; align-items: center; gap: 14px; margin-top: 2px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); cursor: pointer; }
.consent > span { flex: 1; }
.consent strong { display: block; font-weight: 600; }
.consent small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 44px; height: 26px; margin: 0; border-radius: 13px; background: rgba(255, 255, 255, .16); cursor: pointer; transition: background-color .2s; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch:checked { background: var(--brand); }
.switch:checked::after { transform: translateX(18px); }
.switch.is-wrong { box-shadow: 0 0 0 1.5px var(--orange); }
.legal { margin: 0 4px; font-size: 13px; color: var(--dim); }
.legal a { color: var(--muted); }
.error { min-height: 0; font-size: 14px; color: var(--orange); }
.error:empty { display: none; }
.form__done { display: flex; flex-direction: column; gap: 14px; outline: none; }
.form__done p:last-child { font-size: 16px; line-height: 1.5; color: var(--muted); }
.form__done b { color: #fff; font-weight: 600; }
.form__title { font-size: 26px; font-weight: 600; line-height: 1.2; }
.mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(76, 195, 242, .14); }
.mark svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- footer */
.foot { margin-top: 110px; padding-top: 36px; padding-bottom: 48px; }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot__row + .foot__row { border-top: 0; padding-top: 34px; }
.foot__nav { display: flex; gap: 30px; }
.foot__nav a { font-size: 15px; color: var(--text-2); text-decoration: none; }
.foot__nav a:hover { color: #fff; }
.foot__small { font-size: 13px; color: var(--dim); }

/* ---- legal pages */
/* the hidden field against bots: off screen, never focused (ADR-0014, Nachtrag W2) */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.page { max-width: 760px; padding-top: 60px; padding-bottom: 40px; }
.page h1 { font-size: 36px; font-weight: 600; }
.page h2 { margin-top: 36px; font-size: 20px; font-weight: 600; }
.page p, .page li { margin-top: 10px; color: var(--text-2); line-height: 1.65; }
.page ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.page .todo { color: var(--orange); }
.result { min-height: 52vh; }
.result .result__go { margin-top: 28px; }

/* ---- motion: fade and a short rise when a part scrolls into view (site.js sets .is-in), then the parallax (--par).
   [data-reveal] parts move as one; a theme moves in three parts: stage, text, highlight. */
.depth { transform: translate3d(0, var(--par, 0px), 0); will-change: transform; }
.js [data-reveal], .js .theme__text, .js .stage, .js .hl__in { transition: opacity .9s ease, transform .9s var(--ease); }
.js [data-reveal]:not(.is-in), .js .theme:not(.is-in) .stage { opacity: 0; transform: translate3d(0, 18px, 0); }
.js .theme:not(.is-in) .theme__text { opacity: 0; transform: translate3d(0, 12px, 0); }
.js .theme:not(.is-in) .hl__in { opacity: 0; transform: translate3d(0, 28px, 0); }
.js .theme__text { transition-delay: .12s; }
.js .hl__in { transition-duration: 1.1s; transition-delay: .35s; }
.js [data-reveal=slow] { transition-duration: 1.4s; transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .depth { transform: none !important; }
  .js [data-reveal], .js .theme__text, .js .stage, .js .hl__in { transform: none !important; transition: opacity .3s linear !important; }
}

/* ---- narrow screens: one column; the highlight sits at the lower edge of its stage */
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__in { gap: 12px; justify-content: space-between; padding-top: 18px; }
  .bar__go { gap: 8px; }
  .bar__go .btn--small { padding: 0 14px; }
  .logo { width: 120px; }
  .hero__in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 24px; padding-bottom: 20px; }
  .hero__media { margin: 20px calc(-1 * var(--pad)) 0; height: min(92vw, 520px); }
  .hero__media .depth { top: 50%; right: -6%; width: 112%; }
  .quick { flex-direction: column; }
  .quick .field { flex: none; }
  .hero__title br { display: none; }
  .stats__in { flex-direction: column; }
  .stat + .stat { box-shadow: inset 0 1px 0 var(--line); }
  .stat { padding: 14px 20px; }
  .stat b { min-width: 62px; font-size: 30px; }
  .stat small { display: none; }
  .theme, .theme--left { grid-template-columns: minmax(0, 1fr); margin-top: 72px; gap: 26px; }
  .theme--left .theme__stage { order: 0; }
  .hl { position: relative; left: auto; top: auto; width: var(--mw); margin: calc(-1 * var(--mo)) auto 0; }
  .hl--phone { margin-right: 6%; }
  .hl--corner, .hl--compare { margin-right: 6%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .waitlist__card { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; }
  .form { padding: 20px; }
  .video__caption { left: 18px; bottom: 16px; font-size: 18px; }
  .video__yt { display: none; }
  .play { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(76, 195, 242, .18); }
  .play::after { border-width: 11px 0 11px 18px; margin-left: 4px; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}
