@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 {
  --bg-obsidian: #0b0d10;
  --bg-graphite: #13171d;
  --bg-elevated: #1c2129;
  --bg-inset: rgba(255, 255, 255, 0.045);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-strong: rgba(255, 255, 255, 0.13);
  --ink-primary: #f5f6f8;
  --ink-secondary: #d5d9df;
  --ink-muted: #a6adb8;
  --ink-dim: #7d8590;
  --signal: #8db7ff;
  --signal-soft: rgba(141, 183, 255, 0.14);
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out-quart: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1320px;
}

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

html {
  background: var(--bg-obsidian);
  color: var(--ink-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-obsidian);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 180ms var(--ease-out-quart);
}

a:hover {
  color: var(--ink-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink-primary);
  color: var(--bg-obsidian);
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  left: 16px;
}

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 64px);
}

/* Pill Navigation (Hero & Landing) */
.nav-wrap {
  position: sticky;
  top: 20px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 20px 16px 0;
  pointer-events: none;
}

.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  height: 56px;
  padding: 0 6px 0 18px;
  border-radius: 999px;
  background: rgba(19, 23, 29, 0.86);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.48);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  flex: none;
}

.pill-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink-primary);
  color: var(--bg-obsidian);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 150ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.pill-cta:hover {
  background: #ffffff;
  color: var(--bg-obsidian);
}

.pill-cta:active {
  transform: scale(0.97);
}

/* Primary Buttons */
.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #e3e6eb 100%);
  color: var(--bg-obsidian);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  box-shadow:
    inset 0 -2px 0 rgba(13, 15, 18, 0.14),
    inset 0 1px 0 #ffffff,
    0 16px 34px -12px rgba(0, 0, 0, 0.8);
  transition: transform 150ms var(--ease-out-quart), box-shadow 200ms var(--ease-out-quart);
}

.btn-primary-pill:hover {
  color: var(--bg-obsidian);
  box-shadow:
    inset 0 -2px 0 rgba(13, 15, 18, 0.14),
    inset 0 1px 0 #ffffff,
    0 20px 42px -10px rgba(0, 0, 0, 0.9);
}

.btn-primary-pill:active {
  transform: scale(0.97);
}

.btn-secondary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px -12px rgba(0, 0, 0, 0.8);
  transition: transform 150ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.btn-secondary-pill:hover {
  background: #242a34;
  color: var(--ink-primary);
}

.btn-secondary-pill:active {
  transform: scale(0.97);
}

.btn-secondary-pill.is-copied {
  box-shadow:
    inset 0 0 0 1px rgba(141, 183, 255, 0.55),
    0 12px 28px -12px rgba(0, 0, 0, 0.8);
  color: var(--signal);
}

/* Section 1: Hero */
.hero-section {
  padding: clamp(44px, 6vw, 72px) 0 0;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.036em;
  color: var(--ink-primary);
  text-wrap: balance;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: balance;
}

.hero-cta-wrap {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-req {
  margin: 0;
  font-size: 13px;
  color: var(--ink-dim);
}

/* MacBook Hardware Lid Framing the Real @2x Hero Screenshot */
.macbook-stage {
  margin-top: clamp(36px, 4.5vw, 52px);
  width: 100%;
  max-width: 1180px;
  padding: 14px 14px 0;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, #2b3038 0%, #1b1f25 32%, #15181d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 -36px 84px rgba(0, 0, 0, 0.55);
}

.macbook-bezel {
  padding: 10px 10px 0;
  border-radius: 22px 22px 0 0;
  background: #030405;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.macbook-screen {
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  background: #090b12;
}

.macbook-screen img,
.macbook-screen video {
  width: 100%;
  height: auto;
  display: block;
}

.macbook-screen video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  cursor: pointer;
}

/* Shared Section Rhythm */
.band {
  padding: clamp(88px, 10vw, 136px) 0 0;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.033em;
  color: var(--ink-primary);
  text-wrap: balance;
}

.section-copy {
  margin: 0 0 6px;
  max-width: 430px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.section-header-center .section-title {
  max-width: 22ch;
}

.section-header-center .section-copy {
  margin: 0;
  max-width: 68ch;
  text-wrap: balance;
}

/* Real @2x Native Screenshot Frame */
.shot-surface {
  margin-top: 44px;
  border-radius: 28px;
  padding: 12px;
  background: var(--bg-graphite);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 36px 80px -24px rgba(0, 0, 0, 0.65);
}

.shot-surface picture,
.shot-surface img {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  display: block;
}

/* Section 3: Built into macOS (7fr / 5fr asymmetric bento) */
.bento-macos {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
}

.bento-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  padding: 12px;
  background: var(--bg-graphite);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bento-media {
  border-radius: 20px;
  overflow: hidden;
  background: #090b12;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.bento-media img {
  width: 100%;
  aspect-ratio: 1040 / 680;
  object-fit: cover;
  display: block;
}

.bento-caption {
  padding: 24px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bento-caption h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink-primary);
}

.bento-caption p {
  margin: 0;
  max-width: 56ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-wrap: pretty;
}

/* Section 4: Local MCP for Coding Agents (2fr / 1fr split) */
.mcp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.mcp-visual {
  border-radius: 30px;
  padding: 12px;
  background: var(--bg-graphite);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 32px 72px -24px rgba(0, 0, 0, 0.65);
}

.mcp-visual img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.mcp-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mcp-copy .section-title {
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.06;
}

.mcp-copy .section-copy {
  margin: 0;
  max-width: none;
}

.mcp-points {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mcp-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-secondary);
  text-wrap: pretty;
}

.mcp-points svg {
  flex: none;
  margin-top: 3px;
}

.mcp-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 6px;
}

.mcp-hint {
  font-size: 13.5px;
  color: var(--ink-dim);
}

/* Section 5: Local-only Architecture + Comparison Table */
.metrics-strip {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-cell {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-cell:first-child {
  padding-left: 0;
  border-left: 0;
}

.metric-cell:last-child {
  padding-right: 0;
}

.metric-value {
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.metric-label {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.table-scroll {
  margin-top: 48px;
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15.5px;
  line-height: 1.4;
}

.compare-table thead th {
  text-align: left;
  font-weight: 500;
  font-size: 15px;
  color: #c9ced6;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.compare-table thead th:first-child {
  width: 31%;
  padding-left: 0;
  font-size: 13.5px;
  color: #8c94a0;
}

.compare-table thead th.col-vedosta {
  width: 23%;
  background: var(--bg-graphite);
  border-radius: 16px 16px 0 0;
  color: var(--ink-primary);
  font-weight: 600;
}

.table-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.compare-table tbody th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-muted);
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.compare-table tbody td {
  padding: 15px 22px;
  color: #c9ced6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.compare-table tbody td.col-vedosta {
  background: var(--bg-graphite);
  color: var(--ink-primary);
  font-weight: 500;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:last-child td.col-vedosta {
  font-weight: 600;
  border-radius: 0 0 16px 16px;
}

/* Section 6: Founding License Card */
.pricing-band {
  padding: clamp(92px, 10vw, 140px) 0 clamp(68px, 8vw, 104px);
}

.pricing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-title {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.032em;
  text-align: center;
}

.license-shell {
  margin-top: 36px;
  width: 100%;
  max-width: 600px;
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(180deg, #2c3139 0%, #1a1d23 45%, #15181d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 40px 90px -20px rgba(0, 0, 0, 0.85);
}

.license-card {
  border-radius: 28px;
  background: linear-gradient(180deg, #15181d 0%, #0f1216 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: clamp(24px, 4vw, 36px) clamp(22px, 4.5vw, 40px) clamp(24px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.license-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.license-edition {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.license-platform {
  font-size: 13.5px;
  color: #8c94a0;
}

.license-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.license-price {
  font-size: clamp(60px, 7vw, 84px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: var(--ink-primary);
}

.license-tax {
  font-size: 17px;
  color: var(--ink-muted);
}

.license-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
}

.license-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.license-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-wrap: pretty;
}

.license-list svg {
  flex: none;
  margin-top: 4px;
}

.license-cta {
  width: 100%;
  margin-top: 6px;
}

.license-refund {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #8c94a0;
  text-align: center;
  text-wrap: balance;
}

/* Footer (Landing & Legal) */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-dim);
}

.footer-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-dim);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer-nav a {
  padding: 8px 0;
}

.footer-withdrawal-btn {
  color: var(--ink-secondary);
  font-weight: 500;
}

.footer-withdrawal-btn:hover {
  color: var(--signal);
}

/* Modal (Pre-Live Founding Access / Download Info) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  padding: 28px 28px 24px;
  background: #14181f;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 32px 80px rgba(0, 0, 0, 0.72);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-secondary);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms var(--ease-out-quart), transform 150ms var(--ease-out-quart);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink-primary);
}

.modal-close:active {
  transform: scale(0.95);
}

.modal-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.modal-code {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0b0d10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-secondary);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Legal Subpages (/impressum/, /privacy/, /terms/, /widerruf/) */
.site-header {
  border-bottom: 1px solid var(--hairline);
  background: rgba(11, 13, 16, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 64px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.legal-main {
  padding: clamp(44px, 6vw, 72px) 0 88px;
}

.legal-container {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}

.legal-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.legal-subtitle {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.legal-section p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.legal-section a {
  color: var(--signal);
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-section code {
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-graphite);
  color: var(--ink-primary);
}

.legal-address-card {
  font-style: normal;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-graphite);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--ink-secondary);
  line-height: 1.65;
}

.legal-card-p-top {
  margin: 0 0 8px;
}

.legal-card-p-last {
  margin: 0;
}

.step-heading {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ink-primary);
}

.step-heading-spaced {
  margin-bottom: 12px;
}

.step-intro {
  margin: 0 0 20px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.declaration-de {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--ink-primary);
}

.declaration-en {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.receipt-heading {
  margin: 0 0 6px;
  font-size: 24px;
  color: var(--ink-primary);
}

.receipt-status {
  margin: 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Widerruf Interactive Portal */
.widerruf-panel {
  margin-bottom: 44px;
  padding: clamp(20px, 4vw, 32px);
  border-radius: 24px;
  background: var(--bg-graphite);
  box-shadow: inset 0 0 0 1px var(--hairline);
}

.step-indicator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.step-pill {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-dim);
  text-align: center;
}

.step-pill.is-active {
  background: var(--signal-soft);
  color: var(--signal);
  box-shadow: inset 0 0 0 1px rgba(141, 183, 255, 0.35);
}

.step-pill.is-complete {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink-primary);
}

.alert-box {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.alert-box.is-visible {
  display: block;
}

.alert-error {
  background: rgba(220, 68, 68, 0.14);
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.alert-info {
  background: var(--signal-soft);
  box-shadow: inset 0 0 0 1px rgba(141, 183, 255, 0.35);
  color: #dbeafe;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-primary);
}

.field-input,
.field-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: #0b0d10;
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 14.5px;
}

.field-helper {
  font-size: 12.5px;
  color: var(--ink-dim);
}

.confirm-summary-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: #0b0d10;
  box-shadow: inset 0 0 0 1px var(--hairline);
  margin-bottom: 20px;
}

.summary-dl {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 16px;
  font-size: 14px;
}

.summary-dl dt {
  color: var(--ink-dim);
}

.summary-dl dd {
  margin: 0;
  color: var(--ink-primary);
  word-break: break-word;
}

.receipt-card {
  padding: 24px;
  border-radius: 16px;
  background: #0b0d10;
  box-shadow: inset 0 0 0 1px rgba(141, 183, 255, 0.25);
}

.receipt-pre {
  margin: 16px 0 20px;
  padding: 16px;
  border-radius: 12px;
  background: #13171d;
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-primary,
.btn-paper-on-dark {
  background: linear-gradient(180deg, #ffffff 0%, #e3e6eb 100%);
  color: var(--bg-obsidian);
}

.btn-secondary,
.btn-dark-ghost {
  background: var(--bg-elevated);
  color: var(--ink-primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

@media print {
  .no-print,
  .site-header,
  .site-footer,
  .step-indicator {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }
}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .bento-macos {
    grid-template-columns: 1fr;
  }

  .mcp-split {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-cell:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metric-cell:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 640px) {
  .pill-nav {
    width: 100%;
    max-width: 360px;
    justify-content: space-between;
    gap: 12px;
    padding: 0 6px 0 14px;
  }

  .pill-links {
    display: none;
  }

  .macbook-stage {
    padding: 8px 8px 0;
    border-radius: 22px 22px 0 0;
  }

  .macbook-bezel {
    padding: 6px 6px 0;
    border-radius: 16px 16px 0 0;
  }

  .macbook-screen {
    border-radius: 10px 10px 0 0;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .metric-cell {
    border-left: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metric-cell:first-child {
    border-top: 0;
  }

  .step-indicator {
    grid-template-columns: 1fr;
  }

  .summary-dl {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
