/* The onboarding (task #472): Rishik's Linear-style design, docs/mockups/linear/onboarding.src/onboarding.tpl.html,
   carried over as it is; the mockup's review controls are left out. Additions for the real page are at the end. */
/* Light only, on purpose: Rishik prefers light. Tokens and art come from linear/onboarding.html and main.html.
   Layout: a big quiet left column with one question per screen, product glimpses on the right, dots along the bottom. */
:root {
  color-scheme: light;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --bg: #fafaf7; --panel: #ffffff; --ink: #0e0f11; --ink-2: #26282c; --body: #3f4042; --muted: #5f6062;
  --faint: #8e8f8b; --line: #e4e3de; --soft: #f1f0eb; --quiet: #efeee9; --dot: #d8d7d1;
  --green: #3fae72; --work: #1f7a4a; --green-bg: #e4f3ea; --warn: #a8540b; --warn-bg: #f8ecdd;
  --personal: #7a4fa8; --personal-bg: #f1eaf8; --term: #0e0f11; --term-line: #2c2e33; --term-text: #e8e8e4;
  --term-dim: #9a9a95; --term-ok: #5cc98c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
button, select, input, textarea { font-family: var(--sans); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
a { color: var(--muted); }
a:hover { color: var(--ink); }

.screen { display: none; min-height: 100%; }
.screen.active { display: flex; }

/* centered screens: sign in, done */
.center { align-items: center; justify-content: center; text-align: center;
  padding-block: 32px 72px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.col { width: 100%; max-width: 330px; display: flex; flex-direction: column; align-items: center; }
.mark { width: 40px; height: 40px; margin-bottom: 22px; }
.center h1 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 24px; text-wrap: balance; }
.center h1.tight { margin-bottom: 4px; }
.center .subd { margin: 0 0 24px; font-size: 13.5px; color: var(--muted); }
.stack { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.pill { font: 500 13.5px var(--sans); border-radius: 999px; padding: 10px 18px; cursor: pointer; width: 100%;
  background: var(--quiet); color: var(--ink); border: 1px solid var(--line); display: flex; align-items: center;
  justify-content: center; gap: 9px; transition: background .12s; }
.pill svg { width: 15px; height: 15px; flex: none; }
.pill:hover { background: #e9e8e2; }
.pill.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill.primary:hover { background: var(--ink-2); }
.pill:disabled { background: transparent; color: var(--faint); cursor: not-allowed; border-style: dashed; }
/* working, not unavailable: keeps the primary look while the office is made */
.pill.primary.busy:disabled { background: var(--ink); color: var(--bg); border-color: var(--ink); border-style: solid; cursor: progress; opacity: .8; }
.foot { margin-top: 26px; font-size: 13px; color: var(--muted); }
.foot a, .legal a { font-weight: 500; text-decoration: none; }
.legal { margin-top: 12px; font-size: 12px; color: var(--faint); }
.legal a { color: var(--faint); text-decoration: underline; }
.divider { width: 100%; display: flex; align-items: center; gap: 10px; margin: 18px 0; color: var(--faint); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.inviter { width: 40px; height: 40px; border-radius: 50%; background: var(--work); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.tick { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green-bg); color: var(--work); font-size: 20px; margin-bottom: 20px; }
.later { margin: -8px 0 22px; font-size: 12.5px; color: var(--warn); }

/* split screens */
.step .left { width: 50%; min-width: 0; display: flex; align-items: center; }
.linner { width: 380px; max-width: 100%; padding-block: 48px 84px; margin: 0 24px 0 clamp(24px, calc(50vw - 420px), 250px); min-width: 0; }
.step .right { width: 50%; position: relative; overflow: hidden; border-left: 1px solid var(--line);
  background: radial-gradient(120% 90% at 30% 40%, #f6f5f0 0%, var(--bg) 70%); }
.step h1 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 6px; text-wrap: balance; }
.step .sub { font-size: 13.5px; color: var(--muted); margin: 0 0 26px; }
.field { margin-top: 16px; }
.field:first-of-type { margin-top: 0; }
.field > label, .lrow > label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field small { font-size: 12.5px; color: var(--faint); }
.lrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
input[type=text], input[type=password], input[type=url], input[type=email], textarea, select {
  width: 100%; font-size: 13.5px; line-height: 1.45; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; outline: 0; }
input:focus, textarea:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
textarea { resize: vertical; min-height: 64px; display: block; }
.center input { margin-bottom: 0; }
.linkbtn { font: 500 12.5px var(--sans); border: 0; background: none; cursor: pointer; color: var(--muted); padding: 0; }
.linkbtn:hover { color: var(--ink); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.back { font: 500 13px var(--sans); border: 0; background: none; color: var(--muted); cursor: pointer; padding: 9px 12px 9px 0; margin-right: auto; }
.back:hover { color: var(--ink); }
.skip { font: 500 13px var(--sans); border: 0; background: none; color: var(--muted); cursor: pointer; padding: 9px 14px; border-radius: 999px; }
.skip:hover { color: var(--ink); background: var(--soft); }
.next { font: 500 13.5px var(--sans); border: 0; border-radius: 999px; cursor: pointer; background: var(--ink); color: var(--bg); padding: 9px 20px; }
.next:hover { background: var(--ink-2); }
.next:disabled { background: var(--quiet); color: var(--faint); cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.chip { font: 500 12.5px var(--sans); border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 4px 12px; cursor: pointer; text-decoration: none; }
.chip:hover { color: var(--ink); background: var(--soft); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* which part of a step you are on: thin segments, no counting needed */
.eyebrow { margin-bottom: 22px; }
.eyebrow span { display: block; font-size: 12px; color: var(--faint); margin-bottom: 7px; }
.seg { display: flex; gap: 3px; }
.seg > * { flex: 1; height: 3px; border: 0; padding: 0; border-radius: 2px; background: var(--dot); display: block; }
.seg .done { background: var(--work); }
.seg button.done { cursor: pointer; }
.seg button.done:hover { background: var(--ink); }
.seg .on { background: var(--ink); }

/* hairline rows */
.opts { border-top: 1px solid var(--line); }
.opt { display: flex; gap: 11px; align-items: flex-start; padding: 12px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.opt:hover { background: var(--soft); }
.opt input { margin: 3px 0 0; accent-color: var(--work); width: 15px; height: 15px; flex: none; }
.opt b, .row b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; }
.opt small, .row small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.feats { border-top: 1px solid var(--line); }
.row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.plain { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.plainbox { padding: 12px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); background: var(--soft); }
.plainbox p { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.plainbox .tools-foot { display: flex; justify-content: flex-end; margin-top: 8px; }

/* status rows: what this Mac reports */
.stats { border-top: 1px solid var(--line); }
.stat { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.stat b { font-weight: 500; flex: 1; min-width: 0; }
.stat .logo { width: 20px; height: 20px; border-radius: 5px; background: var(--soft); color: var(--muted); display: grid; place-items: center; font: 600 9.5px var(--sans); flex: none; }
.st { font-size: 12.5px; color: var(--muted); flex: none; text-align: right; text-decoration: none; }
.st.ok { color: var(--work); }
.st.warn { color: var(--warn); font-weight: 500; }
a.st.warn:hover { text-decoration: underline; }
.st.ok::before { content: "✓ "; }
.checked { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 12.5px; color: var(--faint); }
.addhead { font-size: 12.5px; color: var(--muted); margin: 20px 0 8px; }
.addchips { margin-bottom: 0; }

/* the install step */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: s; }
.steps > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; counter-increment: s; }
.steps > li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; background: var(--soft); color: var(--muted); font: 600 11px var(--sans); display: grid; place-items: center; }
.steps b { font-size: 13.5px; font-weight: 600; align-self: center; }
.steps .det { grid-column: 2; font-size: 12.5px; color: var(--muted); }
.steps .det kbd { font: 500 11.5px var(--mono); background: var(--soft); border-radius: 4px; padding: 1px 5px; color: var(--ink); }
.steps .det code, .plain code, .stepcode { font: 500 11.5px var(--mono); background: var(--soft); border-radius: 4px; padding: 1px 5px; color: var(--ink); }
.term { grid-column: 2; display: flex; align-items: center; gap: 10px; background: var(--term); color: var(--term-text); border-radius: 8px; padding: 8px 8px 8px 13px; margin-top: 6px; min-width: 0; }
.term code { flex: 1; min-width: 0; font: 11.5px/1.5 var(--mono); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.term code::-webkit-scrollbar { display: none; }
.term button { font: 500 12.5px var(--sans); flex: none; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); padding: 6px 16px; cursor: pointer; }
.term button:hover { background: #fff; }
.term.small { padding: 6px 6px 6px 11px; }
.term.small button { padding: 4px 12px; font-size: 12px; }
.wait { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; animation: pulse 1.4s infinite; }
.wait.stuck { color: var(--warn); }
.wait.stuck i { background: var(--warn); animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.notmac { margin-top: 12px; }
.notmac p { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.changed { margin: 14px 0 0; font-size: 12.5px; color: var(--warn); }

/* voice */
.words { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; margin: 0 0 22px; color: var(--ink); text-wrap: pretty; }
.how { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.micrw { display: flex; align-items: center; gap: 12px; height: 26px; }
.recdot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: none; }
.recording .recdot { background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 20%, transparent); animation: pulse 1.6s infinite; }
.meter { flex: 1; display: flex; align-items: center; gap: 3px; height: 26px; min-width: 0; overflow: hidden; }
.meter i { width: 3px; height: 22%; flex: none; border-radius: 2px; background: var(--dot); }
.recording .meter i { background: color-mix(in srgb, var(--green) 65%, var(--line)); animation: bar 1.1s ease-in-out infinite; }
@keyframes bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.mtime { font: 500 12px var(--mono); color: var(--faint); font-variant-numeric: tabular-nums; }
.hintline { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.vrow { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.vrow b { font-weight: 500; flex: 1; }

/* privacy sample */
.sample { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px 15px; }
.turn { display: flex; gap: 10px; padding: 10px 0; }
.turn + .turn { border-top: 1px solid var(--soft); }
.avatar { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ink); color: var(--bg); font: 600 9px var(--sans); margin-top: 1px; }
.turn .who { font-weight: 600; font-size: 12.5px; }
.turn .who small { font: 500 10.5px var(--mono); color: var(--faint); margin-left: 6px; }
.turn p { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--body); }
.turn p.gone { color: var(--faint); text-decoration: line-through; }
.tag { display: inline-block; font: 500 10.5px var(--sans); color: var(--personal); background: var(--personal-bg); border-radius: 99px; padding: 1px 8px; margin-left: 6px; }

/* right-side previews: full size and straight, never miniatures. Everything inside is in em, so it scales with the pane. */
.step .right { container-type: inline-size; }
.art { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.artbox, .flowart, .howto { width: min(86cqw, 760px); font-size: clamp(11.5px, 2.05cqw, 15px); text-align: left; }
.artbox { display: flex; flex-direction: column; gap: .8em; }
.appmini { display: flex; width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: .85em; overflow: hidden; box-shadow: 0 1.8em 4.6em rgba(14,15,17,.10); min-height: 30em; }
.am-rail { width: 12.5em; flex: none; background: #f4f3ee; border-right: 1px solid var(--line); padding: .75em .6em; }
.am-ws { display: flex; align-items: center; gap: .5em; font-weight: 600; padding: .15em .45em .8em; white-space: nowrap; overflow: hidden; }
.am-tile { width: 1.5em; height: 1.5em; border-radius: .35em; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .8em; font-weight: 600; flex: none; }
.am-nav div { padding: .4em .6em; border-radius: .4em; font-size: .97em; font-weight: 500; color: var(--muted); }
.am-nav .on { background: rgba(14,15,17,.07); color: var(--ink); }
.am-main { flex: 1; min-width: 0; padding: .85em 1em; }
.am-ghead { background: var(--soft); border-radius: .35em; padding: .3em .65em; font-size: .87em; font-weight: 600; margin: 1em 0 .25em; }
.am-ghead:first-child { margin-top: 0; }
.am-row { display: flex; align-items: center; gap: .6em; padding: .5em .65em; font-size: .97em; font-weight: 500; white-space: nowrap; }
.am-row .id { font: 500 .82em var(--mono); color: var(--faint); width: 2.8em; flex: none; }
.am-dot { width: .8em; height: .8em; border-radius: 50%; border: .13em solid var(--faint); flex: none; }
.am-dot.p { border-color: var(--warn); }
.am-dot.g { border-color: var(--work); background: var(--work); }
.am-row .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.am-chip { flex: none; font-size: .78em; font-weight: 600; color: var(--work); background: var(--green-bg); border-radius: 99px; padding: .15em .7em; }
.am-chip.warn { color: var(--warn); background: var(--warn-bg); }
.am-chip.gy { color: var(--muted); background: var(--soft); }
.am-av { width: 2em; height: 2em; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: .72em; font-weight: 600; flex: none; }
.am-av.g { background: var(--work); }
.am-line { display: flex; gap: .6em; padding: .55em .3em; font-size: .97em; align-items: flex-start; }
.am-line .tm { font: 500 .8em var(--mono); color: var(--faint); width: 3em; flex: none; padding-top: .2em; }
.am-line p { margin: 0; line-height: 1.45; color: var(--body); flex: 1; min-width: 0; }
.fcard { background: var(--panel); border: 1px solid var(--line); border-radius: .85em; padding: 1.2em 1.35em; box-shadow: 0 1.2em 3em rgba(14,15,17,.08); }
.fcard h3 { margin: 0 0 .8em; font-size: 1.1em; font-weight: 600; }
.vc-row { display: flex; align-items: center; gap: .6em; padding: .5em 0; }
.vc-row > span { width: 6em; color: var(--muted); flex: none; }
.vc { flex: 1; text-align: center; font-style: normal; font-size: .93em; font-weight: 500; padding: .55em 0; border-radius: 99px; background: var(--soft); color: var(--faint); }
.vc.lit { background: var(--green-bg); color: var(--work); }
.vc.cur { background: var(--ink); color: var(--bg); }
.step h1 + .feats { margin-top: 24px; }
.feats .row b, .feats .row small { transition: color .25s; }
.feats.playing .row:not(.now) b, .feats.playing .row:not(.now) small { color: var(--faint); }
/* Install: a screen that plays the three steps on the left, on a loop */
.desk { position: relative; height: 25em; border-radius: .85em; border: 1px solid var(--line); background: var(--soft); overflow: hidden; box-shadow: 0 1.2em 3em rgba(14,15,17,.08); }
.scene { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 1.2em; animation: scenein .25s ease; }
@keyframes scenein { from { opacity: 0; } to { opacity: 1; } }
.hterm { width: 100%; display: flex; align-items: center; gap: .7em; background: var(--term); color: var(--term-text); border-radius: .6em; padding: .6em .6em .6em 1em; }
.hterm code { flex: 1; min-width: 0; font: .9em/1.5 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcopy { flex: none; font: 500 .95em var(--sans); border-radius: 999px; background: var(--bg); color: var(--ink); padding: .45em 1.2em; transition: background .15s, color .15s, transform .12s; }
.hcopy.hit { background: var(--green); color: #fff; transform: scale(.96); }
.hcursor { position: absolute; width: 1.4em; height: 1.4em; left: 34%; top: 72%; fill: var(--ink); stroke: var(--panel); stroke-width: 1; transition: left .6s ease, top .6s ease; }
.hcursor.there { left: 86%; top: 51%; }
.spot { width: 90%; background: var(--panel); border: 1px solid var(--line); border-radius: .85em; box-shadow: 0 1.4em 3em rgba(14,15,17,.16); opacity: 0; transform: scale(.97); transition: opacity .2s, transform .2s; overflow: hidden; }
.spot.up { opacity: 1; transform: none; }
.spotq { display: flex; align-items: center; gap: .7em; padding: .75em .9em; font-size: 1.2em; min-height: 3em; }
.spotq svg { width: 1em; height: 1em; color: var(--faint); flex: none; }
.caret { width: 1.5px; height: 1.15em; background: var(--ink); margin-left: -.5em; animation: pulse 1s infinite; }
.spotr { display: flex; align-items: center; gap: .7em; padding: .65em 1.05em; border-top: 1px solid var(--line); background: var(--soft); font-weight: 500; }
.tico { width: 2.2em; height: 2.2em; border-radius: .45em; background: var(--term); color: var(--term-text); font: 500 .72em var(--mono); display: grid; place-items: center; flex: none; }
.spotr small { margin-left: auto; color: var(--faint); font-size: .88em; font-weight: 400; }
.twin { width: 100%; height: 100%; min-width: 0; display: flex; flex-direction: column; border-radius: .7em; overflow: hidden; background: var(--term); border: 1px solid var(--term-line); box-shadow: 0 1.2em 3em rgba(14,15,17,.16); }
.artbox .twin { height: auto; min-height: 22em; }
.artbox .twin.short { min-height: 11em; transition: opacity .2s; }
.twin.off { opacity: .25; }
.tbar { display: flex; align-items: center; gap: .4em; padding: .6em .8em; background: #1b1c1f; color: var(--term-dim); font: 500 .8em var(--sans); }
.tbar i { width: .7em; height: .7em; border-radius: 50%; background: var(--term-line); }
.tbar span { flex: 1; text-align: center; margin-right: 3em; }
.tbody { flex: 1; min-height: 0; padding: .9em 1.1em; font: 500 .85em/1.9 var(--mono); color: var(--term-dim); overflow: hidden; }
.tbody div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbody .me { color: var(--term-text); }
.tbody .ok { color: var(--term-ok); }
.hkeys { height: 2.6em; margin-top: .9em; display: flex; justify-content: center; align-items: center; }
.hkeys kbd { font: 500 .95em var(--mono); background: var(--panel); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: .4em; padding: .25em .7em; color: var(--ink); animation: keyin .3s ease; }
@keyframes keyin { from { transform: translateY(2px); background: var(--ink); color: var(--bg); } to { transform: none; } }
#instSteps > li::before { transition: background .2s, color .2s; }
#instSteps > li.now::before { background: var(--ink); color: var(--bg); }
.desk.mac { height: 24em; }
.menubar { display: flex; align-items: center; justify-content: flex-end; gap: .8em; background: #e9e8e2; border-bottom: 1px solid var(--line); padding: .45em 1em; font-size: .9em; color: var(--body); }
.menubar svg { width: 1.15em; height: 1.15em; }
.menu { width: 18em; margin: .7em 1em 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: .7em; padding: .5em; box-shadow: 0 1.2em 3em rgba(14,15,17,.12); }
.menu div { padding: .45em .65em; border-radius: .35em; color: var(--body); }
.menu .rec { color: var(--work); font-weight: 500; }
.menu .sep { height: 1px; padding: 0; margin: .35em 0; background: var(--line); }
.menu.flat { width: 100%; margin: 0; box-shadow: none; }
.menu .mh { color: var(--faint); font-size: .9em; }

/* progress dots */
.dots { position: fixed; bottom: calc(30px + env(safe-area-inset-bottom, 0px)); left: 25%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 5; align-items: center; }
.dots > * { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: var(--dot); display: block; transition: width .15s, background .15s; }
.dots button { background: var(--faint); cursor: pointer; }
.dots button:hover { background: var(--ink); }
.dots .on { width: 18px; background: var(--ink); }


/* The real product, embedded */
.realview { position: absolute; top: clamp(14px, 3vh, 30px); bottom: clamp(14px, 3vh, 30px); left: 0; right: clamp(14px, 2.2vw, 30px); display: flex; align-items: center; pointer-events: none; }
.pagebox { position: relative; width: 100%; height: 100%; max-height: 880px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--bg); box-shadow: 0 24px 60px rgba(14,15,17,.10); }
.pagebox iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.pagebox iframe.off { visibility: hidden; }
/* macOS, as someone will really see it */
.macos { position: absolute; inset: 0; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  background: radial-gradient(70% 90% at 12% 8%, #9cc4f4 0%, transparent 62%), radial-gradient(70% 90% at 92% 12%, #f4b8cc 0%, transparent 58%), radial-gradient(90% 90% at 72% 100%, #5468d8 0%, transparent 62%), linear-gradient(160deg, #a8c5ee, #6e7dd6); }
.mbar { position: absolute; left: 0; right: 0; top: 0; height: 1.9em; display: flex; align-items: center; gap: 1.1em; padding: 0 1em; font-size: .78em; font-weight: 500; color: #12151c; background: rgba(255,255,255,.36); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); z-index: 5; white-space: nowrap; overflow: hidden; }
.mbar .apl { width: 1.05em; height: 1.05em; flex: none; color: #12151c; }
.mbar .mapp { font-weight: 700; }
.mbar .msp { flex: 1; }
.mbar .mic { width: 1.2em; height: 1.2em; fill: #12151c; flex: none; }
.mbar .mtib { width: 1.15em; height: 1.15em; flex: none; }
.mbatt { width: 1.85em; height: .85em; border: 1px solid rgba(18,21,28,.65); border-radius: .22em; padding: 1px; display: inline-flex; flex: none; }
.mbatt i { width: 80%; background: #12151c; border-radius: .1em; }
.mdock { position: absolute; left: 50%; bottom: .55em; transform: translateX(-50%); display: flex; gap: .42em; padding: .36em .46em; border-radius: 1.15em; background: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.38); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); z-index: 4; }
.mdock i { width: 2.3em; height: 2.3em; border-radius: .58em; display: grid; place-items: center; font: 600 .92em Menlo, Monaco, monospace; color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.22); }
.mdock .d1 { background: linear-gradient(90deg, #53b4f6 50%, #e6f3fd 50%); }
.mdock .d2 { background: radial-gradient(circle, #4285f4 0 24%, #fff 25% 33%, transparent 34%), conic-gradient(#ea4335 0 33%, #34a853 0 66%, #fbbc05 0); }
.mdock .d3 { background: #1d1d1f; }
.mdock .d4 { background: linear-gradient(#b8bac0, #84868c); font-family: inherit; }
.mdock .d5 { background: linear-gradient(#ffd95a 0 28%, #fff 28%); }
.mwin { position: absolute; left: 8%; right: 8%; top: 11%; bottom: 18%; display: flex; flex-direction: column; background: #fff; color: #1d1d1f; border-radius: .75em; overflow: hidden; border: .5px solid rgba(0,0,0,.22); box-shadow: 0 1em 3em rgba(0,0,0,.28); z-index: 1; }
.mchrome { flex: none; height: 2.5em; display: flex; align-items: center; gap: .8em; padding: 0 .85em; background: #f2f2f4; border-bottom: 1px solid #dcdcde; }
.lights { display: inline-flex; gap: .4em; flex: none; }
.lights i, .tbar i { width: .72em; height: .72em; border-radius: 50%; background: #ff5f57; flex: none; }
.lights i:nth-child(2), .tbar i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3), .tbar i:nth-child(3) { background: #28c840; }
.maddr { flex: 1; text-align: center; font-size: .8em; color: #55565a; background: #fff; border-radius: .45em; padding: .22em 0; margin-right: 3.4em; }
.mpage { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: .9em; padding: 0 1.5em; }
.mpage b { font-size: 1.15em; font-weight: 600; }
.macos .scene { z-index: 3; padding: 0; }
.macos .twin.mterm { position: absolute; left: 13%; right: 13%; top: 12%; bottom: 18%; width: auto; height: auto; min-height: 0; background: #fff; color: #1d1d1f; border: .5px solid rgba(0,0,0,.28); border-radius: .75em; box-shadow: 0 1.4em 3.4em rgba(0,0,0,.36); }
.artbox .macos .twin.mterm { min-height: 0; height: auto; }
.mterm .tbar { background: #ececec; color: #4d4d4f; border-bottom: 1px solid #d3d3d3; font: 600 .8em -apple-system, BlinkMacSystemFont, sans-serif; padding: .55em .8em; }
.mterm .tbody { font: 400 .86em/1.5 Menlo, Monaco, 'SF Mono', monospace; color: #1d1d1f; padding: .55em .75em; }
.mterm .tbody .me { color: #1d1d1f; }
.mterm .tbody .ok { color: #1a8f47; }
.macos .spot { position: absolute; left: 16%; right: 16%; top: 21%; width: auto; background: rgba(246,246,248,.84); -webkit-backdrop-filter: blur(30px) saturate(1.4); backdrop-filter: blur(30px) saturate(1.4); border: .5px solid rgba(255,255,255,.6); border-radius: 1em; box-shadow: 0 1.4em 3.2em rgba(0,0,0,.3); }
.macos .spotq { color: #1d1d1f; font-size: 1.3em; }
.macos .spotr { background: #0a84ff; color: #fff; margin: 0 .4em .4em; border-radius: .55em; border-top: 0; padding: .5em .65em; }
.macos .spotr small { color: rgba(255,255,255,.82); }
.macos .tico { background: #1d1d1f; }
.macos .hcursor { position: absolute; z-index: 6; left: 58%; top: 84%; width: 1.5em; height: 1.5em; fill: #111; stroke: #fff; transition: left .6s ease, top .6s ease; }
.menu.mdrop { position: absolute; right: 7%; top: 2.1em; margin: 0; z-index: 6; }
.tcursor { position: absolute; left: 62%; top: 72%; width: 24px; height: 24px; z-index: 3; fill: var(--ink); stroke: var(--panel); stroke-width: 1; filter: drop-shadow(0 2px 4px rgba(14,15,17,.25)); transition: left .7s cubic-bezier(.4,0,.2,1), top .7s cubic-bezier(.4,0,.2,1), transform .12s; }
.tcursor.jump { transition: none; }
.tcursor.down { transform: scale(.82); }
.tcursor.off { display: none; }
.tiltview { position: absolute; inset: 0; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(to right, #000 72%, transparent 100%); mask-image: linear-gradient(to right, #000 72%, transparent 100%); }
.tiltbox { position: absolute; left: 7%; top: 11%; width: 1280px; height: 900px; transform-origin: 0 0; transform: rotate(-4deg) scale(var(--s, 1)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); box-shadow: 0 40px 90px rgba(14,15,17,.16); }
.tiltbox iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; }
.tiltbox::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,.1) 34%, rgba(255,255,255,0) 58%), linear-gradient(to bottom, rgba(250,250,247,0) 62%, rgba(250,250,247,.9) 100%); }

/* Bigger everything, and the two sides next to each other on any monitor */
:root { --leftw: clamp(400px, 33vw, 540px); --rightmax: 1280px; }
.screen.step { justify-content: center; }
.step .left { flex: 0 0 var(--leftw); width: var(--leftw); }
.linner { width: 100%; max-width: none; margin: 0; padding: 40px 36px 84px clamp(28px, 3vw, 52px); }
.step .right { flex: 1 1 0; width: auto; min-width: 0; max-width: var(--rightmax); border-left: 0; background: none; }
.dots { left: calc(max(0px, (100vw - var(--leftw) - var(--rightmax)) / 2) + var(--leftw) / 2); }
.artbox, .howto { width: min(92cqw, 1000px); font-size: clamp(12.5px, 1.85cqw, 18px); }
.step h1 { font-size: 26px; margin-bottom: 8px; }
.step .sub, .how { font-size: 15.5px; }
.step .sub { margin-bottom: 28px; }
.step h1 + .feats { margin-top: 28px; }
.field > label, .lrow > label, .field small { font-size: 14px; }
input[type=text], input[type=password], input[type=url], input[type=email], textarea, select { font-size: 15px; padding: 11px 13px; }
.next { font-size: 15px; padding: 11px 24px; }
.back, .skip, .linkbtn { font-size: 14.5px; }
.chip { font-size: 14px; padding: 5px 14px; }
.opt { padding: 15px 8px; }
.row { padding: 15px 0; }
.opt b, .row b { font-size: 15.5px; }
.opt small, .row small { font-size: 14px; }
.opt input { width: 17px; height: 17px; }
.steps b { font-size: 15px; }
.steps .det { font-size: 14px; }
.steps > li { grid-template-columns: 24px minmax(0, 1fr); }
.steps > li::before { width: 22px; height: 22px; font-size: 12px; }
.term code { font-size: 12.5px; }
.term button { font-size: 13.5px; }
.wait { font-size: 14.5px; }
.eyebrow span { font-size: 13px; }
.seg > * { height: 4px; }
.words { font-size: 22px; }
.hintline, .plain, .plainbox p, .checked, .addhead { font-size: 14px; }
.stat { font-size: 15px; padding: 12px 0; }
.st { font-size: 14px; }
.vrow { font-size: 15px; padding: 12px 0; }
.col { max-width: 400px; }
.center h1 { font-size: 24px; }
.center .subd { font-size: 15.5px; }
.pill { font-size: 15px; padding: 13px 20px; }
.pill svg { width: 17px; height: 17px; }
.foot { font-size: 14.5px; }
.legal { font-size: 13px; }
.artbox .twin { min-height: 26em; }
.artbox .twin.short { min-height: 14em; }
.fcard { padding: 1.6em 1.8em; }
.vc { padding: .8em 0; }
.vc-row { padding: .7em 0; }
.desk { height: 32em; }
.desk.mac { height: 32em; }

@media (max-width: 880px) {
  .step .right { display: none; }
  .screen.step { justify-content: flex-start; }
  .step .left { flex: 1 1 100%; width: 100%; }
  .linner { width: 100%; max-width: 460px; margin: 0 auto; padding-block: 56px 96px;
    padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .dots { left: 50%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- the real page (task #472): what the mockup didn't need ---------- */
a.pill { text-decoration: none; }
.err { margin: 10px 0 0; font-size: 12.5px; color: var(--warn); font-weight: 500; }
.err:empty { display: none; }
.col .err { text-align: center; }
.okmsg { margin: 10px 0 0; font-size: 12.5px; color: var(--work); text-align: center; word-break: break-all; }
.emailform .divider { margin: 8px 0 4px; }
.emailform input { width: 100%; }
#whereMsg:empty { display: none; }
#whereMsg.warn { color: var(--warn); }
/* a button's words never break; a row that can't fit wraps as a whole */
.actions { flex-wrap: wrap; row-gap: 4px; }
.actions > button { white-space: nowrap; }

.fr-signup form { width: 100%; }
.fr-signup .field { width: 100%; text-align: left; }
.fr-signup .pill { margin-top: 20px; }
