/* Sheetrics | site styles */
:root {
  interpolate-size: allow-keywords;
  --paper: #F3F8F5;
  --sheet: #FFFFFF;
  --ink: #10231E;
  --muted: #51645C;
  --teal: #0F766E;
  --teal-deep: #0A4D48;
  --line: #C9D9D2;
  --tint: #E2F0E9;
  --amber: #F2A91E;
  --amber-ink: #8A4B06;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }

/* Buttons and links */
.btn {
  display: inline-block; font: 700 1rem/1.2 var(--body); text-decoration: none;
  padding: 15px 22px; border: 2px solid var(--teal); border-radius: 4px;
}
.btn { transition: transform .08s, background-color .15s, border-color .15s; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-line { color: var(--teal-deep); background: transparent; }
.btn-line:hover { background: var(--tint); }
.btn-small { padding: 10px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--teal-deep); font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { color: var(--teal); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.35rem/1 var(--display); letter-spacing: -0.02em; }
.mark { width: 28px; height: 28px; color: var(--teal); }
.mark .tick { stroke-dasharray: 1; animation: tick .5s .35s ease-out backwards; }
@keyframes tick { from { stroke-dashoffset: 1; } }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .98rem; color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

.menu-btn { display: none; font: 700 .95rem/1.2 var(--body); color: var(--ink); background: none; border: 2px solid var(--line); border-radius: 4px; padding: 10px 14px; cursor: pointer; }
.menu-btn[aria-expanded="true"] { border-color: var(--ink); }
.stick { display: none; }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-head { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
.lede { font-size: 1.15rem; color: var(--muted); margin-bottom: 26px; max-width: 46ch; }

/* The sheet */
.sheet {
  margin-top: 56px; background: var(--sheet); border: 1px solid var(--line);
  box-shadow: 10px 10px 0 var(--tint);
}
.fx { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); font-size: .95rem; min-height: 44px; }
.fx > span { padding: 10px 14px; display: flex; align-items: center; }
.fx-name { width: 64px; justify-content: center; border-right: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.fx-sign { font-style: italic; color: var(--muted); border-right: 1px solid var(--line); }
.fx .fx-mine {
  all: unset; box-sizing: border-box; cursor: pointer; white-space: nowrap; padding: 0 16px; display: flex; align-items: center;
  font: 700 .92rem/1 var(--body); color: #fff; background: var(--teal);
}
.fx .fx-mine:hover { background: var(--teal-deep); }
.fx .fx-mine:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.sheet .mine { display: none; }
.fx-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block !important; line-height: 24px; }

.sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sheet td, .sheet th { border: 1px solid var(--line); padding: 0; vertical-align: top; text-align: left; }
.sheet tr > :first-child { border-left: 0; }
.sheet tr > :last-child { border-right: 0; }
.sheet tbody tr:last-child > * { border-bottom: 0; }
.sheet .cols td, .sheet .rn {
  background: var(--paper); color: var(--muted); font-size: .8rem; text-align: center;
  padding: 4px 0; font-variant-numeric: tabular-nums; vertical-align: middle;
}
.sheet .cols td:first-child, .sheet .rn { width: 44px; }
.sheet .cols td:nth-child(2) { width: 25%; }
.sheet .cols td:nth-child(4) { width: 27%; }
.sheet th[scope=col] { font: 700 .95rem/1.3 var(--body); padding: 12px 16px; background: var(--tint); color: var(--teal-deep); }
.sheet .said, .sheet .check { padding: 16px; font-size: .98rem; color: var(--muted); }
.sheet .said { font-style: italic; }
.sheet .check { color: var(--ink); }
.sheet .result { position: relative; }
.sheet .result button {
  all: unset; box-sizing: border-box; display: block; width: 100%; height: 100%; cursor: cell;
  padding: 16px; font: 700 1.06rem/1.4 var(--body); color: var(--ink);
}
.sheet .result button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.sheet tr.on .result { background: #F5FBF8; }
.sheet tr.on .rn { background: var(--tint); color: var(--teal-deep); font-weight: 700; }
.sheet .check::before { content: "\2713\00a0"; color: var(--teal); font-weight: 700; opacity: 0; transition: opacity .25s; }
.sheet tr.on .check::before { opacity: 1; }
.sheet { position: relative; }
.sel {
  position: absolute; box-sizing: border-box; border: 2px solid var(--teal); pointer-events: none; opacity: 0;
  transition: top .32s cubic-bezier(.3,.7,.2,1), height .32s cubic-bezier(.3,.7,.2,1), opacity .2s;
}
.sel.show { opacity: 1; }
.sel::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 9px; height: 9px; background: var(--teal); border: 1px solid #fff; }
.sheet .result { transition: background-color .3s; }

/* 1. Hero typing: the full sentence is always in the cell, the part not yet typed is only see-through, so nothing moves */
.sheet .ty-off { color: transparent; }
.sheet .ty-on { position: relative; }
.sheet .ty-on.go::after { content: ""; position: absolute; width: 2px; height: 1.15em; margin: .12em 0 0 1px; background: var(--teal); }
.sheet tbody .said, .sheet tbody .check { transition: color .3s; }
.sheet tr.w1 .said, .sheet tr.w2 .check { color: transparent; }
.sheet tr.w2 .check::before { opacity: 0 !important; }
.fx-text.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.15em; margin-left: 1px; background: var(--ink); vertical-align: -3px; animation: blink .9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.sheet-note { margin-top: 30px; max-width: 68ch; color: var(--muted); }

/* Generic sections */
.band { padding: 88px 0; border-top: 1px solid var(--line); }
.band.tint { background: var(--tint); }
.intro { margin-top: 16px; max-width: 58ch; color: var(--muted); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.split .link { display: inline-block; margin-top: 22px; }

/* Steps: one spreadsheet row */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); background: var(--sheet); }
.steps li { padding: 20px 18px 24px; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps .n { font: 700 2.4rem/1 var(--display); color: var(--teal); display: block; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.steps p { margin-top: 6px; font-size: .97rem; color: var(--muted); line-height: 1.45; }
.steps .try { background: #FFF6DF; box-shadow: inset 0 0 0 2px var(--amber); }
.steps .try .n { color: var(--amber-ink); }
.steps .try p { color: var(--amber-ink); }
.steps .part { margin-top: 12px; }
.steps .part b { display: block; font-size: .8rem; line-height: 1.3; color: var(--teal-deep); }
.steps .try .part b { color: var(--amber-ink); }
/* The free call sits above the six steps: it happens once, the steps repeat */
.steps-first { margin-top: 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px 32px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-bottom: 0; background: var(--tint); }
.steps-first .n { font: 700 1.7rem/1 var(--display); color: var(--teal-deep); }
.steps-first h3 { font-size: 1.25rem; }
.steps-first p { margin-top: 5px; max-width: 74ch; font-size: .97rem; line-height: 1.45; color: var(--muted); }
.steps-first .link { font-weight: 700; white-space: nowrap; }
.steps-first + .steps { margin-top: 0; }
.steps.anim li { transition: background-color .4s, box-shadow .4s; }
.steps.anim li > * { opacity: .22; transition: opacity .4s, transform .4s cubic-bezier(.2,.7,.2,1); }
.steps.anim li .n { transform: translateY(6px); }
.steps.anim li.lit > * { opacity: 1; transform: none; }
.steps.anim .try:not(.lit) { background: var(--sheet); box-shadow: none; }
.loopline { display: none; position: relative; height: 30px; }
.loopline .u { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 0; height: 24px; border: 2px solid var(--teal); border-top: 0; }
.loopline .tip { position: absolute; left: calc(100% / 12 - 5px); top: -2px; border: 6px solid transparent; border-top: 0; border-bottom: 9px solid var(--teal); }
.loopline.anim .u { clip-path: inset(0 0 0 100%); transition: clip-path 1s ease-in-out; }
.loopline.anim .tip { opacity: 0; transition: opacity .2s .95s; }
.loopline.lit .u { clip-path: inset(0); }
.loopline.lit .tip { opacity: 1; }
@media (min-width: 961px) { .loopline { display: block; } .loopline + .loop { margin-top: 12px; text-align: center; } }
.loop { margin-top: 22px; font-style: italic; color: var(--teal-deep); }

/* Promise */
.promise { background: var(--teal-deep); color: #fff; padding: 96px 0; }
.promise-in { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.promise h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
.words .w { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1); }
.words.lit .w { opacity: 1; transform: none; }
.promise-sub { margin-top: 22px; font-size: 1.15rem; color: #CFE8E2; max-width: 34ch; }
.pairs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.28); border-left: 1px solid rgba(255,255,255,.28); }
.pairs > div { padding: 22px 22px 26px; border-right: 1px solid rgba(255,255,255,.28); border-bottom: 1px solid rgba(255,255,255,.28); }
.pairs dt { font: 700 1.15rem/1.25 var(--display); }
.pairs dd { margin: 8px 0 0; color: #CFE8E2; }

/* Definition rows */
.builds { margin: 0; border-top: 2px solid var(--ink); }
.builds > div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.builds dt { font: 700 1.15rem/1.3 var(--display); }
.builds dd { margin: 0; color: var(--muted); }

/* Recent work */
.stories { margin-top: 44px; border-top: 2px solid var(--ink); }
.story { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; padding: 48px 0; border-bottom: 1px solid var(--line); }
.story:last-child { border-bottom: 0; padding-bottom: 0; }
.story figure { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--tint); }
.browser { border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--tint); background: var(--sheet); }
.browser img { border: 0; box-shadow: none; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 9px 12px; background: var(--tint); border-bottom: 1px solid var(--ink); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.browser-bar .addr { flex: 1; max-width: 340px; padding: 4px 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot figcaption { margin-top: 20px; font-size: .92rem; color: var(--muted); }
.story h3 { font-size: 1.5rem; margin-bottom: 14px; }
.story dl { margin: 0; border-bottom: 1px solid var(--line); }
.story dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.story dt { font-weight: 700; font-size: .92rem; color: var(--teal-deep); }
.story dd { margin: 2px 0 0; color: var(--muted); }
.story .quote { margin-top: 22px; }
.story blockquote { margin: 0; padding: 2px 0 2px 16px; border-left: 4px solid var(--amber); font-size: 1.08rem; line-height: 1.5; }
.quote figcaption { margin-top: 10px; padding-left: 20px; font-size: .92rem; color: var(--muted); }
.story .link { display: inline-block; margin-top: 20px; }
.story.no-shot { grid-template-columns: 1fr 1fr; }
.story.no-shot .quote { margin-top: 50px; }
.split .intro + .intro { margin-top: 14px; }

/* Tweak or change */
.tc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; background: var(--sheet); border: 1px solid var(--line); }
.tc-col { padding: 26px 28px 28px; }
.tc-col + .tc-col { border-left: 1px solid var(--line); }
.tc-col h3 { color: var(--teal-deep); }
.tc-col.change h3 { color: var(--amber-ink); }
.tc-col ul { margin: 14px 0 0; padding: 0; list-style: none; }
.tc-col li { padding: 7px 0; border-top: 1px solid var(--line); }
.timeline { display: grid; grid-template-columns: 1fr 1fr 1fr 1.85fr; margin-top: 40px; font-weight: 700; color: #fff; }
.timeline span { padding: 12px 14px; text-align: center; }
.t-in { --c: var(--teal); background: var(--c); border-right: 2px solid var(--tint); }
.t-try { --c: var(--amber); color: #3B2300; }
.timeline.anim .t-in { background: linear-gradient(var(--c), var(--c)) left / 0% 100% no-repeat #A9B8B1; transition: background-size .45s linear; }
.timeline.anim .t-in:nth-child(2) { transition-delay: .45s; }
.timeline.anim .t-in:nth-child(3) { transition-delay: .9s; }
.timeline.anim.lit .t-in { background-size: 100% 100%; }
.t-out { background: #7C8C85; }
.timeline-key { display: grid; grid-template-columns: 3fr 1.85fr; margin-top: 12px; gap: 0; }
.timeline-key p:first-child strong { color: var(--teal-deep); }
.timeline-key p:last-child { padding-left: 14px; color: var(--muted); }
.rule { margin-top: 32px; max-width: 62ch; }

/* FAQ */
.faq { margin-top: 36px; columns: 2; column-gap: 56px; border-top: 2px solid var(--ink); }
.faq details { break-inside: avoid; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font: 700 1.12rem/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 28px; width: 14px; height: 2px; background: var(--teal); transition: transform .25s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .28s ease, content-visibility .28s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { padding: 0 36px 20px 0; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #fff; padding: 96px 0; }
.contact-in { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.contact-main p { margin: 20px 0 28px; font-size: 1.12rem; color: #C7D6CF; max-width: 50ch; }
.contact .btn-solid { background: #fff; border-color: #fff; color: var(--ink); }
.contact .btn-solid:hover { background: var(--tint); border-color: var(--tint); }
.contact .btn-line { color: #fff; border-color: #fff; }
.contact .btn-line:hover { background: rgba(255,255,255,.12); }
.contact .review-h { margin-top: 44px; }
.contact-main .review-p { margin: 10px 0 0; font-size: 1.02rem; }
.contact .link { color: #fff; }
.form { background: var(--paper); color: var(--ink); padding: 28px; display: grid; gap: 16px; }
.form h3 { font-size: 1.35rem; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 700; font-size: .97rem; }
.form label input, .form label textarea { display: block; margin-top: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #9DB2A9; border-radius: 0;
  padding: 11px 12px; width: 100%;
}
.form input[type=file] { padding: 9px; font-size: .92rem; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: -1px; border-color: var(--teal); }
.form .btn { justify-self: start; cursor: pointer; font-family: var(--body); }
.contact .form .btn-solid { background: var(--teal); border-color: var(--teal); color: #fff; }
.contact .form .btn-solid:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.form .btn[disabled] { opacity: .6; cursor: default; }
.form-status:empty { display: none; }
.form-status { font-weight: 700; color: #9B2C12; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-done { padding: 12px 0; }
.form-done p { margin-top: 10px; color: var(--muted); }

/* Footer */
.foot { background: var(--ink); color: #A9BBB3; border-top: 1px solid rgba(255,255,255,.16); font-size: .95rem; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding-top: 22px; padding-bottom: 26px; }
.foot a { margin-left: 22px; text-underline-offset: 4px; }
.foot-in p:nth-child(2) a:first-child { margin-left: 0; }
.foot-upd { flex-basis: 100%; margin: 0; font-size: .85rem; color: #8FA399; }
.foot a:hover { color: #fff; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 40px; letter-spacing: -0.01em; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.legal .updated { color: var(--muted); }

/* Smaller screens */
@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; margin: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 6px 24px 14px; box-shadow: 0 14px 24px rgba(16,35,30,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: block; margin-left: auto; }
  .top-in { gap: 12px; }
  .hero { padding: 48px 0 64px; }
  .hero-head, .split, .promise-in, .contact-in, .story, .story.no-shot { grid-template-columns: 1fr; gap: 28px; }
  .story { padding: 36px 0; }
  .story.no-shot .quote { margin-top: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(3) { border-right: 0; }
  .steps li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .band, .promise, .contact { padding: 64px 0; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .fx, .sheet .cols, .sheet .rn, .sheet thead { display: none; }
  .sheet { margin-top: 40px; box-shadow: 6px 6px 0 var(--tint); }
  .sheet table, .sheet tbody, .sheet tr, .sheet td { display: block; width: auto; }
  .sheet td { border: 0; }
  .sheet tbody tr { border-bottom: 1px solid var(--line); padding: 16px; }
  .sheet tbody tr:last-child { border-bottom: 0; }
  .sheet .said, .sheet .check, .sheet .result button { padding: 0; }
  .sheet .result { margin: 6px 0 8px; }
  .sheet .check::before { content: "Check: "; color: var(--teal-deep); font-weight: 700; opacity: 1; }
  .sheet tr.on .result { background: none; }
  .sel { display: none; }
  .sheet .result button { cursor: default; }
  .sheet .mine { all: unset; display: inline-block; margin-top: 10px; cursor: pointer; font: 700 .92rem/1.2 var(--body); color: var(--teal-deep); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
  .sheet .mine::before { content: none; }
  .top-book { display: none; }
  .nav { padding-left: 16px; padding-right: 16px; }
  .form { padding: 20px 16px; }
  .form-2 { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; text-align: center; }
  .stick {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
  }
  .stick.show { transform: none; }
  .stick .btn { flex: 1; text-align: center; padding: 13px 8px; }
  .foot { padding-bottom: 76px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-first { grid-template-columns: 1fr; padding: 18px 16px; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:nth-child(odd) { border-right: 1px solid var(--line); }
  .steps li:nth-last-child(-n+2) { border-bottom: 0; }
  .pairs, .tc { grid-template-columns: 1fr; }
  .tc-col + .tc-col { border-left: 0; border-top: 1px solid var(--line); }
  .builds > div { grid-template-columns: 1fr; gap: 4px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline span { border-bottom: 2px solid var(--tint); }
  .timeline-key { grid-template-columns: 1fr; gap: 6px; }
  .timeline-key p:last-child { padding-left: 0; }
  .faq { columns: 1; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .top .btn-small { flex: 0 0 auto; }
  .foot a { margin: 0 18px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Picture viewer */
.gallery { min-width: 0; }
.g-slide + .g-slide { margin-top: 28px; }
.gallery.js .g-slide + .g-slide { margin-top: 0; }
.g-frame { border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--tint); background: var(--paper); }
.g-zoom { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.g-zoom img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.browser-bar + .g-zoom { aspect-ratio: 16 / 9; background: #17191b; }
.g-hint { position: absolute; right: 0; bottom: 0; padding: 4px 10px; background: var(--ink); color: var(--paper); font-size: .8rem; font-weight: 700; }
.g-zoom:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.g-slide figcaption { margin-top: 20px; min-height: 3em; font-size: .92rem; color: var(--muted); }
.g-nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.g-nav button { min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: var(--sheet); color: var(--ink); font: 700 .92rem/1 var(--body, inherit); cursor: pointer; }
.g-nav button:hover { background: var(--tint); }
.g-nav button:focus-visible, .lightbox button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.g-count { font-size: .92rem; color: var(--muted); min-width: 4.5em; text-align: center; }
.g-auto { display: none; margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--teal-deep); }
.gallery.auto .g-auto { display: block; }
@keyframes g-in { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .gallery.js .g-slide:not([hidden]) img { animation: g-in .3s ease both; } }
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 20px; border: 0; background: rgba(16, 35, 30, .95); color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox::backdrop { background: rgba(16, 35, 30, .95); }
.lb-stage { position: relative; flex: 1; min-height: 0; width: 100%; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-cap { max-width: 70ch; text-align: center; font-size: .95rem; }
.lb-bar { display: flex; align-items: center; gap: 12px; }
.lightbox button { min-width: 44px; min-height: 44px; padding: 0 16px; border: 1px solid #fff; background: none; color: #fff; font: 700 .92rem/1 inherit; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .15); }
.more { margin-top: 22px; }
.more summary { display: inline-block; padding: 10px 16px; border: 1px solid var(--ink); background: var(--sheet); font-weight: 700; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; }
.more[open] summary::after { content: " -"; }
.more summary:hover { background: var(--tint); }
.more h4 { margin: 24px 0 8px; font-size: 1.05rem; }
.more ul, .more ol { margin: 0; padding-left: 1.15em; color: var(--muted); }
.more li { margin-top: 8px; }
.more li b { color: var(--ink); }
.more ol.when { list-style: none; padding-left: 0; }
.more ol.when li { padding-left: 16px; border-left: 3px solid var(--teal); }
.more ol.when b { display: block; color: var(--teal-deep); }
.more p { margin-top: 18px; color: var(--muted); }
@media (min-width: 961px) {
  .story > .gallery { position: sticky; top: 92px; }
}


/* Check column: the tick hangs, so wrapped lines stay lined up */
.sheet .check { position: relative; padding-left: 42px; }
.sheet .check::before { content: "\2713"; position: absolute; left: 16px; top: 16px; }

/* Business picker: tabs along the bottom of the sheet, like a spreadsheet */
.tabs { display: flex; align-items: stretch; border-top: 1px solid var(--line); background: var(--tint); overflow: hidden; }
.tabs[hidden] { display: none; }
.tabs-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tabs-o { flex: 1; display: flex; flex-wrap: wrap; }
.tabs-o button { font: 400 .9rem/1.2 var(--body); color: var(--muted); background: none; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: -1px; min-height: 46px; padding: 0 11px; cursor: pointer; }
.tabs-o button::after { content: attr(data-t); display: block; height: 0; overflow: hidden; visibility: hidden; font-weight: 700; }
.tabs-o button:hover { color: var(--ink); background: var(--sheet); }
.tabs-o button:focus-visible, .tabs-auto:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.tabs-o button[aria-pressed="true"] { background: var(--sheet); color: var(--teal-deep); font-weight: 700; box-shadow: inset 0 -3px 0 var(--teal); }
.tabs-auto { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--teal-deep); font: 700 .9rem/1 var(--body); cursor: pointer; }
.tabs-auto[hidden] { display: none; }
.tabs-auto:hover { background: var(--sheet); }
.tabs-auto::before { content: ""; width: 9px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.tabs-auto.off::before { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Step links */
.step-go { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 700; color: var(--teal-deep); text-underline-offset: 4px; }
.steps .try .step-go { color: var(--amber-ink); }
.steps li.on { box-shadow: inset 0 -4px 0 var(--teal); }
.steps .try.on, .steps.anim .try.on.lit { box-shadow: inset 0 0 0 2px var(--amber), inset 0 -5px 0 var(--amber); }

/* Promise, part two */
.promise-2 { margin-top: 64px; }
.promise-2::before { content: ""; grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.28); margin-bottom: -8px; }
.promise-2 h3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -0.025em; }

/* Tweak or change quiz */
.quiz { list-style: none; margin: 40px 0 0; padding: 0; background: var(--sheet); border: 1px solid var(--line); }
.quiz li { display: grid; grid-template-columns: 1.1fr auto 1.2fr; gap: 20px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); min-height: 72px; }
.quiz li:last-child { border-bottom: 0; }
.q-q { font-weight: 700; font-size: 1.06rem; }
.q-a { color: var(--muted); grid-column: 3; }
.q-a b { color: var(--teal-deep); }
.quiz li[data-a="change"] .q-a b { color: var(--amber-ink); }
.quiz.js li:not(.done) .q-a { visibility: hidden; }
.q-b { display: flex; gap: 8px; grid-column: 2; grid-row: 1; }
.q-b button { font: 700 .95rem/1 var(--body); min-height: 44px; padding: 0 16px; background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); border-radius: 4px; cursor: pointer; }
.q-b button:hover:not(:disabled) { background: var(--tint); }
.q-b button:disabled { cursor: default; opacity: .35; }
.q-b button.is { opacity: 1; background: var(--teal); border-color: var(--teal); color: #fff; }
.quiz li[data-a="change"] .q-b button.is { background: var(--amber); border-color: var(--amber); color: #3B2300; }
.quiz li.done { background: #F5FBF8; }
.quiz li.done[data-a="change"] { background: #FFF6DF; }
.quiz-score { margin-top: 16px; font-weight: 700; color: var(--teal-deep); min-height: 1.6em; }
.when-h { margin-top: 44px; font-size: 1.5rem; }
.when-h + .timeline { margin-top: 18px; }

/* Footer pill */
.pill { display: inline-block; margin-left: 8px; padding: 2px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; font-size: .85rem; white-space: nowrap; }

@media (max-width: 960px) {
  .quiz li { grid-template-columns: 1fr auto; }
  .q-a { grid-column: 1 / -1; }
  .quiz.js li:not(.done) .q-a { display: none; }
}
@media (max-width: 700px) {
  .sheet .check { padding-left: 0; }
  .sheet .check::before { position: static; content: "Check: "; }
  .tabs { display: block; padding: 16px; overflow: visible; }
  .tabs-l { position: static; width: auto; height: auto; clip-path: none; white-space: normal; margin-bottom: 10px; font-weight: 700; color: var(--teal-deep); }
  .tabs-o { gap: 6px; }
  .tabs-o button { border: 1px solid var(--line); margin: 0; min-height: 44px; padding: 0 12px; background: var(--sheet); }
  .tabs-o button[aria-pressed="true"] { border-color: var(--teal); box-shadow: inset 0 -3px 0 var(--teal); }
  .tabs-auto { display: none; }
  .quiz li { grid-template-columns: 1fr; gap: 10px; padding: 16px; }
  .q-b { grid-column: 1; grid-row: auto; }
}

/* Footer clock */
#pai-time { font-variant-numeric: tabular-nums; }

/* Subscription swap calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; background: var(--sheet); border: 1px solid var(--ink); box-shadow: 8px 8px 0 rgba(16,35,30,.1); }
.calc[hidden], .tz[hidden], .c-range[hidden] { display: none; }
.calc-in { padding: 28px; border-right: 1px solid var(--line); }
.calc-in fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.calc-in legend, .c-f { display: block; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .97rem; }
.c-h { display: block; margin-top: 2px; font-weight: 400; font-size: .88rem; color: var(--muted); }
.c-n { display: flex; align-items: stretch; margin-bottom: 22px; max-width: 220px; border: 1px solid var(--ink); background: #fff; }
.c-n:focus-within { outline: 2px solid var(--teal); outline-offset: 1px; }
.c-sym { display: grid; place-items: center; min-width: 40px; background: var(--tint); border-right: 1px solid var(--line); font-weight: 700; }
.c-n input { width: 100%; min-width: 0; border: 0; padding: 10px 12px; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; background: transparent; color: var(--ink); outline: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: 8px 14px; border: 1px solid var(--line); background: var(--paper); font-size: .95rem; }
.seg input:checked + span { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.c-range { margin-top: 14px; }
.c-range label { display: block; font-size: .95rem; }
.c-range input { width: 100%; max-width: 280px; margin: 8px 0 2px; accent-color: var(--teal); }
.calc-in > :last-child { margin-bottom: 0; }
.calc-out { padding: 28px; background: var(--paper); }
.co-v { display: inline-block; padding: 3px 12px; font-weight: 700; font-size: .9rem; background: var(--teal-deep); color: #fff; }
.co-v.mid { background: var(--amber); color: #3B2300; }
.co-v.no { background: var(--ink); }
.co-big { margin: 14px 0 6px; font: 700 clamp(1.7rem, 3.2vw, 2.3rem)/1.12 var(--display); }
.co-sub { color: var(--muted); max-width: 44ch; }
.co-rows { margin: 22px 0 0; border-top: 1px solid var(--ink); }
.co-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.co-rows dt { color: var(--muted); }
.co-rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.co-pay { margin-top: 22px; }
.co-pay h4 { font-size: 1rem; margin-bottom: 8px; }
.co-pay p { padding: 10px 12px; margin-bottom: 8px; background: var(--sheet); border-left: 3px solid var(--teal); }
.co-pay p.next { border-left-color: var(--amber); }
.calc-static { margin-top: 20px; color: var(--muted); max-width: 62ch; }
.swap-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.swap-notes h3 { font-size: 1.1rem; margin-bottom: 6px; }
.swap-notes p { color: var(--muted); }
.swap-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.swap-proof a { display: block; padding: 18px 20px; background: var(--sheet); border: 1px solid var(--line); border-left: 4px solid var(--teal); color: var(--ink); text-decoration: none; }
.swap-proof a:hover { border-color: var(--ink); border-left-color: var(--teal); }
.swap-proof b { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
.swap-proof span { color: var(--muted); }

/* Timezone overlap */
.tz { margin-top: 36px; padding: 28px; background: var(--sheet); border: 1px solid var(--ink); box-shadow: 8px 8px 0 rgba(16,35,30,.1); }
.tz-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: -28px -28px 26px; padding: 18px 28px; background: var(--tint); border-bottom: 1px solid var(--ink); }
.tz-q { font: 700 1.2rem/1.2 var(--display); }
.tz-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-quick button { min-height: 44px; padding: 8px 14px; font: inherit; font-size: .95rem; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
.tz-quick button:hover { background: var(--paper); }
.tz-quick button[aria-pressed="true"], .tz-quick button.on { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.tz-quick button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.tz-pick { position: relative; display: inline-block; max-width: 100%; }
.tz-pick[hidden] { display: none; }
.tz-pick::after { content: ''; position: absolute; right: 17px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); pointer-events: none; }
.tz-pick select { -webkit-appearance: none; appearance: none; max-width: 100%; min-height: 48px; padding: 10px 58px 10px 14px; font: inherit; font-weight: 700; color: var(--ink); background: #fff linear-gradient(var(--teal-deep), var(--teal-deep)) no-repeat right center / 44px 100%; border: 2px solid var(--teal-deep); border-radius: 0; cursor: pointer; }
.tz-pick select:hover { border-color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); }
.tz-pick select:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.tz-hint { flex-basis: 100%; font-size: .92rem; color: var(--muted); }
.tz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.tz-cta span { max-width: 52ch; font-size: .95rem; color: var(--muted); }
.tz-big { max-width: 24ch; font: 700 clamp(1.5rem, 3.2vw, 2.1rem)/1.15 var(--display); letter-spacing: -.01em; }
.tz-day { position: relative; margin-top: 22px; padding: 28px 0; }
.tz-track { position: relative; height: 44px; background: var(--paper); border: 1px solid var(--line); }
.tz-track i { position: absolute; display: block; height: 50%; }
.tz-track i.me { top: 0; background: var(--teal); }
.tz-track i.sleep { bottom: 0; background: var(--ink); }
.tz-lab { position: absolute; font-size: .88rem; font-weight: 700; line-height: 22px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tz-lab.me { top: 2px; color: var(--teal-deep); }
.tz-lab.sleep { bottom: 2px; color: var(--ink); }
.tz-where { margin-top: 6px; font-size: .92rem; color: var(--muted); }
.tz-out { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.tz-out li { padding: 10px 0; border-bottom: 1px solid var(--line); max-width: 70ch; }

@media (max-width: 960px) {
  .calc { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .swap-notes { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .calc-in, .calc-out, .tz { padding: 20px 16px; }
  .tz-ask { margin: -20px -16px 22px; padding: 16px; }
  .tz-pick, .tz-pick select { width: 100%; }
  .swap-proof { grid-template-columns: 1fr; }
  .pill { margin: 6px 0 0; white-space: normal; }
}

/* Personal projects sit on the tinted band, so the picture shadow needs a darker tone */
.band.tint .g-frame { box-shadow: 10px 10px 0 var(--line); }
.story[id] { scroll-margin-top: 92px; }

/* Videos: one player, and a list to choose from */
.reel { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; margin-top: 44px; }
.reel-main { min-width: 0; }
.reel-frame { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--line); background: var(--paper); }
.reel-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--paper); }
.reel-play { position: absolute; inset: 0; display: flex; align-items: flex-end; width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.reel-play[hidden] { display: none; }
.reel-play > span { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; background: var(--teal); color: #fff; }
.reel-play:hover > span { background: var(--teal-deep); }
.reel-play:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.reel-play svg { width: 12px; height: 14px; fill: currentColor; }
.reel-now { margin-top: 32px; max-width: 60ch; }
.reel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reel-now h3 { font-size: 1.35rem; }
.reel-cc { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); background: var(--sheet); color: var(--ink); font: 700 .92rem/1 var(--body); cursor: pointer; }
.reel-cc:hover { background: var(--paper); }
.reel-cc[hidden] { display: none; }
.reel-now p { margin-top: 8px; color: var(--muted); }
.reel-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.reel-list a { position: relative; display: grid; grid-template-columns: 12px 1fr auto; gap: 16px; align-items: center; min-height: 60px; padding: 8px 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.reel-list a:hover { background: rgba(255,255,255,.55); }
.reel-list i { width: 0; height: 0; border-left: 11px solid var(--teal); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.reel-list a[aria-current="true"] { background: var(--sheet); outline: 2px solid var(--teal); outline-offset: -2px; }
.reel-list a[aria-current="true"]::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 9px; height: 9px; background: var(--teal); border: 1px solid #fff; }
.reel-list a:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.reel-t b { display: block; font: 700 1.08rem/1.25 var(--display); }
.reel-t > span { display: block; font-size: .9rem; color: var(--muted); }
.reel-len { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.reel-list a[data-state="playing"] .reel-len { color: var(--teal-deep); font-weight: 700; }
@media (max-width: 960px) {
  .reel { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 700px) {
  .reel { margin-top: 32px; }
  .reel-frame { box-shadow: 6px 6px 0 var(--line); }
  .reel-now { margin-top: 24px; }
  .reel-play > span { min-height: 48px; padding: 0 18px; }
}

/* Seven menu links: keep each on one line, and close the gaps a little on narrow laptops */
.nav a, .top-book { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1100px) {
  .top-in { gap: 18px; }
  .nav { gap: 14px; }
  .nav a { font-size: .92rem; }
}

/* Promise: each cell is ticked off in turn by a spreadsheet selection, then the promise is signed */
.promise-in { position: relative; }
.pairs > div { position: relative; }
.pairs dt { padding-right: 34px; }
.pairs > div::after { content: ""; position: absolute; right: 26px; top: 20px; width: 7px; height: 14px; border: solid var(--amber); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pairs.anim > div > * { opacity: .3; transition: opacity .45s; }
.pairs.anim > div.lit > * { opacity: 1; }
.pairs.anim > div::after { clip-path: inset(80% 100% 0 0); }
.pairs.anim > div.lit::after { animation: tick .45s .28s ease-out forwards; }
@keyframes tick { 0% { clip-path: inset(80% 100% 0 0); } 40% { clip-path: inset(80% 0 0 0); } 100% { clip-path: inset(0); } }
.pairs-sel { position: absolute; box-sizing: border-box; border: 2px solid var(--amber); pointer-events: none; opacity: 0; }
.pairs-sel.move { transition: left .42s cubic-bezier(.3,.7,.2,1), top .42s cubic-bezier(.3,.7,.2,1), width .42s, height .42s, opacity .3s; }
.pairs-sel.show { opacity: 1; }
.pairs-sel::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 9px; height: 9px; background: var(--amber); border: 1px solid var(--teal-deep); }
.sig { margin-top: 30px; }
.sig-name { position: relative; display: inline-block; padding: 0 22px 10px 2px; font: 600 3.4rem/1 "Caveat", "Bradley Hand", cursive; color: #fff; transform: rotate(-3deg); transform-origin: left bottom; }
.sig-name::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--amber); }
.sig.anim .sig-name { clip-path: inset(-20% 100% -20% -5%); }
.sig.anim.lit .sig-name { clip-path: inset(-20% -5% -20% -5%); transition: clip-path 1.1s cubic-bezier(.45,0,.25,1); }

/* What I build: plain English or technical detail */
.view { margin-top: 28px; }
.view[hidden] { display: none; }
.view label { display: block; margin-bottom: 8px; font-weight: 700; }
.view-note { margin-top: 12px; max-width: 44ch; font-size: .92rem; color: var(--muted); }
.builds dd[hidden] { display: none; }
.builds.tech dt::after { content: "technical"; display: block; margin-top: 4px; font: 400 .8rem/1.2 var(--body); color: var(--teal-deep); }
@keyframes v-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: no-preference) { .builds.swapped dd:not([hidden]) { animation: v-in .3s ease both; } }

/* Cloud to local: what stays, what moves */
.mv { display: grid; grid-template-columns: 1fr 132px 1fr; align-items: stretch; margin-top: 44px; }
.mv-col { padding: 24px 24px 26px; background: var(--sheet); }
.mv-cloud { border: 2px dashed #9DB5AC; }
.mv-box { border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--tint); }
.mv-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.mv svg, .take svg { flex: none; width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: square; }
.mv-sub { margin-top: 6px; color: var(--muted); }
.mv-k { margin-top: 22px; font-size: .85rem; font-weight: 700; color: var(--teal-deep); }
.mv ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mv li { padding: 9px 13px; border: 1px solid var(--line); background: var(--paper); font-size: .97rem; }
.mv-gone li { border: 1px dashed #9DB5AC; background: none; color: transparent; user-select: none; }
.mv-moved li { position: relative; z-index: 2; border-color: var(--teal); background: #F5FBF8; color: var(--teal-deep); font-weight: 700; }
.mv-tag { display: inline-block; margin-top: 22px; padding: 5px 10px; background: var(--amber); color: var(--ink); font-size: .85rem; font-weight: 700; }
.mv-arrow { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 10px; text-align: center; font-size: .85rem; font-weight: 700; line-height: 1.25; color: var(--teal-deep); }
.mv-arrow span { position: relative; top: -22px; }
.mv-arrow::before { content: ""; position: absolute; left: 14px; right: 20px; top: 50%; height: 2px; background: var(--teal); }
.mv-arrow::after { content: ""; position: absolute; right: 12px; top: 50%; margin-top: -6px; border: 7px solid transparent; border-right: 0; border-left: 10px solid var(--teal); }
.mv.anim .mv-moved li.go { transition: transform .85s cubic-bezier(.3,.7,.2,1); }
.mv.anim .mv-tag { opacity: 0; transition: opacity .4s; }
.mv.anim.done .mv-tag { opacity: 1; }
.mv-why { margin-top: 26px; max-width: 62ch; color: var(--muted); }
.take { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--sheet); }
.take li { padding: 20px 22px 22px; border-right: 1px solid var(--line); }
.take li:last-child { border-right: 0; }
.take b { display: block; margin-top: 12px; font: 700 1.1rem/1.25 var(--display); }
.take span { display: block; margin-top: 6px; color: var(--muted); }
.home-pic { display: block; max-width: 900px; margin-top: 18px; }
.home-pic img { display: block; width: 100%; height: auto; }
.home-pic:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (max-width: 960px) {
  .mv { grid-template-columns: 1fr; }
  .mv-arrow { min-height: 76px; justify-content: flex-start; padding: 0 0 0 46px; text-align: left; }
  .mv-arrow span { top: 0; }
  .mv-arrow::before { left: 22px; right: auto; top: 10px; bottom: 16px; width: 2px; height: auto; }
  .mv-arrow::after { left: 16px; right: auto; top: auto; bottom: 8px; margin: 0; border: 7px solid transparent; border-bottom: 0; border-top: 10px solid var(--teal); }
  .take { grid-template-columns: 1fr; }
  .take li { border-right: 0; border-bottom: 1px solid var(--line); }
  .take li:last-child { border-bottom: 0; }
}
@media (max-width: 700px) {
  .mv { margin-top: 32px; }
  .mv-col { padding: 20px 16px 22px; }
  .mv-box { box-shadow: 6px 6px 0 var(--tint); }
}

/* The real thing: one real email or page per step */
.shots { margin-top: 12px; }
.shots-tabs { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 20px; border: 1px solid var(--ink); border-bottom: 0; background: var(--tint); }
.shots-tabs[hidden] { display: none; }
.shots-tabs button { min-height: 50px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: none; font: 400 .97rem/1.2 var(--body); color: var(--muted); text-align: left; cursor: pointer; }
.shots-tabs button:last-child { border-right: 0; }
.shots-tabs b { margin-right: 6px; font: 700 1.05rem/1 var(--display); color: var(--teal); }
.shots-tabs button[aria-pressed="true"] { background: var(--sheet); color: var(--ink); font-weight: 700; box-shadow: inset 0 3px 0 var(--teal); }
.shots-tabs button:hover { color: var(--ink); }
.shots-tabs button:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
.shots-list { margin-top: 20px; }
.shots.js .shots-list { margin-top: 0; padding: 32px; border: 1px solid var(--ink); background: var(--sheet); box-shadow: 10px 10px 0 var(--tint); }
.shot { margin: 0; display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: start; }
.shot + .shot { margin-top: 56px; }
.shots.js .shot + .shot { margin-top: 0; }
.shot[hidden] { display: none; }
.shot-n { font-size: .85rem; font-weight: 700; color: var(--teal-deep); }
.shot h4 { margin-top: 8px; font: 700 1.55rem/1.2 var(--display); }
.shot figcaption > p { margin-top: 14px; }
.shot figcaption > .shot-n { margin-top: 0; }
.shot-you { padding: 11px 14px; background: var(--tint); box-shadow: inset 3px 0 0 var(--teal); color: var(--ink); }
.shot-real { padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.shot-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.shot-pic { position: relative; border: 1px solid var(--ink); background: #fff; }
.shot-pic img { display: block; width: 100%; height: auto; border: 0; box-shadow: none; }
.shots.js .shot-pic { max-height: 560px; overflow: hidden; overflow: clip; }
.shots.js .shot-pic.open { max-height: none; overflow: visible; }
.shots.js .shot-pic.moving { overflow: hidden; overflow: clip; }
.shot-pic.cut:not(.open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(rgba(255,255,255,0), #fff 72%); pointer-events: none; }
.shot-more { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; background: var(--sheet); }
.shot-more[hidden] { display: none; }
/* .btn:active sets its own transform, which would drop the centring and make the button jump sideways under the pointer while pressed */
.shot-more:active { transform: translateX(-50%) translateY(1px) scale(.98); }
.shot-pic.open .shot-more:active { transform: translateY(1px) scale(.98); }
.shot-pic.open .shot-more { position: sticky; left: auto; bottom: 14px; display: block; width: max-content; margin: 14px auto; transform: none; box-shadow: 0 0 0 6px rgba(255,255,255,.9); }
/* On phones the call and message bar is fixed to the bottom of the screen, so the button sits above it */
@media (max-width: 700px) { .shot-pic.open .shot-more { bottom: calc(86px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: no-preference) { .shots.js .shot.swap { animation: v-in .3s ease-out; } }
.guides { margin-top: 20px; padding: 16px 16px 14px; border: 1px solid var(--line); background: var(--paper); }
.guides-h { font-weight: 700; }
.guides ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guides a { display: block; color: var(--ink); text-decoration: none; }
.guides img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); background: #fff; transition: transform .15s, box-shadow .15s; }
.guides a:hover img, .guides a:focus-visible img { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--line); }
.guides a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.guides span { display: block; margin-top: 8px; font-size: .85rem; line-height: 1.35; color: var(--muted); }
.guides b { display: block; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; font-size: .92rem; }
.guides-n { margin-top: 12px; font-size: .85rem; color: var(--muted); }
@media (max-width: 960px) {
  .shot { grid-template-columns: 1fr; gap: 24px; }
  .shots-tabs { grid-template-columns: repeat(3, 1fr); }
  .shots-tabs button:nth-child(3) { border-right: 0; }
  .shots-tabs button:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .shots.js .shots-list { padding: 20px 14px; box-shadow: 6px 6px 0 var(--tint); }
  .shots-tabs button { min-height: 46px; padding: 0 10px; font-size: .92rem; }
  .shot h4 { font-size: 1.35rem; }
  .shots.js .shot-pic { max-height: 480px; }
  .home-pic { display: none; }
}
@media (max-width: 700px) {
  .guides ul { grid-template-columns: 1fr; gap: 10px; }
  .guides a { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
  .guides span { margin-top: 0; font-size: .95rem; }
  .guides b { font-size: 1rem; }
}
.build-more { margin-top: 28px; color: var(--muted); }

/* ---------- Service pages: spreadsheets, dashboards, quote tools ---------- */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero.solo { padding-bottom: 72px; }
.hero.solo .hero-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
.hero.solo h1 { max-width: 22ch; }
.hero.solo .lede { max-width: 56ch; }
.results { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 2px solid var(--ink); }
.results li { padding: 20px 0 22px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.results li b { font: 700 1.12rem/1.4 var(--body); }
.results li b::before { content: "\2713\00a0"; color: var(--teal); }
.results li span { color: var(--muted); font-size: .98rem; }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 980px; }
.points li { padding-left: 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--teal); }
.points.tight { grid-template-columns: 1fr; margin-top: 16px; gap: 10px; }
.pg-proof { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; margin-top: 40px; }
.pg-text p { margin: 0 0 14px; max-width: 58ch; }
.pg-quote { margin: 22px 0 8px; padding: 6px 0 6px 20px; border-left: 4px solid var(--teal); max-width: 52ch; }
.pg-quote p { margin: 0; font-weight: 700; }
.pg-quote footer { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.pg-video { margin: 0; }
.pg-video img, .pg-video video { display: block; width: 100%; height: auto; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--line); background: var(--paper); }
.pg-video figcaption { margin-top: 22px; color: var(--muted); font-size: .96rem; max-width: 62ch; }
.run { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 2px solid var(--ink); }
.run li { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.run li b { color: var(--teal-deep); }
.run-more { margin-top: 24px; }
.more-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 960px) {
  .pg-proof { grid-template-columns: 1fr; gap: 28px; }
  .run { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .results, .points, .run { grid-template-columns: 1fr; }
  .pg-video img, .pg-video video { box-shadow: 6px 6px 0 var(--line); }
  .hero.solo { padding-bottom: 48px; }
}

/* Guides (articles) */
.article { padding: 56px 0 72px; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -0.02em; margin: 6px 0 0; max-width: 20ch; }
.article .crumb { margin: 0; font-size: .95rem; }
.article .crumb a { color: var(--teal-deep); text-underline-offset: 4px; }
.article .lede { margin-top: 18px; font-size: 1.15rem; max-width: 58ch; }
.article .art-meta { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.article h2 { font-size: 1.4rem; margin-top: 44px; letter-spacing: -0.01em; }
.article p, .article ul, .article ol { margin-top: 12px; max-width: 64ch; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-top: 10px; }
.article li::marker { color: var(--teal); font-weight: 700; }
.article .link { color: var(--teal-deep); text-underline-offset: 4px; }
.callout { margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--teal); background: var(--tint); }
.callout p { margin: 12px 0; }
.table-wrap { margin-top: 18px; overflow-x: auto; }
.art-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .98rem; }
.art-table th, .art-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.art-table thead th { border-bottom: 2px solid var(--ink); font-family: var(--display); }
.art-table tbody th { font-weight: 700; width: 20%; }
.article .faq { margin-top: 16px; columns: 1; }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: 820px; }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list a { display: grid; gap: 6px; padding: 22px 0; text-decoration: none; color: inherit; }
.guide-list b { font: 700 1.25rem/1.3 var(--display); color: var(--teal-deep); }
.guide-list span { color: var(--muted); }
.guide-list a:hover b { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { .article { padding: 36px 0 56px; } }
