:root {
  --ink: #045164;
  --ink-deep: #023240;
  --paper: #F2F5F4;
  --paper-raised: #FFFFFF;
  --line: #D9E1DE;
  --text: #12242A;
  --text-muted: #4E605F;
  --gold: #C89B3C;
  --gold-deep: #A87F2C;
  --emerald: #2E8B74;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(4, 81, 100, .06), 0 8px 24px rgba(4, 81, 100, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: 'Montserrat-Regular', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3 {
  font-family: 'Borgen', 'Montserrat-Regular', ui-sans-serif, sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.01em;
  color: var(--ink-deep);
}

.mono {
  font-family: 'NK57 Mono', ui-monospace, monospace;
}

.eyebrow {
  font-family: 'NK57 Mono', monospace;
  font-size: 12.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  font-family: 'Montserrat-Regular', sans-serif;
}

.btn:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--ink-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-deep);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper-raised);
}

.btn-block {
  width: 100%;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(242, 245, 244, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}

.logo {
  color: var(--ink-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 31px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14.5px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav-links a:hover {
  color: var(--ink-deep);
  border-color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-login {
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-deep);
  padding: 8px 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-deep);
  margin: 5px 0;
  border-radius: 2px;
}

/* HERO */
.hero {
  padding: 76px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.08;
}

.hero-sub {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 20px 0 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-note {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  display: inline-block;
}

/* LEDGER CARD — signature element */
.ledger-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
}

.ledger-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--emerald));
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.ledger-head .mono {
  font-size: 12.5px;
  color: var(--text-muted);
}

.ledger-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-deep);
}

.ledger-row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(6px);
  animation: rowIn .5s ease forwards;
}

.ledger-row:nth-child(2) {
  animation-delay: .15s;
}

.ledger-row:nth-child(3) {
  animation-delay: .55s;
}

.ledger-row:nth-child(4) {
  animation-delay: .95s;
}

@keyframes rowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ledger-code {
  font-family: 'NK57 Mono', monospace;
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  padding: 3px 0;
}

.ledger-label {
  font-size: 14px;
  color: var(--text);
}

.ledger-label small {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  margin-top: 1px;
}

.ledger-amount {
  font-family: 'NK57 Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.amt-debet {
  color: var(--ink-deep);
}

.amt-credit {
  color: var(--emerald);
}

.ledger-balance {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  animation: rowIn .5s ease forwards;
  animation-delay: 1.3s;
}

.balance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'NK57 Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  background: rgba(46, 139, 116, .1);
  padding: 5px 10px;
  border-radius: 20px;
}

.balance-badge svg {
  width: 12px;
  height: 12px;
}

/* SECTIONS */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 14px;
}

/* FEATURES */
.features {
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--paper-raised);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-code {
  font-family: 'NK57 Mono', monospace;
  font-size: 12px;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: .03em;
}

.feature-card h3 {
  font-family: 'Montserrat-Regular', sans-serif;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--ink-deep);
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* WERKWIJZE */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding-top: 18px;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.step .mono {
  font-size: 12.5px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* PRICING */
.pricing {
  background: var(--ink-deep);
}

.pricing .section-head h2,
.pricing .section-head p {
  color: #fff;
}

.pricing .section-head p {
  color: rgba(255, 255, 255, .72);
}

.pricing .eyebrow {
  color: var(--gold);
}

.pricing .eyebrow::before {
  background: var(--gold);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.price-card.is-highlight {
  background: #fff;
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
  transform: translateY(-8px);
}

.price-card.is-highlight h3,
.price-card.is-highlight .price-tag {
  color: var(--ink-deep);
}

.price-card.is-highlight .price-desc {
  color: var(--text-muted);
}

.price-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.price-card h3 {
  font-family: 'Montserrat-Regular', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.price-pill {
  font-family: 'NK57 Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  background: var(--gold);
  color: var(--ink-deep);
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-desc {
  color: rgba(255, 255, 255, .65);
  font-size: 13.5px;
  margin: 6px 0 22px;
}

.price-tag {
  font-family: 'NK57 Mono', monospace;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.price-tag span {
  font-size: 14px;
  font-weight: 500;
  opacity: .7;
}

.price-list {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.price-card.is-highlight .price-list li {
  color: var(--text);
}

.price-list svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--emerald);
}

.price-note {
  text-align: center;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  margin-top: 28px;
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, #086b83 100%);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, .8);
  max-width: 460px;
  margin: 0 auto 30px;
  font-size: 16px;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--ink-deep);
}

.cta-band .btn-primary:hover {
  background: var(--paper);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.cta-band .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 380px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  margin-bottom: 10px;
  color: var(--text);
}

.contact-detail svg {
  width: 16px;
  height: 16px;
  color: var(--gold-deep);
  flex: none;
}

.field {
  position: relative;
  margin-bottom: 16px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 14px 15px;
  font-family: 'Montserrat-Regular', sans-serif;
  font-size: 14.5px;
  background: var(--paper-raised);
  color: var(--text);
  resize: vertical;
  transition: border-color .15s;
}

.field textarea {
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

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

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink-deep);
}

.footer-small {
  font-size: 13px;
  color: var(--text-muted);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* TOAST (voor toaster.js) */
.toast-container {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}

.toast {
  background: var(--ink-deep);
  color: #fff;
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: toastIn .25s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-text {
  flex: 1;
  line-height: 1.4;
}

.toast-countdown {
  font-family: 'NK57 Mono', monospace;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .55);
}

.close-toast {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex: none;
  font-size: 12px;
}

.close-toast:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.toast.temporary .toast-text {
  margin: 0;
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .price-card.is-highlight {
    transform: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width:560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  section {
    padding: 60px 0;
  }
}