/* ─── Fonts ──────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial'), local('Helvetica Neue');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }

/* ─── Tokens ─────────────────────────────────────────────────── */
:root {
  color-scheme: light dark;

  --bg:             #ffffff;
  --bg-alt:         #f5f5f7;
  --surface:        #ffffff;
  --surface-muted:  #f5f5f7;
  --surface-raised: #ffffff;

  --text:           #1d1d1f;
  --text-secondary: #515154;
  --text-tertiary:  #636369;

  --border:         rgba(0, 0, 0, 0.08);
  --border-strong:  rgba(0, 0, 0, 0.14);
  --nav-bg:         rgba(255, 255, 255, 0.78);

  --brand:          #2462d4;
  --brand-2:        #4d93ff;
  --brand-3:        #086ea8;
  --brand-4:        #514fc9;
  --brand-ink:      #1d56c4;
  --brand-soft:     rgba(47, 111, 228, 0.10);

  --status-green:   #34c759;
  --status-green-t: #15762f;
  --status-blue:    #007aff;
  --status-orange:  #ff9500;
  --status-orange-t:#9e5100;
  --person-pink:    #ff2d55;

  --cta-bg:         #1d1d1f;
  --cta-fg:         #ffffff;
  --cta-hover:      #323236;

  --brand-gradient: linear-gradient(135deg, #4d93ff 0%, #2f6fe4 52%, #5856d6 100%);
  --card-fade:      linear-gradient(to bottom, rgba(240, 243, 248, 0) 0%, rgba(240, 243, 248, 0.96) 100%);
  --media-bg:       linear-gradient(180deg, #eef2f8 0%, #f0f3f8 100%);

  --shadow-xs:      0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-sm:      0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md:      0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg:      0 24px 64px rgba(0, 0, 0, 0.12);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --font: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:             #0b0d13;
    --bg-alt:         #10141e;
    --surface:        #161b26;
    --surface-muted:  #1d2331;
    --surface-raised: #1f2636;

    --text:           #f5f5f7;
    --text-secondary: #b0b7c6;
    --text-tertiary:  #949cb0;

    --border:         rgba(255, 255, 255, 0.09);
    --border-strong:  rgba(255, 255, 255, 0.16);
    --nav-bg:         rgba(11, 13, 19, 0.76);

    --brand:          #68a3ff;
    --brand-2:        #7ab0ff;
    --brand-3:        #5ac8fa;
    --brand-4:        #9a98ff;
    --brand-ink:      #8ab8ff;
    --brand-soft:     rgba(91, 155, 255, 0.16);

    --status-green-t: #53de70;
    --status-orange-t:#ffb340;

    --cta-bg:         #f5f5f7;
    --cta-fg:         #0b0d13;
    --cta-hover:      #ffffff;

    --brand-gradient: linear-gradient(135deg, #7ab0ff 0%, #4d93ff 50%, #9b99ff 100%);
    --card-fade:      linear-gradient(to bottom, rgba(22, 27, 38, 0) 0%, rgba(22, 27, 38, 0.98) 100%);
    --media-bg:       linear-gradient(180deg, #161b26 0%, #1a2130 100%);

    --shadow-xs:      0 1px 4px rgba(0, 0, 0, 0.35);
    --shadow-sm:      0 4px 18px rgba(0, 0, 0, 0.38);
    --shadow-md:      0 12px 36px rgba(0, 0, 0, 0.45);
    --shadow-lg:      0 24px 64px rgba(0, 0, 0, 0.60);
  }
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ─── Nav ────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
}
.nav-brand picture, .nav-brand img { width: 26px; height: 26px; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 26px;
  font-size: 13.5px; color: var(--text-secondary);
}
.nav-links a { transition: color 0.15s; padding: 6px 0; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-cta {
  background: var(--cta-bg); color: var(--cta-fg) !important;
  padding: 7px 16px !important; border-radius: 980px;
  font-size: 13.5px; font-weight: 500;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: var(--cta-hover) !important; transform: translateY(-1px); }

/* ─── Shared section utilities ───────────────────────────────── */
.section { padding: 84px 24px; }
.section--alt { background: var(--bg-alt); }
.container { max-width: 1060px; margin: 0 auto; }
.section-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 14px;
}
.section-body {
  font-size: 17px; color: var(--text-secondary);
  line-height: 1.65; max-width: 560px;
}
.section-header { margin-bottom: 42px; }

#prinzip .section-kicker      { color: var(--brand); }
#funktionen .section-kicker   { color: var(--brand-4); }
#details .section-kicker      { color: var(--brand-3); }
#privat .section-kicker       { color: var(--status-green-t); }
#about .section-kicker        { color: var(--brand-4); }
#faq .section-kicker          { color: var(--brand); }

/* ─── Buttons & kbd ──────────────────────────────────────────── */
.btn-primary,
.soon {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--cta-bg); color: var(--cta-fg);
  padding: 12px 22px; border-radius: 980px;
  font-size: 15px; font-weight: 500;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn-primary:hover,
.soon:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 12px 22px; border-radius: 980px;
  font-size: 15px; font-weight: 500;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.btn-secondary:hover {
  background: var(--surface-muted);
  transform: translateY(-1px);
}

kbd {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 12px; font-weight: 600;
  background: var(--surface-raised); color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 6px; padding: 3px 7px; min-width: 24px;
  box-shadow: 0 1px 0 var(--border-strong);
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 96px 24px 52px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-icon-wrap {
  width: 96px; height: 96px;
  margin-bottom: 16px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: icon-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-icon-wrap:hover { transform: translateY(-3px) rotate(-3deg) scale(1.03); }
.hero-icon-wrap img { width: 96px; height: 96px; }
.hero h1 {
  font-size: clamp(50px, 8.5vw, 88px);
  font-weight: 700; letter-spacing: -0.045em; line-height: 1.0;
  padding: 0 0.04em 0.14em;
  margin-bottom: 4px;
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: hero-glide 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary); line-height: 1.55;
  max-width: 580px; margin-bottom: 28px;
  animation: hero-glide 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px;
  animation: hero-glide 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.soon-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5ac8fa;
  animation: pulse 2s ease-in-out infinite;
}
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-tertiary);
  margin-bottom: 44px;
  animation: hero-glide 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand); opacity: 0.7;
}
.hero-trust span:first-child::before { display: none; }

.hero-stage {
  width: 100%; max-width: 1160px; padding: 0 16px;
  position: relative;
  animation: hero-glide 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}
.hero-stage::before {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 130%; height: 480px;
  background:
    radial-gradient(ellipse 38% 54% at 24% 48%, rgba(77, 147, 255, 0.24) 0%, rgba(77, 147, 255, 0.08) 42%, transparent 72%),
    radial-gradient(ellipse 34% 48% at 54% 40%, rgba(90, 200, 250, 0.20) 0%, rgba(90, 200, 250, 0.06) 44%, transparent 74%),
    radial-gradient(ellipse 38% 52% at 80% 50%, rgba(88, 86, 214, 0.20) 0%, rgba(88, 86, 214, 0.06) 44%, transparent 74%);
  pointer-events: none; z-index: -1;
  will-change: transform, opacity;
  animation: glow-breathe 8s ease-in-out infinite;
}
.hero-stage picture,
.hero-stage img { width: 100%; height: auto; display: block; margin: 0 auto; }

/* ─── Interactive Principle Showcase ─────────────────────────── */
.demo-window {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.demo-titlebar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}
.demo-lights {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
}
.demo-lights span {
  width: 11px; height: 11px; border-radius: 50%; display: block;
}
.demo-lights span:nth-child(1) { background: #ff5f57; }
.demo-lights span:nth-child(2) { background: #febc2e; }
.demo-lights span:nth-child(3) { background: #28c840; }
.demo-win-title {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  letter-spacing: -0.01em; text-align: center;
}
.demo-reset {
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--text-secondary); border-radius: 980px;
  padding: 5px 12px; min-height: 30px; font-size: 12.5px; font-weight: 500;
  cursor: pointer; transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.demo-reset:hover { color: var(--text); background: var(--surface-raised); }
.demo-reset[hidden] { visibility: hidden; pointer-events: none; }

.demo-body { padding: 22px 24px 24px; }

.demo-hint-banner {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px; margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 13.5px; font-weight: 500; line-height: 1.45;
}
.demo-hint-banner svg { width: 16px; height: 16px; flex-shrink: 0; }

.demo-filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; min-height: 36px; border-radius: 980px;
  background: var(--surface-muted); border: 1px solid var(--border);
  color: var(--text); font-size: 13.5px; font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--border-strong); }
.chip:active { transform: scale(0.97); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.chip[aria-pressed="true"] {
  background: var(--cta-bg);
  border-color: transparent;
  color: var(--cta-fg);
}
.chip[aria-pressed="true"] .chip-dot {
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}

.year-card {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 22px;
}
.year-card-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 12px;
}
.year-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.year-metric-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 3px; }
.year-metric-value {
  display: inline-block;
  font-size: clamp(18px, 2.5vw, 23px); font-weight: 600;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  border-radius: 6px;
}
.year-metric-sub {
  font-size: 12px; color: var(--text-tertiary);
  margin-top: 3px; font-variant-numeric: tabular-nums;
}
.metric-flash { animation: metric-flash 0.55s ease; }

.demo-group-head {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; background: none; border: none; color: var(--text-secondary);
  font-size: 13px; font-weight: 600; padding: 6px 4px;
  margin-bottom: 6px; text-align: left;
}
button.demo-group-head { cursor: pointer; min-height: 36px; }
button.demo-group-head:hover { color: var(--text); }
.demo-chevron { width: 15px; height: 15px; transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
button.demo-group-head[aria-expanded="true"] .demo-chevron { transform: rotate(90deg); }

.demo-collapse {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}
.demo-collapse.is-collapsed {
  grid-template-rows: 0fr;
  opacity: 0;
}
.demo-collapse-inner { overflow: hidden; }

.demo-list {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-raised);
  overflow: hidden;
  margin-bottom: 16px;
}
.demo-collapse .demo-list { margin-bottom: 0; }
.demo-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.demo-row:first-child { border-top: none; }
.demo-row:hover { background: var(--surface-muted); }
.demo-row--just-moved { animation: row-highlight 0.95s ease; }

.demo-row-left { display: flex; align-items: flex-start; gap: 10px; min-width: 0; flex: 1; }
.demo-person-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.demo-row-text { min-width: 0; }
.demo-row-title-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.demo-row-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.demo-row-meta { font-size: 12.5px; color: var(--text-tertiary); }
.demo-row-status {
  font-size: 13px; margin-top: 3px; line-height: 1.4;
  color: var(--text-secondary);
}
.demo-row-status[data-tone="open"]  { color: var(--text-secondary); }
.demo-row-status[data-tone="paid"]  { color: var(--status-green-t); }
.demo-row-status[data-tone="wait"]  { color: var(--brand-ink); }
.demo-row-status[data-tone="done"]  { color: var(--status-orange-t); }

.demo-row-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0;
}
.demo-row-amount {
  font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.demo-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.step-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; min-height: 34px; border-radius: 980px;
  border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text-secondary);
  font-size: 12.5px; font-weight: 500; cursor: pointer;
  transition: transform 0.14s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.step-btn:hover { background: var(--surface-muted); color: var(--text); }
.step-btn:active { transform: scale(0.96); }
.step-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.step-btn[aria-pressed="true"] svg { animation: icon-pop 0.26s cubic-bezier(0.22, 1, 0.36, 1); }

.step-btn[data-kind="paid"][aria-pressed="true"] {
  background: rgba(52, 199, 89, 0.14);
  border-color: rgba(52, 199, 89, 0.45);
  color: var(--status-green-t); font-weight: 600;
}
.step-btn[data-kind="paid"][aria-pressed="true"] svg { color: var(--status-green); }

.step-btn[data-kind="submitted"][aria-pressed="true"] {
  background: rgba(0, 122, 255, 0.13);
  border-color: rgba(0, 122, 255, 0.42);
  color: var(--brand-ink); font-weight: 600;
}
.step-btn[data-kind="submitted"][aria-pressed="true"] svg { color: var(--status-blue); }

.step-btn[data-kind="reimbursed"][aria-pressed="true"] {
  background: rgba(255, 149, 0, 0.15);
  border-color: rgba(255, 149, 0, 0.48);
  color: var(--status-orange-t); font-weight: 600;
}
.step-btn[data-kind="reimbursed"][aria-pressed="true"] svg { color: var(--status-orange); }

.demo-empty {
  text-align: center; padding: 26px 16px; font-size: 14px; color: var(--text-secondary);
}
.demo-footnote {
  max-width: 860px; margin: 14px auto 0; text-align: center;
  font-size: 13.5px; color: var(--text-tertiary);
}

/* ─── Features (Calm 2×2 Architectural Grid) ──────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.feature-card {
  background: var(--surface);
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card:hover .feature-icon { transform: translateY(-2px) scale(1.06); }
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon[data-tone="teal"]   { background: rgba(11, 123, 184, 0.12); color: var(--brand-3); }
.feature-icon[data-tone="orange"] { background: rgba(255, 149, 0, 0.13); color: var(--status-orange-t); }
.feature-icon[data-tone="green"]  { background: rgba(52, 199, 89, 0.13); color: var(--status-green-t); }
.feature-tag {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 980px;
  background: var(--surface-muted); color: var(--text-secondary);
  border: 1px solid var(--border);
}
.feature-title {
  font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
}
.feature-text {
  font-size: 15.5px; color: var(--text-secondary); line-height: 1.65;
}

/* ─── Details grid ───────────────────────────────────────────── */
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 38px; }
.details-card { text-align: center; }
.details-card-media {
  position: relative;
  border-radius: 22px; overflow: hidden;
  background: var(--media-bg);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}
.details-card-media::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: var(--card-fade); pointer-events: none;
}
.details-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.details-card-media:hover img { transform: translateY(-5px) scale(1.018); }
.details-card h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; margin: 16px 0 5px; }
.details-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.55; }

/* ─── Privacy ────────────────────────────────────────────────── */
.privacy-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 7px 14px; border-radius: 980px;
  background: rgba(52, 199, 89, 0.12); color: var(--status-green-t);
  font-size: 13px; font-weight: 600;
}
.privacy-pill svg { width: 15px; height: 15px; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.privacy-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 30px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.privacy-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.privacy-card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(52, 199, 89, 0.12); color: var(--status-green-t);
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.privacy-card:hover .privacy-card-icon { transform: translateY(-2px) scale(1.06); }
.privacy-card-icon svg { width: 20px; height: 20px; }
.privacy-card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.privacy-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.65; }

/* ─── About ──────────────────────────────────────────────────── */
.about-inner {
  max-width: 700px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 44px 40px;
  box-shadow: var(--shadow-xs);
}
.about-statement {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 22px;
}
.about-text { font-size: 16.5px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 18px; }
.about-sig { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border); }
.about-sig-name { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.about-sig-title { font-size: 13.5px; color: var(--text-secondary); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  max-width: 740px;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0 22px;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; cursor: pointer;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--text-secondary);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}
.faq-item[open] .faq-plus { transform: rotate(45deg); color: var(--brand); }
.faq-answer {
  padding: 0 0 18px;
  font-size: 15px; color: var(--text-secondary); line-height: 1.65;
}
.faq-item[open] .faq-answer { animation: faq-open 0.24s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-more { margin-top: 24px; font-size: 14.5px; color: var(--text-secondary); }
.faq-more a { color: var(--brand-ink); font-weight: 500; }
.faq-more a:hover { text-decoration: underline; }

/* ─── Download ───────────────────────────────────────────────── */
.getapp-section {
  text-align: center; padding: 96px 24px 104px;
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.getapp-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 36% 52% at 22% 50%, rgba(77,147,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 36% 52% at 50% 50%, rgba(90,200,250,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 36% 52% at 78% 50%, rgba(88,86,214,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.getapp-section .container { position: relative; z-index: 1; }
.getapp-section h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 12px;
}
.getapp-lead { font-size: 17px; color: var(--text-secondary); margin-bottom: 48px; line-height: 1.6; }
.getapp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 840px; margin: 0 auto; }
.getapp-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 34px 24px 30px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
.getapp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}
.getapp-card-icon {
  width: 46px; height: 46px; margin-bottom: 8px; color: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease;
}
.getapp-card:hover .getapp-card-icon { transform: translateY(-2px) scale(1.06); color: var(--brand); }
.getapp-card-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.getapp-card-req { font-size: 13px; color: var(--text-tertiary); }

/* ─── Support & Privacy subpages (.doc) ───────────────────────── */
.doc { max-width: 680px; margin: 0 auto; padding: 120px 24px 88px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; letter-spacing: -0.035em; margin-bottom: 12px; }
.doc .lead { font-size: 18px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 36px; }
.doc h2 { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; }
.doc p, .doc li, .doc address { font-size: 16px; color: var(--text-secondary); line-height: 1.7; font-style: normal; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin-top: 8px; }
.doc a { color: var(--brand-ink); }
.doc a:hover { text-decoration: underline; }
.doc .muted { color: var(--text-tertiary); font-size: 14px; margin-top: 32px; }
.mail {
  display: inline-flex; margin-top: 6px;
  background: var(--cta-bg); color: var(--cta-fg) !important;
  padding: 12px 20px; border-radius: 980px; font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
}
.mail:hover { background: var(--cta-hover); transform: translateY(-1px); }

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 30px 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-tertiary);
}
footer a { color: var(--text-tertiary); transition: color 0.15s; padding: 6px 2px; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 18px; }

/* ─── Scroll animations ──────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1), transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.visible { opacity: 1; transform: translate3d(0, 0, 0); }

.js .stagger > * {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.js .stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.06s; }
.js .stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.12s; }
.js .stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.18s; }
.js .stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.24s; }
.js .stagger.visible > *:nth-child(n+6) { opacity: 1; transform: none; transition-delay: 0.24s; }

/* ─── Keyframes ──────────────────────────────────────────────── */
@keyframes hero-glide {
  from { transform: translate3d(0, 14px, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@keyframes icon-enter {
  from { transform: scale(0.92); }
  to   { transform: scale(1); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.78; transform: translateX(-50%) scale(0.98); }
  50%      { opacity: 1;    transform: translateX(-50%) scale(1.03); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.25); }
}
@keyframes icon-pop {
  0%   { transform: scale(0.76); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes faq-open {
  from { opacity: 0.4; transform: translateY(-4px); }
  to   { opacity: 1;   transform: translateY(0); }
}
@keyframes row-highlight {
  0%   { background: rgba(255, 149, 0, 0.16); }
  100% { background: transparent; }
}
@keyframes metric-flash {
  0%   { background: var(--brand-soft); }
  100% { background: transparent; }
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-stage { max-width: 820px; }
  .privacy-grid { grid-template-columns: 1fr 1fr; }
  .details-grid { gap: 20px; }
}

@media (max-width: 720px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta):not(.nav-keep) { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 30px 24px; }
  .demo-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .demo-row-right { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; flex-wrap: wrap; }
  .demo-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .hero { padding: 80px 18px 28px; }
  .hero-icon-wrap, .hero-icon-wrap img { width: 76px; height: 76px; }
  .hero h1 { font-size: clamp(44px, 12vw, 60px); }
  .hero-sub { font-size: 16.5px; margin-bottom: 22px; }
  .hero-trust { margin-bottom: 26px; font-size: 12.5px; gap: 6px 14px; }
  .hero-stage { max-width: 430px; padding: 0; }
}

@media (max-width: 600px) {
  .section { padding: 64px 20px; }
  .demo-body { padding: 18px 14px 18px; }
  .demo-win-title { display: none; }
  .year-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .details-grid, .privacy-grid, .getapp-cards { grid-template-columns: 1fr; }
  .details-grid { max-width: 390px; margin: 32px auto 0; }
  .getapp-cards { max-width: 320px; }
  .about-inner { padding: 30px 24px; }
  footer { flex-direction: column; text-align: center; padding: 28px 20px; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero *,
  .hero-stage::before,
  .soon-dot,
  .step-btn[aria-pressed="true"] svg,
  .faq-item[open] .faq-answer,
  .demo-row--just-moved,
  .metric-flash {
    animation: none !important;
  }
  .js .reveal,
  .js .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .details-card-media img,
  .feature-icon,
  .privacy-card,
  .privacy-card-icon,
  .getapp-card,
  .getapp-card-icon,
  .demo-collapse,
  .faq-plus,
  .demo-chevron {
    transition: none !important;
  }
}
