/* ================================================================
   Hafen — site stylesheet
   A safe harbor between paychecks.
   ================================================================ */

/* ---- Söhne (brand display + body) ---- */
@font-face {
  font-family: 'Sohne';
  src: url('../../sohne-font-family/TestSohne-Leicht-BF663d89cd4952e.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sohne';
  src: url('../../sohne-font-family/TestSohne-Buch-BF663d89cd32e6a.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sohne';
  src: url('../../sohne-font-family/TestSohne-Kraftig-BF663d89cd37e26.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Sohne';
  src: url('../../sohne-font-family/TestSohne-Halbfett-BF663d89cd2d67b.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---- Tokens ---- */
:root {
  /* Color */
  --brand: #4A7C74;
  --brand-dark: #3C645E;
  --brand-darker: #2F4F4A;
  --wave: #7BA8A0;
  --cream: #F4EFE6;
  --paper: #FAF6EE;
  --paper-2: #EFE9DD;
  --ink: #2A3B38;
  --ink-light: #5C6B68;
  --ink-soft: #8A938F;
  --surface-dark: #1E2C2A;
  --surface-darker: #14201E;
  --honey: #AE8B5C;
  --honey-soft: #D9C29B;
  --red-soft: #C46A4E;

  --divider: rgba(42, 59, 56, 0.14);
  --divider-soft: rgba(42, 59, 56, 0.07);
  --shadow-sm: 0 1px 2px rgba(20, 32, 30, 0.04), 0 2px 6px rgba(20, 32, 30, 0.04);
  --shadow-md: 0 2px 6px rgba(20, 32, 30, 0.06), 0 8px 24px rgba(20, 32, 30, 0.06);
  --shadow-lg: 0 8px 28px rgba(20, 32, 30, 0.10), 0 24px 48px rgba(20, 32, 30, 0.08);

  /* Type */
  --font-sans: "Sohne", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
hr { border: 0; border-top: 1px solid var(--divider); margin: 0; }

/* ---- Type ---- */
h1, h2, h3, h4, h5 {
  font-weight: 500;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.032em; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.018em; }
h4 { font-size: 18px; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-light); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow.muted { color: var(--ink-soft); }
.quiet { color: var(--ink-light); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.container.narrow { max-width: var(--container-narrow); }

section { padding: 32px 0; }
section.tight { padding: 20px 0; }
section.loose { padding: 56px 0; }

.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  section { padding: 48px 0; }
  section.loose { padding: 80px 0; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 14px 14px;
}
.btn-ghost:hover { color: var(--brand); }
.btn-on-dark {
  background: var(--cream);
  color: var(--surface-dark);
}
.btn-on-dark:hover { background: white; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 500;
  font-size: 15px;
}
.btn-link::after { content: "→"; transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(3px); }

/* ---- Site nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 230, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--divider-soft);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.nav-brand .wm { color: var(--ink); }
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-light);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .btn { padding: 10px 16px; font-size: 14px; }
.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--ink);
}
.nav-toggle:hover { background: var(--paper-2); }
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 14px 0 22px;
  gap: 6px;
  border-top: 1px solid var(--divider-soft);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 12px 4px;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--divider-soft);
}
.nav-mobile .btn { margin-top: 12px; align-self: flex-start; }

@media (min-width: 900px) {
  .nav-links { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
}
.hero-eyebrow { color: var(--brand); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lead { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-light);
}
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft); display: inline-block; }
.hero-art {
  position: relative;
  /* No box treatment — illustration sits seamlessly in the hero. */
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.hero-art picture, .hero-art img, .hero-art .hero-illust {
  width: 100%;
  height: auto;
  display: block;
}
.hero-art .hero-illust { max-width: 100%; }

@media (min-width: 900px) {
  .hero { padding: 80px 0 120px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* ---- Cards & blocks ---- */
.card {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card.feature { padding: 32px; }
.card-step {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.card-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--cream);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.card-step h3 { margin-bottom: 8px; }
.card-step p { color: var(--ink-light); margin: 0; }

.callout {
  background: var(--paper);
  border-left: 3px solid var(--brand);
  border-radius: 4px 12px 12px 4px;
  padding: 18px 22px;
  font-size: 15px;
  color: var(--ink);
}

.pillrow { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  font-size: 13px;
  color: var(--ink);
}
.pill-dark { background: var(--surface-dark); color: var(--cream); border-color: var(--surface-dark); }

/* Stat blocks */
.stat {
  padding: 24px 0;
}
.stat .num {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brand);
}
.stat .lbl {
  margin-top: 10px;
  color: var(--ink-light);
  font-size: 14px;
  max-width: 30ch;
}

/* ---- Dashboard mock ---- */
.phone-mock {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: var(--surface-dark);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: var(--cream);
  border-radius: 24px;
  padding: 22px 18px;
  min-height: 560px;
}
.phone-greet { font-size: 14px; color: var(--ink-light); margin-bottom: 4px; }
.phone-greet strong { color: var(--ink); font-weight: 500; }
.phone-card {
  background: var(--surface-dark);
  color: var(--cream);
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  align-items: end;
}
.phone-card .lbl-sm {
  font-size: 11px;
  color: rgba(244, 239, 230, 0.7);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.phone-card .big {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-top: 6px;
}
.phone-card .right { border-left: 1px solid rgba(244, 239, 230, 0.18); padding-left: 14px; }
.phone-card .right .v { font-size: 18px; font-weight: 500; line-height: 1.2; }
.phone-card .right .v small { display: block; font-size: 13px; color: rgba(244, 239, 230, 0.72); font-weight: 400; }
.phone-card .meta {
  grid-column: 1 / -1;
  font-size: 12px;
  color: rgba(244, 239, 230, 0.6);
  border-top: 1px solid rgba(244, 239, 230, 0.16);
  padding-top: 10px;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.phone-list { background: white; border: 1px solid var(--divider-soft); border-radius: 16px; padding: 6px; }
.phone-list .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--divider-soft);
}
.phone-list .item:last-child { border-bottom: 0; }
.phone-list .icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.phone-list .body { flex: 1; }
.phone-list .body .t { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.phone-list .body .s { font-size: 12px; color: var(--ink-light); margin-top: 2px; }
.phone-list .pill-cta {
  font-size: 12px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--cream);
}
.phone-list .pill-cta.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.phone-bar { display: flex; gap: 4px; align-items: end; height: 56px; margin-top: 18px; }
.phone-bar span {
  flex: 1;
  background: var(--wave);
  border-radius: 4px;
  opacity: 0.5;
}
.phone-bar span.alert { background: var(--red-soft); opacity: 0.9; }
.phone-bar span.high { background: var(--brand); opacity: 0.9; }

/* ---- FAQ ---- */
.faq {
  border-top: 1px solid var(--divider-soft);
}
.faq details {
  border-bottom: 1px solid var(--divider-soft);
  padding: 20px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-light);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  margin-top: 14px;
  color: var(--ink-light);
  font-size: 16px;
  max-width: 70ch;
}
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin: 0; }

/* ---- CTA banner ---- */
.cta-banner {
  background: var(--surface-dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: rgba(244, 239, 230, 0.8); max-width: 52ch; }
.cta-banner .btn-primary { background: var(--cream); color: var(--surface-dark); }
.cta-banner .btn-primary:hover { background: white; }
.cta-banner .btn-ghost { color: var(--cream); }
.cta-banner .btn-ghost:hover { color: var(--wave); }

@media (min-width: 720px) {
  .cta-banner { padding: 72px 56px; }
}

/* ---- Footer ---- */
.footer {
  background: var(--surface-dark);
  color: rgba(244, 239, 230, 0.78);
  padding: 72px 0 28px;
  margin-top: 0;
}
.footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 720px) {
  .footer .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; }
}
.footer h4 {
  color: rgba(244, 239, 230, 0.55);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(244, 239, 230, 0.78); transition: color .15s ease; }
.footer a:hover { color: var(--cream); }
.footer .brand-block { max-width: 360px; }
.footer .brand-block p { font-size: 14px; line-height: 1.55; color: rgba(244, 239, 230, 0.65); margin-top: 12px; }
.footer .legal-row {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(244, 239, 230, 0.55);
}
.footer .legal-row a { font-size: 13px; }

/* ---- Misc ---- */
.section-dark { background: var(--surface-dark); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .lead, .section-dark p, .section-dark .quiet { color: rgba(244, 239, 230, 0.78); }

.section-paper { background: var(--paper); }

.kicker {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

.split-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .split-list { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.split-list .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
}
.split-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(74, 124, 116, 0.12);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 500;
  font-size: 13px;
}
.split-list .x {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(196, 106, 78, 0.12);
  color: var(--red-soft);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 500;
  font-size: 13px;
}
.split-list .body { font-size: 16px; line-height: 1.55; color: var(--ink-light); }
.split-list .body strong { color: var(--ink); font-weight: 500; }

/* Story / quote card */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.quote-card .q {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 18px;
}
.quote-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-light);
}
.quote-card .who .ava {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500;
  font-size: 14px;
}
.quote-card .who strong { color: var(--ink); font-weight: 500; }

.disclaimer {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  max-width: 60ch;
}

/* Hero illustration container */
.lh-scene {
  width: 100%;
  height: 100%;
}

/* Rule */
.rule { border-top: 1px solid var(--divider); margin: 0; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 14px; top: 14px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}

/* Page header (small banner above section content for non-home pages) */
.page-head-banner {
  padding: 80px 0 32px;
}
.page-head-banner h1 { margin-bottom: 12px; }
.page-head-banner .lead { margin: 0; }

/* Two-up content with side panel */
.side-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .side-grid { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}
.side-grid .panel {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 88px;
}
.side-grid .panel h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.side-grid .panel ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.side-grid .panel a { font-size: 15px; color: var(--ink-light); }
.side-grid .panel a:hover { color: var(--ink); }

/* Press / Logo download */
.logo-tile {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.logo-tile .logo-display {
  background: var(--cream);
  border: 1px solid var(--divider-soft);
  border-radius: 12px;
  padding: 36px;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.logo-tile.dark .logo-display { background: var(--surface-dark); }
.logo-tile h4 { margin: 0; font-size: 14px; color: var(--ink); }
.logo-tile p { margin: 0; font-size: 13px; color: var(--ink-light); }

/* ---- Signup form ---- */
.signup-card {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.signup-card.on-dark { background: rgba(244,239,230,0.06); border-color: rgba(244,239,230,0.12); }
.signup-card .form-row { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 720px) { .signup-card .form-row.split { grid-template-columns: 1fr 1fr; } }
.signup-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.signup-card .field {
  position: relative;
}
.signup-card input[type="text"],
.signup-card input[type="email"],
.signup-card input[type="tel"] {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.signup-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(74, 124, 116, 0.14);
}
.signup-card .field.error input { border-color: var(--red-soft); }
.signup-card .err-msg { color: var(--red-soft); font-size: 12px; margin-top: 6px; display: none; }
.signup-card .field.error .err-msg { display: block; }
.signup-card .submit-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.signup-card .micro {
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 0;
}
.signup-card .helper { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.signup-card.is-submitted .form-content { display: none; }
.signup-card .success { display: none; padding: 8px 4px; }
.signup-card.is-submitted .success { display: block; }
.signup-card .success h3 { margin-bottom: 8px; }
.signup-card .success p { color: var(--ink-light); margin-bottom: 0; }

/* On-dark variant */
.section-dark .signup-card.on-dark label { color: var(--cream); }
.section-dark .signup-card.on-dark input {
  background: rgba(244,239,230,0.04);
  color: var(--cream);
  border-color: rgba(244,239,230,0.18);
}
.section-dark .signup-card.on-dark input::placeholder { color: rgba(244,239,230,0.4); }
.section-dark .signup-card.on-dark .micro { color: rgba(244,239,230,0.6); }
.section-dark .signup-card.on-dark .helper { color: rgba(244,239,230,0.5); }

/* ---- Icon-on-card (3-up, mobile-first) ---- */
.icon-card {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.icon-card .icon-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(74, 124, 116, 0.12);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.icon-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 6px; }
.icon-card p { color: var(--ink-light); font-size: 15px; margin: 0; }

/* ---- Number cards (mobile-first) ---- */
.number-card {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}
.number-card .lbl-sm {
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.number-card .num-big {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.number-card .num-big.brand { color: var(--brand); }
.number-card .num-note { color: var(--ink-light); font-size: 14px; margin: 0; }

/* Real-Numbers layout */
.realnum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.realnum-grid .num-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .realnum-grid { grid-template-columns: 1.1fr 1fr; gap: 22px; }
  .realnum-grid .num-stack { grid-template-columns: 1fr 1fr; }
  .realnum-grid .num-stack .span-2 { grid-column: 1 / -1; }
}
.realnum-dark {
  background: var(--surface-dark);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.realnum-dark .eyebrow { color: var(--wave); }
.realnum-dark h2 { color: var(--cream); }
.realnum-dark p { color: rgba(244, 239, 230, 0.78); }

/* ---- X-pill list (Not another budgeting app...) ---- */
.x-pill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.x-pill-list .x-pill {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.x-pill-list .x-pill .x-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(196, 106, 78, 0.14);
  color: var(--red-soft);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
  font-size: 14px;
}
@media (min-width: 720px) {
  .x-pill-list .x-pill { font-size: 17px; }
}

.split-text-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .split-text-list { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}

/* ---- Lifestyle photography ---- */
.life-photo {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
}
.life-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.life-photo.aspect-landscape { aspect-ratio: 16 / 10; }
.life-photo.aspect-landscape-wide { aspect-ratio: 16 / 9; }
.life-photo.aspect-portrait  { aspect-ratio: 4 / 5; }
.life-photo.aspect-tall      { aspect-ratio: 3 / 4.6; }
.life-photo.aspect-wide      { aspect-ratio: 21 / 9; }
/* Tall portrait — natural for 9:16 phone-shaped photos. Desktop stays tall, mobile tightens to 4/5 so it doesn't dominate the screen. */
.life-photo.aspect-portrait-tall { aspect-ratio: 4 / 5; }
@media (min-width: 720px) {
  .life-photo.aspect-portrait-tall { aspect-ratio: 9 / 16; }
}

/* Text overlay on photo */
.life-photo.has-overlay { position: relative; }
.life-photo .photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px 22px;
  color: var(--cream);
  background: linear-gradient(0deg, rgba(20, 32, 30, 0.72) 0%, rgba(20, 32, 30, 0.0) 100%);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.life-photo .photo-overlay.overlay-top {
  inset: 0 0 auto 0;
  background: linear-gradient(180deg, rgba(20, 32, 30, 0.6) 0%, rgba(20, 32, 30, 0.0) 100%);
}
@media (min-width: 720px) {
  .life-photo .photo-overlay { font-size: 20px; padding: 28px; }
}

/* Wider gap when photo-pair holds a portrait + stacked cards */
.photo-pair.with-stack > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Section variant: photo paired with copy */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .photo-pair { grid-template-columns: 1fr 1fr; gap: 56px; }
  .photo-pair.photo-right > .photo { order: 2; }
  .photo-pair.photo-left  > .photo { order: 1; }
}

/* Inline photo card (sits beside cards in a grid) */
.photo-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4 / 5;
  position: relative;
}
.photo-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Wide editorial banner (above closing CTA, etc.) */
.photo-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin: 32px 0 8px;
}
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  .photo-banner { aspect-ratio: 4 / 3; }
}

/* Mobile-aware <picture> support: use srcset with -mobile variants */

/* ================================================================
   v3 blend — story-band, photo-cards, expense UI, trust gradient,
   not-card. All in our brand colors and Söhne typography.
   ================================================================ */

/* Story-band: rounded card containing intro + photo cards */
.story-band {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .story-band { padding: 36px; gap: 28px; }
}

/* Photo-cards row (3 image-top cards) */
.photo-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .photo-cards { grid-template-columns: repeat(3, 1fr); }
}
.life-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--divider-soft);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.life-card .life-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
@media (min-width: 720px) {
  .life-card .life-card-img { height: 190px; }
}
.life-card .life-card-body { padding: 22px; }
.life-card h3 {
  font-size: 22px;
  margin: 0 0 10px;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.life-card p {
  margin: 0;
  color: var(--ink-light);
  font-size: 15px;
  line-height: 1.55;
}

/* Feature card grid (4 small icon cards) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card-sm {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--divider-soft);
}
.feature-card-sm .icon-bubble {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(74, 124, 116, 0.12);
  color: var(--brand);
  margin-bottom: 14px;
}
.feature-card-sm h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.feature-card-sm p {
  margin: 0;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.55;
}

/* Split: photo on one side, content on the other */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .split-section { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-section.photo-right .split-photo { order: 2; }
}
.split-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .split-photo img { height: 380px; }
}

/* Expense card — concrete UI mockup ("Car repair $650") */
.expense-card {
  background: var(--paper);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-top: 22px;
  box-shadow: var(--shadow-sm);
}
.expense-card .expense-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.expense-card .expense-label {
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
  margin: 0 0 8px;
}
.expense-card .expense-meta {
  color: var(--ink-light);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.expense-card .expense-meta strong {
  color: var(--ink);
  font-weight: 500;
}
.expense-card .expense-amount {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.expense-card .progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 59, 56, 0.10);
  overflow: hidden;
  margin: 22px 0 18px;
}
.expense-card .progress-bar > span {
  display: block;
  height: 100%;
  background: var(--wave);
  border-radius: inherit;
}
.expense-card .expense-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-light);
  font-size: 14px;
}
.expense-card .expense-foot .icon-bubble {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Bullet list (icon + heading + body) */
.bullet-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}
.bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.bullet-item .icon-bubble {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(74, 124, 116, 0.12);
  color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 500;
}
.bullet-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.bullet-item p {
  margin: 0;
  color: var(--ink-light);
  font-size: 14px;
  line-height: 1.5;
}

/* Not-card: dark teal section card with x-pills inside */
.not-card {
  background: var(--surface-dark);
  color: var(--cream);
  padding: 36px 28px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .not-card { grid-template-columns: 1fr 1fr; padding: 56px; gap: 48px; }
}
.not-card h2 { color: var(--cream); }
.not-card .eyebrow { color: var(--wave); }
.not-card p { color: rgba(244, 239, 230, 0.78); }
.not-card .not-list {
  display: grid;
  gap: 10px;
}
.not-card .not-item {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(244, 239, 230, 0.06);
  border: 1px solid rgba(244, 239, 230, 0.10);
  border-radius: 14px;
  padding: 15px 18px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--cream);
}
.not-card .not-item .x {
  color: var(--wave);
  font-weight: 500;
}

/* Trust card — gradient with portrait + pull quote */
.trust-card {
  background: linear-gradient(135deg, #E5EFEC 0%, var(--paper) 100%);
  border: 1px solid var(--divider-soft);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .trust-card {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    padding: 36px;
  }
}
.trust-card .trust-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.trust-card .trust-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .trust-card .trust-photo img { height: 380px; }
}
.trust-card h2 { margin: 8px 0 14px; }
.trust-card .quote-pull {
  background: var(--brand);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-top: 22px;
}
.trust-card .quote-pull p {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--cream);
}
.trust-card .quote-pull .quote-attr {
  margin-top: 14px;
  color: rgba(244, 239, 230, 0.7);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ---- Closing strip — thin dark teal CTA at the very bottom ---- */
.closing-strip-wrap { padding: 0 0 64px; }
.closing-strip {
  background: var(--surface-dark);
  color: var(--cream);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  align-items: stretch;
}
@media (min-width: 800px) {
  .closing-strip { grid-template-columns: minmax(180px, 240px) 1fr; }
}
.closing-strip-illust {
  background: var(--surface-dark);
  position: relative;
  aspect-ratio: 16/9;
}
@media (min-width: 800px) {
  .closing-strip-illust { aspect-ratio: auto; }
}
.closing-strip-illust img,
.closing-strip-illust svg.strip-illust {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.closing-strip-illust svg.strip-illust {
  /* SVG fills the container with its own dark teal background */
  background: var(--surface-dark);
}
.closing-strip-content {
  display: grid;
  gap: 18px;
  padding: 22px 26px 26px;
  align-items: center;
}
@media (min-width: 800px) {
  .closing-strip-content {
    grid-template-columns: 1fr auto;
    gap: 28px;
    padding: 24px 32px;
  }
}
.closing-strip-content h3 {
  color: var(--cream);
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.closing-strip-content p {
  color: rgba(244, 239, 230, 0.66);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.closing-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.closing-strip-actions .btn {
  padding: 11px 18px;
  font-size: 14px;
}
.closing-strip-actions .btn-primary {
  background: var(--cream);
  color: var(--surface-dark);
}
.closing-strip-actions .btn-primary:hover { background: white; }
.closing-strip-actions .btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244, 239, 230, 0.32);
}
.closing-strip-actions .btn-outline:hover {
  background: rgba(244, 239, 230, 0.08);
  border-color: rgba(244, 239, 230, 0.5);
}

/* ---- Closing CTA banner with illustration (legacy, kept for reuse) ---- */
.closing-cta-banner {
  background: var(--surface-dark);
  color: var(--cream);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-md);
}
@media (min-width: 800px) {
  .closing-cta-banner { grid-template-columns: minmax(220px, 0.85fr) 1.15fr; }
}
.closing-cta-banner .cta-illust {
  background: var(--surface-dark);
  position: relative;
  min-height: 240px;
}
.closing-cta-banner .cta-illust picture, .closing-cta-banner .cta-illust img {
  width: 100%;
  height: 100%;
  display: block;
}
.closing-cta-banner .cta-illust img {
  object-fit: cover;
  object-position: center right;
}
.closing-cta-banner .cta-content {
  padding: 36px 28px;
}
@media (min-width: 800px) {
  .closing-cta-banner .cta-content { padding: 56px 56px 56px 8px; }
}
.closing-cta-banner h2 {
  color: var(--cream);
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.closing-cta-banner p {
  color: rgba(244, 239, 230, 0.78);
  margin-bottom: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
}
.closing-cta-banner .btn-primary {
  background: var(--cream);
  color: var(--surface-dark);
}
.closing-cta-banner .btn-primary:hover { background: white; }

/* ---- Centered closing block ---- */
.closing-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.closing-block .wave-glyph {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--brand);
}
.closing-block h2 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.closing-block .lead {
  margin: 0 auto 30px;
  color: var(--ink-light);
}
.closing-block .btn {
  padding: 16px 26px;
  font-size: 16px;
}

/* Prose for legal pages */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 48px; margin-bottom: 14px; font-size: 26px; }
.prose h3 { margin-top: 32px; margin-bottom: 10px; font-size: 19px; }
.prose p, .prose li { color: var(--ink-light); font-size: 16px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose .summary {
  background: var(--paper);
  border-left: 3px solid var(--brand);
  padding: 18px 22px;
  border-radius: 4px 12px 12px 4px;
  margin: 24px 0 32px;
}
.prose .summary p { color: var(--ink); margin: 0; }
.prose .summary strong { color: var(--brand); }
