@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #1A2E1A;
  --gold: #C8A951;
  --gold-hover: #DCC277;
  --gold-pressed: #AB8C3C;
  --paper: #F6F1E6;
  --sheet: #FCF9F1;
  --muted: #4F5A4F;
  --rule: rgba(26, 46, 26, 0.18);
  --rule-soft: rgba(26, 46, 26, 0.1);
  --t-coverage: #1A2E1A;
  --t-courts: #7B5A78;
  --t-policy: #A8644A;
  --t-members: #5C7A8A;
  --t-programs: #7E9A6E;
  --sans: "Schibsted Grotesk", system-ui, "Helvetica Neue", Arial, sans-serif;
  --measure: 62ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--muted); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 500; margin: 0; }
h1 { font-size: clamp(2.4rem, 1.7rem + 3.1vw, 4.125rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.6rem + 1.4vw, 3rem); line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 1.25rem; max-width: 24ch; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 0.35rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); }
strong { font-weight: 600; }

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

section { padding-block: 4.5rem; border-top: 1px solid var(--rule-soft); }
section.hero { border-top: 0; padding-block: 0; }

.button, .sticky-cta {
  background: var(--gold);
  color: var(--green);
  font: 600 1.125rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.95rem 1.75rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.button:hover, .sticky-cta:hover { background: var(--gold-hover); color: var(--green); }
.button:active, .sticky-cta:active { background: var(--gold-pressed); color: var(--green); }
.button:hover, .button:focus-visible { background: var(--gold-hover); box-shadow: 0 0 0 4px rgba(200, 169, 81, 0.3), 0 6px 22px rgba(200, 169, 81, 0.55); }
.button:active { background: var(--gold-pressed); box-shadow: none; }
/* a band of light crosses under the label: once on arrival, and on each hover */
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
  .button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.7) 50%, transparent 75%);
    transform: translateX(-110%);
  }
  .button.is-seen::before { animation: cta-arrive 1.1s ease-in-out 0.25s; }
  .button:hover::before, .button:focus-visible::before { animation: cta-hover 0.8s ease-out; }
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: none; }
}
@keyframes cta-arrive { to { transform: translateX(110%); } }
@keyframes cta-hover { to { transform: translateX(110%); } }
/* phone: the same action, held at the bottom once the in-page buttons are out of view */
.sticky-cta { display: none; }
@media (max-width: 719px) {
  html { scroll-padding-bottom: 4.5rem; }
  .js .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.5rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--green);
    visibility: hidden;
    transform: translateY(100%);
  }
  .js .sticky-cta.is-on { visibility: visible; transform: none; }
  .js .sticky-cta:focus-visible { outline-offset: -6px; }
}
@media (max-width: 719px) and (prefers-reduced-motion: no-preference) {
  .js .sticky-cta { transition: transform 0.2s ease, visibility 0.2s; }
}
.action {
  display: inline-block;
  background: var(--green);
  color: var(--paper);
  font: 500 1.0625rem/1.2 var(--sans);
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.action:hover { background: #2A442A; }
.action.quiet { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.action.quiet:hover { background: rgba(26, 46, 26, 0.06); }
.text-button { background: none; border: 0; font: 500 1rem var(--sans); color: var(--green); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; padding: 0.5rem; }

.visually-hidden-focusable { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.visually-hidden-focusable:focus-within { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; padding-block: 1.25rem; }
.brand { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }

/* hero */
.hero { overflow: hidden; }
.hero-copy { padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: 3rem; }
.nowrap { white-space: nowrap; }
.audience { text-wrap: balance; margin: 0 0 1rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; }
.lede { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem); line-height: 1.4; margin: 1.25rem 0 2rem; max-width: 54ch; }
.lede-narrow { display: none; }
@media (max-width: 719px) { .lede-wide { display: none; } .lede-narrow { display: inline; } }
.hero-terms { list-style: none; padding: 0; margin: -0.75rem 0 2rem; max-width: 54ch; }
.hero-terms li { margin: 0.3rem 0; font-size: 0.9375rem; color: var(--muted); }
.hero-terms li:first-child { color: inherit; font-weight: 600; }
.wordmark { position: relative; width: 100%; aspect-ratio: 1440 / 257; overflow: hidden; touch-action: pan-y; }
.wordmark img, .wordmark canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 719px) {
  .wordmark { aspect-ratio: 1440 / 437; }
  .wordmark img { width: 170%; height: auto; left: -35%; right: auto; }
}

/* decision types */
[data-type="coverage"] { --ring: var(--t-coverage); }
[data-type="courts"] { --ring: var(--t-courts); }
[data-type="policy"] { --ring: var(--t-policy); }
[data-type="members"] { --ring: var(--t-members); }
[data-type="programs"] { --ring: var(--t-programs); }

/* the hard calls: a sample day queueing on you, then arriving prepared */
.queue { margin-top: 2.25rem; }
.queue-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.queue-bar p { margin: 0; }
.queue-count { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.queue-sample { font-size: 0.875rem; color: var(--muted); }
.queue-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.6rem; }
@media (min-width: 900px) { .queue-list { grid-template-columns: 1fr 1fr; gap: 0.75rem; } }
.q-card {
  width: 100%; height: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.15rem 0.6rem; align-content: start;
  padding: 0.8rem 0.95rem 0.85rem; background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--ring); border-radius: 6px;
}
.q-card:hover { border-color: var(--ring); }
.q-time { font-weight: 600; font-size: 0.9375rem; }
.q-type { font-size: 0.8125rem; color: var(--muted); align-self: center; }
.q-state { font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; background: var(--green); color: var(--paper); align-self: center; white-space: nowrap; }
.q-card .d-situation { grid-column: 1 / -1; font-weight: 500; font-size: 1rem; line-height: 1.3; margin-top: 0.15rem; }
.q-card .d-prepared, .q-card .d-why { grid-column: 1 / -1; font-size: 0.9375rem; line-height: 1.35; color: var(--muted); }
.q-card .d-prepared { color: var(--green); margin-top: 0.2rem; }
.queue-list li.is-waiting .q-state { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.queue-list li.is-waiting .d-prepared, .queue-list li.is-waiting .d-why { display: none; }
.queue-list li.is-waiting .q-card { cursor: default; }
.queue-turn { margin: 1.5rem 0 0; font-weight: 500; }
.queue-done { margin: 0.4rem 0 0; font-size: 0.9375rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .queue-list li { transition: opacity 0.4s ease, transform 0.4s ease; }
  .queue-list li.is-hidden { opacity: 0; transform: translateY(10px); }
  .q-card { transition: background-color 0.5s ease, border-color 0.3s ease; }
  .queue-list li.is-flipping .q-card { background: rgba(126, 154, 110, 0.18); }
  .queue-turn, .queue-done { transition: opacity 0.5s ease; }
  .queue.is-armed .queue-turn:not(.is-on), .queue.is-armed .queue-done:not(.is-on) { opacity: 0; }
  .queue-count.is-bump { animation: queue-bump 0.35s ease-out; }
}
@keyframes queue-bump { 0% { transform: translateY(0); } 40% { transform: translateY(-3px); } 100% { transform: translateY(0); } }

/* dialog */
.decision {
  width: min(92vw, 520px);
  border: 0;
  border-top: 6px solid var(--ring, var(--green));
  border-radius: 8px;
  background: var(--sheet);
  color: var(--green);
  padding: 1.5rem;
}
.decision::backdrop { background: rgba(26, 46, 26, 0.45); }
.decision h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1rem; }
.decision-type { margin: 0 0 0.25rem; font-size: 0.875rem; color: var(--muted); }
.decision dl { margin: 0 0 1rem; }
.decision dt { font-size: 0.875rem; font-weight: 600; margin-top: 0.75rem; }
.decision dd { margin: 0.1rem 0 0; }
.decision-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.decision { position: fixed; overflow: visible; }
.decision-stamp {
  position: absolute;
  right: 1.25rem;
  top: 1.1rem;
  padding: 0.3rem 0.7rem;
  border: 3px solid var(--ring, var(--green));
  border-radius: 4px;
  background: var(--sheet);
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transform: rotate(-7deg);
  visibility: hidden;
  pointer-events: none;
}
.decision-stamp.is-on { visibility: visible; }
.decision-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }


/* off-site section: the club as a model at night */
#autonomy { background: var(--green); color: var(--paper); border-top: 0; }
#autonomy :focus-visible { outline-color: var(--paper); }
.ops { margin-top: 2.5rem; }
.ops-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(246, 241, 230, 0.2); }
.ops-sample { font-size: 0.875rem; color: rgba(246, 241, 230, 0.7); flex-basis: 100%; }
.ops-clock { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; min-width: 5ch; }
.ops-status { flex: 1 1 14rem; font-size: 1rem; }
.ops-status.is-waiting { color: var(--paper); font-weight: 600; }
.ops-wheel { background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--paper); color: var(--paper); font: 500 0.9375rem var(--sans); border-radius: 4px; padding: 0.55rem 0.95rem; cursor: pointer; }
.ops-wheel[hidden] { display: none; }
.ops-wheel:hover { background: rgba(246, 241, 230, 0.1); }
.ops-wheel[aria-pressed="true"] { background: var(--paper); color: var(--green); box-shadow: none; }
.ops-body { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.ops-map { width: 100%; height: auto; display: block; overflow: visible; }
.slab { fill: #223A22; stroke: rgba(246, 241, 230, 0.16); stroke-width: 1; }
.slab-side { fill: #142414; }
.slab-side.dark { fill: #0F1D0F; }
.lanes path { fill: none; stroke: rgba(246, 241, 230, 0.2); stroke-width: 1.5; stroke-dasharray: 3 5; }
.ct-fill { fill: rgba(246, 241, 230, 0.04); transition: fill 0.6s ease; }
.ct-lines { fill: none; stroke: rgba(246, 241, 230, 0.3); stroke-width: 1.2; transition: stroke 0.6s ease; }
.ct-pool { opacity: 0; transition: opacity 0.6s ease; }
.ct.on .ct-pool { opacity: 1; }
.num-bg { fill: #1A2E1A; stroke: rgba(246, 241, 230, 0.3); stroke-width: 1; transition: stroke 0.6s ease; }
.ct-up.on .num-bg { stroke: var(--paper); }
.ct-num { fill: rgba(246, 241, 230, 0.6); font: 600 17px var(--sans); text-anchor: middle; transition: fill 0.6s ease; }
.pole { stroke: rgba(246, 241, 230, 0.35); stroke-width: 1.5; }
.bulb { fill: rgba(246, 241, 230, 0.25); transition: fill 0.6s ease; }
.ct-up.on .bulb { fill: #FCF9F1; }
.ct.on .ct-fill { fill: rgba(246, 241, 230, 0.24); }
.ct.on .ct-lines { stroke: rgba(252, 249, 241, 0.9); }
.ct-up.on .ct-num { fill: var(--paper); }
.ct.hit .ct-fill { fill: rgba(246, 241, 230, 0.55); }
.hub-roof { fill: var(--paper); transition: fill 0.25s ease; }
.hub-side { fill: #9AA596; }
.hub-side.dark { fill: #6F7A6C; }
.hub.is-busy .hub-roof { fill: #FFFFFF; }
.hub-label { fill: var(--green); font: 600 24px var(--sans); text-anchor: middle; letter-spacing: -0.02em; }
.you-link { fill: none; stroke: rgba(246, 241, 230, 0.28); stroke-width: 1.5; stroke-dasharray: 4 6; }
.you rect { fill: #223A22; stroke: rgba(246, 241, 230, 0.4); stroke-width: 1.5; transition: fill 0.3s ease, stroke 0.3s ease; }
.you-title { fill: var(--paper); font: 600 30px var(--sans); text-anchor: middle; }
.you-sub { fill: rgba(246, 241, 230, 0.75); font: 400 22px var(--sans); text-anchor: middle; }
.you.is-waiting rect { fill: var(--paper); stroke: var(--paper); }
.you.is-waiting text { fill: var(--green); }
.ops-dot { fill: #FCF9F1; }
.ops-feed { list-style: none; padding: 0; margin: 0; }
.ops-feed li { display: grid; grid-template-columns: 4.25rem 1fr; gap: 0 0.75rem; padding: 0.75rem 0; border-top: 1px solid rgba(246, 241, 230, 0.16); font-size: 0.9375rem; line-height: 1.35; }
.op-time { font-weight: 600; grid-row: span 2; }
.op-agent { font-size: 0.8125rem; color: rgba(246, 241, 230, 0.75); }
.op-text { grid-column: 2; }
.ops-feed li.is-hidden { display: none; }
.ops-feed li.is-waiting .op-text { color: var(--paper); font-weight: 600; }
@media (min-width: 980px) {
  .ops-body { grid-template-columns: 1.75fr 1fr; align-items: start; gap: 2.5rem; }
  .ops-sample { flex-basis: auto; order: 3; margin-left: auto; }
  .ops-status { flex: 0 1 auto; }
  .ops-wheel { order: 4; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .ops-feed { min-height: 15rem; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 980px) {
  .js .ops-feed { min-height: 24rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-fill, .ct-lines, .ct-num, .ct-pool, .num-bg, .bulb, .hub-roof, .you rect { transition: none; }
}

/* models: sources merge into one model, which feeds the club's layers */
.flow { position: relative; margin-top: 1.75rem; }
.flow-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.models { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.model { padding-left: 1.5rem; border-left: 2px solid var(--green); }
.model p { margin: 0; font-size: 1.0625rem; }
.model-more { border-left-style: dashed; }
.model-more h3 { font-weight: 500; }
.js .flow .model { border-left-color: transparent; }
.flow-gap { height: 3.5rem; margin-left: 50%; border-left: 2px solid var(--green); }
.js .flow-gap { border-left-color: transparent; }
.flow-panel { position: relative; background: var(--green); color: var(--paper); border-radius: 6px; padding: 1.5rem; max-width: 40rem; margin-inline: auto; }
.flow-panel p { margin: 0; font-size: 1.125rem; }
.layers { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.25rem; }
.layers li {
  --heat: 0;
  padding: 0.7rem 0.1rem;
  text-align: center;
  font-weight: 500;
  font-size: clamp(0.7rem, 0.55rem + 0.75vw, 1rem);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--rule);
  background: var(--sheet);
  background: color-mix(in srgb, var(--t-programs) calc(var(--heat) * 70%), var(--sheet));
}
.flow-caption { position: relative; margin: 1rem 0 0; color: var(--muted); }
@media (min-width: 980px) {
  .models { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .model { padding: 1rem 0 0; border-left: 0; border-top: 2px solid var(--green); }
  .model-more { border-top-style: dashed; }
  .js .flow .model { border-top-color: var(--rule); }
  .flow-gap { height: 5rem; }
  .layers { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
}

/* quiet sections */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-size: 1.5rem; font-weight: 500; color: var(--muted); margin-bottom: 0.4rem; }
.steps p, .trust p { margin: 0; font-size: 1.0625rem; }
.rows { list-style: none; padding: 0; margin: 0 0 2rem; max-width: var(--measure); }
.rows li { padding: 0.85rem 0; border-top: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
#keep .rows, #session .rows { margin-bottom: 0; }

/* built for your club: the tuned panel */
[data-type="comms"] { --ring: var(--muted); }
.keep-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.tuned { position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px; padding: 1.25rem 1.25rem 1rem; font-size: 0.9375rem; line-height: 1.35; align-self: start; }
.tuned p { margin: 0; max-width: none; }
.tuned-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; }
.tuned-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.tuned-live { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; color: var(--muted); }
.tuned-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--t-programs); }
.tuned-sample { font-size: 0.8125rem; color: var(--muted); margin-top: 0.15rem; }
.tuned-call { display: grid; gap: 0.1rem; margin: 1rem 0 0.75rem; padding: 0.7rem 0.85rem; border-radius: 6px; background: rgba(26, 46, 26, 0.05); min-height: 3.6rem; }
.tuned-call-label { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.tuned-list { list-style: none; padding: 0; margin: 0; }
.tuned-list li { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.75rem; padding: 0.65rem 0.5rem; margin-inline: -0.5rem; border-top: 1px solid var(--rule-soft); border-radius: 4px; }
.tuned-area { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.tuned-area::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; border: 2px solid var(--ring); }
.tuned-rule { grid-column: 1; }
.tuned-val { font-weight: 600; }
.tuned-when { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.75rem; color: var(--muted); text-align: right; white-space: nowrap; }
.tuned-list li.is-learned .tuned-when { color: var(--green); font-weight: 600; }
.tuned-foot { margin-top: 0.75rem !important; padding-top: 0.75rem; border-top: 1px solid var(--rule-soft); font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 980px) {
  .keep-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 4.5rem; align-items: start; }
  .tuned { margin-top: 0.5rem; }
  .tuned::before { content: ""; position: absolute; right: 100%; top: 6.4rem; width: 4rem; height: 1px; background: var(--rule); }
  .tuned::after { content: ""; position: absolute; right: calc(100% + 4rem - 4px); top: calc(6.4rem - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
}
@media (prefers-reduced-motion: no-preference) {
  .tuned-dot { animation: tuned-pulse 2s ease-in-out infinite; }
  .tuned-call-text { transition: opacity 0.35s ease, transform 0.35s ease; }
  .tuned-call.is-swapping .tuned-call-text { opacity: 0; transform: translateY(4px); }
  .tuned-list li { transition: background-color 0.5s ease; }
  .tuned-list li.is-learning { background: rgba(126, 154, 110, 0.16); }
  .tuned-val { display: inline-block; transition: opacity 0.3s ease, transform 0.3s ease; }
  .tuned-val.is-flipping { opacity: 0; transform: translateY(-4px); }
}
@keyframes tuned-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.trust { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(3, 1fr); }
.trust li { border-top: 1px solid var(--rule); padding-top: 1rem; }
@media (max-width: 720px) { .steps, .trust { grid-template-columns: 1fr; gap: 1.5rem; } section { padding-block: 3.25rem; } }
footer { border-top: 1px solid rgba(246, 241, 230, 0.16); background: var(--green); color: var(--paper); padding-block: 2.5rem; font-size: 0.9375rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
footer p { margin: 0; }
footer a:hover { color: var(--sheet); text-decoration-thickness: 2px; }

/* modeling session hands off to the start */
#session { padding-bottom: 0; }
.handoff { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.handoff p { margin: 0; font-weight: 500; font-size: 1rem; }
.handoff-line { position: relative; align-self: stretch; flex: none; width: 2px; background: var(--rule); }
.handoff-fill { position: absolute; inset: 0; background: var(--green); transform-origin: top; }

/* the 30 days as one timeline, all of it on screen: vertical on narrow screens, four columns on wide ones */
.start { background: var(--green); color: var(--paper); border-top: 0; padding-block: 2.5rem 2rem; }
.start :focus-visible { outline-color: var(--paper); }
.start-head { position: relative; }
/* the handoff line crosses into the green and lands on the title */
.start-head::before { content: ""; position: absolute; left: 0; top: -2.5rem; width: 2px; height: 1.75rem; background: var(--paper); transform-origin: top; }
.start-head::after { content: ""; position: absolute; left: -4px; top: -0.875rem; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); }
.start-head h2 { margin-bottom: 0.5rem; }
.start-head p { margin: 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem); }
.start-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; }
.start-step { position: relative; display: flex; flex-direction: column; padding: 0 0 1.5rem 1.75rem; }
.start-step:last-child { padding-bottom: 0; }
.start-step::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0.3rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); }
.start-step::after { content: ""; position: absolute; left: 5px; top: 0.3rem; bottom: -0.3rem; width: 2px; background: rgba(246, 241, 230, 0.45); transform-origin: top; }
.start-step:last-child::after { display: none; }
.start-step:last-child::before { box-shadow: 0 0 0 4px rgba(246, 241, 230, 0.25); }
.start-step p { margin: 0; font-size: 1rem; line-height: 1.4; }
.start-step .start-when { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.start-step h3 { font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem); font-weight: 500; margin-bottom: 0.375rem; }
.start-step .start-get { margin-top: 0.625rem; }
.start-body p + p { margin-top: 0.5rem; }
.start-multi { margin-top: 2.5rem; max-width: var(--measure); }
.start-multi h3 { margin-bottom: 0.375rem; }
.start-multi p { margin: 0; }
.start-capacity { margin: 0.75rem 0 0; font-size: 0.9375rem; opacity: 0.85; }
.start-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 241, 230, 0.2); }
.start-line { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin: 0; max-width: none; }
@media (min-width: 960px) {
  .start-steps { grid-template-columns: repeat(4, 1fr); column-gap: 2rem; }
  .start-step, .start-step:last-child { padding: 1.75rem 0 0; }
  .start-step::before { top: 0; }
  .start-step::after { left: 0; right: -2rem; top: 5px; bottom: auto; width: auto; height: 2px; transform-origin: left; }
  .start-step .start-get { margin-top: auto; padding-top: 0.75rem; }
  @supports (grid-template-rows: subgrid) {
    .start-steps { grid-template-rows: repeat(4, auto); }
    .start-step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .start-step .start-get { margin-top: 0; }
  }
}

/* drawn once on arrival; site.js arms it, so without motion or script everything is simply there */
@media (prefers-reduced-motion: no-preference) {
  .handoff-fill { transition: transform 0.5s linear; }
  .handoff.is-armed:not(.is-run) .handoff-fill { transform: scaleY(0); }
  .start-head::before { transition: transform 0.25s linear; }
  .start-head::after { transition: transform 0.2s ease 0.2s; }
  .start-head.is-armed:not(.is-run)::before { transform: scaleY(0); }
  .start-head.is-armed:not(.is-run)::after { transform: scale(0); }
  .start-step { --at: 0s; }
  .start-step > * { transition: opacity 0.5s ease var(--at), transform 0.5s ease var(--at); }
  .start-step::before { transition: transform 0.3s ease var(--at); }
  .start-step::after { transition: transform 0.5s linear var(--at); }
  .start-step.is-armed:not(.is-run) > * { opacity: 0; transform: translateY(10px); }
  .start-step.is-armed:not(.is-run)::before { transform: scale(0); }
  .start-step.is-armed:not(.is-run)::after { transform: scaleY(0); }
  @media (min-width: 960px) {
    .start-step:nth-child(2) { --at: 0.45s; }
    .start-step:nth-child(3) { --at: 0.9s; }
    .start-step:nth-child(4) { --at: 1.35s; }
    .start-step.is-armed:not(.is-run)::after { transform: scaleX(0); }
  }
}
