/* Murshid — crimson, parchment and gold leaf. */

@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-ext-300-normal.woff2) format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-garamond-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ruqaa"; src: url(fonts/aref-ruqaa-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ruqaa"; src: url(fonts/aref-ruqaa-arabic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --crimson: #9e1b2b;
  --crimson-hi: #b3202f;
  --crimson-deep: #6c0f1d;
  --crimson-ink: #4a0912;
  --parchment: #f4ead6;
  --parchment-2: #ebdec4;
  --parchment-3: #dfcfb0;
  --ink: #1b1210;
  --night: #140f0d;
  --gold: #d9ae55;
  --gold-hi: #f0cd7e;
  --gold-deep: #a87a22;
  --turquoise: #2a9d96;
  --display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Plex Sans", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", "IBM Plex Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --arabic: "Ruqaa", "Aref Ruqaa", "Noto Naskh Arabic", serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.arabic { font-family: var(--arabic); direction: rtl; unicode-bidi: isolate; }
em { font-style: italic; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--parchment); color: var(--crimson); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ------------------------------------------------------------------ buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  background: var(--parchment);
  color: var(--crimson-deep);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--parchment);
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.button svg { width: 16px; height: 16px; }
.button:hover { background: var(--gold-hi); border-color: var(--gold-hi); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); transform: translateY(-1px); }
.button.ghost { background: transparent; color: var(--parchment); border-color: rgba(244, 234, 214, .45); }
.button.ghost:hover { background: rgba(244, 234, 214, .1); border-color: var(--parchment); }
.button.small { height: 38px; padding: 0 16px; font-size: 12px; }
.button.crimson { background: var(--crimson); color: var(--parchment); border-color: var(--crimson); }
.button.crimson:hover { background: var(--crimson-deep); border-color: var(--crimson-deep); }

/* ---------------------------------------------------------------------- nav */

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  color: var(--parchment);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(244,234,214,.25); }
.brand span { font: 500 14px/1 var(--mono); letter-spacing: .32em; text-transform: uppercase; }
.brand .badge { padding: 5px 9px 5px 10px; border: 1px solid var(--gold); border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--gold-hi); background: rgba(40, 6, 12, .35); white-space: nowrap; }

.links { display: flex; gap: clamp(18px, 3vw, 44px); }
.links a { font: 500 12.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .86; padding: 8px 0; border-bottom: 1px solid transparent; }
.links a:hover { opacity: 1; border-color: var(--gold); }
.nav-end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.icon-link { display: grid; place-items: center; width: 36px; height: 36px; }
.icon-link svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100vh, 1000px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding: 132px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 72px;
  background:
    radial-gradient(120% 90% at 78% 40%, var(--crimson-hi) 0%, var(--crimson) 42%, var(--crimson-deep) 100%);
  color: var(--parchment);
}
.hero::before {
  /* girih lattice of eight-pointed stars, very faint */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f4ead6' stroke-width='1'%3E%3Cpath d='M60 18 72 48 102 60 72 72 60 102 48 72 18 60 48 48Z'/%3E%3Cpath d='M30 30h60v60H30Z' transform='rotate(45 60 60)'/%3E%3Cpath d='M30 30h60v60H30Z'/%3E%3Cpath d='M0 0 30 30M120 0 90 30M0 120l30-30M120 120 90 90'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .2; mix-blend-mode: soft-light; pointer-events: none; }
.hero-grain svg { width: 100%; height: 100%; }
.hero-rays {
  position: absolute;
  z-index: -1;
  width: 1500px;
  height: 1500px;
  right: calc(22% - 750px);
  top: calc(52% - 750px);
  background: repeating-conic-gradient(from 0deg, rgba(244, 234, 214, .16) 0deg .35deg, transparent .35deg 3deg);
  mask-image: radial-gradient(circle, transparent 0 24%, #000 30%, rgba(0,0,0,.5) 50%, transparent 68%);
  animation: turn 480s linear infinite;
  pointer-events: none;
}
@keyframes turn { to { transform: rotate(360deg); } }

.hero-copy { position: relative; max-width: 640px; container-type: inline-size; }
.hero h1 {
  margin: 0;
  font: 300 clamp(58px, 8.6vw, 120px)/.9 var(--display);
  /* "The browser" is about 4.6 em wide: size it from the column it sits in,
     so it stays on one line however wide the window gets */
  font-size: clamp(58px, min(8.6vw, 20.5cqi), 132px);
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero h1 em { color: var(--gold-hi); font-weight: 300; letter-spacing: -.02em; }
.lede { max-width: 540px; margin: 30px 0 34px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: rgba(244, 234, 214, .9); }
.lede strong { color: var(--parchment); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

.terminal {
  margin-top: 40px;
  max-width: 560px;
  border: 1px solid rgba(244, 234, 214, .26);
  background: rgba(40, 6, 12, .38);
  backdrop-filter: blur(6px);
  border-radius: 3px;
  font-family: var(--mono);
}
.terminal-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(244, 234, 214, .2); }
.terminal-tabs button {
  appearance: none;
  border: 0;
  background: none;
  color: rgba(244, 234, 214, .65);
  font: 500 12px/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 0;
  cursor: pointer;
}
.terminal-tabs button + button { border-left: 1px solid rgba(244, 234, 214, .2); }
.terminal-tabs button[aria-selected="true"] { color: var(--parchment); background: rgba(244, 234, 214, .08); box-shadow: inset 0 -2px 0 var(--gold); }
.terminal-body { position: relative; padding: 16px 52px 18px 18px; }
.terminal-label { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.terminal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.terminal-head .terminal-label { margin: 0; }
.switch { display: inline-flex; align-items: center; gap: 9px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 234, 214, .85); cursor: pointer; user-select: none; }
.switch input { appearance: none; position: relative; flex: none; width: 30px; height: 17px; margin: 0; border-radius: 999px; background: rgba(244, 234, 214, .22); cursor: pointer; transition: background .2s; }
.switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%; background: var(--parchment); transition: transform .2s, background .2s; }
.switch input:checked { background: var(--gold); }
.switch input:checked::after { transform: translateX(13px); background: var(--crimson-ink); }
.switch input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.terminal-note { margin: 10px 0 0; font: 400 12.5px/1.5 var(--sans); color: rgba(244, 234, 214, .68); }
.terminal-note code { font: 500 12px/1 var(--mono); color: var(--parchment); }
.terminal pre { margin: 0; white-space: pre-wrap; word-break: break-word; font-size: 13px; line-height: 1.7; color: var(--parchment); }
.terminal pre::before { content: ""; }
.copy { position: absolute; right: 10px; top: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: none; border: 0; color: var(--parchment); opacity: .7; cursor: pointer; border-radius: 2px; }
.copy:hover { opacity: 1; background: rgba(244,234,214,.1); }
.copy svg { width: 17px; height: 17px; }
.copy.done { color: var(--gold-hi); opacity: 1; }

/* the arch and the portrait */
.hero-art {
  position: relative;
  margin: 0;
  justify-self: center;
  width: min(100%, 560px);
  aspect-ratio: 100 / 128;
}
.arch {
  position: absolute;
  inset: 0;
  clip-path: url(#arch-clip);
  background:
    radial-gradient(62% 40% at 52% 27%, rgba(255, 214, 140, .26), transparent 70%),
    linear-gradient(180deg, var(--crimson-hi), var(--crimson-deep));
  box-shadow: inset 0 0 0 1px rgba(244,234,214,.2);
}
/* the halftone picture: gold dots on crimson, fading out at the foot of the arch */
.arch .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 98%);
}
.arch-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arch-line path { fill: none; stroke: var(--gold); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.arch-line path.inner { stroke: rgba(244, 234, 214, .55); stroke-width: 1; stroke-dasharray: 2 6; }
.finial {
  position: absolute;
  left: 50%;
  top: -34px;
  width: 14px;
  height: 34px;
  transform: translateX(-50%);
  background: linear-gradient(var(--gold-hi), var(--gold-deep));
  clip-path: polygon(50% 0, 75% 30%, 60% 34%, 100% 62%, 60% 66%, 62% 100%, 38% 100%, 40% 66%, 0 62%, 40% 34%, 25% 30%);
}
.hero-art figcaption {
  position: absolute;
  right: -12px;
  bottom: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateX(100%);
  color: var(--gold-hi);
}
.hero-art figcaption .arabic { font-size: 54px; line-height: 1; writing-mode: horizontal-tb; }
.hero-art figcaption span:last-child { writing-mode: vertical-rl; font: 500 11px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: rgba(244,234,214,.7); }

/* ------------------------------------------------------- iznik border band */

.border-band {
  height: 64px;
  background-color: var(--crimson-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='64' viewBox='0 0 96 64'%3E%3Cg fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 6h96M0 58h96' stroke='%23d9ae55' stroke-width='1.5'/%3E%3Cpath d='M48 14c-3 8-6 11-10 12-1 8 3 14 10 16 7-2 11-8 10-16-4-1-7-4-10-12Z' fill='%23f4ead6' stroke='%23f4ead6'/%3E%3Cpath d='M48 42v10M48 49c-6-2-11-6-13-12M48 49c6-2 11-6 13-12' stroke='%23f4ead6' stroke-width='1.6'/%3E%3Cpath d='M48 20v20M43 28c1 6 3 10 5 12M53 28c-1 6-3 10-5 12' stroke='%239e1b2b' stroke-width='1.3'/%3E%3Cpath d='M0 32c10-14 22-14 26 0-4 14-16 14-26 0ZM96 32c-10-14-22-14-26 0 4 14 16 14 26 0Z' fill='%232a9d96' fill-opacity='.85' stroke='%23d9ae55' stroke-width='1'/%3E%3Ccircle cx='13' cy='32' r='2.5' fill='%23f4ead6'/%3E%3Ccircle cx='83' cy='32' r='2.5' fill='%23f4ead6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px 64px;
  background-position: center;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}

/* ------------------------------------------------------------------ section */

section { position: relative; }
.section-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head h2, .way h2, .tray h2 {
  margin: 10px 0 18px;
  font: 300 clamp(44px, 6vw, 84px)/.95 var(--display);
  letter-spacing: -.02em;
  color: var(--crimson-deep);
}
.section-head h2 em, .tray h2 em { color: var(--crimson); }
.section-head > p:last-child { max-width: 560px; margin: 0; color: #5a4436; font-size: 18px; }
.section-head.center { text-align: center; }
.section-head.center > p:last-child { margin: 0 auto; }
.eyebrow { margin: 0; font: 500 12.5px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--crimson); }
.eyebrow.gold { color: var(--gold); }

/* ------------------------------------------------------------------- cards */

.carries {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(60% 40% at 90% 0%, rgba(217, 174, 85, .16), transparent 70%),
    var(--parchment);
}
.cards {
  max-width: var(--max);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
}
.card { display: flex; flex-direction: column; }
.plate {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 2px;
  background:
    radial-gradient(80% 70% at 50% 45%, var(--crimson-hi), var(--crimson) 55%, var(--crimson-deep));
  color: var(--parchment);
  box-shadow: inset 0 0 0 1px rgba(74, 9, 18, .4), 0 1px 0 rgba(255,255,255,.6);
}
.plate::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(from 0deg at 50% 60%, rgba(244,234,214,.1) 0 .5deg, transparent .5deg 4deg);
  mask-image: radial-gradient(circle at 50% 60%, #000 0 30%, transparent 60%);
}
.plate::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(217, 174, 85, .55);
  pointer-events: none;
}
.plate .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.card:hover .plate .photo { transform: scale(1.04); }

.num { margin: 0 0 6px; font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); }
.card h3 { margin: 0 0 10px; font: 500 clamp(28px, 2.4vw, 34px)/1.05 var(--display); letter-spacing: -.01em; color: var(--crimson-ink); }
.card p:last-child { margin: 0; color: #4f3a2e; font-size: 16px; }

/* ------------------------------------------------------------- screenshot */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shot {
  padding: clamp(40px, 6vw, 88px) var(--gutter) 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(158, 27, 43, .1), transparent 70%),
    var(--parchment);
}
.shot figure { max-width: 1180px; margin: 0 auto; }
.shot picture { display: block; }
.shot img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(74, 9, 18, .16), 0 40px 80px -40px rgba(74, 9, 18, .55), 0 18px 36px -24px rgba(27, 18, 16, .35);
  background: var(--parchment-2);
}
.shot + .carries { padding-top: clamp(56px, 7vw, 96px); }
.shot figcaption { margin: 16px auto 0; max-width: 720px; text-align: center; font: 500 12px/1.5 var(--mono); letter-spacing: .06em; color: rgba(74, 9, 18, .7); }

/* --------------------------------------------------------------------- way */

.way {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(80px, 10vw, 140px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background:
    radial-gradient(50% 60% at 25% 55%, rgba(217, 174, 85, .14), transparent 70%),
    var(--night);
  color: var(--parchment);
  overflow: hidden;
}
.way-art { position: relative; }
.way-art::before {
  content: "";
  position: absolute;
  inset: -12% -20%;
  background: repeating-conic-gradient(from 0deg at 50% 70%, rgba(217,174,85,.1) 0 .4deg, transparent .4deg 5deg);
  mask-image: radial-gradient(circle at 50% 70%, #000 0 20%, transparent 62%);
  animation: turn 300s linear infinite reverse;
}
.way-art .photo { position: relative; display: block; width: 100%; height: auto; max-width: 500px; margin: 0 auto; }
.way h2 { color: var(--parchment); }
.way h2 em { color: var(--gold); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(217, 174, 85, .28); }
.step-num { font: 400 40px/1 var(--display); color: var(--gold); }
.steps h3 { margin: 0 0 6px; font: 500 28px/1.1 var(--display); color: var(--parchment); }
.steps p { margin: 0; color: rgba(244, 234, 214, .78); max-width: 520px; }

/* -------------------------------------------------------------------- tray */

.tray {
  padding: clamp(80px, 9vw, 128px) 0;
  background:
    linear-gradient(180deg, var(--parchment-2), var(--parchment));
  border-top: 1px solid var(--parchment-3);
}
.tray-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
.tray-inner > div p:last-child { color: #4f3a2e; max-width: 560px; margin: 0; font-size: 18px; }
.providers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: end; }
.providers li { padding: 9px 14px; border: 1px solid rgba(158, 27, 43, .3); border-radius: 999px; font: 500 13px/1 var(--mono); color: var(--crimson-deep); background: rgba(255, 255, 255, .35); }
.providers li.local { border-color: rgba(42, 157, 150, .55); color: #1d6f6a; }
.endpoint { grid-column: 1 / -1; margin: 18px 0 0; padding: 18px 22px; background: var(--crimson-ink); color: var(--gold-hi); font: 500 clamp(15px, 2vw, 22px)/1 var(--mono); letter-spacing: .04em; border-left: 3px solid var(--gold); overflow-x: auto; }

/* --------------------------------------------------------------------- get */

.get { padding: clamp(64px, 7vw, 96px) 0 clamp(80px, 10vw, 140px); }
.platforms { max-width: 1040px; margin: 56px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform {
  position: relative;
  padding: 30px 26px 26px;
  background: #fbf6ea;
  border: 1px solid var(--parchment-3);
  border-top: 3px solid var(--crimson);
}
.platform.is-you { border-top-color: var(--gold); box-shadow: 0 24px 48px -32px rgba(108, 15, 29, .55); }
.platform.is-you::after { content: "Your system"; position: absolute; top: 14px; right: 16px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.platform h3 { margin: 0 0 6px; font: 500 34px/1 var(--display); color: var(--crimson-ink); }
.platform p { margin: 0 0 18px; color: #5a4436; font-size: 15.5px; }
.status { font: 500 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); }
.platform .downloads { display: flex; gap: 10px; margin: 0 0 14px; }
.platform .downloads .button { flex: 1; justify-content: center; }
.platform .fine code { font: 500 11.5px/1.5 var(--mono); color: var(--crimson-ink); word-break: break-word; }
.checksums { margin: 18px 0 0; text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.checksums a { color: var(--crimson); }
.platform .fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: #6e5a4b; }
.get-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ footer */

.footer { position: relative; overflow: hidden; background: var(--crimson-ink); color: rgba(244, 234, 214, .78); padding: 64px var(--gutter) 40px; }
.footer-mark { position: absolute; right: -2%; bottom: -34%; font-size: clamp(160px, 26vw, 380px); line-height: 1; color: rgba(217, 174, 85, .1); pointer-events: none; }
.footer-row { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.footer .brand { color: var(--parchment); }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; justify-self: end; }
.footer nav a { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.footer nav a:hover { color: var(--gold-hi); }
.footer-row p { grid-column: 1 / -1; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(217, 174, 85, .2); font-size: 13.5px; }

/* ----------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art figcaption { display: none; }
}

@media (max-width: 880px) {
  .nav { grid-template-columns: 1fr auto; }
  .links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 108px; min-height: 0; }
  .hero-art { width: min(86%, 460px); margin-top: 40px; order: 2; }
  .hero-rays { right: calc(50% - 750px); top: auto; bottom: -560px; }
  .way { grid-template-columns: 1fr; }
  .way-art .photo { max-width: 340px; }
  .tray-inner { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; max-width: 520px; }
  .footer-row { grid-template-columns: 1fr; }
  .footer nav { justify-self: start; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .nav .button.small { display: none; }
  .terminal-body { padding-right: 48px; }
  .terminal pre { font-size: 12px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-num { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-rays, .way-art::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .plate .photo { transition: none; }
}
