@font-face{font-family:"Noto Sans";src:url("assets/noto-sans-latin-variable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

body.river-dashboard-final-page,
body[data-theme="light"].river-dashboard-final-page {
  color: #111;
  background: #fff;
}

.rd-main {
  display: block;
  overflow: hidden;
  background: #fff;
}

.rd-shell {
  width: min(1160px, calc(100% - 112px));
  margin-inline: auto;
}

@media (min-width: 761px) {
  .rd-shell {
    width: 1040px;
  }
}

.rd-main h1,
.rd-main h2 {
  font-family: "Zilla Slab", Georgia, serif;
  font-style: italic;
  font-weight: 600 !important;
  line-height: 1;
  letter-spacing: 0.02em !important;
  margin: 0;
}

.rd-main p {
  font-family: "Noto Sans", Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.005em;
  margin: 0;
}

/* Hero */
.rd-hero {
  position: relative;
  min-height: clamp(690px, 56.3vw, 960px);
  display: flex;
  align-items: center;
  background: #f4f3f2 url("assets/river-dashboard-hero-bg.jpg?v=20260820-1") center 75% / 112% auto no-repeat;
}

@media (min-width: 761px) {
  .rd-hero {
    min-height: max(400px, 90vh);
    padding-top: 86px;
    background-origin: content-box;
  }
}

.rd-hero-copy {
  padding-top: 42px;
}

.rd-hero-copy h1 {
  font-size: clamp(2.35rem, 3.2vw, 3.25rem);
  max-width: 650px;
  white-space: nowrap;
}

.rd-hero-copy p {
  max-width: none;
  margin-top: 26px;
  font-size: clamp(0.78rem, 0.86vw, 0.9rem);
}

/* Simple heading + copy row */
.rd-feature-section {
  padding: 36px 0;
}

#dashboard-bankkonten.rd-feature-section {
  padding-top: 72px;
}

.rd-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  column-gap: clamp(56px, 6.5vw, 96px);
  align-items: start;
}

.rd-row h2 {
  font-size: clamp(1.85rem, 2.35vw, 2.45rem);
}

.rd-row .rd-copy {
  padding-top: 16px;
  box-sizing: border-box;
}

.rd-row .rd-copy > p {
  font-size: clamp(0.78rem, 0.86vw, 0.9rem);
}

p.rd-lead {
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  font-weight: 700 !important;
  margin-bottom: clamp(12px, 1.4vw, 18px);
}

.rd-copy {
  display: grid;
}

/* Decorative green square marker, alternating sides */
.rd-row-marker {
  position: relative;
  overflow: visible;
}

.rd-row-marker::before {
  display: none;
  content: none;
}

.rd-row-marker-right::before {
  right: 0;
}

.rd-row-marker-left::before {
  left: 0;
}

/* Green statement — matches the site-wide quote convention */
.rd-statement {
  padding: 36px 0;
  text-align: center;
}

.rd-statement p {
  margin: 0 auto;
  color: #00eb1c !important;
  font-family: "Zilla Slab", Georgia, serif !important;
  font-style: italic !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  font-size: clamp(1.85rem, 2.35vw, 2.45rem);
}

/* Final CTA */
.rd-final-cta {
  padding: 36px 0 clamp(90px, 9vw, 130px);
  text-align: center;
}

.rd-final-cta-actions {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 5vw, 72px);
}

.rd-final-cta-actions a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #090909;
  text-decoration: none;
  font-family: "Zilla Slab", Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.82rem;
}

.rd-final-cta-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #090909;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  transition: color 420ms cubic-bezier(0.22, 1, 0.36, 1), background-color 420ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rd-final-cta-icon svg {
  width: 22px;
  height: 22px;
}

.rd-final-cta-euro {
  display: block;
  font-family: "Zilla Slab", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 27px;
  color: #fff;
  transform: translateY(-1px);
  transform-origin: center;
}

.rd-final-cta-actions a:hover .rd-final-cta-icon,
.rd-final-cta-actions a:focus-visible .rd-final-cta-icon {
  color: #08110a;
  background: #00eb1c;
  box-shadow: 0 13px 30px rgba(0, 235, 28, 0.18);
}

/* Mobile */
@media (max-width: 760px) {
  .rd-shell {
    width: min(100% - 48px, 560px);
  }

  .rd-hero {
    min-height: calc(100svh - 70px);
    align-items: flex-start;
    background-image: url("assets/river-dashboard-hero-bg-mobile.jpg?v=20260820-2");
    background-position: right bottom;
    background-size: cover;
  }

  .rd-hero-copy {
    padding-top: 156px;
  }

  .rd-hero-copy h1 {
    font-size: 2.05rem;
    white-space: normal;
  }

  .rd-hero-copy p {
    max-width: none;
    font-size: 0.95rem;
  }

  .rd-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rd-row h2 {
    font-size: 2.05rem;
  }

  .rd-row-marker::before {
    display: none;
  }

  /* Even rhythm between sections, matching the landing page's hero-to-heading gap. */
  .rd-feature-section {
    padding-top: 52px;
  }

  #dashboard-bankkonten.rd-feature-section {
    padding-top: 52px;
  }

  .rd-statement p {
    font-size: 1.45rem;
  }

  .rd-final-cta-actions {
    gap: 32px;
  }
}

/* Desktop / locked-canvas design values */
@media (min-width: 761px) {
  .rd-hero-copy h1 {
    font-size: 56.8px;
  }

  .rd-hero-copy p {
    font-size: 15px;
    white-space: nowrap !important;
  }

  .rd-row h2 {
    font-size: 40px;
  }

  .rd-lead {
    font-size: 16px;
  }

  .rd-row .rd-copy > p {
    font-size: 15px;
  }

  .rd-statement p {
    font-size: 56px;
  }
}
