:root {
  --color-bg: #f7f4ee;
  --color-surface: rgba(255, 255, 255, 0.82);
  --color-surface-solid: #fffdf9;
  --color-ink: #183229;
  --color-ink-soft: #52625c;
  --color-line: rgba(24, 50, 41, 0.12);
  --color-copper: #a86f46;
  --color-copper-soft: #d7b79f;
  --color-green: #173f35;
  --color-green-2: #235346;
  --color-white: #fff;
  --shadow-soft: 0 24px 70px rgba(37, 49, 45, 0.10);
  --shadow-header: 0 1px 0 rgba(24, 50, 41, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --page-width: 1240px;
  --header-height: 84px;
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Newsreader", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--color-bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.95), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(215,183,159,.12), transparent 32%),
    var(--color-bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input {
  font-family: var(--font-sans);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 20px;
  top: 16px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--color-green);
  text-decoration: none;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(24, 50, 41, 0.07);
  background: rgba(247, 244, 238, 0.82);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  width: min(calc(100% - 48px), var(--page-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 63, 53, .16);
  border-radius: 50%;
  background: rgba(255,255,255,.64);
}

.brand__mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--color-green);
  stroke-width: 1.6;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--color-ink-soft);
  font-size: 11px;
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #31483f;
  font-size: 14px;
  font-weight: 600;
}

.header-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.header-nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
}

.kompas-app {
  position: relative;
}

.intro {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.intro__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.intro__map {
  position: absolute;
  inset: -6%;
  background:
    linear-gradient(90deg, rgba(247,244,238,.90) 0%, rgba(247,244,238,.58) 48%, rgba(247,244,238,.38) 100%),
    url("../assets/kompas-historisch.webp") 88% 52% / min(58vw, 860px) auto no-repeat;
  opacity: .34;
  transform: scale(1.03);
}

.intro__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 46%, rgba(255,255,255,.12), rgba(247,244,238,.16) 28%, rgba(247,244,238,.78) 74%),
    linear-gradient(180deg, rgba(255,255,255,.2), rgba(247,244,238,.7));
}

.intro__content {
  width: min(calc(100% - 56px), var(--page-width));
  margin: 0 auto;
  padding: 84px 0 102px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 94px);
}

.intro__copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-copper);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.intro h1,
.section-heading h2,
.step__heading h2,
.result__intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.035em;
  color: #14362d;
}

.intro h1 {
  max-width: 760px;
  font-size: clamp(48px, 5.2vw, 78px);
  line-height: .98;
}

.intro__lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #485a54;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.75;
}

.intro__actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.intro__trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: #52645d;
  font-size: 13px;
  font-weight: 600;
}

.intro__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.intro__trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--color-copper);
  stroke-width: 2;
}

.intro__visual {
  display: grid;
  place-items: center;
  min-width: 0;
}

.compass-stage {
  position: relative;
  width: min(38vw, 560px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.compass-stage__image {
  position: relative;
  z-index: 2;
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 34px 50px rgba(37, 45, 42, .16));
}

.compass-stage__ring,
.compass-stage__halo {
  position: absolute;
  border-radius: 50%;
}

.compass-stage__ring--outer {
  inset: 2%;
  border: 1px solid rgba(24, 63, 53, .16);
}

.compass-stage__ring--inner {
  inset: 10%;
  border: 1px solid rgba(168, 111, 70, .18);
}

.compass-stage__halo {
  inset: 14%;
  background: radial-gradient(circle, rgba(255,255,255,.5), rgba(255,255,255,0) 66%);
}

.compass-stage__north,
.compass-stage__east,
.compass-stage__south,
.compass-stage__west {
  position: absolute;
  z-index: 3;
  color: rgba(24, 50, 41, .52);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
}

.compass-stage__north { top: 0; left: 50%; transform: translateX(-50%); }
.compass-stage__east { right: 0; top: 50%; transform: translateY(-50%); }
.compass-stage__south { bottom: 0; left: 50%; transform: translateX(-50%); }
.compass-stage__west { left: 0; top: 50%; transform: translateY(-50%); }

.intro__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 0;
  color: #63716c;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.intro__scroll svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.how-it-works {
  position: relative;
  width: min(calc(100% - 56px), var(--page-width));
  margin: 0 auto;
  padding: 120px 0 138px;
}

.section-heading {
  max-width: 760px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 22px auto 0;
  color: var(--color-ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.process-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow {
  min-height: calc(100svh - var(--header-height));
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.92), transparent 34%),
    var(--color-bg);
}

.flow__chrome {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  min-height: 104px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--color-line);
}

.route {
  position: relative;
  max-width: 850px;
  padding: 22px 0;
}

.route__track {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 40px;
  height: 1px;
  background: rgba(24, 50, 41, .12);
}

.route__steps {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.route__step {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 8px;
}

.route__point {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 50, 41, .16);
  border-radius: 50%;
  color: #68756f;
  background: var(--color-bg);
  font-size: 12px;
  font-weight: 700;
}

.route__step.is-active .route__point {
  color: white;
  border-color: var(--color-green);
  background: var(--color-green);
  box-shadow: 0 0 0 7px rgba(23, 63, 53, .07);
}

.route__label {
  color: #69746f;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.route__step.is-active .route__label {
  color: var(--color-green);
}

.flow__close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink);
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.flow__close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.flow__body {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 54px 0 90px;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 88px);
  align-items: start;
}

.flow__aside {
  position: sticky;
  top: calc(var(--header-height) + 38px);
  min-width: 0;
}

.mini-compass {
  position: relative;
  width: min(100%, 290px);
  aspect-ratio: 1;
  margin-bottom: 28px;
}

.mini-compass img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 24px 38px rgba(34,45,41,.12));
}

.mini-compass__pulse {
  position: absolute;
  inset: -8%;
  z-index: -1;
  border: 1px solid rgba(168,111,70,.16);
  border-radius: 50%;
}

.flow__aside-kicker {
  margin: 0 0 10px;
  color: var(--color-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.flow__aside-text {
  max-width: 290px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.flow__panel {
  min-width: 0;
  max-width: 850px;
}

.step {
  min-width: 0;
}

.step__heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.step__counter {
  margin: 0 0 12px;
  color: var(--color-copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.step__heading h2 {
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.03;
}

.step__heading > p:last-child {
  max-width: 680px;
  margin: 17px 0 0;
  color: var(--color-ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.step__actions {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.choice-grid {
  display: grid;
  gap: 16px;
}

.choice-grid--six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid--context,
.choice-grid--goals {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.question-groups {
  display: grid;
  gap: 26px;
}

.question-group {
  min-width: 0;
}

.question-group__heading {
  margin-bottom: 13px;
}

.question-group__items,
.contrast-list,
.direction-list,
.pattern-list {
  display: grid;
  gap: 12px;
}

.selection-status {
  min-height: 24px;
  margin-top: 16px;
  color: var(--color-ink-soft);
  font-size: 13px;
}

.result {
  min-width: 0;
}

.result__masthead {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(circle at 85% 40%, rgba(168,111,70,.10), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.68), rgba(247,244,238,.88));
}

.result__intro {
  width: min(calc(100% - 56px), 950px);
  margin: 0 auto;
  padding: 92px 0 76px;
  text-align: center;
}

.result__intro h1 {
  font-size: clamp(46px, 5vw, 70px);
  line-height: 1;
}

.result__summary-grid,
.report-section,
.result__actions,
.result__notice {
  width: min(calc(100% - 56px), 950px);
  margin-inline: auto;
}

.result__summary-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.report-section {
  padding: 70px 0 0;
}

.report-section__heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.report-section__number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-copper);
  background: rgba(168,111,70,.09);
  font-size: 12px;
  font-weight: 700;
}

.result__actions {
  padding: 64px 0 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.result__notice {
  padding: 0 0 80px;
}

.site-footer {
  border-top: 1px solid var(--color-line);
  background: rgba(255,255,255,.32);
}

.site-footer__inner {
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 110px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  color: #6a746f;
  font-size: 12px;
}

@media (max-width: 1020px) {
  .intro__content {
    grid-template-columns: 1fr .82fr;
    gap: 28px;
  }

  .compass-stage {
    width: min(42vw, 460px);
  }

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

  .choice-grid--six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow__body {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 42px;
  }

  .route__label {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 72px;
  }

  .site-header__inner,
  .flow__chrome,
  .flow__body,
  .site-footer__inner {
    width: min(calc(100% - 32px), var(--page-width));
  }

  .brand__text small,
  .header-nav > a:not(.header-nav__back) {
    display: none;
  }

  .header-nav {
    gap: 10px;
  }

  .intro {
    min-height: auto;
  }

  .intro__content {
    width: min(calc(100% - 32px), var(--page-width));
    padding: 62px 0 86px;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .intro h1 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .intro__visual {
    order: -1;
    margin-bottom: -12px;
  }

  .compass-stage {
    width: min(78vw, 410px);
  }

  .intro__map {
    background:
      linear-gradient(rgba(247,244,238,.84), rgba(247,244,238,.90)),
      url("../assets/kompas-historisch.webp") 50% 20% / 560px auto no-repeat;
    opacity: .18;
  }

  .intro__scroll {
    display: none;
  }

  .how-it-works {
    width: min(calc(100% - 32px), var(--page-width));
    padding: 82px 0 94px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .flow__chrome {
    min-height: 86px;
  }

  .route {
    overflow-x: auto;
  }

  .route__steps {
    min-width: 560px;
  }

  .flow__body {
    padding: 38px 0 70px;
    grid-template-columns: 1fr;
  }

  .flow__aside {
    display: none;
  }

  .choice-grid--six,
  .choice-grid--context,
  .choice-grid--goals,
  .result__summary-grid {
    grid-template-columns: 1fr;
  }

  .result__intro,
  .result__summary-grid,
  .report-section,
  .result__actions,
  .result__notice {
    width: min(calc(100% - 32px), 950px);
  }

  .result__intro {
    padding: 72px 0 60px;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__text strong {
    font-size: 14px;
  }

  .header-nav__back {
    padding: 8px 10px;
    font-size: 12px;
  }

  .intro__content {
    padding-top: 42px;
  }

  .intro h1 {
    font-size: 43px;
  }

  .intro__lead {
    font-size: 16px;
  }

  .intro__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intro__trust {
    gap: 10px 14px;
  }

  .step__heading h2 {
    font-size: 39px;
  }

  .step__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .result__actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .site-footer,
  .result__actions,
  .skip-link {
    display: none !important;
  }

  body {
    background: white;
  }

  .result__masthead,
  .site-shell {
    overflow: visible;
  }
}


/* ==========================================================================
   V3 LANDING — compacte premium startpagina
   ========================================================================== */

.intro--v3 {
  min-height: 620px;
  height: min(72vh, 720px);
  place-items: stretch;
  background: #f7f4ee;
}

.intro--v3 .intro__backdrop {
  inset: 0;
  z-index: -2;
}

.intro--v3 .intro__map {
  inset: 0;
  opacity: 1;
  transform: none;
  background:
    url("../assets/kompas-historisch.webp") 77% 51% / max(720px, 57vw) auto no-repeat,
    #d8c4a4;
}

.intro--v3 .intro__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #f8f5ef 0%,
      rgba(248,245,239,.99) 29%,
      rgba(248,245,239,.91) 42%,
      rgba(248,245,239,.42) 57%,
      rgba(248,245,239,.05) 75%,
      rgba(248,245,239,0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(248,245,239,.05) 0%,
      rgba(248,245,239,0) 72%,
      rgba(248,245,239,.22) 100%
    );
}

.intro--v3 .intro__content {
  width: min(calc(100% - 72px), 1320px);
  height: 100%;
  margin: 0 auto;
  padding: 54px 0 48px;
  display: flex;
  align-items: center;
}

.intro--v3 .intro__copy {
  width: min(56%, 720px);
  max-width: none;
}

.intro--v3 .eyebrow {
  margin-bottom: 15px;
  font-size: 12px;
}

.intro--v3 h1 {
  max-width: 720px;
  font-size: clamp(46px, 4.75vw, 72px);
  line-height: .98;
}

.intro--v3 .intro__lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.68;
}

.intro--v3 .intro__actions {
  margin-top: 29px;
}

.button--hero {
  min-width: 365px;
  min-height: 72px;
  padding: 10px 24px 10px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border-radius: 17px;
  font-size: 20px;
  font-weight: 700;
  box-shadow:
    0 18px 42px rgba(18, 57, 46, .18),
    inset 0 1px 0 rgba(255,255,255,.12);
}

.button--hero .button__compass {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 50%;
}

.button--hero .button__compass svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--hero .button__arrow {
  margin-left: auto;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.intro--v3 .intro__trust {
  margin-top: 24px;
  gap: 10px 28px;
  font-size: 12.5px;
}

/* Remove the previous standalone visual treatment completely. */
.intro--v3 .intro__visual,
.intro--v3 .compass-stage,
.intro--v3 .intro__scroll {
  display: none !important;
}

/* Compact explanation strip */
.journey {
  width: min(calc(100% - 72px), 1320px);
  margin: 0 auto;
  padding: 34px 0 38px;
}

.journey__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.journey-card {
  min-height: 170px;
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: start;
  border: 1px solid rgba(24, 50, 41, .10);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(252,249,244,.72));
  box-shadow: 0 12px 34px rgba(31,48,41,.045);
}

.journey-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-green);
  background: rgba(23,63,53,.09);
}

.journey-card__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey-card__number {
  display: block;
  margin: 1px 0 7px;
  color: var(--color-copper);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.journey-card h2 {
  margin: 0 0 7px;
  color: var(--color-green);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.015em;
}

.journey-card p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

/* Old explanation section is no longer part of the landing view. */
.how-it-works {
  display: none !important;
}

@media (max-width: 1100px) {
  .intro--v3 {
    min-height: 600px;
    height: auto;
  }

  .intro--v3 .intro__map {
    background-position: 88% 48%;
    background-size: 720px auto;
  }

  .intro--v3 .intro__shade {
    background:
      linear-gradient(
        90deg,
        #f8f5ef 0%,
        rgba(248,245,239,.98) 44%,
        rgba(248,245,239,.72) 62%,
        rgba(248,245,239,.14) 100%
      );
  }

  .intro--v3 .intro__copy {
    width: 61%;
  }

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

@media (max-width: 760px) {
  .intro--v3 {
    min-height: 720px;
  }

  .intro--v3 .intro__map {
    background-position: 61% 100%;
    background-size: 650px auto;
  }

  .intro--v3 .intro__shade {
    background:
      linear-gradient(
        180deg,
        #f8f5ef 0%,
        rgba(248,245,239,.98) 47%,
        rgba(248,245,239,.70) 67%,
        rgba(248,245,239,.12) 100%
      );
  }

  .intro--v3 .intro__content {
    width: min(calc(100% - 36px), 1320px);
    padding: 44px 0 220px;
    align-items: flex-start;
  }

  .intro--v3 .intro__copy {
    width: 100%;
  }

  .intro--v3 h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .button--hero {
    width: 100%;
    min-width: 0;
    min-height: 66px;
    font-size: 18px;
  }

  .intro--v3 .intro__trust {
    gap: 9px 17px;
  }

  .journey {
    width: min(calc(100% - 36px), 1320px);
    padding: 24px 0 30px;
  }

  .journey__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .journey-card {
    min-height: 0;
  }
}




/* ==========================================================================
   V4 FLOW — vaste achtergrond over de volledige vragenflow
   ========================================================================== */

.flow{
  position:relative;
  min-height:calc(100vh - var(--header-height));
  background:#f7f4ee;
  overflow:visible;
}

.flow::before{
  content:"";
  position:fixed;
  top:var(--header-height);
  left:0;
  width:40vw;
  height:calc(100vh - var(--header-height));
  z-index:0;
  pointer-events:none;

  background:
    linear-gradient(
      90deg,
      rgba(247,244,238,.03) 0%,
      rgba(247,244,238,.10) 55%,
      rgba(247,244,238,.84) 82%,
      rgba(247,244,238,1) 100%
    ),
    url("../assets/kompas-historisch.webp") center center/cover no-repeat;
}

.flow::after{
  content:"";
  position:fixed;
  top:var(--header-height);
  left:0;
  width:48vw;
  height:calc(100vh - var(--header-height));
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    rgba(247,244,238,0) 0%,
    rgba(247,244,238,.18) 42%,
    rgba(247,244,238,.78) 70%,
    rgba(247,244,238,1) 100%
  );
}

.flow__body{
  position:relative;
  z-index:2;
  width:min(calc(100% - 72px),1320px);
  margin:0 auto;
  padding:32px 0 48px;
  display:grid;
  grid-template-columns:300px 1fr;
  gap:56px;
}

.flow__aside{
  min-height:100%;
  background:transparent;
}

.flow__aside,
.flow__aside-copy,
.flow__aside-kicker,
.flow__aside-text,
.mini-compass,
.flow__chrome,
.route,
.flow__close{
  display:none !important;
}

.flow__body{
  grid-template-columns:1fr;
  max-width:980px;
}

.flow__panel,
.step{
  position:relative;
  z-index:3;
}

.question-card,
.choice-card,
.goal-card{
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

@media (max-width:980px){
  .flow::before,
  .flow::after{
    display:none;
  }

  .flow__body{
    width:min(calc(100% - 32px),980px);
  }
}

/* ==========================================================================
   V5 RESULT — persoonlijk rapport
   Eén vaste historische achtergrond links, één rustige rapportkolom rechts.
   ========================================================================== */

body.is-result-step .flow {
  background: #efe9df;
}

body.is-result-step .flow::before {
  width: 39vw;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(20,42,34,.08) 0%, rgba(20,42,34,0) 46%, rgba(239,233,223,.12) 76%, #efe9df 100%),
    url("../assets/kompas-historisch.webp") center center / cover no-repeat;
}

body.is-result-step .flow::after {
  width: 46vw;
  background: linear-gradient(90deg, transparent 0%, rgba(239,233,223,.04) 48%, rgba(239,233,223,.72) 78%, #efe9df 100%);
}

body.is-result-step .flow__body {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(300px, 36vw) minmax(0, 1fr);
  gap: 0;
}

body.is-result-step .flow__aside {
  display: block !important;
  min-height: calc(100vh - var(--header-height));
}

body.is-result-step .flow__panel {
  width: 100%;
  max-width: none;
  background: rgba(255,253,249,.97);
  box-shadow: -22px 0 60px rgba(32,45,39,.06);
}

.result {
  width: min(100%, 920px);
  margin: 0;
  padding: clamp(48px, 6vw, 82px) clamp(34px, 6vw, 84px) 64px;
  background: transparent;
}

.result::before,
.result::after,
.result__masthead::before,
.result__masthead::after,
.result__intro::before,
.result__intro::after {
  display: none !important;
  content: none !important;
}

.result__masthead {
  display: block;
  padding: 0 0 42px;
  margin: 0 0 34px;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid rgba(24,50,41,.12);
  background: transparent;
}

.result__seal {
  display: none !important;
}

.result__masthead .eyebrow {
  margin-bottom: 16px;
}

.result__masthead h2 {
  max-width: 720px;
  margin: 0;
  color: #16382f;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.01;
  letter-spacing: -.04em;
}

.result__intro {
  width: auto;
  max-width: 690px;
  margin: 22px 0 0;
  padding: 0;
  color: #596761;
  font-size: 17px;
  line-height: 1.72;
  text-align: left;
}

.result__summary-grid {
  width: auto;
  margin: 0 0 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.result__summary-grid .report-card:first-child {
  grid-column: 1 / -1;
  min-height: 250px;
}

.result__summary-grid .report-card:first-child h3 {
  max-width: 620px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.02;
}

.result .report-card {
  padding: 28px 30px;
  border: 1px solid rgba(24,50,41,.10);
  border-radius: 20px;
  background: #fbf8f2;
  box-shadow: none;
}

.result .report-card--primary {
  border-color: rgba(168,111,70,.20);
  background:
    linear-gradient(135deg, rgba(255,253,249,.98), rgba(244,235,224,.78));
}

.result .report-card__label {
  margin-bottom: 14px;
}

.result .report-card p {
  max-width: 660px;
}

.result .report-card__link {
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(24,63,53,.26);
}

.report-section {
  width: auto;
  margin: 0;
  padding: 48px 0;
  border-top: 1px solid rgba(24,50,41,.10);
}

.report-section__heading {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 17px;
  align-items: start;
}

.report-section__number {
  width: auto;
  height: auto;
  padding-top: 4px;
  display: block;
  border-radius: 0;
  color: rgba(168,111,70,.78);
  background: transparent;
  font-family: var(--font-display);
  font-size: 18px;
}

.report-section__heading .eyebrow {
  margin-bottom: 9px;
}

.report-section__heading h3 {
  max-width: 690px;
  margin: 0;
  color: #1d4237;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.result .pattern-list,
.result .direction-list {
  gap: 10px;
}

.result .pattern {
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid rgba(24,50,41,.08);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.result .pattern:first-child { padding-top: 0; }
.result .pattern:last-child { border-bottom: 0; padding-bottom: 0; }

.result .direction-card {
  padding: 20px 22px;
  border-radius: 16px;
  background: #fbf8f2;
  box-shadow: none;
}

.result .direction-card__rank {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 15px;
}

.report-section--insight blockquote {
  margin: 0;
  padding: 5px 0 5px 28px;
  border-left: 2px solid rgba(168,111,70,.52);
  color: #28483e;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.38;
  letter-spacing: -.018em;
}

.quiet-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.quiet-profile {
  padding: 8px 12px;
  border: 1px solid rgba(24,50,41,.10);
  border-radius: 999px;
  color: #66736c;
  background: #fbf8f2;
  font-size: 13px;
  font-weight: 600;
}

.next-step {
  width: auto;
  margin: 18px 0 0;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(168,111,70,.20);
  border-radius: 20px;
  background: #f1e8dc;
  box-shadow: none;
}

.next-step__compass {
  display: none;
}

.next-step__content h3 {
  margin: 0 0 9px;
  color: #183d32;
  font-family: var(--font-display);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.next-step__content p:last-child {
  max-width: 600px;
  margin: 0;
  color: #596761;
}

.result__notice {
  width: auto;
  margin: 26px 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: 20px minmax(0,1fr);
  gap: 12px;
  border-top: 1px solid rgba(24,50,41,.09);
  color: #6b756f;
  background: transparent;
}

.result__notice svg {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: none;
  stroke: #a86f46;
  stroke-width: 1.6;
}

.result__notice p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
}

.result__actions {
  width: auto;
  margin: 0;
  padding: 34px 0 0;
  justify-content: flex-start;
}

@media (max-width: 980px) {
  body.is-result-step .flow::before,
  body.is-result-step .flow::after {
    display: none;
  }

  body.is-result-step .flow__body {
    grid-template-columns: 1fr;
  }

  body.is-result-step .flow__aside {
    display: none !important;
  }

  body.is-result-step .flow__panel {
    box-shadow: none;
  }

  .result {
    width: min(100%, 860px);
    margin-inline: auto;
    padding-inline: 32px;
  }
}

@media (max-width: 680px) {
  .result {
    padding: 42px 20px 48px;
  }

  .result__masthead {
    padding-bottom: 34px;
  }

  .result__masthead h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .result__intro {
    font-size: 16px;
  }

  .result__summary-grid {
    grid-template-columns: 1fr;
    margin-bottom: 42px;
  }

  .result__summary-grid .report-card:first-child {
    grid-column: auto;
    min-height: 0;
  }

  .report-section {
    padding: 40px 0;
  }

  .report-section__heading {
    grid-template-columns: 32px minmax(0,1fr);
    gap: 12px;
  }

  .next-step {
    padding: 28px 24px;
    grid-template-columns: 1fr;
  }

  .next-step .button {
    width: 100%;
  }
}

@media print {
  body.is-result-step .flow::before,
  body.is-result-step .flow::after,
  body.is-result-step .flow__aside {
    display: none !important;
  }

  body.is-result-step .flow__body {
    display: block;
  }

  body.is-result-step .flow__panel {
    box-shadow: none;
  }

  .result {
    width: 100%;
    padding: 20px 0;
  }

  .report-section,
  .report-card,
  .next-step {
    break-inside: avoid;
  }
}

/* Resultaat — CTA + rapportacties verfijning */
.next-step__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 2px 4px;
  color: #183d32;
  border-bottom: 1px solid #183d32;
  font-size: 17px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}

.next-step__link:hover,
.next-step__link:focus-visible {
  color: #a86f46;
  border-color: #a86f46;
  gap: 14px;
}

.result__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 30px;
}

.result-action-card {
  appearance: none;
  width: 100%;
  min-height: 132px;
  padding: 22px 22px 20px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border: 1px solid rgba(24, 61, 50, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .64);
  box-shadow: 0 8px 28px rgba(37, 45, 40, .045);
  color: #183d32;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.result-action-card:hover,
.result-action-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(168, 111, 70, .30);
  background: #fffdf9;
  box-shadow: 0 12px 34px rgba(37, 45, 40, .075);
  outline: none;
}

.result-action-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4ece6;
  color: #183d32;
}

.result-action-card__icon--copper {
  background: #f2e4d7;
  color: #9d6541;
}

.result-action-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-action-card__body {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.result-action-card__body strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.result-action-card__body span {
  max-width: 31ch;
  color: #68736d;
  font-size: 13.5px;
  line-height: 1.5;
}

.result-action-card__arrow {
  align-self: center;
  padding-left: 4px;
  color: #a86f46;
  font-size: 22px;
  line-height: 1;
  transition: transform .2s ease;
}

.result-action-card:hover .result-action-card__arrow {
  transform: translateX(3px);
}

@media (max-width: 680px) {
  .next-step__link {
    width: max-content;
  }

  .result__actions {
    grid-template-columns: 1fr;
  }

  .result-action-card {
    min-height: 116px;
  }
}

@media print {
  .result__actions {
    display: none !important;
  }
}

/* Direction detail page */
.direction-detail {
  padding: 12px 0 28px;
}

.direction-detail__eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.direction-detail__back {
  appearance: none;
  border: 0;
  background: transparent;
  color: #29493f;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
}

.direction-detail__hero {
  padding: 42px 44px;
  border: 1px solid #dec9b6;
  border-radius: 26px;
  background: #f3e9dc;
  box-shadow: 0 18px 48px rgba(40, 47, 42, .06);
}

.direction-detail__kicker {
  margin: 0 0 10px;
  color: #a86f46;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.direction-detail__hero h2 {
  margin: 0;
  color: #163e32;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.035em;
}

.direction-detail__summary {
  max-width: 62ch;
  margin: 22px 0 0;
  color: #5f6d67;
  font-size: 17px;
  line-height: 1.7;
}

.direction-detail__grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  gap: 16px;
  margin-top: 18px;
}

.direction-detail__card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid #e3e5e1;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 36px rgba(40, 47, 42, .045);
}

.direction-detail__card--why {
  background: #fbfaf7;
}

.direction-detail__card p:not(.report-card__label) {
  margin: 12px 0 0;
  color: #56655f;
  line-height: 1.65;
}

.direction-detail__list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: #53635c;
}

.direction-detail__list li {
  margin: 0 0 10px;
  line-height: 1.45;
}

.direction-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.direction-detail__tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf2ee;
  color: #24483d;
  font-size: 13px;
}

.direction-detail__next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 18px;
  padding: 30px 34px;
  border-radius: 22px;
  background: #173f33;
  color: #fff;
}

.direction-detail__next h3 {
  margin: 5px 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
}

.direction-detail__next p:last-child {
  margin: 0;
  color: rgba(255,255,255,.75);
}

.direction-detail__next .eyebrow {
  color: #d7a77f;
}

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

  .direction-detail__next {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .direction-detail__eyebrow-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .direction-detail__hero {
    padding: 30px 24px;
  }

  .direction-detail__card {
    min-height: 0;
    padding: 24px;
  }
}

/* =========================================================
   RESULT FOLLOW-UP HUB — final functional handoff
   ========================================================= */
.resource-hub {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 68px) clamp(24px, 5vw, 64px) clamp(56px, 7vw, 92px);
}

.resource-hub__topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(22, 62, 51, .12);
}

.resource-hub__selected {
  margin: 8px 0 0;
  color: #66736e;
  font-size: 15px;
}

.resource-hub__selected strong { color: #163e33; }

.resource-hub__back {
  appearance: none;
  border: 0;
  background: transparent;
  color: #355148;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
}

.resource-hub__back:hover { color: #a9673f; }

.resource-hub__hero {
  max-width: 790px;
  padding: clamp(36px, 5vw, 62px) 0 clamp(30px, 4vw, 48px);
}

.resource-hub__kicker {
  margin: 0 0 14px;
  color: #aa6d45;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.resource-hub__hero h2 {
  margin: 0;
  color: #153d32;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.025em;
}

.resource-hub__hero p:last-child {
  max-width: 670px;
  margin: 22px 0 0;
  color: #63716c;
  font-size: 18px;
  line-height: 1.65;
}

.resource-hub__options {
  display: grid;
  gap: 16px;
}

.resource-option {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 132px;
  padding: 24px 28px;
  border: 1px solid rgba(22, 62, 51, .13);
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 34px rgba(38, 45, 39, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.resource-option:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 103, 63, .35);
  background: #fff;
  box-shadow: 0 16px 38px rgba(38, 45, 39, .08);
}

.resource-option__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e6efe8;
  color: #16483a;
}

.resource-option__icon--copper { background: #f3e4d8; color: #a7663f; }
.resource-option__icon--soft { background: #eee9df; color: #5c625e; }
.resource-option__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.resource-option__copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.resource-option__label { color: #a7663f; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resource-option__copy strong { color: #173f34; font-family: "Newsreader", Georgia, serif; font-size: 27px; font-weight: 600; line-height: 1.05; }
.resource-option__copy > span:last-child { color: #68746f; font-size: 15px; line-height: 1.5; }
.resource-option__arrow { color: #a7663f; font-size: 28px; transition: transform .18s ease; }
.resource-option:hover .resource-option__arrow { transform: translateX(5px); }

.resource-hub__note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 62, 51, .1);
  color: #74807c;
  font-size: 13px;
  line-height: 1.55;
}
.resource-hub__note > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 1px solid #b77a51;
  border-radius: 50%;
  color: #a7663f;
  font-size: 11px;
  font-weight: 700;
}
.resource-hub__note p { margin: 0; }

@media (max-width: 720px) {
  .resource-hub__topbar { flex-direction: column; }
  .resource-option { grid-template-columns: 50px minmax(0,1fr) auto; gap: 15px; padding: 20px; }
  .resource-option__icon { width: 50px; height: 50px; }
  .resource-option__copy strong { font-size: 23px; }
  .resource-option__copy > span:last-child { font-size: 14px; }
}

/* V3 final: directe vervolgkeuzes — geen JS-routering */
.result-resource-links,
.next-step__resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}

.result-resource-links a,
.next-step__resources a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #173f34;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 63, 52, .35);
  padding-bottom: 4px;
}

.result-resource-links a:hover,
.result-resource-links a:focus-visible,
.next-step__resources a:hover,
.next-step__resources a:focus-visible {
  color: #a7663f;
  border-bottom-color: #a7663f;
}

.next-step__resources {
  margin-top: 0;
  justify-content: flex-end;
  align-content: center;
  max-width: 255px;
}

.direction-card__resources {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 275px;
}

.direction-card__resources a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(23, 63, 52, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  color: #173f34;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.direction-card__resources a:hover,
.direction-card__resources a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(167, 102, 63, .5);
  background: #fffaf5;
  color: #a7663f;
}

@media (max-width: 760px) {
  .next-step__resources {
    justify-content: flex-start;
    max-width: none;
  }

  .direction-card__resources {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
    margin-top: 6px;
  }
}
