/* InfinitySteps — software downloads.
   One family (Archivo): extended for headings, echoing the wordmark; normal width for reading.
   Colour from the logo: navy, electric blue on the left, gold on the right. */
:root {
  --nave: #08142e;
  --vault: #0f2148;
  --vault-2: #132a58;
  --line: rgba(143, 211, 255, 0.14);
  --line-hi: rgba(143, 211, 255, 0.28);
  --electric: #2f8cff;
  --halo: #8fd3ff;
  --gold: #f3b23c;
  --candle: #ffe6a8;
  --ink: #edf2fb;
  --hush: #9aaac6;
  --faint: #6f80a0;
  --ok: #57e0a5;
  --danger: #ff8a8a;
  --font: "Archivo", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1180px;
  --step: clamp(28px, 4.5vw, 52px);       /* height of one stair */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--nave);
  background-image: linear-gradient(180deg, #0a1938 0, var(--nave) 620px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--candle); text-decoration: underline; text-decoration-color: rgba(255, 230, 168, 0.35); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--halo); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 14px; }
h1, h2, h3, .wide { font-stretch: 110%; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(28px, 3.4vw, 42px); }
h2 { font-size: clamp(22px, 2.3vw, 28px); }
h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.hush { color: var(--hush); }
.gold { color: var(--gold); }
.lead { font-size: clamp(16px, 1.3vw, 17.5px); color: var(--hush); max-width: 38em; line-height: 1.55; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--gold); color: #1b1300; padding: 8px 14px; border-radius: 8px; }

/* ---- header ---------------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); background: #08142e; position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { height: 28px; width: auto; }
.brand span { font-stretch: 115%; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; }
.brand b { color: var(--gold); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--hush); text-decoration: none; font-size: 14.5px; font-weight: 550; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* ---- buttons ------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 18px; border-radius: 9px; font: 600 15px/1.2 var(--font);
  border: 1px solid var(--line-hi); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { color: var(--ink); background: rgba(143, 211, 255, 0.08); border-color: var(--halo); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #1d1400; }
.btn.gold:hover { background: var(--candle); border-color: var(--candle); color: #1d1400; }
.btn.big { padding: 13px 22px; font-size: 15.5px; border-radius: 10px; }
.btn.small { padding: 8px 16px; font-size: 15px; }
.btn small { font-weight: 500; opacity: .7; font-size: 13px; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 16px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; color: var(--hush); font-size: 14px; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; color: var(--ok); flex: none; }

/* ---- hero ------------------------------------------------------------------------------ */
.hero { padding: 64px 0 48px; }
.hero h1 { max-width: 15.5em; margin-bottom: 22px; }
.hero h1 .blue { color: var(--halo); }
.hero h1 .gold { color: var(--gold); }

/* the app on a sanctuary projector screen, casting light onto the wall below */
.screen { position: relative; margin: 8px 0 0; }
.screen .glass {
  position: relative; z-index: 1; border-radius: 10px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 10px #050c1c, 0 0 0 11px rgba(143, 211, 255, 0.12);
}
.screen::after {   /* projected light on the wall: plain gradients, no blur filter */
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -90px; height: 180px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at 22% 40%, rgba(47, 140, 255, 0.30), transparent 70%),
    radial-gradient(45% 60% at 78% 40%, rgba(243, 178, 60, 0.26), transparent 70%);
}
.switch { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 36px 0 0; position: relative; z-index: 2; }
.switch label { cursor: pointer; color: var(--hush); font-weight: 600; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.switch label:hover { color: var(--ink); }
.shows input { position: absolute; opacity: 0; pointer-events: none; }
.shows figure { margin: 0; display: none; }
.shows figcaption { color: var(--hush); font-size: 15.5px; margin-top: 14px; max-width: 40em; }
#v1:checked ~ .stage figure:nth-child(1), #v2:checked ~ .stage figure:nth-child(2), #v3:checked ~ .stage figure:nth-child(3), #v4:checked ~ .stage figure:nth-child(4), #v5:checked ~ .stage figure:nth-child(5), #v6:checked ~ .stage figure:nth-child(6), #v7:checked ~ .stage figure:nth-child(7), #v8:checked ~ .stage figure:nth-child(8), #v9:checked ~ .stage figure:nth-child(9), #v10:checked ~ .stage figure:nth-child(10), #v11:checked ~ .stage figure:nth-child(11), #v12:checked ~ .stage figure:nth-child(12) { display: block; }
#v1:checked ~ .switch label[for="v1"], #v2:checked ~ .switch label[for="v2"], #v3:checked ~ .switch label[for="v3"], #v4:checked ~ .switch label[for="v4"], #v5:checked ~ .switch label[for="v5"], #v6:checked ~ .switch label[for="v6"], #v7:checked ~ .switch label[for="v7"], #v8:checked ~ .switch label[for="v8"], #v9:checked ~ .switch label[for="v9"], #v10:checked ~ .switch label[for="v10"], #v11:checked ~ .switch label[for="v11"], #v12:checked ~ .switch label[for="v12"] { color: var(--ink); border-bottom-color: var(--gold); }
#v1:focus-visible ~ .switch label[for="v1"], #v2:focus-visible ~ .switch label[for="v2"], #v3:focus-visible ~ .switch label[for="v3"], #v4:focus-visible ~ .switch label[for="v4"], #v5:focus-visible ~ .switch label[for="v5"], #v6:focus-visible ~ .switch label[for="v6"], #v7:focus-visible ~ .switch label[for="v7"], #v8:focus-visible ~ .switch label[for="v8"], #v9:focus-visible ~ .switch label[for="v9"], #v10:focus-visible ~ .switch label[for="v10"], #v11:focus-visible ~ .switch label[for="v11"], #v12:focus-visible ~ .switch label[for="v12"] { outline: 2px solid var(--halo); outline-offset: 4px; }

/* ---- sections ------------------------------------------------------------------------- */
.band { padding: 72px 0; }
.band.tight { padding: 64px 0; }
.intro { max-width: 36em; margin-bottom: 44px; }
.intro p { color: var(--hush); font-size: 16px; }

/* order of service: golden stairs climbing to the right, like the logo */
.stairs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: end; list-style: none; margin: 0; padding: 0; }
.stair { position: relative; padding: 22px 22px 0 0; }
.stair::before {   /* tread and riser */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%;
  border-top: 2px solid var(--gold); border-left: 2px solid rgba(243, 178, 60, 0.35);
  pointer-events: none;
}
.stair:first-child::before { border-left: 0; }
.stair:nth-child(1) .stair-body { min-height: calc(var(--step) * 1 + 140px); }
.stair:nth-child(2) .stair-body { min-height: calc(var(--step) * 2 + 140px); }
.stair:nth-child(3) .stair-body { min-height: calc(var(--step) * 3 + 140px); }
.stair:nth-child(4) .stair-body { min-height: calc(var(--step) * 4 + 140px); }
.stair:nth-child(5) .stair-body { min-height: calc(var(--step) * 5 + 140px); }
.stair-body { padding-left: 18px; }
.stair:first-child .stair-body { padding-left: 0; }
.stair time { display: block; font-stretch: 125%; font-weight: 800; font-size: 15px; color: var(--gold); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.stair h3 { margin-bottom: 8px; }
.stair p { color: var(--hush); font-size: 15.5px; line-height: 1.55; margin: 0; }
.stair .uses { color: var(--halo); font-size: 14px; font-weight: 600; margin-top: 10px; }
.stair:last-child::after {   /* the star at the top of the stairs */
  content: ""; position: absolute; right: -6px; top: -7px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--candle); box-shadow: 0 0 0 5px rgba(243, 178, 60, 0.25), 0 0 0 11px rgba(243, 178, 60, 0.10);
}

/* studios: a quiet two-column list */
.studios { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: 1px solid var(--line); }
.studio { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.studio svg { width: 26px; height: 26px; color: var(--c); margin-top: 2px; }
.studio h3 { font-size: 18.5px; margin: 0 0 4px; }
.studio p { margin: 0; color: var(--hush); font-size: 15.5px; }

/* applications catalogue */
.catalogue-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.catalogue-head h2 { margin: 0; }
.find { position: relative; width: min(100%, 340px); }
.find input {
  width: 100%; padding: 12px 14px 12px 42px; border-radius: 10px; font: 400 16px var(--font);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-hi); color: var(--ink);
}
.find input::placeholder { color: var(--faint); }
.find input:focus { outline: none; border-color: var(--halo); }
.find svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--faint); }
.app { display: grid; grid-template-columns: 76px 1fr auto; gap: 24px; align-items: center; padding: 26px; border-radius: 18px; background: var(--vault); border: 1px solid var(--line); }
.app + .app { margin-top: 14px; }
.app img { width: 76px; height: 76px; border-radius: 18px; }
.app h3 { font-size: 20px; margin: 0 0 4px; }
.app .tagline { color: var(--gold); font-size: 14.5px; font-weight: 600; margin: 0 0 6px; }
.app p { color: var(--hush); margin: 0; font-size: 15.5px; max-width: 46em; }
.app .version { color: var(--ink); font-weight: 650; }
.app .buttons { display: flex; flex-direction: column; gap: 8px; }

/* support band: the logo's horizon line, blue to gold */
.support { position: relative; padding: 56px 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.support::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--electric), var(--ink) 50%, var(--gold)); opacity: .8; }
.support h2 { margin-bottom: 10px; }
.support p { color: var(--hush); max-width: 38em; margin: 0; }
.support .actions { margin: 0; }

/* ---- software page ----------------------------------------------------------------------- */
.product { padding: 56px 0 32px; display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: start; }
.product > img { width: 88px; height: 88px; border-radius: 20px; }
.product .tagline { color: var(--gold); font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.product h1 { margin-bottom: 12px; }
.note {
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 20px; border-radius: 12px;
  background: rgba(143, 211, 255, 0.06); border: 1px solid var(--line); color: var(--hush); font-size: 15.5px; max-width: 54em;
}
.note svg { width: 22px; height: 22px; color: var(--halo); }
.mac { margin: 8px 0 40px; max-width: 54em; scroll-margin-top: 96px; }
.mac h2 { font-size: 19px; margin: 0; }
.mac .actions { margin: 16px 0 14px; }
.mac p { font-size: 15.5px; margin: 0; }
.mac strong { color: var(--ink); font-weight: 650; }
.note strong { color: var(--ink); font-weight: 650; }
.columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: start; }
.notes h2 { font-size: 22px; }
.notes h3 { font-size: 18px; margin-top: 24px; }
.notes ul { list-style: none; padding: 0; margin: 0 0 18px; }
.notes li { position: relative; padding: 0 0 12px 22px; color: var(--hush); }
.notes li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.notes strong { color: var(--ink); font-weight: 650; }
.notes p { color: var(--hush); }
.side h3 { font-size: 16px; margin: 0 0 14px; }
.side section + section { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink); font-size: 15.5px; }
.ticks svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.history { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid rgba(243, 178, 60, 0.4); display: grid; gap: 20px; }
.history li { position: relative; }
.history li::before { content: ""; position: absolute; left: -29px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--nave); border: 2px solid var(--gold); }
.history strong { font-stretch: 110%; font-weight: 700; }
.history time { color: var(--faint); font-size: 14px; margin-left: 10px; }
.history p { color: var(--hush); font-size: 15px; margin: 4px 0 0; }
details.files summary { cursor: pointer; color: var(--hush); font-weight: 600; font-size: 15.5px; }
.older { margin-top: 18px; }
details.files summary:hover { color: var(--ink); }
.file { padding: 14px 0 0; }
.checksum { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--faint); word-break: break-all; }

/* ---- forms ------------------------------------------------------------------------------- */
.split { padding-top: 76px; padding-bottom: 24px; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 64px; align-items: start; }
.uses { padding-top: 40px; padding-bottom: 72px; }
.uses > * { max-width: 760px; }
.uses h2 { font-size: clamp(22px, 2.3vw, 28px); margin-bottom: 12px; }
.uses h3 { font-size: 17px; margin-top: 36px; margin-bottom: 8px; }
.uses ul { margin: 20px 0; padding-left: 1.2em; line-height: 1.6; }
.uses li { margin-bottom: 10px; color: var(--hush); }
.uses li strong { color: inherit; filter: brightness(1.25); }
.guide { padding-top: 56px; }
.guide > * { max-width: 720px; }
.guide h2 { font-size: 20px; margin-top: 40px; margin-bottom: 10px; }
.guide p, .guide li, .guide dd { color: var(--hush); }
.guide strong { color: var(--ink); font-weight: 600; }
.guide ol { padding-left: 1.3em; margin: 0 0 14px; }
.guide li { margin-bottom: 8px; }
.guide dl { margin: 0; border-top: 1px solid var(--line); }
.guide dt { color: var(--ink); font-weight: 600; padding-top: 14px; }
.guide dd { margin: 4px 0 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.guide .actions { margin-top: 40px; }
.split.solo { grid-template-columns: minmax(0, 640px); justify-content: start; }
.panel { padding: 32px; border-radius: 18px; background: var(--vault); border: 1px solid var(--line); }
.panel h2 { font-size: 24px; }
.panel + .panel { margin-top: 24px; }
.form label { display: block; margin: 18px 0 8px; color: var(--hush); font-weight: 600; font-size: 15px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border-radius: 10px; font: 400 16px/1.4 var(--font);
  background: rgba(8, 20, 46, 0.7); border: 1px solid var(--line-hi); color: var(--ink);
}
.form input::placeholder, .form textarea::placeholder { color: var(--faint); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--halo); }
.form input[type="file"] { padding: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: inline-block; min-width: 84px; text-align: center; cursor: pointer; padding: 11px 16px; border-radius: 10px;
  border: 1px solid var(--line-hi); background: rgba(8, 20, 46, 0.7); font-weight: 650; color: var(--ink);
}
.choice span:hover { border-color: var(--halo); }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: #1d1400; }
.choice input:focus-visible + span { outline: 2px solid var(--halo); outline-offset: 2px; }
.form .actions { margin: 28px 0 12px; }
.form .fine { color: var(--faint); font-size: 14px; display: flex; gap: 8px; align-items: center; margin: 0; }
.form .fine svg { width: 16px; height: 16px; color: var(--ok); }
.alert { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-hi); background: rgba(255, 255, 255, 0.04); margin-bottom: 8px; }
.alert.error { border-color: rgba(255, 138, 138, 0.5); background: rgba(255, 138, 138, 0.08); color: #ffdede; }
.pledge { font-stretch: 110%; font-weight: 700; font-size: 17px; color: var(--gold); line-height: 1.35; margin-top: 26px; }
.done { max-width: 620px; padding: 110px 0 40px; }
.done .mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(243, 178, 60, 0.14); color: var(--gold); margin-bottom: 22px; }
.done .mark svg { width: 28px; height: 28px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.feedback-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.feedback-item p { margin: 6px 0; }

/* ---- footer ------------------------------------------------------------------------------ */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 46px; padding-bottom: 46px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--hush); text-decoration: none; font-size: 15.5px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .motto { color: var(--hush); font-size: 15.5px; margin-top: 14px; max-width: 26em; }
.site-footer .legal { grid-column: 1 / -1; color: var(--faint); font-size: 14px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---- the one moment: the stairs rise when the page opens ------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .stair { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .stair:nth-child(2) { animation-delay: .12s; } .stair:nth-child(3) { animation-delay: .24s; }
  .stair:nth-child(4) { animation-delay: .36s; } .stair:nth-child(5) { animation-delay: .48s; }
  .stair:last-child::after { animation: glint 1.2s .9s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes glint { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
}

/* ---- smaller screens ---------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .stairs { grid-template-columns: 1fr; gap: 0; }
  .stair { padding: 0 0 26px 26px; }
  .stair::before { border-top: 0; border-left: 2px solid var(--gold); }
  .stair:first-child::before { border-left: 2px solid var(--gold); }
  .stair .stair-body, .stair:nth-child(n) .stair-body { min-height: 0; padding-left: 0; }
  .stair:last-child::after { left: -5px; right: auto; top: auto; bottom: 20px; }
  .studios { grid-template-columns: 1fr; }
  .columns, .split { grid-template-columns: 1fr; gap: 40px; }
  .app { grid-template-columns: 64px 1fr; }
  .app img { width: 64px; height: 64px; border-radius: 16px; }
  .app .buttons { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .support { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-header .wrap { flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; padding-bottom: 8px; }
  .nav { margin-left: 0; width: 100%; gap: 14px; overflow-x: auto; }
  .nav a { font-size: 14.5px; }
  .hero { padding: 52px 0 40px; }
  .band { padding: 68px 0; }
  .product { grid-template-columns: 1fr; padding-top: 48px; gap: 22px; }
  .product > img { width: 72px; height: 72px; border-radius: 18px; }
  .btn.big { width: 100%; }
  .panel { padding: 22px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .screen .glass { box-shadow: 0 0 0 6px #050c1c, 0 0 0 7px rgba(143, 211, 255, 0.12); }
}
