.journey-section { padding: clamp(2.75rem, 6vw, 5rem) 0; background: #f6f8f9; color: var(--ink); }
.journey-tinted { background: #e8eff3; }
.journey-hero { padding: clamp(3rem, 8vw, 6rem) 0; background: #142d48; color: white; }
.journey-hero h1 { font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.2; margin: 1rem 0; }
.journey-hero p:last-child { color: #dce7f1; max-width: 44rem; font-size: 1.125rem; line-height: 1.75; }
.journey-hero .journey-kind { color: #ffd1ae; }
.journey-heading { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: end; }
.journey-section .journey-heading { margin-bottom: 1.75rem; }
.journey-tinted .journey-heading:last-child { margin-bottom: 0; }
.journey-heading h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.3; }
.journey-heading p { margin-top: .55rem; color: #475b6e; font-size: 1rem; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.journey-card { padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; background: white; border: 1px solid #cdd9e2; border-radius: 12px; }
.journey-kind { color: #825033; font-size: .9rem; font-weight: 700; }
.journey-card h3 { font-size: 1.3rem; line-height: 1.4; }
.journey-card p, .journey-factors dd { color: #475b6e; font-size: 1rem; line-height: 1.65; }
.journey-output { color: #344f66; font-size: .9rem; margin-top: auto; }
.journey-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #142d48; border-radius: 6px; color: white; font-weight: 650; padding: .55rem 1rem; font-size: 1rem; }
.journey-button:hover { background: #284f71; color: white; }
.journey-card .journey-link { margin-top: auto; }
.journey-link { color: #214960; font-weight: 650; text-decoration: underline; text-underline-offset: .22em; }
.journey-factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
.journey-factors div { padding: 1.15rem; background: white; border: 1px solid #cdd9e2; border-radius: 8px; }
.journey-factors dt { font-weight: 700; }
.journey-factors dd { margin: .35rem 0 0; }
@media (max-width: 740px) {
  .journey-grid, .journey-factors { grid-template-columns: 1fr; }
}

/* The preview shows the kind of result each tool produces, using example data. */
.journey-spotlight,
.journey-home-hero {
  position: relative;
  isolation: isolate;
  color: #f0f7ff;
  background:
    radial-gradient(ellipse at 78% 20%, #164347 0%, transparent 60%),
    radial-gradient(ellipse at 12% 85%, #1b3158 0%, transparent 54%),
    #091524;
}
.journey-spotlight::before,
.journey-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(#a6f4e216 1px, transparent 1px), linear-gradient(90deg, #a6f4e216 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 72% 30%, black, transparent 72%);
}
.journey-hero-grid { display: grid; grid-template-columns: 1fr minmax(0, .9fr); align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.journey-spotlight h1 { font-size: clamp(2.65rem, 5.2vw, 4.9rem); letter-spacing: -.035em; }
.journey-spotlight h1 em,
.journey-home-hero h1 em { font-style: normal; color: #78ead4; }
.journey-spotlight .journey-kind,
.journey-home-hero .eyebrow { color: #a6e4db; }
.journey-spotlight .journey-lead,
.journey-home-hero .hero-copy > p { color: #cbd8e8; max-width: 34rem; line-height: 1.75; font-size: 1.05rem; }
.journey-home-hero .hero-actions .text-link { color: #b0f3e6; }
.journey-home-hero .hero-actions .btn,
.journey-primary { background: #79ebd5; color: #072a2c; border-color: transparent; }
.journey-home-hero .hero-actions .btn:hover,
.journey-primary:hover { background: #acfae9; color: #072a2c; }
.journey-primary { margin-top: 1.4rem; }
.journey-home-hero .hero-bottom span { background: #20364b; color: #d6e7f3; border-color: #476279; }
.journey-preview {
  color: #eef8ff;
  background: linear-gradient(145deg, #172f43, #0d2032 78%);
  border: 1px solid #54847e;
  border-radius: 20px;
  padding: clamp(1.1rem, 2.5vw, 1.85rem);
  box-shadow: 0 22px 70px #020b1866, 0 0 42px #55dbcb1f;
}
.journey-preview-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .8rem; margin-bottom: 1rem; }
.journey-preview-heading span { color: #bbded9; font-size: .875rem; }
.journey-preview fieldset { padding: 0; margin: 0 0 1rem; border: 0; display: flex; flex-wrap: wrap; gap: .45rem; min-width: 0; }
.journey-preview label { margin: 0; position: relative; display: inline-flex; color: #c8deea; cursor: pointer; }
.journey-preview label span { display: flex; align-items: center; border: 1px solid #4e6a81; border-radius: 7px; padding: .4rem .65rem; min-height: 42px; font-size: .875rem; }
.journey-preview input:checked + span { color: #092628; background: #a0efdf; border-color: #a0efdf; }
.journey-preview input:focus-visible + span { outline: 2px solid #fff; outline-offset: 3px; }
.journey-sr-only, .journey-preview input { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.journey-preview-panel { display: none; padding: 1rem; border: 1px solid #3e6574; border-radius: 12px; background: #153447; }
.journey-preview:has([value="reconcile"]:checked) [data-scenario="reconcile"],
.journey-preview:has([value="margin"]:checked) [data-scenario="margin"],
.journey-preview:has([value="brief"]:checked) [data-scenario="brief"] { display: block; animation: preview-in .22s ease-out; }
@keyframes preview-in { from { opacity: .65; transform: translateY(3px); } }
.journey-example-label { color: #c7dbe8; font-size: .9rem; }
.journey-example-value { font-size: clamp(2.4rem, 5vw, 3.5rem); font-weight: 750; color: #8ef2de; line-height: 1.2; font-variant-numeric: tabular-nums; }
.journey-preview .journey-preview-panel p { font-size: .94rem; color: #d7e4f1; line-height: 1.6; margin: .7rem 0; }
.journey-preview-link { color: #95eedc; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.journey-tool-section { background: linear-gradient(155deg, #edf6f6, #f4f7fc 64%); }
.journey-tool { overflow: hidden; transition: box-shadow .22s, transform .22s; }
.journey-tool:hover, .journey-tool:focus-within { box-shadow: 0 12px 32px #173b5626; transform: translateY(-4px); }
.journey-art { width: 100%; min-height: 112px; display: grid; place-items: center; border-radius: 10px; background: radial-gradient(ellipse at 72% 30%, var(--glow), transparent 77%), #10283d; }
.journey-tool-reconcile { --glow: #205a58; --signal: #77e8d3; }
.journey-tool-margin { --glow: #274b7f; --signal: #94c7ff; }
.journey-tool-brief { --glow: #594775; --signal: #d6b7ff; }
.journey-art-window { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: min(58%, 152px); height: 74px; padding: 12px; border-radius: 8px; border: 1px solid var(--signal); background: #102538; }
.journey-art-window span { display: block; height: 3px; width: 74%; border-radius: 4px; background: var(--signal); }
.journey-art-window span:nth-child(even) { width: 50%; opacity: .55; }
.journey-art-window span:last-child { width: 32%; }
.journey-tool-margin .journey-art-window { flex-direction: row; align-items: end; }
.journey-tool-margin .journey-art-window span { width: 12%; height: 53%; }
.journey-tool-margin .journey-art-window span:nth-child(2) { height: 32%; }
.journey-tool-margin .journey-art-window span:nth-child(3) { height: 68%; }
.journey-tool-margin .journey-art-window span:nth-child(4) { height: 54%; }
.journey-tool-margin .journey-art-window span:last-child { height: 88%; }
.journey-tool-brief .journey-art-window { transform: rotate(-5deg); }
@media (max-width: 740px) {
  .journey-hero-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .journey-preview-panel, .journey-tool { animation: none !important; transition: none; }
  .journey-tool:hover, .journey-tool:focus-within { transform: none; }
}

/* Keep the result preview prominent and give the headline room to breathe. */
.journey-spotlight,
.journey-home-hero {
  color: #172c40;
  background: radial-gradient(ellipse at 85% 50%, #e1f0ed, transparent 64%), #f6f9fb;
}
.journey-spotlight::before,
.journey-home-hero::before { display: none; }
.journey-spotlight h1,
.journey-home-hero h1 { color: #172c40; line-height: 1.22; letter-spacing: -.025em; }
.journey-spotlight h1 em,
.journey-home-hero h1 em { color: #14736a; }
.journey-spotlight .journey-kind,
.journey-home-hero .eyebrow { color: #376760; }
.journey-spotlight .journey-lead,
.journey-home-hero .hero-copy > p { color: #43596c; line-height: 1.8; }
.journey-home-hero .hero-actions .text-link { color: #245b66; }
.journey-home-hero .hero-actions .btn,
.journey-primary { color: #fff; background: #17655d; }
.journey-home-hero .hero-actions .btn:hover,
.journey-primary:hover { color: #fff; background: #104e48; }
.journey-home-hero .hero-bottom span { background: #fff; color: #486174; border-color: #ccdfe5; }
.journey-preview { border-color: #365c65; box-shadow: 0 16px 32px #183a4f24; }
.journey-tool-section { background: #fff; }
@media (max-width: 560px) {
  .journey-home-hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.55rem); }
}
