/* S-03 · Install (helmet). The skip link, footer, sub-page frame, grain,
   the --sys-* properties and the page base live in site.css. */
/* Inline SVG paints from tokens (no hex in boards) */
.t-band { fill: var(--brand-band); }
.t-ink { stroke: var(--ink); }
.t-mark { stroke: var(--butter-mark-solid); }
.t-sky { fill: var(--sky-aura); }
.t-skyw { fill: var(--sky-wash); stroke: var(--sky-deep); }
.t-skyd { fill: var(--sky-deep); }
.t-sys { stroke: var(--sys-text); }
.t-sysf { fill: var(--sys-text); }

/* ---------- Hero: the download has started (a status: never marked) ---------- */
.in-hero { position: relative; padding-top: 88px; }
.in-hero .sb-aura { inset: -76px -20vw auto; height: 720px; }
.in-h1 { position: relative; margin: 0; max-width: 14em; }
.in-again { margin-top: 20px; font-size: var(--fs-small); }

/* Three steps */
.in-steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.in-step { --card-pad: 14px 14px 22px; display: flex; flex-direction: column; gap: 20px; }
.in-ill { position: relative; height: 200px; border-radius: var(--r-md); overflow: hidden; background: var(--paper-deep); }
.in-ill > .sb-aura > span { filter: blur(36px); }
/* each picture sits on a stage centred in its panel */
.il-stage { position: absolute; left: 0; right: 0; top: 50%; }
.in-st { display: flex; align-items: flex-start; gap: 14px; padding: 0 8px; }
.in-dot { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.in-st p { margin: 4px 0 0; font-size: 17px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.in-st b { font-weight: 600; }

/* illustration 1 · Downloads stack (crisp: instructions are never fogged) */
.il-label { position: absolute; left: 16px; top: 14px; margin: 0; font-family: var(--sys-font); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.il-stage--1 { height: 132px; margin-top: -58px; }
.il-doc { position: absolute; left: 50%; top: 0; width: 74px; height: 92px; margin-left: -37px; border-radius: 6px 16px 6px 6px; background: var(--surface); box-shadow: var(--edge), var(--elev-2); }
.il-doc--b1 { rotate: -11deg; translate: -44px 8px; opacity: 0.9; }
.il-doc--b2 { rotate: 9deg; translate: 40px 6px; opacity: 0.9; }
.il-doc--front { display: flex; align-items: center; justify-content: center; }
.il-doc--front svg { width: 46px; height: 46px; }
.il-doc--front::before { content: ""; position: absolute; right: 0; top: 0; width: 18px; height: 18px; border-radius: 0 16px 0 6px; background: linear-gradient(225deg, var(--paper-deep) 50%, var(--surface) 50%); box-shadow: -1px 1px 2px rgba(var(--shadow-rgb), 0.18); }
/* the file name, selected the way Finder selects it: neutral, not a marker */
.il-file { position: absolute; left: 50%; top: 106px; translate: -50% 0; margin: 0; padding: 3px 8px; border-radius: 6px; background: var(--sys-select); font-family: var(--sys-font); font-size: 12px; font-weight: 500; color: var(--ink); white-space: nowrap; }

/* illustration 2 · drag to Applications: the butter traço is this page's one gesture */
.il-stage--2 { height: 104px; margin-top: -52px; }
.il-app { position: absolute; width: 72px; height: 72px; border-radius: 17px; overflow: hidden; background: var(--surface); box-shadow: var(--edge), var(--elev-2); }
.il-app::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(closest-side at 22% 24%, rgba(var(--butter-rgb), 0.95), rgba(var(--butter-rgb), 0) 70%), radial-gradient(closest-side at 80% 20%, rgba(var(--rose-rgb), 0.9), rgba(var(--rose-rgb), 0) 70%), radial-gradient(closest-side at 22% 82%, rgba(var(--sky-rgb), 0.95), rgba(var(--sky-rgb), 0) 70%), radial-gradient(closest-side at 80% 80%, rgba(var(--peach-rgb), 0.9), rgba(var(--peach-rgb), 0) 70%); filter: blur(6px); }
.il-app svg { position: absolute; inset: 7px; width: 58px; height: 58px; }
.il-app--src { left: calc(50% - 120px); width: 62px; height: 62px; top: 4px; border-radius: 15px; }
.il-app--src svg { inset: 6px; width: 50px; height: 50px; }
.il-app--glide { left: calc(50% - 116px); width: 54px; height: 54px; top: 8px; border-radius: 13px; translate: 172px 4px; scale: 0.6; opacity: 0; box-shadow: var(--edge), var(--elev-4); }
.il-app--glide svg { inset: 5px; width: 44px; height: 44px; }
.il-folder { position: absolute; right: calc(50% - 122px); top: 0; width: 76px; height: 69px; }
.il-trace { position: absolute; left: calc(50% - 50px); top: 15px; width: 92px; height: 40px; overflow: visible; }
.il-trace path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.il-cap { position: absolute; top: 86px; margin: 0; width: 100px; text-align: center; font-family: var(--sys-font); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.il-cap--a { left: calc(50% - 139px); }
.il-cap--b { right: calc(50% - 134px); }
@media (prefers-reduced-motion: no-preference) {
  .il-trace .il-trace__band { animation: sb-line-draw 720ms var(--ease-hand) 500ms both; }
  .il-trace .il-trace__tip { animation: sb-line-draw 260ms var(--ease-out) 1180ms both; }
  .il-trace .il-trace__head { animation: sb-line-draw 280ms var(--ease-out) 1260ms both; }
  .il-app--glide { animation: in-glide 2.4s var(--ease-in-out) 1500ms 3 both; }
}
@keyframes in-glide {
  0% { translate: 0 0; opacity: 0; scale: 1.08; }
  12% { translate: 0 0; opacity: 0.96; scale: 1.08; }
  74% { translate: 168px 2px; opacity: 0.96; scale: 0.9; }
  100% { translate: 172px 4px; opacity: 0; scale: 0.6; }
}

/* illustration 3 · Applications in Finder, Sublinea ringed; the menu-bar mark lights as the result */
.il-bar { position: absolute; left: 0; right: 0; top: 0; height: 26px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 0 12px; background: rgba(var(--surface-rgb), 0.72); box-shadow: inset 0 -1px 0 var(--line); font-family: var(--sys-font); font-size: 11px; font-weight: 500; color: var(--sys-text); white-space: nowrap; }
.il-bar svg { flex: none; }
.il-glyph { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 20px; border-radius: 5px; background: rgba(var(--butter-rgb), 0.9); box-shadow: 0 0 0 3px rgba(var(--butter-rgb), 0.6); }
.il-stage--3 { height: 142px; margin-top: -58px; }
.il-finder { position: absolute; left: 50%; top: 0; width: 236px; margin-left: -118px; border-radius: 10px; overflow: hidden; background: var(--glass-solid); box-shadow: 0 0 0 0.5px var(--sys-hairline), 0 16px 32px -18px rgba(var(--shadow-rgb), 0.55); font-family: var(--sys-font); }
.il-finder__bar { display: flex; align-items: center; gap: 10px; height: 24px; padding: 0 10px; background: rgba(var(--ink-rgb), 0.04); box-shadow: inset 0 -1px 0 var(--line); font-size: 11px; font-weight: 600; color: var(--sys-text); }
.il-finder__bar i { display: inline-flex; gap: 5px; }
.il-finder__bar i b { width: 7px; height: 7px; border-radius: 50%; background: rgba(var(--ink-rgb), 0.16); }
.il-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 6px; padding: 12px 10px 12px; }
.il-cell { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.il-ico { display: block; width: 32px; height: 32px; border-radius: 8px; background: rgba(var(--ink-rgb), 0.09); }
.il-name { display: block; width: 34px; height: 5px; border-radius: 3px; background: rgba(var(--ink-rgb), 0.12); }
.il-cell--sb .il-app { position: relative; display: block; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px rgba(var(--butter-rgb), 0.9); overflow: visible; }
.il-cell--sb .il-app::before { inset: 0; border-radius: 8px; filter: blur(3px); }
.il-cell--sb .il-app svg { inset: 3px; width: 26px; height: 26px; }
.il-cell--sb .il-label-sb { margin-top: 3px; font-size: 10px; font-weight: 500; line-height: 5px; color: var(--sys-text); }
@media (prefers-reduced-motion: no-preference) {
  .il-cell--sb .il-app { animation: in-ring 520ms var(--ease-out) 700ms both; }
  .il-glyph { animation: in-light 600ms var(--ease-out) 1500ms both; }
}
@keyframes in-ring { from { box-shadow: 0 0 0 2px var(--surface), 0 0 0 2px rgba(var(--butter-rgb), 0); } to { box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px rgba(var(--butter-rgb), 0.9); } }
@keyframes in-light { from { background-color: rgba(var(--butter-rgb), 0); box-shadow: 0 0 0 0 rgba(var(--butter-rgb), 0); } to { background-color: rgba(var(--butter-rgb), 0.9); box-shadow: 0 0 0 3px rgba(var(--butter-rgb), 0.6); } }

.in-after { margin-top: 48px; display: grid; gap: 8px; justify-items: start; }
.in-after .sb-lede { color: var(--ink); }

/* ---------- Open anyway: each picture sits beside the step it shows ---------- */
.oa-head { display: grid; gap: 14px; }
.oa-tabs { display: inline-flex; gap: 4px; margin-top: 32px; padding: 4px; border-radius: var(--r-pill); background: var(--glass-card); box-shadow: inset 0 0 0 1px var(--line-strong), var(--elev-1); }
.oa-tab { min-height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-2); font-family: var(--font); font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.oa-tab:hover { color: var(--ink); background: rgba(var(--ink-rgb), 0.05); }
.oa-tab[aria-selected="true"] { background: var(--ink); color: var(--surface); box-shadow: var(--elev-button); }
.oa-tab:focus { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.oa-tab:focus:not(:focus-visible) { box-shadow: none; }
.oa-tab[aria-selected="true"]:focus:not(:focus-visible) { box-shadow: var(--elev-button); }
.oa-panel { margin-top: 40px; }
.oa-panel:focus { outline: none; }
.oa-panel:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--r-md); }
.oa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.oa-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: center; }
.oa-step--text { align-items: start; }
.oa-st { grid-column: 1; display: flex; gap: 14px; align-items: flex-start; }
.oa-st .in-dot { width: 28px; height: 28px; font-size: 13px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.oa-st p { margin: 2px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.oa-fig { grid-column: 2; position: relative; margin: 0; }
.oa-fig figcaption { margin-top: 10px; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.oa-badge { position: absolute; z-index: 2; left: -11px; top: -11px; box-shadow: 0 0 0 3px var(--paper); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.gk { position: relative; height: 252px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-deep); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--sys-font); }
.gk .sb-aura > span { filter: blur(40px); }
.gk-blk { display: block; height: 7px; border-radius: 4px; background: rgba(var(--ink-rgb), 0.13); }
.gk-dialog { position: absolute; left: 50%; top: 22px; width: 248px; margin-left: -124px; padding: 18px 18px 16px; box-sizing: border-box; border-radius: 16px; background: var(--glass-solid); box-shadow: 0 0 0 0.5px var(--sys-hairline), 0 20px 40px -18px rgba(var(--shadow-rgb), 0.55); text-align: center; }
.gk-dialog .il-app { position: relative; top: 0; left: 0; display: block; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 11px; }
.gk-dialog .il-app svg { inset: 5px; width: 36px; height: 36px; }
.gk-dialog .gk-blk { margin: 0 auto 7px; }
.gk-btn { display: flex; align-items: center; justify-content: center; height: 26px; margin-top: 8px; border-radius: 7px; background: rgba(var(--ink-rgb), 0.08); font-size: 12px; font-weight: 500; color: var(--sys-text); }
.gk-btn--def { background: var(--ink); color: var(--surface); }
.gk-win { position: absolute; left: 22px; right: 22px; top: 20px; bottom: 0; display: flex; border-radius: 12px 12px 0 0; overflow: hidden; background: var(--glass-solid); box-shadow: 0 0 0 0.5px var(--sys-hairline), 0 20px 40px -18px rgba(var(--shadow-rgb), 0.5); }
.gk-side { width: 132px; flex: none; padding: 30px 10px 0; box-sizing: border-box; background: rgba(var(--ink-rgb), 0.04); display: grid; align-content: start; gap: 11px; }
.gk-side .sel { margin: 0 -4px; padding: 5px 6px; border-radius: 6px; background: var(--sys-select); font-size: 12px; font-weight: 500; color: var(--sys-text); white-space: nowrap; }
.gk-dots { position: absolute; left: 12px; top: 11px; display: flex; gap: 6px; }
.gk-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(var(--ink-rgb), 0.16); }
.gk-main { flex: 1; padding: 30px 20px 0; display: grid; align-content: start; gap: 10px; }
.gk-h { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--sys-text); }
.gk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding: 12px; border-radius: 10px; background: rgba(var(--ink-rgb), 0.035); }
/* the control to press wears a butter ring, never the marker band (bands belong to passages) */
.gk-anyway { position: relative; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 7px; background: var(--surface); box-shadow: var(--sys-control); font-size: 12px; font-weight: 500; color: var(--sys-text); white-space: nowrap; }
.gk-ring::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px rgba(var(--butter-rgb), 0.9); pointer-events: none; }
.gk-ctx { position: absolute; left: 64px; top: 50%; margin-top: -48px; }
.gk-ctx .il-app { position: relative; display: block; top: 0; left: 0; width: 64px; height: 64px; border-radius: 15px; }
.gk-ctx .il-app svg { inset: 7px; width: 50px; height: 50px; }
.gk-ctx-cap { margin: 8px 0 0; width: 64px; text-align: center; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.gk-menu { position: absolute; left: 150px; top: 50%; margin-top: -60px; width: 200px; padding: 6px; border-radius: var(--sys-r-menu); background: var(--glass-solid); box-shadow: 0 0 0 0.5px var(--sys-hairline), 0 14px 30px -14px rgba(var(--shadow-rgb), 0.55); font-size: 12px; color: var(--sys-text); }
.gk-menu .open { position: relative; margin: 0; padding: 5px 8px; border-radius: 6px; background: var(--sys-select); font-weight: 600; }
.gk-menu .gk-blk { margin: 10px 8px; }
@keyframes gk-ring-in { from { opacity: 0; scale: 1.25; } to { opacity: 1; scale: 1; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .gk-ring::after { animation: gk-ring-in linear both; animation-timing-function: var(--ease-out); animation-timeline: view(); animation-range: entry 40% entry 100%; }
  }
}

/* FAQ */
.faq { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.faq li { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; padding: 20px 0; list-style: none; cursor: pointer; border-radius: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus { outline: none; }
.faq summary .sb-link { --link-line: transparent; font-size: 19px; font-weight: 500; }
.faq summary:hover .sb-link, .faq summary:focus-visible .sb-link { background-size: 100% 0.82em, 100% 1px; background-position: 0 88%, 0 100%; transition: background-size var(--dur-sweep-short) var(--ease-sweep); }
.faq summary svg { flex: none; color: var(--ink-2); transition: rotate var(--dur-base) var(--ease-out); }
.faq details[open] summary svg { rotate: 45deg; }
.faq .sb-body { padding: 0 0 24px; }

@media (max-width: 899px) {
  .oa-step { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .oa-fig { grid-column: 1; }
}
@media (max-width: 599px) {
  .in-hero { padding-top: 48px; }
  .oa-tabs { display: flex; }
  .oa-tab { flex: 1; padding: 0 12px; }
  .gk-ctx { left: 24px; }
  .gk-menu { left: 104px; width: 180px; }
}

/* ---------- Site additions (not on the board) ---------- */
/* The neutral hero shown before (or without) a download: an H1 and one CTA */
.in-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
@media (max-width: 599px) { .in-ctas .sb-btn { width: 100%; } }

/* Tabs without JavaScript: both panels show, each under its own heading, and the tablist hides */
.oa-nojs { margin: 0 0 24px; }
html.js .oa-nojs { display: none; }
html:not(.js) .oa-tabs { display: none; }
html:not(.js) .oa-panel[hidden] { display: block; }
