/* ThuisSaldo — marketing + legal (brand: donker, goud, €-first) */

:root {
  --gold: #f5b731;
  --gold-light: #ffe566;
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-deep: #15803d;
  --cockpit-green: #1f7a47;
  --cockpit-orange: #fc6d00;
  --blue: #3b82f6;
  --canvas-dark: #0f1419;
  --surface-dark: #1a1f26;
  --surface-muted: #252b33;
  --border-dark: #2e3640;
  --text-on-dark: #f8fafc;
  --text-muted-dark: #94a3b8;
  --canvas-light: #fafaf8;
  --surface-light: #ffffff;
  --surface-mint: #e8f5f0;
  --text: #1a1f24;
  --text-muted: #5c6670;
  --border-light: #d4e4dc;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow: 0 4px 24px rgba(15, 20, 25, 0.12);
  --shadow-gold: 0 8px 32px rgba(245, 183, 49, 0.18);
  --max: 72rem;
  --content-max: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--canvas-light);
  display: flex;
  flex-direction: column;
}

a {
  color: var(--green-deep);
  text-underline-offset: 0.15em;
}

img, svg { display: block; max-width: 100%; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.page-legal .site-header {
  background: var(--surface-light);
  border-bottom-color: var(--border-light);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.page-legal .brand { color: var(--text); }

.brand__mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}

.brand__mark img { width: 100%; height: 100%; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
  font-size: 0.9375rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted-dark);
  padding: 0.35rem 0;
  transition: color 0.15s;
}

.page-legal .site-nav a { color: var(--text-muted); }

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.page-legal .site-nav a:hover,
.page-legal .site-nav a[aria-current="page"] {
  color: var(--green-deep);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
  color: var(--canvas-dark) !important;
  font-weight: 600;
  font-size: 0.875rem !important;
}

.nav-cta:hover { filter: brightness(1.06); color: var(--canvas-dark) !important; }

/* ── Marketing main ─────────────────────────────────────────────────────── */

.page-marketing main { flex: 1; width: 100%; }

.section {
  padding: 4rem 1.25rem;
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 183, 49, 0.12);
  border: 1px solid rgba(245, 183, 49, 0.25);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(245, 183, 49, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    linear-gradient(165deg, #3d2e0a 0%, #1a2e1f 38%, var(--canvas-dark) 100%);
  color: var(--text-on-dark);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 56rem) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

.hero__copy { max-width: 34rem; }

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 .hero__accent {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--text-muted-dark);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--green) 100%);
  color: var(--canvas-dark);
  box-shadow: var(--shadow-gold);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  border: 1px solid var(--border-dark);
}

.hero__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
}

.stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
}

/* Cockpit mock */

.cockpit-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-dark) 0%, var(--canvas-dark) 100%);
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), var(--shadow-gold);
  padding: 1rem;
  max-width: 22rem;
  margin: 0 auto;
}

@media (min-width: 56rem) { .cockpit-mock { margin: 0 0 0 auto; } }

.cockpit-mock__chrome {
  display: flex;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
  padding: 0 0.25rem;
}

.cockpit-mock__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border-dark);
}

.cockpit-mock__saldo {
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  background: linear-gradient(145deg, rgba(61, 46, 10, 0.9) 0%, rgba(31, 61, 46, 0.85) 50%, rgba(15, 20, 25, 0.95) 100%);
  border: 1px solid rgba(245, 183, 49, 0.2);
  margin-bottom: 0.75rem;
}

.cockpit-mock__saldo-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 0.25rem;
}

.cockpit-mock__euro {
  font-size: 2.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cockpit-mock__euro span {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.85;
}

.cockpit-mock__sub {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--green);
}

.cockpit-mock__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cockpit-pill {
  border-radius: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border-dark);
  background: var(--surface-muted);
}

.cockpit-pill--orange { border-color: rgba(252, 109, 0, 0.35); }
.cockpit-pill--blue { border-color: rgba(59, 130, 246, 0.35); }

.cockpit-pill__label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted-dark);
}

.cockpit-pill__value {
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 0.125rem;
}

.cockpit-pill--orange .cockpit-pill__value { color: var(--cockpit-orange); }
.cockpit-pill--blue .cockpit-pill__value { color: var(--blue); }

.cockpit-mock__action {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.8125rem;
  color: var(--text-on-dark);
}

.cockpit-mock__action-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.5rem;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Features */

.section--light {
  background: linear-gradient(180deg, var(--canvas-light) 0%, var(--surface-mint) 100%);
}

.section--dark {
  background: var(--canvas-dark);
  color: var(--text-on-dark);
}

.section--dark .section-lead { color: var(--text-muted-dark); }

.feature-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 40rem) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: transform 0.15s, border-color 0.15s;
}

.section--dark .feature-card {
  background: var(--surface-dark);
  border-color: var(--border-dark);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 183, 49, 0.35);
}

.feature-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(245, 183, 49, 0.2), rgba(34, 197, 94, 0.15));
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.section--dark .feature-card p { color: var(--text-muted-dark); }

/* Steps */

.steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-light);
  border: 1px solid var(--border-light);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--green));
  color: var(--canvas-dark);
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Integrations */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
}

.logo-chip {
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  background: var(--surface-muted);
  border: 1px solid var(--border-dark);
}

/* Plus */

.plus-card {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(61, 46, 10, 0.5) 0%, var(--surface-dark) 40%, var(--canvas-dark) 100%);
  border: 1px solid rgba(245, 183, 49, 0.25);
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .plus-card { grid-template-columns: 1fr auto; align-items: center; }
}

.plus-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  color: var(--gold-light);
}

.plus-card p { margin: 0; color: var(--text-muted-dark); }

.plus-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.plus-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-on-dark);
}

.plus-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* CTA band */

.cta-band {
  text-align: center;
  padding: 4rem 1.25rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(245, 183, 49, 0.12) 0%, transparent 60%),
    var(--canvas-dark);
  color: var(--text-on-dark);
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  color: var(--text-muted-dark);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--surface-muted);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  text-decoration: none;
  font-size: 0.875rem;
  opacity: 0.85;
}

.store-badge strong { display: block; font-size: 0.9375rem; }

.store-badge--soon {
  cursor: default;
  pointer-events: none;
}

/* ── Legal pages ────────────────────────────────────────────────────────── */

.page-legal main {
  flex: 1;
  width: 100%;
  max-width: calc(var(--content-max) + 4rem);
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.content {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.content .meta {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  color: var(--green-deep);
}

.content h2:first-of-type { margin-top: 0; }

.content p, .content li { margin: 0 0 0.875rem; }

.content ul {
  margin: 0 0 1rem;
  padding-left: 1.375rem;
}

.content li { margin-bottom: 0.5rem; }

.contact-box {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-mint);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.contact-box p:last-child { margin-bottom: 0; }

.faq-item { margin-bottom: 1.5rem; }

.faq-item h3 {
  margin: 0 0 0.375rem;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: auto;
  padding: 2.5rem 1.25rem;
  background: var(--canvas-dark);
  border-top: 1px solid var(--border-dark);
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}

.page-legal .site-footer {
  background: var(--surface-light);
  border-top-color: var(--border-light);
  color: var(--text-muted);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 40rem) {
  .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

.site-footer__brand p {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  line-height: 1.55;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-on-dark);
}

.page-legal .site-footer h4 { color: var(--text); }

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li { margin-bottom: 0.5rem; }

.site-footer a {
  color: var(--text-muted-dark);
  text-decoration: none;
}

.page-legal .site-footer a { color: var(--text-muted); }

.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.page-legal .site-footer a:hover { color: var(--green-deep); }

.site-footer__bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  text-align: center;
  font-size: 0.8125rem;
}

.page-legal .site-footer__bottom { border-top-color: var(--border-light); }

.site-footer__bottom p { margin: 0.25rem 0; }
