/* Giving Pipeline — marketing site */
:root {
  --ink: #17213f;
  --ink-soft: #46506b;
  --paper: #eef2ec;
  --card: #ffffff;
  --line: #cfd8cf;
  --green: #1d6b52;
  --green-soft: #d5e7dc;
  --gold: #e9a623;
  --gold-soft: #fbefd2;
  --plum: #7b3f67;
  --plum-soft: #f1e2ec;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--sans); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 750; letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: 1.35rem; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10; font-family: var(--sans); }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--sans); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; font-family: var(--sans); font-size: 1rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-btn { display: none; margin-left: auto; font: 600 1rem var(--sans); background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 650 1.02rem var(--sans); text-decoration: none; border-radius: 999px; padding: .85rem 1.5rem; border: 2px solid var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.nav .btn { padding: .55rem 1.1rem; color: #fff; }
.nav .btn:hover { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- sections ---------- */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.band-ink { background: var(--ink); color: #e9ecf4; }
.band-ink h2, .band-ink h3 { color: #fff; }
.band-ink .lede, .band-ink p { color: #c3c9da; }
.band-white { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 3rem; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 12ch; }
.hero-note { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* The ladder: the one memorable thing */
.ladder { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.4rem 1.2rem; box-shadow: 0 30px 60px -40px rgba(23,33,63,.45); font-family: var(--sans); position: relative; }
.ladder-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--ink-soft); margin-bottom: .6rem; }
.ladder-head strong { color: var(--ink); font-size: 1rem; }
.rungs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; }
.rung { display: grid; grid-template-columns: 1.6rem minmax(0,1fr) 38%; align-items: center; gap: .6rem; padding: .3rem 0; border-top: 1px solid #eef0ee; font-size: .9rem; }
.rung:last-child { border-top: 0; }
.rung .n { color: #8a93a8; font-variant-numeric: tabular-nums; font-size: .8rem; text-align: right; }
.rung .name { color: var(--ink); }
.rung .bar { height: 8px; border-radius: 99px; background: var(--green-soft); position: relative; overflow: hidden; }
.rung .bar i { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 99px; }
.rung.is-target { background: var(--gold-soft); border-radius: 8px; }
.mover { position: absolute; right: .55rem; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233,166,35,.25); transition: top 1.1s cubic-bezier(.6,0,.2,1); }
.nba { margin-top: 1rem; border-radius: 14px; background: var(--ink); color: #fff; padding: 1rem 1.1rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; }
.nba small { color: #aab3cb; font-size: .78rem; grid-column: 1 / -1; }
.nba b { font-size: 1.05rem; }
.nba .conf { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }
.nba .who { color: #c3c9da; font-size: .88rem; }
.sample-tag { font-size: .75rem; color: var(--ink-soft); margin-top: .7rem; }

/* ---------- comparison ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.versus > div { padding: 2rem 2.2rem; }
.versus > div + div { background: var(--ink); color: #fff; }
.versus h3 { font-size: 1.05rem; color: var(--ink-soft); font-weight: 600; }
.versus > div + div h3 { color: var(--gold); }
.versus ul { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 1.15rem; }
.versus li { padding: .55rem 0; border-top: 1px solid var(--line); }
.versus > div + div li { border-color: #2d3a5e; }
.versus li:first-child { border-top: 0; }

/* ---------- benchmark stair ---------- */
.stair { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 1rem; margin-top: 1rem; }
.step { border-radius: 16px 16px 0 0; padding: 1.4rem 1.4rem 1.6rem; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.step .pct { font-family: var(--sans); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.step .what { font-family: var(--sans); font-weight: 600; margin-top: .4rem; font-size: 1.02rem; }
.step:nth-child(1) { background: #3a4668; min-height: 170px; }
.step:nth-child(2) { background: #2b7a5f; min-height: 280px; }
.step:nth-child(3) { background: var(--gold); color: var(--ink); min-height: 340px; }
.stair-base { border-top: 3px solid #fff; }
.source { font-family: var(--sans); font-size: .85rem; color: #9aa3bd; margin-top: 1rem; }
.source a { color: #c3c9da; }

/* ---------- features ---------- */
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; }
.feature { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--ink-soft); }

/* score chips */
.scores { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; font-family: var(--sans); font-size: .9rem; }
.scores span { background: var(--green-soft); color: var(--green); border-radius: 99px; padding: .25rem .75rem; font-weight: 600; }

/* ---------- audience ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.plain-list { list-style: none; padding: 0; margin: 0; font-family: var(--sans); font-size: 1.1rem; }
.plain-list li { padding: .7rem 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }

/* ---------- steps (real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; padding: 2.4rem 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(s); font-family: var(--sans); font-weight: 800; font-size: 2.6rem; color: var(--green); line-height: 1; letter-spacing: -0.04em; }
.steps h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.tier-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .98rem; margin-top: 1rem; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.tier-table th, .tier-table td { text-align: left; padding: .6rem .9rem; border-top: 1px solid #e6ebe6; vertical-align: top; }
.tier-table thead th { background: var(--ink); color: #fff; font-weight: 600; border-top: 0; }
.tier-table td:first-child { font-variant-numeric: tabular-nums; color: var(--ink-soft); width: 3rem; }
.tier-table tr.overlay td { background: var(--plum-soft); }
.table-scroll { overflow-x: auto; }

.def-list { display: grid; grid-template-columns: 12rem 1fr; gap: 0; margin: 1rem 0 0; font-family: var(--sans); }
.def-list dt, .def-list dd { margin: 0; padding: .75rem 0; border-top: 1px solid var(--line); }
.def-list dt { font-weight: 700; }
.def-list dd { color: var(--ink-soft); font-family: var(--serif); }

.risk-chip { color: var(--plum); font-weight: 700; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1.2rem; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.plan h2 { font-size: 1.5rem; margin-bottom: .2rem; }
.plan .price { font-family: var(--sans); font-size: 2.8rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; margin: .8rem 0 .2rem; }
.plan .price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-soft); }
.plan .for { color: var(--ink-soft); font-size: 1.02rem; }
.plan ul { padding-left: 1.1rem; margin: 1rem 0 1.6rem; font-family: var(--sans); font-size: 1rem; }
.plan li { margin: .4rem 0; }
.plan .btn { margin-top: auto; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.featured .for, .plan.featured .price small { color: #c3c9da; }
.plan.featured .btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.plan.featured .btn-primary:hover { background: #fff; border-color: #fff; }
.plan .seats { font-family: var(--sans); font-size: .9rem; background: var(--gold-soft); color: #6b4a06; border-radius: 99px; padding: .2rem .7rem; align-self: flex-start; font-weight: 600; }

.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--sans); font-weight: 650; font-size: 1.15rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .8rem 0 0; color: var(--ink-soft); }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); }
.field { display: flex; flex-direction: column; gap: .35rem; font-family: var(--sans); }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .98rem; }
.field .hint { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1px solid #b9c4b9; border-radius: 10px; padding: .7rem .8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 2px solid #b9c4b9; border-radius: 12px; padding: .7rem 1rem; cursor: pointer; font-weight: 600; background: var(--paper); }
.choice input:checked + span { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.err { color: #a12d2d; font-size: .88rem; min-height: 1em; }
.form-done { background: var(--green-soft); border: 1px solid #a9cdb8; border-radius: 16px; padding: 1.4rem 1.6rem; font-family: var(--sans); }
.form-done h2 { font-size: 1.5rem; }

/* ---------- cta band ---------- */
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; }
.cta-band .actions { justify-content: flex-end; margin: 0; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cta-band .btn-primary:hover { background: #fff; border-color: #fff; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #aab3cb; font-family: var(--sans); font-size: .95rem; padding: 3rem 0 2.2rem; border-top: 1px solid #2d3a5e; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #e9ecf4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.site-footer .brand { color: #fff; margin-bottom: .8rem; }
.site-footer p { max-width: 38ch; }
.fine { max-width: none; grid-column: 1 / -1; border-top: 1px solid #2d3a5e; padding-top: 1.4rem; font-size: .85rem; color: #8a93ad; }

/* ---------- page header (inner pages) ---------- */
.page-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 18ch; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .split, .cta-band .wrap { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .plans { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 1.08rem; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; width: 100%; }
  .nav .btn { margin-top: .5rem; width: auto; padding: .7rem 1.2rem; }
  .versus { grid-template-columns: 1fr; }
  .stair { grid-template-columns: 1fr; }
  .step, .step:nth-child(n) { min-height: 0; border-radius: 14px; }
  .steps > li { grid-template-columns: 1fr; gap: .6rem; }
  .def-list { grid-template-columns: 1fr; }
  .def-list dd { border-top: 0; padding-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- pricing v2 ---------- */
.pilot-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; background: var(--gold-soft); border: 1px solid #efd9a2; border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: 1.4rem; font-family: var(--sans); }
.pilot-strip p { margin: 0; max-width: none; font-size: 1.02rem; }
.pilot-strip .btn { flex-shrink: 0; padding: .6rem 1.2rem; }
.plans-4 { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.plans-4 .plan { padding: 1.7rem 1.4rem; }
.plans-4 .plan .for { min-height: 4.4em; font-size: .98rem; line-height: 1.45; }
.plan .price-word { letter-spacing: -0.03em; }
.allow { margin: 1rem 0 0; padding: .8rem 0; border-block: 1px solid var(--line); font-family: var(--sans); }
.allow div { display: flex; justify-content: space-between; gap: .5rem; padding: .2rem 0; font-size: .95rem; }
.allow dt { color: var(--ink-soft); }
.allow dd { margin: 0; font-weight: 700; text-align: right; }
.plan.featured .allow { border-color: #34416a; }
.plan.featured .allow dt { color: #aab3cb; }
.plans-4 .plan ul { font-size: .95rem; }
.plan-notes { font-family: var(--sans); font-size: .95rem; color: var(--ink-soft); margin-top: 1.2rem; max-width: none; }
.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.addon { border: 1px dashed #9fb0a2; border-radius: 18px; padding: 1.8rem; background: var(--paper); }
.addon .soon { display: inline-block; font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--green); background: var(--green-soft); border-radius: 99px; padding: .2rem .7rem; margin-bottom: .8rem; }
.addon p { color: var(--ink-soft); }
.addon .addon-price { font-family: var(--sans); font-size: .95rem; color: var(--ink); font-weight: 600; margin: 0; }
@media (max-width: 1080px) { .plans-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .plans-4, .addons { grid-template-columns: 1fr; }
  .pilot-strip { flex-direction: column; align-items: flex-start; }
  .plans-4 .plan .for { min-height: 0; }
}

/* ---------- scoring section ---------- */
.scoring .split { align-items: center; }
.scorecard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; font-family: var(--sans); box-shadow: 0 30px 60px -40px rgba(23,33,63,.45); }
.sc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sc-head b { display: block; font-size: 1.25rem; }
.sc-head span { color: var(--ink-soft); font-size: .92rem; }
.sc-mom { background: var(--green-soft); color: var(--green) !important; font-weight: 700; border-radius: 99px; padding: .25rem .75rem; white-space: nowrap; }
.sc-scores { list-style: none; margin: 0; padding: .6rem 0; }
.sc-scores li { display: grid; grid-template-columns: 7rem 2.6rem 1fr; align-items: center; gap: .8rem; padding: .45rem 0; }
.sc-scores span { color: var(--ink-soft); font-size: .95rem; }
.sc-scores b { font-size: 1.2rem; text-align: right; font-variant-numeric: tabular-nums; }
.sc-scores b.na { font-size: .9rem; color: #8a93a8; font-weight: 600; }
.sc-scores i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--green) calc(var(--v) * 1%), var(--green-soft) 0); }
.sc-value { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.sc-value span { display: block; color: var(--ink-soft); font-size: .85rem; }
.sc-value b { font-size: 1.5rem; letter-spacing: -0.02em; }
.sc-nba { margin-top: 1rem; background: var(--ink); color: #fff; border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .15rem; }
.sc-nba span { color: #aab3cb; font-size: .8rem; }
.sc-nba em { font-style: normal; color: var(--gold); font-weight: 700; font-size: .92rem; }
