/* SessionLeads — site styles (draft v1, 03.10.2026)
   Layout concept: a studio at night and the sheet by day. Paper sections carry the reading,
   night sections carry the product (DAW-style session window, piano-roll grid). Red belongs
   to the playhead only — never a button, never a fill. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/GeistMono-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color — brand palette from the SessionLeads brand profile */
  --night: #0E0D0C;
  --graphite: #2A2724;
  --stone: #8C857D;      /* decorative only (rules, icons) — too light for text on paper */
  --muted: #625C55;      /* secondary text on paper, 5.9:1 */
  --muted-night: #A39C94;/* secondary text on night, 7.0:1 */
  --line: #E3DED6;
  --line-night: #2E2B28;
  --paper: #F5F2EC;
  --card: #FBFAF7;
  --rec: #E8412C;        /* the playhead. graphic use only */
  --rec-text: #C8331F;   /* red as text, sparingly */

  /* Type */
  --display: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.9rem, 1.6rem + 6.2vw, 6.4rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 3.1vw, 3.7rem);
  --fs-h3: 1.2rem;
  --fs-lead: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-mono: .75rem;

  /* Space */
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1200px;
  --section: clamp(80px, 9vw, 140px);
  --radius: 14px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--night);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--night); color: var(--paper); }
.night ::selection { background: var(--paper); color: var(--night); }

:focus-visible { outline: 2px solid var(--night); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible { outline-color: var(--paper); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--night); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 { font-size: var(--fs-hero); font-weight: 300; letter-spacing: -0.045em; line-height: .96; }
h2 { font-size: var(--fs-h2); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; }
h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 38ch; }
.night .lead { color: var(--muted-night); }
.muted { color: var(--muted); }
.night .muted { color: var(--muted-night); }
.label {
  font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em; color: var(--muted);
}
.night .label { color: var(--muted-night); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  font: 500 1rem/1 var(--body); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--night); color: var(--paper); }
.btn-primary:hover { background: var(--graphite); }
.btn-ghost { background: transparent; color: var(--night); border-color: color-mix(in srgb, var(--night) 22%, transparent); }
.btn-ghost:hover { border-color: var(--night); }
.night .btn-primary { background: var(--paper); color: var(--night); }
.night .btn-primary:hover { background: #fff; }
.night .btn-ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 28%, transparent); }
.night .btn-ghost:hover { border-color: var(--paper); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 1.1em; font-size: .9375rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .9375rem; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--night); }
.header-cta { flex: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 359px) { .brand img { height: 18px; } .header-cta { padding: 0 .9em; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 64px); }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero-copy .lead { max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--stone); }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
}

/* ---------- session window (hero product visual) ---------- */
.session {
  --beat: 0.5s; /* 120 BPM */
  background: var(--night); color: var(--paper);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 40px 80px -40px rgba(14,13,12,.55), 0 12px 24px -12px rgba(14,13,12,.3);
  position: relative; isolation: isolate;
}
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; opacity: .07; mix-blend-mode: screen;
  background-image: 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 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.session-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-bottom: 1px solid var(--line-night);
  font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-night);
}
.session-bar .lights { display: flex; gap: 6px; }
.session-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: #3A3632; display: block; }
.session-bar .title { color: var(--paper); }
.session-bar .tag { margin-left: auto; border: 1px solid var(--line-night); border-radius: 999px; padding: 3px 9px; }
.session-bar .bpm { display: none; }
@media (min-width: 520px) { .session-bar .bpm { display: inline; } }

.roll { position: relative; padding: 0 0 6px; }
.ruler, .lane { display: grid; grid-template-columns: 52px minmax(0, 1fr); }
.ruler { height: 26px; border-bottom: 1px solid var(--line-night); font-family: var(--mono); font-size: 10px; color: var(--muted-night); }
.ruler .bars { position: relative; }
.ruler .bars span { position: absolute; top: 7px; transform: translateX(4px); }
.lane { height: 38px; border-bottom: 1px solid #1B1917; }
.lane:last-child { border-bottom: 0; }
.lane .day { display: flex; align-items: center; padding-left: 16px; font-family: var(--mono); font-size: 10px; letter-spacing: .09em; color: var(--muted-night); border-right: 1px solid var(--line-night); }
.lane .track {
  position: relative;
  background-image:
    linear-gradient(to right, #24211F 1px, transparent 1px),
    linear-gradient(to right, #1A1816 1px, transparent 1px);
  background-size: 25% 100%, 6.25% 100%;
}
.note {
  position: absolute; top: 9px; height: 20px; border-radius: 10px;
  background: #3A3632; color: var(--paper);
  font: 500 10.5px/20px var(--body); letter-spacing: .01em; padding: 0 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .25s ease, color .25s ease;
}
.note.hit { background: var(--paper); color: var(--night); }
.playhead {
  position: absolute; top: 0; bottom: 0; left: 52px; width: 0; z-index: 2; pointer-events: none;
  transform: translateX(0);
}
.playhead::before { /* the line */
  content: ""; position: absolute; top: 14px; bottom: 0; left: -1px; width: 2px; background: var(--rec); border-radius: 2px;
}
.playhead::after { /* the triangle head, like the logo (L1) */
  content: ""; position: absolute; top: 4px; left: -7px; width: 14px; height: 12px; background: var(--rec);
  clip-path: polygon(8% 0, 92% 0, 50% 100%); border-radius: 2px;
}

.sheet { background: var(--card); color: var(--night); position: relative; z-index: 1; }
.sheet-head, .sheet-row {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, .7fr) minmax(0, 1.45fr);
  gap: 12px; padding: 10px 16px; align-items: center;
}
.sheet-head { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: #F1EDE6; }
.sheet-row { font-size: 13px; border-bottom: 1px solid var(--line); transition: background-color .3s ease; }
.sheet-row:last-child { border-bottom: 0; }
.sheet-row .a { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-row .m { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-row .h { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-row.live { background: #EFEAE1; }
@media (max-width: 560px) {
  .sheet-head, .sheet-row { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, .7fr); }
  .sheet-head .c4, .sheet-row .h { display: none; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section:not(.night):not(.tint) + .section:not(.night):not(.tint) { padding-top: 0; }
.night { background: var(--night); color: var(--paper); position: relative; isolation: isolate; }
.tint { background: #EEEAE2; }
.section-head { display: grid; gap: 20px; align-content: start; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.section-head .lead { max-width: 52ch; }

/* ---------- three ways (feast or famine) ---------- */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.way { background: var(--paper); padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start; }
.way .verdict { font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.way.pick { background: var(--night); color: var(--paper); }
.way.pick .verdict, .way.pick p { color: var(--muted-night); }
.way p { color: var(--muted); font-size: var(--fs-small); }
.prose { display: grid; gap: 1.1em; max-width: 62ch; font-size: 1.125rem; }
.prose p { color: var(--graphite); }
.two-col { display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---------- live demo ---------- */
.demo-controls { display: grid; gap: 18px; margin-bottom: 28px; }
.control { display: grid; gap: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  font: 500 .9375rem/1 var(--body); color: var(--paper); background: transparent;
  border: 1px solid #3A3632; border-radius: 999px; padding: 10px 16px; min-height: 40px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.seg button:hover { border-color: var(--muted-night); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--night); border-color: var(--paper); }
.demo-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.lead-card {
  background: #171513; border: 1px solid var(--line-night); border-radius: var(--radius);
  padding: 22px; display: grid; gap: 16px; align-content: start; min-width: 0;
  animation: rise .5s cubic-bezier(.2,.7,.2,1) both;
}
.lead-card:nth-child(2) { animation-delay: .08s; }
.lead-card:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { transform: translateY(8px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lead-card { animation: none; } }
.lead-card .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.lead-card h3 { font-size: 1.15rem; }
.lead-card dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: .875rem; }
.lead-card dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-night); padding-top: 2px; }
.lead-card dd { margin: 0; color: var(--paper); min-width: 0; }
.msg { border-top: 1px dashed #3A3632; padding-top: 14px; display: grid; gap: 8px; }
.msg p { font-size: .9375rem; line-height: 1.5; color: #E9E4DC; }
.msg .gap { color: var(--muted-night); background: #24211F; border-radius: 4px; padding: 0 4px; }
.example-flag { font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-night); border: 1px solid #3A3632; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }

/* ---------- anatomy (four pillars) ---------- */
.pillars { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.pillar { background: var(--paper); padding: 32px 24px 32px 0; display: grid; gap: 12px; align-content: start; }
@media (min-width: 560px) { .pillar { padding-left: 24px; } .pillar:first-child { padding-left: 0; } }
.pillar .col { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--night); background: #EAE5DC; border-radius: 6px; padding: 4px 8px; justify-self: start; }
.pillar p { color: var(--muted); font-size: var(--fs-small); }

/* ---------- workflow verbs ---------- */
.verbs { display: grid; gap: 0; counter-reset: v; }
.verb { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 16px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.verb:last-child { border-bottom: 1px solid var(--line); }
.verb .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.verb h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 300; letter-spacing: -0.03em; }
.verb p { grid-column: 2; color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) {
  .verb { grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr); gap: 8px 24px; }
  .verb p { grid-column: 3; }
}

/* ---------- tools (Tracker / Openers) ---------- */
.tools { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .tools { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tool { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; min-width: 0; }
.tool .label { color: var(--muted); }
.tool p { color: var(--muted); }
.ui { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; font-size: 13px; }
.ui-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ui-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); align-items: center; }
.ui-row:last-child { border-bottom: 0; }
.ui-row .who { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.pill.dark { background: var(--night); color: var(--paper); border-color: var(--night); }
.pill.soft { background: #EAE5DC; border-color: #EAE5DC; color: var(--graphite); }
.ui-empty { padding: 18px 14px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.opener { padding: 16px; display: grid; gap: 12px; }
.bubble { background: var(--card); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 12px; max-width: 92%; }
.bubble.me { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--night); color: var(--paper); border-color: var(--night); }
.bubble small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.bubble.me small { color: var(--muted-night); }

/* ---------- founder ---------- */
.founder { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-night); }
.stat { padding: 22px 12px 0 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.stat + .stat { padding-left: 14px; border-left: 1px solid var(--line-night); }
.stat b { font-weight: 300; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .8125rem; color: var(--muted-night); line-height: 1.4; }
.sig { display: flex; align-items: center; gap: 14px; }
.sig .avatar { width: 48px; height: 48px; border-radius: 50%; background: #24211F; display: grid; place-items: center; font: 500 15px var(--body); color: var(--paper); flex: none; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; } }
.plan { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.plan.main { background: var(--night); color: var(--paper); border-color: var(--night); }
.plan .head { display: grid; gap: 6px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price b { font-weight: 300; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { color: var(--muted); }
.plan.main .price span { color: var(--muted-night); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--fs-small); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; color: var(--graphite); }
.plan.main li { color: #E3DED6; }
.plan li::before { content: ""; width: 10px; height: 6px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(6px) rotate(-45deg); opacity: .7; }
.plan .foot { margin-top: auto; display: grid; gap: 10px; }
.plan .fine { font-size: .8125rem; color: var(--muted); }
.plan.main .fine { color: var(--muted-night); }
.qty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 999px; background: #1C1A18; border: 1px solid var(--line-night); }
.qty.light { background: #EEEAE2; border-color: var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qty button { font: 500 .9375rem/1 var(--body); font-variant-numeric: tabular-nums; border: 0; border-radius: 999px; min-height: 38px; cursor: pointer; background: transparent; color: var(--muted-night); transition: background-color .15s, color .15s; }
.qty.light button { color: var(--muted); }
.qty button[aria-pressed="true"] { background: var(--paper); color: var(--night); }
.qty.light button[aria-pressed="true"] { background: var(--night); color: var(--paper); }
.qty-label { display: flex; justify-content: space-between; gap: 12px; }
.guarantee { display: grid; gap: 4px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-top: 24px; border-top: 1px solid var(--line); }
.guarantee div { padding: 20px 20px 0 0; display: grid; gap: 6px; align-content: start; }
.guarantee b { font-weight: 500; }
.guarantee span { color: var(--muted); font-size: var(--fs-small); }

@media (min-width: 900px) { .two-col > .section-head { position: sticky; top: 104px; align-self: start; } }
.plan.main .btn-primary { background: var(--paper); color: var(--night); }
.plan.main .btn-primary:hover { background: #fff; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 400; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; color: var(--muted); max-width: 64ch; display: grid; gap: .8em; }

/* ---------- final CTA ---------- */
.final { text-align: left; }
.final .wrap { display: grid; gap: 28px; justify-items: start; }
.final h2 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 5.2rem); max-width: 14ch; }
.final-mark { width: min(220px, 50vw); opacity: .95; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--paper); padding-block: 64px 40px; border-top: 1px solid var(--line-night); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
.foot-grid h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-night); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: #E3DED6; font-size: .9375rem; }
.foot-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand img { height: 22px; width: auto; }
.foot-brand p { color: var(--muted-night); font-size: .9375rem; max-width: 36ch; }
.foot-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-night); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .8125rem; color: var(--muted-night); }

/* ---------- forms (start, opt-out) ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 500; font-size: .9375rem; padding: 0; }
.field .hint { font-size: .8125rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--night); background: var(--card);
  border: 1px solid #D6D0C6; border-radius: 12px; padding: 13px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 3px color-mix(in srgb, var(--night) 12%, transparent); }
.field input::placeholder, .field textarea::placeholder { color: #A39C94; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid #D6D0C6; border-radius: 999px; font-size: .9375rem; background: var(--card); transition: background-color .15s, color .15s, border-color .15s; }
.chips input:checked + span { background: var(--night); color: var(--paper); border-color: var(--night); }
.chips input:focus-visible + span { outline: 2px solid var(--night); outline-offset: 2px; }
.row2 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .9375rem; color: var(--graphite); }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--night); }
.form-error { color: var(--rec-text); font-size: .9375rem; }
.form-side { display: grid; gap: 22px; align-content: start; }
.form-side ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; color: var(--graphite); }
.page-grid { display: grid; gap: clamp(40px, 6vw, 96px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .page-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: clamp(22px, 3vw, 40px); min-width: 0; }

/* ---------- legal / long text ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); margin-bottom: 16px; }
.legal h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.015em; margin: 44px 0 12px; }
.legal h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal p, .legal li { color: var(--graphite); }
.legal p + p { margin-top: .9em; }
.legal ul, .legal ol { padding-left: 1.2em; display: grid; gap: 6px; margin: .6em 0; }
.legal .stand { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.legal address { font-style: normal; }
.legal a { text-underline-offset: 3px; }

/* ---------- brand page ---------- */
.swatches { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.swatch { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.swatch i { display: block; height: 88px; }
.swatch div { padding: 12px 14px; display: grid; gap: 2px; }
.swatch code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.logo-tiles { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.logo-tile { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: grid; }
.logo-tile .stage { display: grid; place-items: center; padding: 48px 32px; min-height: 180px; }
.logo-tile .stage img { width: min(280px, 100%); height: auto; }
.logo-tile .stage.dark { background: var(--night); }
.logo-tile .stage.light { background: var(--paper); }
.logo-tile .meta { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--card); }
.logo-tile .meta a { font-size: .875rem; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.stack-s { display: grid; gap: 12px; }
.stack-m { display: grid; gap: 24px; }
.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: initial; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.draft-flag { position: fixed; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--night); color: var(--paper); border-radius: 999px; padding: 7px 12px; opacity: .9; }

/* =====================================================================
   v2 (03.10.2026): hero with sheet + detail, audience line, 3 steps,
   portrait, voices. Overrides earlier rules where named the same.
   ===================================================================== */
h1 { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.9rem); letter-spacing: -0.042em; line-height: 1.0; }
h1 .h1-soft { display: block; color: var(--muted); margin-top: .12em; font-size: .62em; letter-spacing: -0.03em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.hero-copy .lead { max-width: 36ch; color: var(--graphite); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); } }

/* hero: the week panel */
.week { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative; isolation: isolate;
  box-shadow: 0 40px 80px -48px rgba(14,13,12,.45), 0 10px 24px -14px rgba(14,13,12,.18); }
.week.grain::after { display: none; }
.week-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.week-bar .title { color: var(--night); }
.week-bar .tag { margin-left: auto; border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; }
.strip { background: var(--night); padding: 10px 16px 12px; }
.strip-days { display: grid; grid-template-columns: repeat(5, 1fr); font-family: var(--mono); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-night); margin-bottom: 6px; }
.strip-lane { position: relative; height: 22px; border-radius: 6px;
  background-image: linear-gradient(to right, #2A2724 1px, transparent 1px); background-size: 20% 100%; }
.strip-lane .note { position: absolute; top: 5px; height: 12px; border-radius: 6px; background: #3A3632; transition: background-color .25s ease; }
.strip-lane .note.hit { background: var(--paper); }
.strip-lane .playhead { position: absolute; top: -6px; bottom: -4px; left: 0; width: 0; z-index: 2; pointer-events: none; }
.strip-lane .playhead::before { content: ""; position: absolute; top: 6px; bottom: 0; left: -1px; width: 2px; background: var(--rec); border-radius: 2px; }
.strip-lane .playhead::after { content: ""; position: absolute; top: -2px; left: -6px; width: 12px; height: 10px; background: var(--rec); clip-path: polygon(8% 0, 92% 0, 50% 100%); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 52px; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 13px; cursor: pointer; transition: background-color .25s ease; }
.row .r-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .r-meta { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .r-num { text-align: right; font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row:hover { background: #F3EFE8; }
.row.active { background: #EFEAE1; box-shadow: inset 2px 0 0 var(--night); }
.detail { padding: 18px 16px 20px; display: grid; gap: 14px; background: var(--card); }
.d-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.d-name { font-weight: 500; font-size: 1.05rem; }
.d-meta { color: var(--muted); font-size: .875rem; }
.d-stats { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right; line-height: 1.6; font-variant-numeric: tabular-nums; }
.d-block { display: grid; gap: 6px; }
.d-block p { font-size: .9375rem; line-height: 1.5; }
.msg-box { background: var(--night); color: #E9E4DC; border-radius: 12px; padding: 14px 14px 16px; }
.msg-box .label { color: var(--muted-night); }
.msg-box .gap { color: var(--muted-night); background: #24211F; border-radius: 4px; padding: 0 4px; }
@media (max-width: 520px) { .row { grid-template-columns: minmax(0, 1fr) 52px; } .row .r-meta { display: none; } .d-stats { text-align: left; } .d-head { flex-direction: column; gap: 6px; } }

/* audience line */
.audience { border-block: 1px solid var(--line); padding-block: 28px; }
.audience p { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.45; max-width: 52ch; color: var(--graphite); letter-spacing: -0.01em; }
.audience strong { font-weight: 500; color: var(--night); }

/* problem: lead under head */
#why .section-head .lead { max-width: 40ch; }

/* three steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 22px; display: grid; gap: 12px; grid-template-rows: auto auto 1fr auto; }
.step .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 400; letter-spacing: -0.025em; }
.step p { color: var(--muted); }
.step .step-foot { color: var(--night); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.step:last-child { background: var(--night); border-color: var(--night); color: var(--paper); }
.step:last-child p, .step:last-child .idx { color: var(--muted-night); }
.step:last-child .step-foot { color: var(--paper); border-color: var(--line-night); }

.demo-foot { margin-top: 20px; font-size: .9375rem; max-width: 62ch; }

/* founder with portrait */
.founder { align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.founder-prose p { color: #D9D3CA; }
.fine-print { font-size: .8125rem; }
.portrait { display: grid; gap: 14px; }
.portrait-slot, .portrait img { aspect-ratio: 4 / 5; width: 100%; border-radius: 16px; object-fit: cover; }
.portrait-slot { border: 1px dashed #4A4540; display: grid; place-items: center; background: #171513; }
.portrait figcaption { display: grid; gap: 2px; }
.sig-name { font-weight: 500; }

/* voices */
.voices { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.voice { margin: 0; border-top: 1px solid var(--night); padding-top: 20px; display: grid; gap: 18px; align-content: space-between; }
.voice blockquote { margin: 0; font-size: 1.15rem; line-height: 1.45; letter-spacing: -0.01em; }
.voice figcaption { display: grid; gap: 2px; font-size: .9375rem; }
.v-name { font-weight: 500; }
.voice.placeholder blockquote { color: var(--muted); }

/* final */
.final h2 { max-width: 16ch; }
.final-mark { width: min(160px, 40vw); }

/* v2.1 founder: first-project emphasis */
.stats-label { margin-top: 8px; }
.first-only { font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem); line-height: 1.45; letter-spacing: -0.01em; color: #D9D3CA; max-width: 40ch; border-left: 2px solid var(--paper); padding-left: 16px; }
.first-only strong { color: var(--paper); font-weight: 500; }

/* Entwurf: offene Platzhalter (deploy_check.py blockiert den Deploy, solange welche da sind) */
mark.ph { background: #FBE3DE; color: #8A2A1B; padding: 0 .2em; border-radius: 3px; }
.legal table { width:100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.legal th, .legal td { border-top: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
