/* Stix Social · landing page
   One viewport per business. Little Somethings and Klopt each use their own
   brand tokens (taken from their own design files), the Stix frame around them
   stays dark and quiet. Fonts are self-hosted, so the page talks to no third party. */

/* ─── Fonts ─────────────────────────────────────────────────────────── */
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/newsreader-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ─── Tokens ────────────────────────────────────────────────────────── */
:root {
  /* Stix frame */
  --stix-bg: #121211;
  --stix-raised: #1A1A19;
  --stix-ink: #F3F2EE;
  --stix-text: #C9C8C2;
  --stix-muted: #8E8D87;
  --stix-hairline: #2E2E2B;

  /* Little Somethings (design/design-tokens.json) */
  --ls-bg: #FAFAF8;
  --ls-surface: #FFFFFF;
  --ls-ink: #111111;
  --ls-text: #3F3F3B;
  --ls-muted: #5F5F5A;
  --ls-subtle: #6B6B66;
  --ls-hairline: #E4E3DE;
  --ls-border: #D6D5CF;

  /* Klopt (klopt.online) */
  --k-paper: #F7F7FC;
  --k-card: #FFFFFF;
  --k-ink: #1D1B33;
  --k-soft: #6B6980;
  --k-rule: #E5E4EF;
  --k-rule-strong: #D0CFDE;
  --k-brand: #6860F7;
  --k-brand-strong: #5A51E6;
  --k-brand-ink: #4A42C9;
  --k-brand-soft: #EFEEFE;
  --k-ok: #348757;
  --k-ok-ink: #236E44;
  --k-ok-soft: #DDF6E4;
  --k-warn-ink: #81520A;
  --k-warn-soft: #FCEDCD;
  --k-marker: rgba(207, 206, 255, .75);
  --k-shadow-1: 0 1px 2px rgba(44, 43, 65, .06), 0 6px 18px -6px rgba(44, 43, 65, .1);
  --k-shadow-2: 0 2px 4px rgba(44, 43, 65, .05), 0 24px 56px -16px rgba(37, 33, 78, .28);

  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --k-display: "Newsreader", Georgia, "Times New Roman", serif;
  --k-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
}

/* ─── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-snap-type: y proximity;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--stix-bg);
  color: var(--stix-text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
svg { flex-shrink: 0; }
address { font-style: normal; }
em { font-style: normal; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

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

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--stix-ink); color: var(--stix-bg);
  font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 72px;
  scroll-snap-align: start;
}

/* ─── Header ────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--stix-ink);
  background: rgba(18, 18, 17, .72);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  transition: color .35s ease, background-color .35s ease, border-color .35s ease;
}
.site-header[data-theme="ls"] { color: var(--ls-ink); background: rgba(250, 250, 248, .82); border-color: var(--ls-hairline); }
.site-header[data-theme="klopt"] { color: var(--k-ink); background: rgba(247, 247, 252, .82); border-color: var(--k-rule); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 700; font-size: 20px; letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 12px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s ease, background-color .2s ease;
}
.site-nav a:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.site-nav a[aria-current="true"] { opacity: 1; }

/* ─── 00 · Stix ─────────────────────────────────────────────────────── */
.stix { background: var(--stix-bg); color: var(--stix-text); overflow: hidden; }

.stix-grid { position: relative; display: grid; gap: clamp(40px, 7vh, 72px); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stix-muted);
}

.stix-title {
  margin-top: 20px;
  max-width: 14ch;
  color: var(--stix-ink);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.stix-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
}

.ventures {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 16px;
}

.venture {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "art   index"
    "body  body"
    "tag   tag";
  align-items: start;
  gap: 20px 16px;
  height: 100%;
  min-height: 228px;
  padding: 24px;
  border-radius: 22px;
  text-decoration: none;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.venture:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6); }
.venture:active { transform: translateY(-1px) scale(.995); }

.venture-index {
  grid-area: index; justify-self: end;
  font-family: var(--serif); font-size: 22px; line-height: 1; opacity: .5;
}
.venture-art { grid-area: art; display: flex; align-items: flex-end; height: 50px; }
.venture-body { grid-area: body; display: grid; gap: 6px; align-self: end; }
.venture-name { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.venture-desc { font-size: 15px; line-height: 1.45; max-width: 30ch; }
.venture-tag {
  grid-area: tag; justify-self: start;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.venture-arrow {
  position: absolute; right: 24px; bottom: 24px;
  transition: transform .4s var(--ease-out);
}
.venture:hover .venture-arrow { transform: translateY(3px); }

.venture--ls { background: var(--ls-bg); color: var(--ls-ink); grid-template-rows: auto 1fr auto; }
.venture--ls .venture-desc { color: var(--ls-muted); }
.venture--ls .venture-tag { border: 1px solid var(--ls-border); color: var(--ls-muted); }

.venture--klopt { background: var(--k-paper); color: var(--k-ink); grid-template-rows: auto 1fr auto; font-family: var(--k-body); }
.venture--klopt .venture-name { font-family: var(--k-display); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; }
.venture--klopt .venture-desc { color: var(--k-soft); }
.venture--klopt .venture-tag { background: var(--k-ok-soft); color: var(--k-ok-ink); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 20px;
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-left: -22px;
  border: 1px solid var(--stix-hairline); border-radius: 999px;
  color: var(--stix-muted);
  transition: color .2s ease, border-color .2s ease;
}
.scroll-cue:hover { color: var(--stix-ink); border-color: var(--stix-muted); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: nudge 2.4s ease-in-out infinite; }
}
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }

/* ─── 01 · Little Somethings ────────────────────────────────────────── */
.ls { background: var(--ls-bg); color: var(--ls-text); font-family: var(--sans); }

.ls-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.ls-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.ls-brand-name { color: var(--ls-ink); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.4;
}
.pill--ls { border: 1px solid var(--ls-border); color: var(--ls-muted); }

.ls-eyebrow {
  margin-top: 28px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ls-subtle);
}

.ls-title {
  margin-top: 14px;
  max-width: 13ch;
  color: var(--ls-ink);
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ls-lead {
  margin-top: 20px;
  max-width: 32em;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.5;
}

.ls-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--ls-hairline);
}
.ls-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 10px;
  font-size: 15px; line-height: 1.45;
}
.ls-steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--serif); font-size: 30px; line-height: .9; color: var(--ls-ink);
}
.ls-steps strong { color: var(--ls-ink); font-weight: 700; }
.ls-steps span { color: var(--ls-muted); }

.ls-actions {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 36px;
}
.ls-meta { font-size: 14px; color: var(--ls-subtle); max-width: 26ch; line-height: 1.45; }
.ls-note { margin-top: 24px; font-size: 13px; color: var(--ls-subtle); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px 0 24px;
  font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: transform .25s var(--ease-out), background-color .2s ease, box-shadow .25s var(--ease-out);
}
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn--ls { border-radius: 28px; background: var(--ls-ink); color: var(--ls-bg); }
.btn--ls:hover { background: #2A2A27; }

/* the phone */
.ls-device { display: grid; justify-items: center; gap: 18px; }
.phone {
  width: min(72vw, clamp(220px, calc((100svh - 200px) * .4621), 320px));
  padding: 10px;
  border-radius: 52px;
  background: #111111;
  box-shadow:
    0 0 0 1px #2E2E2B,
    inset 0 0 0 1.5px #3A3A37,
    0 50px 80px -40px rgba(17, 17, 17, .45),
    0 18px 30px -18px rgba(17, 17, 17, .3);
}
.phone-screen { display: block; width: 100%; height: auto; border-radius: 42px; }
.t-sans { font-family: var(--sans); }
.ls-device figcaption {
  max-width: 30ch; text-align: center;
  font-size: 13px; line-height: 1.45; color: var(--ls-subtle);
}

@media (prefers-reduced-motion: no-preference) {
  .breathe {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: breathe 5.6s ease-in-out infinite;
  }
  .eye {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: blink 7s ease-in-out infinite;
  }
}
@keyframes breathe {
  0%, 100% { transform: scale(1, 1); }
  50%      { transform: scale(1.025, 1.065); }
}
@keyframes blink {
  0%, 44%, 48%, 100% { transform: scaleY(1); }
  46% { transform: scaleY(.12); }
}

/* ─── 02 · Klopt ────────────────────────────────────────────────────── */
.klopt { background: var(--k-paper); color: var(--k-ink); font-family: var(--k-body); }

.klopt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.klopt-brand { display: flex; align-items: center; gap: 12px; }
.klopt-brand-name { font-family: var(--k-display); font-size: 26px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.pill--klopt { background: var(--k-ok-soft); color: var(--k-ok-ink); }
.pill--klopt .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--k-ok); box-shadow: 0 0 0 3px rgba(52, 135, 87, .18); }

.klopt-eyebrow {
  margin-top: 28px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--k-soft);
}

.klopt-title {
  margin-top: 14px;
  max-width: 14ch;
  font-family: var(--k-display);
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.klopt-title em { font-style: italic; font-weight: 400; color: var(--k-brand); }

.klopt-lead {
  margin-top: 20px;
  max-width: 34em;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: #3E3C55;
}

.klopt-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 28px;
  font-size: 15px;
}
.klopt-trust li { display: flex; align-items: center; gap: 10px; }
.klopt-trust svg { color: var(--k-brand); }

.klopt-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 36px; }
.klopt-meta { font-size: 14px; color: var(--k-soft); }
.klopt-note { margin-top: 24px; font-size: 13px; color: var(--k-soft); }

.btn--klopt {
  border-radius: 14px;
  background: var(--k-brand); color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 8px 20px -8px rgba(104, 96, 247, .55);
}
.btn--klopt:hover { background: var(--k-brand-strong); }

/* demo */
.klopt-demo {
  position: relative;
  display: grid;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  padding-bottom: 8px;
}

.inbox {
  width: 88%;
  border: 1px solid var(--k-rule);
  border-radius: 14px;
  background: var(--k-card);
  box-shadow: var(--k-shadow-1);
  overflow: hidden;
  font-size: 13px;
}
.inbox-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--k-rule);
  font-weight: 600; color: var(--k-soft);
}
.inbox li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--k-rule);
}
.inbox li:last-child { border-bottom: 0; }
.inbox li.is-active { background: var(--k-brand-soft); }
.inbox .file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.inbox .amount { font-variant-numeric: tabular-nums; color: var(--k-soft); }
.status { padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status--ok { background: var(--k-ok-soft); color: var(--k-ok-ink); }
.status--warn { background: var(--k-warn-soft); color: var(--k-warn-ink); }

.suggestion {
  justify-self: end;
  width: 82%;
  margin-top: -20px;
  padding: 18px;
  border: 1px solid var(--k-rule);
  border-radius: 16px;
  background: var(--k-card);
  box-shadow: var(--k-shadow-2);
}
.suggestion-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.suggestion-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.confidence { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--k-ok-ink); font-variant-numeric: tabular-nums; }
.ring {
  width: 16px; height: 16px; border-radius: 50%;
  background: conic-gradient(var(--k-ok) 0 96%, var(--k-ok-soft) 96% 100%);
  -webkit-mask: radial-gradient(circle, transparent 4.5px, #000 5px);
  mask: radial-gradient(circle, transparent 4.5px, #000 5px);
}

.fields { margin-top: 14px; display: grid; }
.fields > div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--k-rule);
  font-size: 13px;
}
.fields dt { color: var(--k-soft); }
.fields dd {
  justify-self: start;
  margin: -2px -6px; padding: 2px 6px; border-radius: 5px;
  font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.suggestion-button {
  display: flex; align-items: center; justify-content: center;
  height: 42px; margin-top: 16px;
  border-radius: 11px;
  background: var(--k-ok-soft); color: var(--k-ok-ink);
  font-size: 14px; font-weight: 600;
  transition: background-color .3s ease, color .3s ease;
}
.suggestion-button > span { display: inline-flex; align-items: center; gap: 6px; }
.label-idle { display: none !important; }

/* Played by main.js when the demo scrolls into view. Without JS, or with
   Reduce Motion on, the finished state shows. */
.klopt-demo.is-ready .fields dd { opacity: 0; }
.klopt-demo.is-ready .suggestion-button { background: var(--k-brand); color: #FFFFFF; }
.klopt-demo.is-ready .label-idle { display: inline-flex !important; }
.klopt-demo.is-ready .label-done { display: none; }

.klopt-demo.is-playing .fields dd {
  animation: field-in .7s var(--ease-out) both;
  animation-delay: calc(350ms + var(--f, 0) * 170ms);
}

.klopt-demo.is-done .suggestion-button { background: var(--k-ok-soft); color: var(--k-ok-ink); }
.klopt-demo.is-done .label-idle { display: none !important; }
.klopt-demo.is-done .label-done { display: inline-flex; }
.klopt-demo.is-done .label-done svg { animation: pop .45s var(--ease-out) both; }

@keyframes field-in {
  0%   { opacity: 0; transform: translateY(4px); background-color: var(--k-marker); }
  45%  { opacity: 1; transform: none; background-color: var(--k-marker); }
  100% { opacity: 1; transform: none; background-color: transparent; }
}
@keyframes pop {
  0% { transform: scale(.4); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: clamp(72px, 12vh, 120px) 0 32px;
  background: var(--stix-bg);
  color: var(--stix-text);
  scroll-snap-align: end;
}

.footer-top {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 20px 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--stix-hairline);
}
.footer-title {
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--stix-ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.footer-mark { width: .9em; height: .9em; border-radius: .22em; }
.brand-mark { border-radius: 7px; }
.footer-mail {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--stix-ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--stix-muted);
  transition: text-decoration-color .2s ease;
}
.footer-mail:hover { text-decoration-color: var(--stix-ink); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 0 56px;
}
.footer-grid dt {
  margin-bottom: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stix-muted);
}
.footer-grid dd { font-size: 15px; line-height: 1.65; }
.footer-grid a { text-decoration: none; border-bottom: 1px solid var(--stix-hairline); transition: border-color .2s ease, color .2s ease; }
.footer-grid a:hover { color: var(--stix-ink); border-color: var(--stix-muted); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--stix-hairline);
  font-size: 13px; color: var(--stix-muted);
}

/* ─── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .ls-grid, .klopt-grid { grid-template-columns: minmax(0, 1fr); }
  .ls-device { order: 2; }
  .phone { width: min(68vw, 280px); }
  .klopt-demo { justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ventures { grid-template-columns: minmax(0, 1fr); }
  .venture { min-height: 0; }
}

@media (max-width: 600px) {
  :root { --header-h: 56px; }
  .panel { padding: calc(var(--header-h) + 32px) 0 64px; }
  .site-nav a:not(:last-child) { display: none; }
  .ls-steps, .klopt-trust { grid-template-columns: minmax(0, 1fr); }
  .ls-actions .btn, .klopt-actions .btn { width: 100%; }
  .inbox, .suggestion { width: 100%; }
  .suggestion { margin-top: -16px; }
  .inbox .amount { display: none; }
  .fields > div { grid-template-columns: 104px minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .scroll-cue { display: none; }
}

@media (max-height: 760px) and (min-width: 961px) {
  .ls-steps { margin-top: 24px; padding-top: 20px; gap: 14px 28px; }
  .ls-actions, .klopt-actions { margin-top: 28px; }
}
