/* juniperflow.ai
   Layout: open editorial pages with no card grids. A single flowing line carries the eye
   from manuscript to published page; solutions sit on it as stations. Poppins (the logo
   face) for headlines and solution names, Roboto (ibeyond web face) for reading. */
:root {
  --bg: #FBFCFC;
  --tint: #F1F5F6;
  --ink: #13263A;
  --text: #3B4754;
  --muted: #687581;
  --line: #DCE3E7;
  --brand: #4A4A4E;
  --cta: #13263A;
  --cta-text: #FFFFFF;
  --focus: #FFB71B;
  --one: #E0482F;
  --note: #6E45D6;
  --create: #00877F;
  --flow: #1C4DA1;
  --glow-a: rgba(255, 183, 27, .16);
  --glow-b: rgba(31, 195, 165, .14);
  --glow-c: rgba(110, 69, 214, .10);
  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --logo-light: block;
  --logo-dark: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C161E; --tint: #111E28; --ink: #F0F4F6; --text: #C3CDD5; --muted: #8B98A3; --line: #22323E;
    --brand: #F0F4F6; --cta: #FFB71B; --cta-text: #13263A;
    --one: #FF7B61; --note: #A98BFF; --create: #2CC3B1; --flow: #7FA6EE;
    --glow-a: rgba(255, 183, 27, .10); --glow-b: rgba(44, 195, 177, .10); --glow-c: rgba(169, 139, 255, .10);
    --logo-light: none; --logo-dark: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C161E; --tint: #111E28; --ink: #F0F4F6; --text: #C3CDD5; --muted: #8B98A3; --line: #22323E;
  --brand: #F0F4F6; --cta: #FFB71B; --cta-text: #13263A;
  --one: #FF7B61; --note: #A98BFF; --create: #2CC3B1; --flow: #7FA6EE;
  --glow-a: rgba(255, 183, 27, .10); --glow-b: rgba(44, 195, 177, .10); --glow-c: rgba(169, 139, 255, .10);
  --logo-light: none; --logo-dark: block; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4.5vw, 48px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--bg); padding: .5rem 1rem; }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.6; }
.eyebrow { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wordmark { font-family: var(--font-display); font-weight: 700; color: var(--brand); letter-spacing: -0.01em; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }

.btn { display: inline-flex; align-items: center; gap: .5rem; font: 500 .95rem/1 var(--font-body); padding: .8rem 1.2rem; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; background: var(--cta); color: var(--cta-text); transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(19, 38, 58, .6); }
.go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.go::after { content: "→"; transition: transform .18s ease; }
.go:hover::after { transform: translateX(4px); }
.go.down::after { content: "↓"; }
.go.down:hover::after { transform: translateY(3px); }
.quiet { color: var(--muted); text-decoration: none; font-weight: 500; }
.quiet:hover { color: var(--ink); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav > a, .dropdown > summary { text-decoration: none; color: var(--text); font-weight: 500; font-size: .98rem; }
.nav > a:hover, .dropdown > summary:hover { color: var(--ink); }
.nav [aria-current="page"], .dropdown.current > summary { color: var(--ink); }
.nav > a.btn { color: var(--cta-text); }
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown[open] > summary::after { transform: rotate(225deg); }
.menu { position: absolute; left: -1rem; top: calc(100% + 18px); background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: .6rem; min-width: 300px; box-shadow: 0 30px 60px -30px rgba(12, 28, 42, .45); display: grid; gap: 2px; }
.menu.right { left: auto; right: -1rem; min-width: 260px; }
.menu a { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: .8rem; padding: .65rem .75rem; border-radius: 10px; text-decoration: none; color: var(--ink); }
.menu a:hover { background: var(--tint); }
.menu img { width: 34px; height: 34px; }
.menu b { font: 600 .98rem/1.2 var(--font-display); color: var(--brand); display: block; }
.menu small { color: var(--muted); font-size: .82rem; line-height: 1.3; display: block; }
.nav-toggle { display: none; margin-left: auto; }
.nav-toggle > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle > summary span, .nav-toggle > summary span::before, .nav-toggle > summary span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; }
.nav-toggle > summary span::before { position: absolute; top: -6px; }
.nav-toggle > summary span::after { position: absolute; top: 6px; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-block: 1px solid var(--line); padding: .5rem clamp(16px, 4.5vw, 48px) 1.5rem; display: grid; gap: .1rem; }
.mobile-menu a { text-decoration: none; color: var(--ink); padding: .55rem 0; font-weight: 500; }
.mobile-menu .eyebrow { margin-top: 1rem; }
.mobile-menu .btn { justify-self: start; margin-top: 1rem; color: var(--cta-text); padding: .8rem 1.2rem; }
@media (max-width: 900px) { .nav { display: none; } .nav-toggle { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3.5rem, 8vw, 6rem); }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 75%; height: 140%; background:
  radial-gradient(closest-side, var(--glow-a), transparent) 70% 20% / 60% 55% no-repeat,
  radial-gradient(closest-side, var(--glow-b), transparent) 30% 60% / 65% 60% no-repeat,
  radial-gradient(closest-side, var(--glow-c), transparent) 90% 75% / 55% 50% no-repeat; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.hero-copy { display: grid; gap: 1.75rem; }
.hero h1 span { display: block; }
.hero h1 .last { background: linear-gradient(90deg, var(--one), var(--note) 55%, var(--create)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero-art { width: 100%; max-width: 620px; justify-self: end; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .ribbon { stroke-dasharray: 1200; stroke-dashoffset: 0; animation: draw 2.2s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
.hero-art text { font-family: var(--font-display); font-weight: 600; font-size: 16px; fill: var(--ink); }
.hero-art .sub { font-family: var(--font-body); font-weight: 400; font-size: 13.5px; fill: var(--muted); }
.hero-art .disc { fill: var(--bg); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { justify-self: start; max-width: 520px; } }

/* ---------- journey (home) ---------- */
.journey { padding-block: clamp(4rem, 9vw, 7.5rem); }
.journey-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (max-width: 860px) { .journey-head { grid-template-columns: minmax(0, 1fr); } }
.spine { position: relative; display: grid; gap: clamp(3rem, 6vw, 4.5rem); padding: 0; margin: 0; list-style: none; }
.spine::before { content: ""; position: absolute; left: 39px; top: 40px; bottom: 40px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--one), var(--note) 38%, var(--create) 70%, var(--flow)); opacity: .45; }
.stop { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem clamp(1.5rem, 4vw, 4rem); align-items: start; position: relative; }
.stop .node { width: 80px; height: 80px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; position: relative; z-index: 1; }
.stop .node img { width: 64px; height: 64px; }
.stop .who { display: grid; gap: .6rem; padding-top: .4rem; }
.stop .who .wordmark { font-size: 1.5rem; }
.stop .who h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.stop .what { display: grid; gap: 1rem; padding-top: 2.6rem; }
.stop .links { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.stop.flow .who h3 { background: linear-gradient(90deg, var(--one), var(--note), var(--create)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 860px) {
  .spine::before { left: 27px; top: 28px; }
  .stop { grid-template-columns: 56px minmax(0, 1fr); }
  .stop .node { width: 56px; height: 56px; } .stop .node img { width: 46px; height: 46px; }
  .stop .what { grid-column: 2; padding-top: 0; }
}

/* ---------- vendor switch ---------- */
.switch { background: var(--tint); padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; overflow: hidden; }
.switch-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
@media (max-width: 860px) { .switch-head { grid-template-columns: minmax(0, 1fr); } }
.seg-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.seg-wrap .q { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.seg button { font: 500 .92rem/1 var(--font-body); border: 0; background: transparent; color: var(--text); padding: .7rem 1.1rem; border-radius: 999px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--cta); color: var(--cta-text); }
@media (max-width: 560px) { .seg { border-radius: 18px; } }
.lane-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.phases { display: grid; grid-template-columns: 1fr 3fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.phases span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.phases span:first-child { border-color: var(--one); color: var(--one); }
.lane { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.lane li { display: grid; gap: .9rem; align-content: start; position: relative; }
.lane .stage { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); line-height: 1.25; min-height: 2.5em; }
.lane .station { display: grid; justify-items: start; gap: .55rem; position: relative; }
.lane li:not(:last-child) .station::before { content: ""; position: absolute; left: 30px; top: 29px; width: calc(100% + 1.5rem); height: 3px; border-radius: 3px; background: var(--hue); opacity: .4; }
.lane .station img { width: 60px; height: 60px; background: var(--tint); border-radius: 50%; padding: 4px; position: relative; z-index: 1; }
.lane .station .wordmark { font-size: 1rem; }
.lane .by { display: grid; gap: .15rem; }
.lane .by small { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.lane .by strong { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.3; transition: opacity .25s ease, transform .25s ease; }
.lane .by strong.out { opacity: 0; transform: translateY(6px); }
.lane li.fixed .by strong { color: var(--one); }
.lane .by em { font-style: normal; font-size: .9rem; color: var(--muted); }
.switch-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: .6rem; }
.switch-foot p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 2.1vw, 1.5rem); color: var(--ink); max-width: 44ch; line-height: 1.35; }
.switch-foot .note { font: 400 .92rem var(--font-body); color: var(--muted); max-width: 70ch; }
@media (max-width: 860px) {
  .phases { display: none; }
  .lane { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .lane::before { content: ""; position: absolute; left: 29px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; opacity: .4; background: linear-gradient(180deg, var(--one), var(--note) 45%, var(--create)); }
  .lane li { grid-template-columns: 60px minmax(0, 1fr); column-gap: 1rem; row-gap: .3rem; }
  .lane .station { grid-row: 1 / span 2; grid-column: 1; align-self: start; }
  .lane .station .wordmark { display: none; }
  .lane li:not(:last-child) .station::before { display: none; }
  .lane .stage { min-height: 0; grid-column: 2; }
  .lane .by { grid-column: 2; }
}

/* ---------- login line ---------- */
.signin { padding-block: clamp(3.5rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.signin .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 3rem; }
.signin h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; }
.signin ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem 2.25rem; }
.signin a { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.signin img { width: 34px; height: 34px; }
.signin .wordmark { font-size: 1.05rem; }
.signin a:hover .wordmark { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- solutions page ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 160%; background:
  radial-gradient(closest-side, var(--glow-c), transparent) 40% 40% / 60% 60% no-repeat,
  radial-gradient(closest-side, var(--glow-a), transparent) 80% 60% / 50% 50% no-repeat; pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 1.75rem; }
.page-hero h1 { max-width: 15ch; }
.jump { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 76px); z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 2rem; overflow-x: auto; scrollbar-width: none; }
.jump a { flex: none; display: flex; align-items: center; gap: .5rem; padding-block: .95rem; text-decoration: none; font: 600 .95rem/1 var(--font-display); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.jump a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hue); }
.jump a:hover { color: var(--ink); border-color: var(--hue); }
.solution { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.solution.alt { background: var(--tint); }
.solution .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.solution .intro { display: grid; gap: 1.5rem; position: sticky; top: 160px; }
.solution .name { display: flex; align-items: center; gap: .9rem; }
.solution .name img { width: 64px; height: 64px; }
.solution .name .wordmark { font-size: 1.8rem; }
.solution .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.solution .actions .btn { background: var(--hue); color: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .solution .actions .btn { color: #0C161E; } }
:root[data-theme="dark"] .solution .actions .btn { color: #0C161E; }
.solution .actions small { color: var(--muted); font-size: .88rem; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding-block: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; }
.points li:first-child { border-top: 0; padding-top: 0; }
.points h3::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 3px; background: var(--hue); vertical-align: middle; margin-right: .7rem; transform: translateY(-3px); }
.features { font-size: .95rem; color: var(--muted); line-height: 1.8; }
.features b { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: .2rem; }
.features span:not(:last-child)::after { content: "  ·  "; white-space: pre; color: var(--hue); font-weight: 700; }
@media (max-width: 900px) { .solution .grid { grid-template-columns: minmax(0, 1fr); } .solution .intro { position: static; } }
.hue-one { --hue: var(--one); }
.hue-note { --hue: var(--note); }
.hue-create { --hue: var(--create); }
.hue-flow { --hue: var(--flow); }

/* ---------- about ---------- */
.prose-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 3.5rem); padding-block: 1rem clamp(4rem, 8vw, 6rem); }
.prose-cols > div { display: grid; gap: .75rem; align-content: start; }
.prose-cols h3 { font-size: 1.25rem; }
.prose-cols h3::after { content: ""; display: block; width: 36px; height: 3px; border-radius: 3px; margin-top: .9rem; background: var(--hue); }
@media (max-width: 860px) { .prose-cols { grid-template-columns: minmax(0, 1fr); } }
.contact { background: var(--tint); padding-block: clamp(4rem, 9vw, 7rem); }
.contact .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) { .contact .grid { grid-template-columns: minmax(0, 1fr); } }
.contact .side { display: grid; gap: 1.5rem; }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.email-line code { font: 600 1.15rem var(--font-display); color: var(--ink); user-select: all; }
.copy { font: 500 .82rem var(--font-body); padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
form.demo { display: grid; gap: 1.4rem; }
.field { display: grid; gap: .35rem; }
.field label, fieldset legend { font-weight: 500; color: var(--ink); font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { font: 400 1.05rem var(--font-body); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; padding: .55rem 0; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem 2rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.checks label { display: flex; align-items: center; gap: .45rem; cursor: pointer; }
.checks input { accent-color: var(--cta); width: 18px; height: 18px; }
.checks .wordmark { font-size: .98rem; }
.form-error { color: var(--one); font-size: .92rem; }
.form-done { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink); }
.form-done span { display: block; font: 400 1rem var(--font-body); color: var(--text); margin-top: .4rem; }

/* ---------- legal ---------- */
.legal .wrap { max-width: 780px; }
.legal .placeholder { color: var(--muted); border-left: 3px solid var(--line); padding-left: 1rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
.foot-grid .brandcol { display: grid; gap: 1rem; align-content: start; }
.foot-grid .brandcol img { height: 38px; width: auto; }
.foot-grid h4 { margin: 0 0 .9rem; font: 500 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-grid a { text-decoration: none; color: var(--text); }
.foot-grid a:hover { color: var(--ink); }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-grid .brandcol { grid-column: 1 / -1; } }

/* login links: visible but subtle */
.login { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--hue, var(--ink)); text-decoration: none; }
.login::after { content: "→"; transition: transform .18s ease; }
.login:hover { text-decoration: underline; text-underline-offset: 4px; }
.login:hover::after { transform: translateX(3px); }
.prose-cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .prose-cols.two { grid-template-columns: minmax(0, 1fr); } }

/* Solutions nav: the word links to the page, the menu opens on hover or via the arrow */
.navdrop { position: relative; display: flex; align-items: center; gap: .15rem; }
.navdrop > a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .98rem; }
.navdrop > a:hover, .navdrop > a[aria-current="page"] { color: var(--ink); }
.chev { width: 26px; height: 26px; border: 0; padding: 0; background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; border-radius: 6px; }
.chev::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.navdrop .menu { display: none; }
.navdrop .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.navdrop:hover .menu, .navdrop.open .menu { display: grid; }
.navdrop.open .chev::after, .navdrop:hover .chev::after { transform: rotate(225deg); }

/* Home: colored arrow at the end of each solution summary */
.more { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; vertical-align: middle; margin-left: .15rem; text-decoration: none; font-weight: 700; font-size: 1.05rem; line-height: 1; color: #FFFFFF; background: var(--hue); transition: transform .18s ease; }
.more:hover { transform: translateX(4px); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .more { color: #0C161E; } }
:root[data-theme="dark"] .more { color: #0C161E; }
.stop.flow .more { background: linear-gradient(135deg, var(--one), var(--note), var(--create)); }

/* Home arrows: plain arrow, one color for every solution */
.more, .stop.flow .more { display: inline-block; width: auto; height: auto; border-radius: 0; background: none; color: var(--flow); font-weight: 700; font-size: 1.15rem; margin-left: .1rem; vertical-align: baseline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .more { color: var(--flow); } }
:root[data-theme="dark"] .more { color: var(--flow); }

/* ===== Balanced variant: between the original and the muted version =====
   Solution hues softened about halfway toward slate; glows and gradients kept, at lower strength. */
:root {
  --bg: #FAFBFA; --tint: #EFF3F2; --ink: #17283A; --text: #3C4753; --muted: #6A7580; --line: #DAE0E1;
  --one: #B8513D; --note: #684FAE; --create: #217C74; --flow: #284F8D;
  --glow-a: rgba(230, 170, 60, .09); --glow-b: rgba(33, 124, 116, .08); --glow-c: rgba(104, 79, 174, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F171E; --tint: #141E26; --ink: #ECF0F2; --text: #C0C8CF; --muted: #8B959E; --line: #24313B;
    --one: #E8907D; --note: #A797E6; --create: #5BBFB2; --flow: #8EABDF;
    --glow-a: rgba(230, 170, 60, .06); --glow-b: rgba(91, 191, 178, .06); --glow-c: rgba(167, 151, 230, .06);
  }
}
:root[data-theme="dark"] {
  --bg: #0F171E; --tint: #141E26; --ink: #ECF0F2; --text: #C0C8CF; --muted: #8B959E; --line: #24313B;
  --one: #E8907D; --note: #A797E6; --create: #5BBFB2; --flow: #8EABDF;
  --glow-a: rgba(230, 170, 60, .06); --glow-b: rgba(91, 191, 178, .06); --glow-c: rgba(167, 151, 230, .06);
}
h2 { font-weight: 650; }
.hero-art .ribbon[stroke-width="30"] { opacity: .1; }
.spine::before { opacity: .3; }
.lane li:not(:last-child) .station::before { opacity: .28; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }

/* Inline sign-in for juniperNote and juniperCreate on the Solutions page */
button.login { font: 700 1rem/1.4 var(--font-body); background: none; border: 0; padding: 0; cursor: pointer; }
button.login[aria-expanded="true"]::after { transform: rotate(90deg); }
.login-box { display: grid; gap: 1.1rem; max-width: 380px; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--line); border-top: 3px solid var(--hue); border-radius: 12px; background: var(--bg); box-shadow: 0 18px 40px -28px rgba(12, 28, 42, .45); }
.login-box[hidden] { display: none; }
.login-box .btn { background: var(--hue); color: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login-box .btn { color: #0C161E; } }
:root[data-theme="dark"] .login-box .btn { color: #0C161E; }
.login-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; }
.forgot { font-size: .92rem; color: var(--muted); text-decoration: none; }
.forgot:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.login-msg { font-size: .9rem; color: var(--one); }
.login-box:not([hidden]) { animation: drop .2s ease-out; }
@keyframes drop { from { transform: translateY(-6px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Note and Create: sign-in offered as a quiet line, box opens below it */
.signin-line { color: var(--muted); font-size: .98rem; margin-top: .25rem; }
.signin-line button.login { font-size: inherit; }
.signin-line button.login::after { content: none; }
.signin-line button.login:hover { text-decoration: underline; text-underline-offset: 4px; }
