/* Dark is the default here, deliberately, rather than following the system.
   Light is available and remembered, but only when somebody asks for it. */
:root {
  --ground: #0a0d0c;
  --panel: #121816;
  --panel-2: #0e1412;
  --ink: #eaf0eb;
  --ink-2: #a8b6af;
  --ink-3: #7d8c85;
  --line: #232d28;
  --line-2: #19211d;
  --accent: #5cc47f;
  --accent-soft: #12241a;
  --accent-ink: #07100b;
  --warm: #d9ad63;
  --warm-soft: #221b0f;
  --globe-dot: #8aa899;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
  --glow: rgba(92,196,127,.5);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --voice: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="light"] {
  --ground: #f5f6f3;
  --panel: #ffffff;
  --panel-2: #eef1ec;
  --ink: #14181a;
  --ink-2: #4d5a5c;
  --ink-3: #7d8a89;
  --line: #dfe3dd;
  --line-2: #eaeee8;
  --accent: #14713c;
  --accent-soft: #e2efe6;
  --accent-ink: #ffffff;
  --warm: #8a5a12;
  --warm-soft: #f7eedc;
  --globe-dot: #4a5f58;
  --shadow: 0 8px 24px rgba(0,0,0,.10);
  --glow: rgba(20,113,60,.4);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 40rem; margin: 0 auto; padding: 0 1.25rem 5rem; }

/* header */
.site {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; padding: 1.4rem 0 0; font-size: .8rem;
}
.site a { color: var(--ink-3); text-decoration: none; letter-spacing: .04em; }
.site a:hover, .site a:focus-visible { color: var(--accent); }
.site .name { font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }

/* hero */
.hero { padding: 3.4rem 0 1rem; }
h1 {
  font-size: clamp(2.15rem, 8.4vw, 3.5rem);
  line-height: 1.02; letter-spacing: -.03em; font-weight: 800;
  margin: 0 0 1.1rem; text-wrap: balance;
}
.lede { font-size: 1.2rem; line-height: 1.5; margin: 0 0 .6rem; }
.lede b { font-weight: 700; }
.sub { color: var(--ink-2); margin: .6rem 0 0; }

h2 {
  font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 800;
  margin: 3.2rem 0 .7rem; text-wrap: balance;
}
h3 { font-size: 1.06rem; font-weight: 700; margin: 1.8rem 0 .35rem; }
p { margin: .8rem 0; }
a { color: var(--accent); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px;
}
ul, ol { margin: .8rem 0; padding-left: 1.2rem; }
li { margin: .35rem 0; }
li::marker { color: var(--ink-3); }

/* the human voice */
.voice {
  font-family: var(--voice); font-style: italic;
  font-size: 1.06rem; line-height: 1.5; color: var(--ink-2);
  border-left: 2px solid var(--line); padding-left: 1rem; margin: 1.3rem 0;
}
.voice b { font-style: normal; color: var(--ink); }

/* then and now */
.thennow {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 1.3rem 0;
}
@media (min-width: 34rem) { .thennow { grid-template-columns: 1fr 1fr; } }
.thennow div { background: var(--panel); padding: 1rem 1.15rem; }
.thennow .k {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); display: block; margin-bottom: .5rem; font-weight: 700;
}
.thennow p { margin: 0; font-size: .95rem; line-height: 1.7; }
.thennow .now .k { color: var(--accent); }
.thennow .then p { color: var(--ink-2); }

/* project picker */
.picker { display: grid; gap: .7rem; margin: 1.3rem 0 1rem; }
.pick {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  background: var(--panel); border: 1px solid var(--line);
  padding: .95rem 1.15rem; text-decoration: none; color: var(--ink);
  transition: border-color .12s ease, transform .12s ease;
}
.pick:hover, .pick:focus-visible { border-color: var(--accent); transform: translateY(-1px); }
.pick b { font-size: 1.02rem; font-weight: 700; }
.pick span { color: var(--ink-3); font-size: .8rem; white-space: nowrap; font-family: var(--mono); }

/* buttons */
.cta {
  display: block; text-align: center; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1.05rem; padding: 1rem 1.3rem;
  text-decoration: none; margin: 1.3rem 0 .5rem;
}
.cta:hover, .cta:focus-visible { filter: brightness(1.08); }
.cta.ghost {
  background: transparent; color: var(--accent);
  border: 1px solid var(--accent); font-size: .96rem; padding: .8rem 1.2rem;
}
.disclose { font-size: .8rem; color: var(--ink-3); margin: .4rem 0 0; }

/* prompt block */
.prompt {
  position: relative; background: #101714; color: #dbe7de;
  border: 1px solid #1e2a24; padding: 1.1rem 1.2rem 1.2rem;
  font-family: var(--mono); font-size: .84rem; line-height: 1.7;
  white-space: pre-wrap; word-break: break-word; margin: .9rem 0;
}
.prompt .fill { color: #8fd6a8; }
.copy {
  position: absolute; top: .55rem; right: .55rem;
  background: #1e2a24; color: #dbe7de; border: 1px solid #2c3b33;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; padding: .35rem .6rem; cursor: pointer;
}
.copy:hover { background: #2c3b33; }
.copy.done { color: #8fd6a8; border-color: #8fd6a8; }

/* notes */
.note {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); padding: .95rem 1.15rem; margin: 1.2rem 0;
}
.note.warm { border-left-color: var(--warm); background: var(--warm-soft); }
.note p { margin: .35rem 0; }
.note .k {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); display: block; margin-bottom: .3rem;
}
.note.warm .k { color: var(--warm); }

/* pay list */
.pay { list-style: none; padding: 0; margin: 1rem 0; }
.pay li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .6rem 0; border-bottom: 1px solid var(--line-2); font-size: .96rem;
}
.pay li:last-child { border-bottom: none; }
.pay .p { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); white-space: nowrap; }

/* faq */
.faq dt { font-weight: 700; margin-top: 1.5rem; }
.faq dd { margin: .3rem 0 0; color: var(--ink-2); }

/* signup */
.signup { background: var(--panel); border: 1px solid var(--line); padding: 1.2rem 1.3rem; margin: 1.4rem 0; }
.signup h3 { margin-top: 0; }
.signup form { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 0; }
.signup input[type=email] {
  flex: 1 1 12rem; font: inherit; font-size: .95rem; padding: .7rem .8rem;
  border: 1px solid var(--line); background: var(--ground); color: var(--ink);
}
.signup button {
  font: inherit; font-weight: 700; font-size: .95rem; padding: .7rem 1.1rem;
  background: var(--accent); color: var(--accent-ink); border: none; cursor: pointer;
}
.signup .disclose { margin-top: .6rem; }

/* steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.2rem 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.1rem 2.8rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -.05rem;
  width: 1.9rem; height: 1.9rem; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: .85rem; font-family: var(--mono);
  display: flex; align-items: center; justify-content: center;
}
.steps li b { display: block; margin-bottom: .1rem; }

footer {
  margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-3);
}
footer a { color: var(--ink-2); }
footer p { margin: .5rem 0; }

.back { display: inline-block; margin: 1.6rem 0 0; font-size: .9rem; }

/* ---- motion, all of it optional ---- */
/* only hidden when scripting is on, so a no-js visitor sees everything */
html.js .reveal { opacity: 0; transform: translateY(10px); }
html.js .reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal.in { opacity: 1; transform: none; transition: none; }
}
.pick { transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease; }
.pick:hover, .pick:focus-visible { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.pick:active { transform: scale(.995); }
.cta { transition: filter .14s ease, transform .1s ease; }
.cta:active { transform: scale(.99); }
.copy { transition: background .14s ease, color .14s ease, border-color .14s ease; }
@media (prefers-reduced-motion: reduce) {
  .pick, .cta, .copy { transition: none; }
  .pick:active, .cta:active { transform: none; }
}

/* picker price line */
.pick span { text-align: right; line-height: 1.35; }
.pick span i { display: block; font-style: normal; color: var(--accent); font-size: .76rem; }

/* the three way tally */
.tally {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 1.3rem 0;
}
@media (min-width: 34rem) { .tally { grid-template-columns: repeat(3, 1fr); } }
.tally div { background: var(--panel); padding: 1.1rem 1.15rem; }
.tally b {
  display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.tally div:nth-child(1) b { color: var(--accent); }
.tally div:nth-child(3) b { color: var(--warm); }
.tally span { display: block; font-size: .84rem; color: var(--ink-2); margin-top: .4rem; }

/* stats page */
.statgrid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.3rem 0;
}
.statgrid div { background: var(--panel); padding: 1rem 1.1rem; }
.statgrid b {
  display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.statgrid span { display: block; font-size: .78rem; color: var(--ink-3); margin-top: .3rem; line-height: 1.35; }
.bars { margin: 1rem 0; }
.bar { margin: .5rem 0; }
.bar .row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.bar .row b { font-weight: 600; }
.bar .row span { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.bar .track { height: 6px; background: var(--panel-2); border: 1px solid var(--line-2); margin-top: .25rem; }
.bar .fill { height: 100%; background: var(--accent); width: 0; transition: width .8s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { .bar .fill { transition: none; } }
.empty { color: var(--ink-3); font-size: .92rem; }

/* ---- the globe ---- */
.globe {
  display: grid; grid-template-columns: 1fr; gap: 1.2rem; align-items: center;
  background: var(--panel); border: 1px solid var(--line);
  padding: 1.2rem 1.25rem; margin: 1.4rem 0;
}
@media (min-width: 36rem) { .globe { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); } }
.globe-wrap { display: flex; justify-content: center; }
#globe-canvas { display: block; }
.g-count b {
  display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.035em;
  line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent);
}
.g-count span { display: block; font-size: .85rem; color: var(--ink-2); margin-top: .35rem; }
.g-sub { font-size: .82rem; color: var(--ink-3); margin: .5rem 0 .9rem; }
.g-feed { list-style: none; padding: 0; margin: 0 0 .9rem; }
.g-feed li {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .82rem; color: var(--ink-2); padding: .28rem 0;
  border-bottom: 1px solid var(--line-2);
}
.g-feed li:last-child { border-bottom: none; }
.g-feed .g-dot {
  width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%;
  background: var(--ink-3); margin-top: .35rem;
}
.g-feed li.fresh .g-dot { background: var(--accent); animation: gpulse 2.4s ease-in-out infinite; }
.g-feed .g-line { flex: 1 1 auto; }
.g-feed .g-ago { color: var(--ink-3); font-family: var(--mono); font-size: .72rem; white-space: nowrap; }
@keyframes gpulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .g-feed li.fresh .g-dot { animation: none; } }
.g-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.g-chip {
  font-family: var(--mono); font-size: .72rem; color: var(--ink-2);
  background: var(--panel-2); border: 1px solid var(--line-2); padding: .18rem .45rem;
}
.microlabel {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700; display: block; margin-bottom: .45rem;
}

/* ---- consequence hook ---- */
.consequence {
  font-family: var(--voice); font-style: italic;
  font-size: clamp(1.25rem, 4.4vw, 1.75rem); line-height: 1.32;
  margin: 0 0 .9rem; color: var(--ink); max-width: 36ch;
}

/* ---- the four branches ---- */
.branches { display: grid; gap: .7rem; margin: 1.3rem 0 1rem; }
@media (min-width: 34rem) { .branches { grid-template-columns: 1fr 1fr; } }
.branch {
  display: block; background: var(--panel); border: 1px solid var(--line);
  padding: 1.05rem 1.2rem; text-decoration: none; color: var(--ink);
  transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease;
}
.branch:hover, .branch:focus-visible {
  border-color: var(--accent); transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.branch:active { transform: scale(.995); }
.branch b { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.branch span { display: block; font-size: .85rem; color: var(--ink-3); margin-top: .25rem; }
@media (prefers-reduced-motion: reduce) { .branch { transition: none; } .branch:active { transform: none; } }

/* ---- reported examples on a branch page ---- */
.made { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 1.2rem 0; }
.made div { background: var(--panel); padding: 1rem 1.15rem; }
.made b { display: block; font-size: 1rem; font-weight: 700; }
.made p { margin: .3rem 0 .4rem; font-size: .92rem; color: var(--ink-2); line-height: 1.55; }
.made span {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .06em;
  color: var(--ink-3); text-transform: lowercase;
}

/* globe note text on the homepage */
.g-note { font-size: .86rem; color: var(--ink-2); margin: .7rem 0 0; line-height: 1.5; }

/* ---- the three payoffs under the hero ---- */
.payoffs {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin: 1.6rem 0 .5rem;
}
@media (min-width: 40rem) { .payoffs { grid-template-columns: repeat(3, 1fr); } }
.payoffs div { background: var(--panel); padding: 1rem 1.1rem; }
.payoffs b { display: block; font-size: .98rem; font-weight: 700; line-height: 1.3; color: var(--accent); }
.payoffs span { display: block; font-size: .86rem; color: var(--ink-2); margin-top: .3rem; line-height: 1.5; }

/* ---- who is telling you this ---- */
.proof {
  border-left: 3px solid var(--accent); background: var(--panel);
  padding: 1rem 1.2rem; margin: 1.2rem 0;
}
.proof p { margin: .4rem 0; }
.proof p:first-child { margin-top: 0; }
.proof p:last-child { margin-bottom: 0; color: var(--ink-2); font-size: .95rem; }

/* ---- book time with me ---- */
.book {
  background: var(--panel); border: 1px solid var(--line);
  padding: 1.2rem 1.3rem; margin: 1.2rem 0;
}
.book p { margin: .5rem 0; }
.book p:first-child { margin-top: 0; }
.book .cta { margin: .9rem 0 0; }
.book .disclose { margin-top: .7rem; }

/* footnote line in the footer */
footer .fine { font-size: .8rem; color: var(--ink-3); }
footer .fine a { color: var(--ink-3); }

/* ---- photographs ---- */
.hero-shot {
  margin: 1.5rem calc(50% - 50vw) .4rem;
  width: 100vw;
  background: var(--panel-2);
  overflow: hidden;
}
.hero-shot img {
  display: block; width: 100%;
  height: clamp(170px, 33vw, 360px);
  object-fit: cover; object-position: 50% 45%;
}
.shot { margin: 1.3rem 0; border: 1px solid var(--line); background: var(--panel-2); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--ink-3); padding: .5rem .75rem; border-top: 1px solid var(--line);
}
/* parallax overscan: the script scales the picture up slightly and clamps its
   drift to that margin, so an edge can never be pulled into view */
html.js .hero-shot.plx img { scale: 1.12; }

/* ============================================================
   Motion layer. Everything here is decoration: if the visitor
   asked for reduced motion, or JS never ran, the page still
   reads exactly the same. Nothing below moves layout.
   ============================================================ */

/* reading progress, 2px, top of the viewport */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--accent); z-index: 50; will-change: transform;
}

/* hero entrance, staggered by element */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.js .hero h1,
html.js .hero .consequence,
html.js .hero .lede,
html.js .hero .sub { animation: rise .7s cubic-bezier(.2,.7,.3,1) both; }
html.js .hero .sub { animation-delay: .09s; }
html.js .hero .lede,
html.js .hero .consequence { animation-delay: .17s; }

/* children of a revealed group come in one after another */
html.js .reveal .kid { opacity: 0; transform: translateY(9px); }
html.js .reveal.in .kid {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1);
}

/* photographs settle rather than pop */
@keyframes settle { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: none; } }
html.js .shot img { animation: settle 1s cubic-bezier(.2,.7,.3,1) both; animation-play-state: paused; }
html.js .shot.in img { animation-play-state: running; }
html.js .hero-shot img { animation: rise .9s cubic-bezier(.2,.7,.3,1) both; animation-delay: .1s; }
.hero-shot { position: relative; }
.hero-shot .tagline {
  position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; padding: .35rem .7rem;
  background: rgba(10,14,12,.55); backdrop-filter: blur(3px);
  opacity: 0; animation: rise .8s ease both; animation-delay: .7s;
  white-space: nowrap;
}
@media (max-width: 26rem) { .hero-shot .tagline { font-size: .6rem; letter-spacing: .06em; } }
html:not(.js) .hero-shot .tagline { opacity: 1; animation: none; }

/* text links get an underline that draws itself */
.wrap p a, .faq a, .wrap li a, .g-note a {
  text-decoration: none; color: var(--accent);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .28s cubic-bezier(.2,.7,.3,1);
  padding-bottom: 1px;
}
.wrap p a:hover, .faq a:hover, .wrap li a:hover, .g-note a:hover,
.wrap p a:focus-visible, .wrap li a:focus-visible { background-size: 100% 1px; }

/* the primary button gets one pass of light on hover */
.cta { position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); opacity: 0;
}
.cta:hover::after { animation: sheen .75s ease-out; }
@keyframes sheen { from { left: -60%; opacity: 1; } to { left: 115%; opacity: 1; } }

/* branch and project cards: a bar grows on the left, the arrow leans in */
.branch, .pick { position: relative; overflow: hidden; }
.branch::before, .pick::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.branch:hover::before, .branch:focus-visible::before,
.pick:hover::before, .pick:focus-visible::before { transform: scaleY(1); }
.branch b::after {
  content: " \2192"; display: inline-block; color: var(--accent);
  transform: translateX(-4px); opacity: 0;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), opacity .2s ease;
}
.branch:hover b::after, .branch:focus-visible b::after { transform: translateX(2px); opacity: 1; }

/* payoff panels lift a little and light their heading */
.payoffs div { transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s ease; }
.payoffs div:hover { transform: translateY(-3px); background: var(--accent-soft); }

/* the prompt block confirms a copy with a flash of its own border */
@keyframes flash { 0% { box-shadow: 0 0 0 0 var(--glow); } 100% { box-shadow: 0 0 0 14px transparent; } }
.prompt.flash { animation: flash .7s ease-out; }
.copy.done::before { content: "\2713 "; }

/* questions open and close instead of standing there as a wall */
.faq details {
  border-bottom: 1px solid var(--line-2); padding: .1rem 0;
}
.faq summary {
  list-style: none; cursor: pointer; font-weight: 700; padding: .85rem 2rem .85rem 0;
  position: relative; transition: color .18s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover, .faq details[open] summary { color: var(--accent); }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { overflow: hidden; }
.faq .a p { margin: 0 0 .95rem; color: var(--ink-2); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq details[open] .a { animation: open .3s ease both; }

/* the globe fades itself up with no help from a script, so a failed download
   of motion.js can never leave it invisible */
@keyframes gfade { from { opacity: 0; } to { opacity: 1; } }
html.js #globe-canvas { animation: gfade 1.1s ease .15s both; }

/* ---- the four people are the four routes ---- */
.hotspots .frame { position: relative; line-height: 0; }
.hs {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: block; text-decoration: none; z-index: 2;
}
.hs i {
  display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.hs i::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0;
}
html.js .hs i::after { animation: ping 2.8s ease-out infinite; animation-delay: var(--d, 0s); }
@keyframes ping {
  0% { transform: scale(.6); opacity: .8; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { opacity: 0; }
}
.hs span {
  position: absolute; left: 50%; bottom: 20px; transform: translate(-50%, 6px);
  white-space: nowrap; font-size: .78rem; font-weight: 700; color: #fff;
  background: rgba(10,14,12,.82); padding: .3rem .55rem;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.3,1);
}
.hs:hover span, .hs:focus-visible span { opacity: 1; transform: translate(-50%, 0); }
.hs:hover i, .hs:focus-visible i { background: #fff; }
.hotspots figcaption .hint { color: var(--accent); }
@media (max-width: 34rem) { .hs { display: none; } .hotspots figcaption .hint { display: none; } }

/* ---- before and after, dragged by the visitor ---- */
.compare {
  position: relative; margin: 1.3rem 0; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel-2);
  touch-action: pan-y;
}
.compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%; display: block;
}
.compare .c-before { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.compare .c-line {
  position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 2px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.22), 0 0 10px rgba(0,0,0,.45);
  pointer-events: none;
}
.compare .c-grip {
  position: absolute; top: 50%; left: var(--p, 50%);
  transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.35); pointer-events: none;
  display: grid; place-items: center; color: #14181a; font-size: .8rem;
  transition: transform .18s cubic-bezier(.2,.7,.3,1);
}
.compare.dragging .c-grip { transform: translate(-50%, -50%) scale(1.12); }
.compare input[type=range] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
  background: transparent; touch-action: pan-y;
}
.compare input[type=range]:focus-visible ~ .c-grip { outline: 2px solid var(--accent); outline-offset: 3px; }
.compare .c-tag {
  position: absolute; bottom: .6rem; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(10,14,12,.6); padding: .25rem .5rem; pointer-events: none;
}
.compare .c-tag.l { left: .6rem; }
.compare .c-tag.r { right: .6rem; }

@media (prefers-reduced-motion: reduce) {
  html.js .hero h1, html.js .hero .consequence, html.js .hero .lede, html.js .hero .sub,
  html.js .shot img, html.js .hero-shot img, .hero-shot .tagline,
  .faq details[open] .a { animation: none; opacity: 1; transform: none; }
  html.js .reveal .kid { opacity: 1; transform: none; }
  .wrap p a, .faq a, .wrap li a, .g-note a { transition: none; background-size: 100% 1px; }
  .cta:hover::after { animation: none; }
  .branch::before, .pick::before, .branch b::after, .payoffs div,
  .compare .c-grip, .faq summary::after { transition: none; }
  html.js #globe-canvas { animation: none; }
  html.js .hs i::after { animation: none; }
  .progress { display: none; }
}

/* ============================================================
   Dark first, a theme switch, and everything sized for a thumb.
   ============================================================ */

html { -webkit-tap-highlight-color: rgba(92,196,127,.18); }

/* header row: the link and the switch sit together on the right */
.site-r { display: flex; align-items: center; gap: .35rem; }
.site-r > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; }
.theme {
  width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  background: transparent; border: 1px solid transparent; color: var(--ink-3);
  cursor: pointer; font: inherit; transition: border-color .2s ease, color .2s ease;
}
.theme:hover, .theme:focus-visible { color: var(--accent); border-color: var(--line); }
.t-icon { display: block; width: 16px; height: 16px; position: relative; }
/* a moon that fills into a sun when the light version is on */
.t-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid currentColor;
  box-shadow: inset -4px -3px 0 0 currentColor;
  transition: box-shadow .35s ease, transform .45s cubic-bezier(.2,.7,.3,1);
}
:root[data-theme="light"] .t-icon::before {
  box-shadow: inset 0 0 0 8px currentColor;
  transform: rotate(180deg) scale(.82);
}

/* one soft crossfade when the theme flips; the script holds this class briefly */
html.theming body, html.theming .wrap * {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
}

/* a slow glow behind the opening screen. Dark backgrounds want one light source */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  left: -18%; top: -35%; width: 70%; padding-bottom: 70%;
  background: radial-gradient(circle at 50% 50%, var(--accent), transparent 68%);
  opacity: .11; filter: blur(18px); pointer-events: none;
}
html.js .hero::before { animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe {
  from { transform: translate3d(0,0,0) scale(1); opacity: .09; }
  to   { transform: translate3d(6%, 4%, 0) scale(1.14); opacity: .15; }
}

/* every section heading draws its own short rule */
h2 { position: relative; padding-top: .9rem; }
h2::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 34px;
  background: var(--accent); transform-origin: 0 50%;
}
html.js .reveal h2::before, html.js h2.reveal::before { transform: scaleX(0); }
html.js h2.reveal.in::before {
  transform: scaleX(1); transition: transform .55s cubic-bezier(.2,.7,.3,1) .1s;
}

/* the green button glows a little on a dark page */
.cta { box-shadow: 0 6px 22px rgba(92,196,127,.14); }
:root[data-theme="light"] .cta { box-shadow: none; }
.cta.ghost { box-shadow: none; }

/* a cue that there is more below, which fades out as soon as you move */
.cue {
  display: block; width: 44px; height: 44px; margin: .4rem auto 0;
  position: relative; color: var(--ink-3);
}
.cue::after {
  content: ""; position: absolute; left: 50%; top: 40%; width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translate(-50%,-50%) rotate(45deg);
}
html.js .cue { animation: bob 2.6s ease-in-out infinite; transition: opacity .4s ease; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.cue.gone { opacity: 0; pointer-events: none; }

/* ---- thumbs ---- */
.copy { min-height: 44px; min-width: 64px; }
.faq summary { min-height: 48px; display: flex; align-items: center; }
.signup input[type=email], .signup button { min-height: 48px; }
.back, footer a { display: inline-block; padding: .35rem 0; }
.branch, .pick { -webkit-touch-callout: none; }
.branch:active, .pick:active, .cta:active, .theme:active { transform: scale(.985); }
/* the hotspot dot is small on purpose, its tap area is not */
.hs::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 44px; height: 44px; transform: translate(-50%,-50%);
}
.compare .c-grip { width: 48px; height: 48px; }

/* on a touch screen nothing may hide behind a hover */
@media (hover: none) {
  .branch b::after { opacity: 1; transform: translateX(2px); }
  /* labels stay hidden on touch. Four of them at once overlap into a mess, and a
     tap goes straight to the page anyway, so the dot is the whole affordance */
  .hs i { width: 17px; height: 17px; }
  .wrap p a, .faq a, .wrap li a, .g-note a { background-size: 100% 1px; }
  .cta::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero::before, html.js .cue { animation: none; }
  html.js h2.reveal::before, html.js h2.reveal.in::before { transform: scaleX(1); }
  .t-icon::before { transition: none; }
}

/* on a narrow screen the copy button would sit on top of the first line */
@media (max-width: 32rem) {
  .prompt { padding-top: 3.2rem; }
  .copy { top: .6rem; right: .6rem; }
}
