/* SlowPace homepage concept. Colours are the 3.0 app's (ios/Sources/Shared/SlowPaceColors.swift). */
:root {
  --bg: #0A0E14; --card: #10141A; --line: #1F2633; --ink: #F3F5F8; --muted: #A0AEC0;
  --green: #2BC793; --cyan: #45C8E0; --coral: #E5646E; --coral-deep: #D94450; --gold: #FFB800;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pw: min(300px, 38vh);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
h1, h2 { font-family: var(--round); letter-spacing: -.02em; line-height: 1.1; margin: 14px 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 78px); }
h1 em { font-style: normal; color: var(--green); }
h2 { font-size: clamp(30px, 4vw, 46px); }
.lead { max-width: 540px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.note, .caption { color: var(--muted); font-size: 13px; }
.label { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 20px var(--round); }
nav { display: flex; gap: 26px; align-items: center; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--ink); }
nav .nav-cta { color: var(--green); }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: 56px 0 96px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.badges img { display: block; height: 48px; }
.stage { display: grid; justify-items: center; gap: 14px; }
.stage .caption { max-width: 320px; text-align: center; margin: 0; }
/* The mark: three rings and a dot. A mood changes only how the dot moves. */
.sp-mark { width: 22px; height: 22px; flex: none; overflow: visible; }
.sp-mark.lg { width: 40px; height: 40px; }
.sp-mark.xl { width: 84px; height: 84px; }
.sp-mark circle { fill: none; }
.sp-lane { stroke: rgba(43,199,147,.16); stroke-width: .16; }
.sp-cy { stroke: var(--cyan); stroke-width: .11; }
.sp-co { stroke: var(--coral); stroke-width: .11; }
.sp-mark .sp-dot { fill: var(--green); r: .13px; }
.sp-run { fill: var(--green); }
.lg .sp-cy, .lg .sp-co, .xl .sp-cy, .xl .sp-co { stroke-width: .05; }
.sp-mark.lg .sp-dot, .sp-mark.xl .sp-dot { r: .075px; }
.sp-weave .sp-orbit { animation: sp-turn 8s linear infinite; }
.sp-weave .sp-dot { animation: sp-lift 1.3333s ease-in-out -.6667s infinite alternate; }
.sp-drift .sp-orbit { animation: sp-turn 16s linear infinite reverse; }
.sp-tick .sp-orbit { animation: sp-tick 4s ease-in-out infinite; }
.sp-ready .sp-orbit { animation: sp-sway 1.8s ease-in-out infinite alternate; }
.sp-walk .sp-orbit { animation: sp-turn 9.6s linear infinite; }
.sp-walk .sp-cy, .sp-walk .sp-co { stroke-opacity: .55; }
.sp-rest .sp-orbit { transform: rotate(180deg); }
.sp-rest circle:not(.sp-dot) { animation: sp-breathe 5s ease-in-out infinite; }
.sp-celebrate .sp-orbit { animation: sp-cheer 4s ease-in-out infinite; }
.sp-mark.sp-celebrate .sp-dot { fill: var(--gold); }
@keyframes sp-turn { to { transform: rotate(360deg); } }
@keyframes sp-lift { from { transform: translateY(-.085px); } to { transform: translateY(.085px); } }
@keyframes sp-sway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
@keyframes sp-tick { 0% { transform: rotate(0); } 7.5%, 25% { transform: rotate(90deg); } 32.5%, 50% { transform: rotate(180deg); } 57.5%, 75% { transform: rotate(270deg); } 82.5%, 100% { transform: rotate(360deg); } }
@keyframes sp-breathe { 50% { opacity: .6; } }
@keyframes sp-cheer { 0% { transform: rotate(0); } 30%, 100% { transform: rotate(360deg); } }

/* The try-it simulation sits in a drawn generic device. Apple's marketing rules: a generic device must carry no details unique
   to Apple products, so it has no island, no side buttons and no crown. Every size is in em, so the screen scales with --pw. */
.phone { width: var(--pw); aspect-ratio: 402 / 874; font-size: calc(var(--pw) / 30); position: relative; padding: .95em; border-radius: 4.9em;
  background: linear-gradient(135deg, #6b7079, #23262c 18%, #0c0e11 50%, #2b2f36 82%, #5d626b);
  box-shadow: inset 0 0 0 .06em rgba(255,255,255,.28), inset 0 0 0 .3em #17191d, 0 2.6em 6em rgba(0,0,0,.6); }
.ph { position: relative; height: 100%; display: flex; flex-direction: column; gap: 1em; padding: 2.4em 1.1em 1.4em; border-radius: 4em; overflow: hidden; font-family: var(--round); background: radial-gradient(120% 60% at 50% 0, #0F2A24, var(--bg) 70%); transition: background .6s; }
.ph.s-high, .ph.s-far { background: radial-gradient(120% 60% at 50% 0, #2A1518, var(--bg) 70%); }
.ph-stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: .7em .3em; border: 1px solid var(--line); border-radius: 1.8em; background: rgba(255,255,255,.03); text-align: center; }
.ph-stats b { display: block; font-size: 1.45em; font-weight: 600; font-variant-numeric: tabular-nums; }
.ph-stats i, .ph-cap, .ph-range i { font: 600 .68em ui-monospace, Menlo, monospace; letter-spacing: .12em; color: var(--muted); font-style: normal; }
.ph-pill { align-self: center; padding: .35em 1.2em; border-radius: 2em; font-size: 1.45em; font-weight: 700; letter-spacing: .02em; color: var(--green); background: rgba(43,199,147,.14); border: 1px solid rgba(43,199,147,.35); transition: color .4s, background .4s, border-color .4s; }
.s-high .ph-pill, .s-far .ph-pill { color: var(--coral); background: rgba(229,100,110,.16); border-color: rgba(229,100,110,.4); }
.s-low .ph-pill { color: var(--cyan); background: rgba(69,200,224,.14); border-color: rgba(69,200,224,.4); }
.ph-card { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 1.1em 1.2em; border-radius: 2em; border: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(43,199,147,.16), rgba(43,199,147,.05)); color: var(--green); transition: background .5s, color .5s; }
.ph-card.c-high { color: var(--coral); background: linear-gradient(180deg, rgba(229,100,110,.22), rgba(229,100,110,.06)); }
.ph-card.c-far { color: var(--coral-deep); background: linear-gradient(180deg, rgba(217,68,80,.3), rgba(217,68,80,.08)); }
.ph-card.c-low { color: var(--cyan); background: linear-gradient(180deg, rgba(69,200,224,.18), rgba(69,200,224,.05)); }
.ph-cap { display: flex; justify-content: space-between; }
.ph-num { display: flex; align-items: center; justify-content: center; gap: .5em; }
.ph-num svg { width: 3.2em; height: 3.2em; fill: currentColor; }
.ph-num b { font-size: 5.4em; line-height: 1; font-weight: 800; font-variant-numeric: tabular-nums; }
.ph-num i { align-self: flex-end; margin-bottom: .5em; font-style: normal; font-size: 1.2em; color: var(--muted); }
.c-far .ph-num b { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.ph-bar { position: relative; height: .42em; border-radius: 1em; background: linear-gradient(90deg, rgba(69,200,224,.45) 0 20%, var(--green) 20% 80%, rgba(229,100,110,.55) 80%); }
.ph-knob { position: absolute; top: 50%; left: 50%; width: 1.1em; height: 1.1em; margin: -.55em; border-radius: 50%; background: currentColor; border: .16em solid #fff; transition: left .5s ease-out; }
.ph-range { display: flex; justify-content: space-between; align-items: baseline; }
.ph-range b { color: var(--ink); font-size: 1.1em; font-weight: 600; }
.ph-dock { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; text-align: center; font-size: .9em; font-weight: 700; }
.ph-dock span { padding: .8em 0; border-radius: 2em; background: rgba(255,255,255,.08); }

/* Apple's product bezels (Apple Design Resources), used as supplied: scaled only, never cropped, tilted, overlapped or animated.
   Real app screenshots sit behind the bezel's transparent screen. The watch is drawn at its true size beside the phone. */
.duo { display: flex; align-items: flex-end; justify-content: center; gap: calc(var(--pw) * .09); }
.iphone { position: relative; flex: none; width: var(--pw); aspect-ratio: 1350 / 2760; }
.awatch { position: relative; flex: none; width: calc(var(--pw) * .586); aspect-ratio: 560 / 880; }
.bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scr { position: absolute; object-fit: cover; opacity: 0; transition: opacity .7s; }
.scr.on { opacity: 1; }
.iphone .scr { left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; border-radius: 11.5% / 5.3%; }
.awatch .scr { left: 12.857%; top: 21.818%; width: 74.286%; height: 56.364%; border-radius: 21% / 17.6%; }

/* A run, told by scrolling: the phone stays put and its screen changes with each step. */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); padding: 40px 0; border-top: 1px solid var(--line); }
.story-phone { position: sticky; top: calc(50vh - var(--pw) * 1.022); height: max-content; display: grid; justify-items: center; }
.step { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; }
.step.on { opacity: 1; }
.step p:not(.label) { color: var(--muted); max-width: 440px; }
.step .btn { align-self: flex-start; margin-top: 8px; }

.try, .duck, .inside, .export, .faq, .closing, .why, .pricing, .two, .way, .langs { padding: 96px 0; border-top: 1px solid var(--line); }
/* Plain generic devices for Android and Wear OS screens: no vendor artwork. Shown in place of Apple's bezels to Android visitors. */
.droid { position: relative; flex: none; width: var(--pw); aspect-ratio: 9 / 19.6; border-radius: calc(var(--pw) * .13); background: #15181d; box-shadow: inset 0 0 0 1px #3a3f47, 0 30px 70px rgba(0,0,0,.55); }
.droid img { position: absolute; left: 3%; top: 1.4%; width: 94%; height: 97.2%; object-fit: cover; border-radius: calc(var(--pw) * .105); }
.round { position: relative; flex: none; width: calc(var(--pw) * .62); aspect-ratio: 1; border-radius: 50%; background: #15181d; box-shadow: inset 0 0 0 1px #3a3f47, 0 24px 60px rgba(0,0,0,.6); }
.round img { position: absolute; inset: 5.5%; width: 89%; height: 89%; border-radius: 50%; opacity: 1; }
.shots .droid { --pw: 250px; max-width: 100%; margin: 0 auto; } .shots .round { --pw: 250px; margin: 0 auto; }
.is-android .apple-only { display: none; }
.langs { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.langs .seg { border-radius: 24px; }
.lang-card { display: grid; gap: 22px; padding: 28px; border: 1px solid rgba(229,100,110,.35); border-radius: 26px; background: radial-gradient(120% 80% at 50% 0, #2A1518, var(--card) 75%); font-family: var(--round); }
.lang-card .ph-pill { font-size: 20px; color: var(--coral); background: rgba(229,100,110,.16); border-color: rgba(229,100,110,.4); }
.lang-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lang-nums div { padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.lang-nums i { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang-nums b { font-size: 46px; line-height: 1.1; font-weight: 800; color: var(--coral); }
.lang-nums div + div b { color: var(--green); }
.lang-card p { margin: 0; font-size: 19px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.matrix { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 8px; }
.matrix i { font-style: normal; }
.axis { align-self: end; padding: 0 4px 4px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.axis.side { align-self: center; text-align: right; padding: 0 8px 0 0; max-width: 78px; }
.cue { display: grid; align-content: center; gap: 2px; min-height: 96px; padding: 14px; border-radius: 16px; border: 1px solid; text-align: center; }
.cue b { font: 800 19px var(--round); } .cue span { font-size: 12.5px; color: var(--muted); }
.cue.wide { grid-column: span 3; }
.cue.in { color: var(--green); background: rgba(43,199,147,.12); border-color: rgba(43,199,147,.4); }
.cue.hi { color: var(--coral); background: rgba(229,100,110,.12); border-color: rgba(229,100,110,.4); }
.cue.lo { color: var(--cyan); background: rgba(69,200,224,.1); border-color: rgba(69,200,224,.4); }
.way-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: start; margin: 12px 0 20px; }
.pick-label { margin: 22px 0 10px; font-weight: 700; }
.way-out { margin-top: 22px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); min-height: 230px; }
.lede { max-width: 680px; margin: 0 0 14px; color: var(--muted); font-size: 18px; }
#way-img[hidden] { display: none; }
#way-img { display: block; width: min(260px, 100%); height: auto; margin-top: 16px; border-radius: 12px; }
.way-out p { margin: 0 0 14px; } .way-out p:last-child { margin: 0; color: var(--muted); }
h3 { margin: 0 0 6px; font: 700 18px var(--round); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 28px 0; }
.cols p, .plans p { margin: 0; color: var(--muted); font-size: 15px; }
.links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; font-size: 15px; }
.links a { color: var(--green); text-decoration: none; font-weight: 600; }
.links a::after { content: " \2192"; }
.links a:hover { text-decoration: underline; }
.guides { margin-top: 36px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 28px 0 16px; }
.plans > div { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.plans .pick { border-color: var(--green); }
.plans h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.plans b { display: block; margin-bottom: 8px; font: 800 30px var(--round); }
.board { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.board-bar { display: flex; align-items: center; gap: 7px; padding: 10px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font: 12px ui-monospace, Menlo, monospace; }
.board-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A3240; }
.board-bar span { margin-left: 8px; } .board-bar a { margin-left: auto; color: var(--green); }
.board iframe { display: block; width: 100%; height: 640px; border: 0; background: var(--bg); }
.board-note { grid-column: 1 / -1; margin: 0; }
.duck { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.seg button { padding: 8px 10px; white-space: nowrap; border: 0; border-radius: 99px; background: none; color: var(--muted); font: 700 14px var(--round); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--green); color: #04130E; }
.seg button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.rhythm { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 600; }
.dots { display: flex; align-items: center; gap: 10px; min-height: 30px; color: var(--muted); font-size: 12px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); opacity: .25; transition: opacity .12s, transform .12s; }
.dots i.in { background: var(--cyan); }
.dots i.on { opacity: 1; transform: scale(1.35); }
.duck-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 14px; }
.meter { display: grid; gap: 26px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.meter-row { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 14px; font-weight: 700; font-family: var(--round); }
.meter-row b { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 14px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: var(--cyan); transition: width .3s ease-out; }
.bar.coach i { width: 0; background: var(--green); }
.export { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.asks { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.asks li { padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; background: var(--card); max-width: 440px; }
.json { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.json-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font: 12px ui-monospace, Menlo, monospace; }
.json-bar .btn { padding: 7px 14px; font-size: 13px; }
.json-body { position: relative; max-height: 500px; overflow: auto; }
.json-part { margin: 0; padding: 12px 18px 0; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.json pre { margin: 0; padding: 10px 18px 18px; font: 12.5px/1.6 ui-monospace, Menlo, monospace; color: var(--muted); }
#prompt { white-space: pre-wrap; color: var(--ink); opacity: .85; }
#json { overflow-x: auto; }
.json .k { color: var(--cyan); } .json .n { color: var(--green); } .json .s { color: var(--coral); }
.try { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.controls { display: grid; gap: 20px; margin: 28px 0 16px; max-width: 420px; }
.controls label { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-weight: 600; }
.controls output { color: var(--green); font-family: var(--round); font-variant-numeric: tabular-nums; }
.controls input { grid-column: 1 / -1; width: 100%; accent-color: var(--green); height: 28px; }
.btn { justify-self: start; padding: 12px 22px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 700 15px var(--round); cursor: pointer; }
.btn[aria-pressed="true"] { background: var(--green); color: #04130E; border-color: var(--green); }
.btn:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; margin: 36px 0 56px; }
.shots figure { margin: 0; }
.shots .iphone, .shots .awatch { margin: 0 auto; --pw: min(250px, 100%); }
.shots .iphone { width: min(250px, 100%); }
.shots .awatch { width: min(146px, 58.6%); }
.shots figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.facts li { padding: 22px; background: var(--card); color: var(--muted); font-size: 14.5px; }
.facts b { display: block; margin-bottom: 4px; color: var(--ink); font: 700 16px var(--round); }

.faq details { border-bottom: 1px solid var(--line); max-width: 720px; }
.faq summary { padding: 18px 0; font-weight: 700; cursor: pointer; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.closing { display: grid; justify-items: center; text-align: center; gap: 6px; }
.closing .btn { justify-self: center; } /* .btn is start-aligned site-wide; the closing block is centred */
footer { display: flex; flex-wrap: wrap; gap: 22px; padding: 28px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer span { margin-right: auto; }
.legal { flex-basis: 100%; margin: 0; font-size: 11.5px; }
.zone { margin: -8px 0 0; color: var(--muted); font-size: 14px; }
.zone b { color: var(--green); font-family: var(--round); } .zone a, .note a { color: var(--green); }

@media (max-width: 820px) {
  :root { --pw: min(270px, 74vw); }
  nav a:not(.nav-cta) { display: none; }
  .hero, .try, .duck, .export, .two, .langs { grid-template-columns: 1fr; padding: 32px 0 64px; }
  .way-grid { grid-template-columns: 1fr; }
  .cue { min-height: 80px; padding: 10px 6px; } .cue b { font-size: 15px; } .cue span { font-size: 11px; }
  .axis.side { max-width: 58px; font-size: 11px; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .hero .duo { --pw: min(210px, 52vw); }
  .story-phone { --pw: min(230px, 26vh); top: 12px; z-index: 1; }
  .step { min-height: 100vh; justify-content: flex-end; padding-bottom: 7vh; }
  .shots, .facts, .cols { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .board iframe { height: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.midcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 40px 0; border-top: 1px solid var(--line); }
.midcta p { margin: 0; font: 700 20px var(--round); }
.midcta .badges { margin: 0; }
#calculator { display: block; position: relative; top: -20px; }

/* Shorter homepage: sliders, grid and simulated phone share one section; languages sit inside "Yours". */
.two { align-items: start; }
.two .controls { margin: 24px 0 26px; max-width: none; }
.two .matrix { margin-bottom: 18px; }
.matrix .cue { opacity: .4; transition: opacity .25s, box-shadow .25s; }
.matrix .cue.now { opacity: 1; box-shadow: 0 0 0 2px currentColor; }
.stage.sticky { position: sticky; top: 24px; }
.inside .langs { padding: 44px 0 0; border: 0; }
.duck .pick-label:first-of-type { margin-top: 18px; }
@media (max-width: 820px) { .stage.sticky { position: static; } }

/* "Your Run Shape" band (home-lap.js draws an example lap into the canvas). The box holds its size before
   the drawing starts, so nothing below it moves. */
.lap-band { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: 72px 0 88px; border-top: 1px solid var(--line); }
.pricing .btn.go { display: inline-block; margin-top: 22px; background: var(--green); border-color: var(--green); color: #04130E; text-decoration: none; }
.lap-band .btn.go { background: var(--green); border-color: var(--green); color: #04130E; text-decoration: none; display: inline-block; margin-top: 10px; }
.lap-art { aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; border-radius: 28px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.lap-art canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 820px) { .lap-band { grid-template-columns: 1fr; padding: 48px 0 64px; } .lap-art { max-width: 420px; } }
