:root {
  color-scheme: light;
  --ink: #1c302a;
  --muted: #5d7069;
  --paper: #faf8f1;
  --surface: #fffdf8;
  --surface-2: #f2f3eb;
  --surface-3: #f8f5ec;
  --line: rgba(255, 255, 255, 0.13);
  --line-bright: rgba(255, 255, 255, 0.23);
  --sage: var(--c-muted);
  --sage-dark: #1d3d33;
  --clay: #8d6146;
  --gold: #b08d4d;
  --rose: #f3ece4;
  --sky: #e8ede6;
  --shadow: 0 20px 52px rgba(24, 45, 36, 0.08);
  --tool-serif: "Cormorant Garamond", Georgia, serif;
  --tool-sans: "Inter", Arial, sans-serif;

  /* === DNA design system tokens === */
  /* Radii */
  --radius-xs: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(24, 45, 36, 0.06);
  --shadow-sm: 0 2px 8px rgba(24, 45, 36, 0.08);
  --shadow-md: 0 8px 24px rgba(24, 45, 36, 0.1);
  --shadow-lg: 0 24px 60px rgba(24, 45, 36, 0.16);
  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition: 160ms var(--ease);
  /* Focus */
  --focus-ring: 0 0 0 3px rgba(120, 146, 129, 0.35);
  /* Status colors (base = brand palette; bg = tint; ink = readable text) */
  --status-done: var(--sage);
  --status-done-bg: rgba(120, 146, 129, 0.14);
  --status-done-ink: var(--sage-dark);
  --status-progress: var(--gold);
  --status-progress-bg: rgba(176, 141, 77, 0.16);
  --status-progress-ink: #6f5520;
  --status-todo: #8aa0ae;
  --status-todo-bg: rgba(138, 160, 174, 0.16);
  --status-todo-ink: #4a5b66;
  --status-overdue: var(--clay);
  --status-overdue-bg: rgba(141, 97, 70, 0.15);
  --status-overdue-ink: #6e4830;
  /* Avatar / initials palette */
  --avatar-1: var(--c-muted);
  --avatar-2: #b08d4d;
  --avatar-3: #8d6146;
  --avatar-4: #5c7f93;
  --avatar-5: #7c6a9c;
  --avatar-6: #a86a72;
}

body.journey-tool {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--tool-sans);
  -webkit-font-smoothing: antialiased;
}

body.journey-tool::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 10% 12%, rgba(200, 169, 110, 0.07), transparent 32%),
    radial-gradient(circle at 92% 55%, rgba(200, 169, 110, 0.05), transparent 30%);
}

.platform-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 24, 0.78);
  backdrop-filter: blur(16px) saturate(120%);
}

.platform-wrap {
  width: min(1200px, calc(100% - 48px));
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0 auto;
}

.platform-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.platform-mark {
  display: none;
}

.platform-brand strong {
  display: block;
  color: var(--c-cream-bright);
  font-family: var(--tool-serif);
  font-size: 1.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.02;
}

.platform-brand small {
  display: block;
  margin-top: 3px;
  color: var(--c-muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.platform-nav {
  display: flex;
  align-items: center;
  gap: clamp(13px, 2vw, 28px);
}

.platform-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.platform-nav a:hover,
.platform-nav a.active {
  color: var(--sage-dark);
}

.platform-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 2px;
  background: var(--gold);
}

.platform-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.platform-language {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.platform-language span {
  padding: 7px 10px;
  border-radius: 17px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.platform-language .selected {
  color: white;
  background: var(--sage-dark);
}

.platform-home {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.tool-banner {
  min-height: 295px;
  display: flex;
  align-items: end;
  color: white;
  background-position: center;
  background-size: cover;
}

.tool-banner.map-banner {
  background-image: linear-gradient(90deg, rgba(10, 10, 14, 0.78), rgba(10, 10, 14, 0.42) 53%, rgba(10, 10, 14, 0.08)),
    url("assets/becoming/stewardship-stream.jpg");
}

.tool-banner.assessment-banner {
  background-image: linear-gradient(90deg, rgba(10, 10, 14, 0.78), rgba(10, 10, 14, 0.4) 55%, rgba(10, 10, 14, 0.06)),
    url("assets/becoming/assessment-reflection-editorial.jpg");
  background-position: center right;
}

.tool-banner-copy {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 45px 0 40px;
}

.tool-banner .eyebrow {
  margin-bottom: 10px;
  color: var(--c-copper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.tool-banner h1 {
  margin: 0 0 10px;
  color: white;
  font-family: var(--tool-serif);
  font-size: clamp(2.7rem, 5vw, 3.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.tool-banner p:not(.eyebrow) {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.81);
  font-size: 0.98rem;
  line-height: 1.65;
}

.tool-footer {
  padding: 35px 0;
  background: var(--c-bg-deep);
}

.tool-footer .platform-wrap {
  min-height: 0;
}

.tool-footer p {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.tool-footer .platform-brand strong {
  color: white;
}

.tool-footer .platform-brand small {
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 1040px) {
  .platform-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .platform-wrap,
  .tool-banner-copy {
    width: min(1200px, calc(100% - 34px));
  }

  .platform-wrap {
    min-height: 69px;
    gap: 8px;
  }

  .platform-mark {
    width: 38px;
    height: 38px;
  }

  .platform-brand {
    gap: 8px;
  }

  .platform-brand strong {
    font-size: 1.07rem;
  }

  .platform-brand small,
  .platform-language {
    display: none;
  }

  .platform-home {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .tool-banner {
    min-height: 305px;
  }

  .tool-banner-copy {
    padding: 45px 0 30px;
  }

  .tool-footer .platform-wrap {
    display: grid;
    gap: 17px;
  }
}
