/* Prism: the Take the Crown metal type and hairlines, with colour concentrated behind glass objects. */
:root {
    --bg: #030304;
    --fg: #eef1f5;
    --muted: rgba(225, 232, 242, 0.62);
    --dim: rgba(225, 232, 242, 0.42);
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);
    --c1: #ff5d7a;
    --c2: #ffb84d;
    --c3: #3fe0c5;
    --c4: #5d7bff;
    --spectrum: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c4));
    --text-metal: linear-gradient(180deg, #f1f3f6 0%, #cfd5dc 55%, #a4acb7 100%);
    --font: Inter, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font: 300 15px/1.6 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code, .mono { font-family: var(--mono); }
/* the halos reach past the sides; clip them sideways only so the page never scrolls horizontally */
main { overflow-x: clip; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.kick { font: 300 11px var(--mono); letter-spacing: 0.32em; text-transform: uppercase; color: var(--dim); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* grain over everything keeps the colour from banding */
body::after {
    content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- halo: a band of split light parked behind a concrete object ---------- */
.halo { position: absolute; z-index: -1; pointer-events: none; filter: blur(70px) saturate(130%); opacity: 0.5; }
.halo i { position: absolute; border-radius: 40%; mix-blend-mode: screen; animation: sway 24s ease-in-out infinite; }
.halo i:nth-child(1) { background: var(--c1); width: 46%; height: 36%; left: 0; top: 28%; }
.halo i:nth-child(2) { background: var(--c2); width: 40%; height: 34%; left: 22%; top: 38%; animation-delay: -6s; }
.halo i:nth-child(3) { background: var(--c3); width: 40%; height: 34%; left: 44%; top: 44%; animation-delay: -12s; }
.halo i:nth-child(4) { background: var(--c4); width: 42%; height: 36%; left: 60%; top: 52%; animation-delay: -18s; }
@keyframes sway { 50% { transform: translate(4%, -6%) scale(1.06); } }

/* ---------- liquid glass ---------- */
.glass {
    --gx: 50%; --gy: 0%; position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)), rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
/* specular sheen that follows the smoothed cursor */
.glass::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(420px 240px at var(--gx) var(--gy), rgba(255, 255, 255, 0.14), transparent 60%); mix-blend-mode: overlay;
}

/* ---------- top: one glass pill holding every link ---------- */
.tabs {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
    display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; white-space: nowrap;
    animation: drop 1s 0.1s var(--ease) both;
}
@keyframes drop { from { opacity: 0; transform: translate(-50%, -20px); filter: blur(6px); } }
.tabs .home { padding: 8px 12px 8px 14px; font: 300 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.tabs .home:hover { color: var(--fg); }
.tabs .sep { width: 1px; height: 16px; background: var(--line-2); }
.tabs .brand { display: flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; font-size: 13px; font-weight: 400; }
.tabs .brand svg { width: 16px; height: 16px; }
.tabs .tab { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font: 300 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.tabs .tab:hover, .tabs .tab.on { color: var(--fg); }
/* the lit tab: a glass bead that slides between tabs */
.tabs .bead { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); opacity: 0; transition: left 0.6s var(--ease), width 0.6s var(--ease), opacity 0.4s; }
.tabs .get { margin-left: 4px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #07080a; font: 400 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; transition: background 0.4s; }
.tabs .get:hover { background: #fff; }

/* ---------- buttons: square-cornered, unlike the Linux-Vault pills ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px; font: 400 11px var(--mono); letter-spacing: 0.2em; text-transform: uppercase; border-radius: 4px; transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease); }
.btn.solid { background: rgba(255, 255, 255, 0.92); color: #07080a; }
.btn.solid:hover { background: #fff; }
.btn.glass:hover { border-color: rgba(255, 255, 255, 0.3); }
.btn .arr { display: inline-block; transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- metal type: breathes like the home page ---------- */
@property --blr { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --mlt { syntax: "<number>"; inherits: false; initial-value: 1; }
@property --dv { syntax: "<number>"; inherits: false; initial-value: 1; }
.metal { background: var(--text-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* the animated letters can't be selected: a selection leaves ghost marks on their constantly redrawn layers */
.breathe { -webkit-user-select: none; user-select: none; }
.breathe .ch {
    display: inline-block; white-space: pre; background: var(--text-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
    transform-origin: 50% 0; transform: scaleY(var(--mlt)) translateY(calc((var(--mlt) - 1) * 0.4em)); filter: brightness(var(--dv)) blur(var(--blr));
    opacity: 0; --blr: 14px; --mlt: 1.1;
    padding-bottom: 0.14em; margin-bottom: -0.14em; /* room for descenders inside the clipped text */
}
.breathe.lit .ch {
    opacity: 1; --blr: 0px; --mlt: 1;
    transition: opacity 0.9s var(--ease) calc(var(--i) * 30ms), --blr 1.1s var(--ease) calc(var(--i) * 30ms), --mlt 1.1s var(--ease) calc(var(--i) * 30ms);
}
.breathe.settled .ch { transition: none; animation: breathe 9s cubic-bezier(0.45, 0, 0.55, 1) infinite; animation-delay: calc(var(--i) * 140ms); }
@keyframes breathe { 0%, 100% { --blr: 0px; --mlt: 1; --dv: 1; } 50% { --blr: 2.4px; --mlt: 1.04; --dv: 0.8; } }
/* "One ring." breathes as one piece: every letter in step, and only blur and light change, so nothing shifts */
.end .breathe.settled .ch { animation-name: breathe-still; animation-delay: 0s; will-change: filter; }
@keyframes breathe-still { 0%, 100% { --blr: 0px; --dv: 1; } 50% { --blr: 2.4px; --dv: 0.8; } }
/* the colour only lives in a faint refracted edge */
.fringe { position: relative; }
.fringe::after {
    content: attr(data-t); position: absolute; inset: 0; pointer-events: none; white-space: pre-line;
    background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translate(2px, 1px); filter: blur(1.5px); mix-blend-mode: screen; transition: opacity 2s 1s;
}
.fringe.lit::after { opacity: 0.32; }

/* ---------- scroll: fade and pull up ---------- */
.up { opacity: 0; transform: translateY(56px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }
.words .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(8px); transition: opacity 0.8s var(--ease), filter 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.words.in .w { opacity: 1; filter: none; transform: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: 140px 0; border-top: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.h2 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 200; letter-spacing: -0.045em; line-height: 1; margin-top: 16px; }
.h2 .muted { -webkit-text-fill-color: var(--dim); }
.lede { color: var(--muted); font-size: 17px; max-width: 46ch; }

/* hero */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 4vw; padding: 120px 6vw 80px; max-width: 1400px; margin: 0 auto; isolation: isolate; }
.hero h1 { font-size: clamp(80px, 12vw, 176px); font-weight: 200; letter-spacing: -0.06em; line-height: 0.9; margin: 18px 0 24px; }
.hero .lede { font-size: 19px; max-width: 38ch; }
.ctas { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.facts { display: flex; gap: 0; margin-top: 46px; border-top: 1px solid var(--line); max-width: 460px; }
.facts div { flex: 1; padding: 14px 0 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); margin-left: 18px; }
.facts b { display: block; font-size: 26px; font-weight: 200; letter-spacing: -0.03em; }
.facts span { font: 300 10px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.hero .halo { inset: 0 -10% 0 40%; }
.hero-ring { position: relative; justify-self: center; width: min(440px, 36vw); aspect-ratio: 1; animation: rise 1.4s 0.25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(0.94); filter: blur(10px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 300 10px var(--mono); letter-spacing: 0.28em; text-transform: uppercase; color: var(--dim); }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--fg), transparent); animation: cue 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- the ring (shared by hero and demo) ---------- */
.ring { position: absolute; inset: 0; }
.ring .leaf { position: absolute; inset: 0; cursor: pointer; border: 0; border-radius: 0; box-shadow: none; transition: transform 0.6s var(--ease), background 0.4s, opacity 0.4s; }
.ring .leaf::after { border-radius: 0; }
.ring .leaf:hover, .ring .leaf.on { background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)), color-mix(in srgb, var(--lc) 42%, transparent); }
.ring .leaf.on { transform: scale(1.035); }
.ring .lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ring .lines path { fill: none; stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.35; vector-effect: non-scaling-stroke; transition: stroke 0.3s; }
.ring .lines path.hl { stroke: rgba(255, 255, 255, 0.75); }
.ring .lbl { position: absolute; transform: translate(-50%, -50%); font: 300 var(--lfs, 10px) var(--mono); letter-spacing: 0.2em; pointer-events: none; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4); white-space: nowrap; }
.ring .hub { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; text-align: center; }
/* leaves open outward one after another */
.ring .leaf, .ring .lbl, .ring .lines path { opacity: 0; transform: scale(0.6); transition-delay: 0s; }
.ring.open .leaf, .ring.open .lines path { opacity: 1; transform: none; transition: transform 0.55s var(--ease) calc(var(--k) * 35ms), opacity 0.35s calc(var(--k) * 35ms), background 0.4s; }
.ring.open .lbl { opacity: 1; transform: translate(-50%, -50%); transition: opacity 0.4s calc(var(--k) * 35ms + 0.1s); }
.ring.open .leaf.on { transform: scale(1.035); }
.ring .lines path { transform-origin: 50% 50%; }
.file-chip { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.thumb { width: 62px; height: 46px; border-radius: 6px; background: linear-gradient(135deg, var(--c1), var(--c2) 45%, var(--c3) 80%, var(--c4)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }
.fname { font: 300 11px var(--mono); letter-spacing: 0.04em; }
.fname em { font-style: normal; color: var(--c3); }

/* ---------- demo: a Files window with the ring ---------- */
.demo-scene { position: relative; isolation: isolate; perspective: 1600px; }
.demo-scene .halo { inset: -10% -6%; opacity: 0.38; }
.win { --nx: 0; --ny: 0; position: relative; border-radius: 14px; overflow: visible; transform: rotateX(calc(2deg - var(--ny) * 3deg)) rotateY(calc(var(--nx) * 4deg)); user-select: none; }
.win-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.win-bar .dots { display: flex; gap: 6px; }
.win-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.win-bar .path { font: 300 12px var(--mono); color: var(--muted); }
.win-bar .state { margin-left: auto; font: 300 10px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.win-body { display: grid; grid-template-columns: 180px 1fr; min-height: 340px; }
.win-side { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.win-side span { padding: 7px 10px; border-radius: 6px; }
.win-side span.on { background: rgba(255, 255, 255, 0.06); color: var(--fg); }
.grid { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px; padding: 22px; align-content: start; }
.f { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px 12px; border-radius: 10px; border: 1px solid transparent; font: 300 11px var(--mono); color: var(--muted); cursor: default; transition: background 0.3s, border-color 0.3s, opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.f:hover { background: rgba(255, 255, 255, 0.04); }
.f.sel { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.22); color: var(--fg); }
.f.new { animation: born 0.9s var(--ease); }
@keyframes born { from { opacity: 0; transform: translateY(14px) scale(0.9); filter: blur(6px); } }
.ico { position: relative; width: 52px; height: 62px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.03); display: grid; place-items: end center; padding-bottom: 7px; font: 400 9px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); overflow: hidden; }
.ico::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; background: var(--fill, rgba(255, 255, 255, 0.05)); opacity: 0.85; }
.ico span { position: relative; }
.f .name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-ring { position: absolute; left: 0; top: 0; width: 240px; height: 240px; margin: -120px 0 0 -120px; z-index: 5; pointer-events: none; }
.demo-ring.open { pointer-events: auto; }
.demo-ring .ring { transition: transform 0.45s var(--ease), opacity 0.3s; }
.demo-ring .ring.swap-out { transform: scale(0.82); opacity: 0; }
.demo-ring .hub .fname { font-size: 10px; max-width: 80px; overflow: hidden; text-overflow: ellipsis; }
/* over a busy window the ring needs smoked glass, or the icons underneath wash it out */
.demo-ring .leaf { background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)), rgba(12, 13, 16, 0.62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.demo-ring .hub { background: rgba(12, 13, 16, 0.82); }
.demo-ring .thumb { width: 44px; height: 33px; }
.toast { position: absolute; left: 50%; bottom: 22px; z-index: 6; transform: translate(-50%, 16px); opacity: 0; padding: 12px 18px; border-radius: 10px; font: 300 12px var(--mono); white-space: nowrap; transition: transform 0.6s var(--ease), opacity 0.4s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast b { font-weight: 400; color: var(--c3); }
.demo-cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font: 300 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.demo-cap kbd { font: inherit; color: var(--fg); border: 1px solid var(--line-2); padding: 2px 7px; border-radius: 4px; }

/* ---------- petals: a tab pill switching five panels ---------- */
.seg { display: inline-flex; gap: 2px; padding: 5px; border-radius: 999px; position: relative; flex-wrap: wrap; }
.seg button { all: unset; position: relative; z-index: 1; cursor: pointer; padding: 10px 18px; border-radius: 999px; font: 300 11px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.seg button.on { color: #07080a; }
.seg button:focus-visible { outline: 1px solid var(--fg); outline-offset: 2px; }
.seg .bead { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); transition: left 0.6s var(--ease), width 0.6s var(--ease); }
.panels { position: relative; margin-top: 40px; display: grid; }
.panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 18px; overflow: hidden; opacity: 0; transform: translateY(20px); filter: blur(8px); pointer-events: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), filter 0.6s var(--ease); }
.panel.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.panel .txt { padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.panel h3 { font-size: 38px; font-weight: 200; letter-spacing: -0.035em; line-height: 1.05; }
.panel p { color: var(--muted); max-width: 44ch; }
.panel ul { list-style: none; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: auto; }
.panel li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font: 300 12px var(--mono); }
.panel li span:first-child { color: var(--dim); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; padding-top: 2px; }
.panel .viz { position: relative; border-left: 1px solid var(--line); display: grid; place-items: center; padding: 30px; min-height: 360px; overflow: hidden; }
.panel .viz .halo { inset: 10%; opacity: 0.4; }
.mini { width: min(260px, 100%); aspect-ratio: 1; position: relative; }
.mini .ring { inset: 0; }
/* inside a glass panel a second backdrop blur ignores the leaf shape (it paints the whole box), so these leaves use tinted glass only */
.mini .leaf { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)), rgba(20, 22, 27, 0.5); }

/* ---------- formats ---------- */
.fmt { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fmt > div { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.5s; }
.fmt > div:hover { background: rgba(255, 255, 255, 0.025); }
.fmt h3 { font-size: 22px; font-weight: 300; letter-spacing: -0.02em; }
.fmt .from { margin-top: 10px; font: 300 11px var(--mono); color: var(--dim); line-height: 1.8; }
.fmt .to { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.fmt .to span { font: 300 10px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 3px; }
.fmt-note { margin-top: 22px; color: var(--dim); font-size: 13px; max-width: 70ch; }

/* ---------- safety ---------- */
.safe { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.safe > .halo, .steps > .halo { inset: 5% 10%; opacity: 0.32; }
.safe .card { border-radius: 18px; padding: 32px; }
.safe .card .n { font: 300 10px var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: var(--dim); }
.safe .card h3 { font-size: 26px; font-weight: 200; letter-spacing: -0.03em; margin: 14px 0 10px; }
.safe .card p { color: var(--muted); font-size: 14px; }
.safe .card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.strip { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.strip span { font: 300 10px var(--mono); letter-spacing: 0.1em; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); transition: color 0.4s, border-color 0.4s, text-decoration-color 0.4s; text-decoration: line-through; text-decoration-color: transparent; }
.strip.in span { text-decoration-color: rgba(255, 93, 122, 0.8); transition-delay: calc(var(--i) * 60ms + 0.6s); }

/* ---------- install ---------- */
.steps { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.step.wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(220px, 1fr) 2.2fr; grid-template-rows: auto auto 1fr; column-gap: 40px; row-gap: 10px; }
.step.wide .code { grid-column: 2; grid-row: 1 / 4; margin: 0; align-self: center; }
.step { border-radius: 18px; padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.step .n { font: 300 10px var(--mono); letter-spacing: 0.24em; color: var(--dim); }
.step h3 { font-size: 24px; font-weight: 200; letter-spacing: -0.03em; }
.step p { color: var(--muted); font-size: 14px; }
.step .btn { align-self: flex-start; margin-top: 8px; }
.code { position: relative; margin-top: 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--line); padding: 14px 16px; padding-right: 74px; font: 300 12px/1.7 var(--mono); color: var(--fg); overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.code .copy { position: absolute; right: 8px; top: 8px; all: unset; position: absolute; right: 8px; top: 8px; cursor: pointer; font: 300 10px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); transition: color 0.3s, border-color 0.3s; }
.code .copy:hover, .code .copy.done { color: var(--fg); border-color: var(--fg); }
.req { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.req div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.req div + div { padding-left: 18px; }
.req span { display: block; font: 300 10px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.req b { font-weight: 300; font-size: 14px; }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 19px; font-weight: 300; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--fg); transition: transform 0.5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details.is-open summary i::after { transform: rotate(0); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq details.is-open .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { color: var(--muted); padding: 0 0 24px; max-width: 70ch; }
.llms-note { margin-top: 30px; font-size: 13px; color: var(--dim); }
.llms-note a { color: var(--muted); border-bottom: 1px solid var(--line-2); }

/* ---------- end: the link back ---------- */
.end { position: relative; padding: 160px 0 120px; border-top: 1px solid var(--line); text-align: center; isolation: isolate; overflow: hidden; }
.end .halo { inset: 20% 15% 0; opacity: 0.35; }
.end h2 { font-size: clamp(44px, 7vw, 100px); font-weight: 200; letter-spacing: -0.05em; line-height: 0.95; }
.end p { color: var(--muted); margin: 22px auto 0; max-width: 44ch; }
.end .ctas { justify-content: center; }
.footer { border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 26px 24px; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .up, .words .w, .breathe .ch, .ring .leaf, .ring .lbl, .ring .lines path { opacity: 1 !important; transform: none !important; filter: none !important; }
    .ring .lbl { transform: translate(-50%, -50%) !important; }
}
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; padding: 110px 16px 110px; }
    .hero-ring { width: min(400px, 88vw); }
    .head, .panel, .safe .card.wide { grid-template-columns: 1fr; }
    .panel .viz { border-left: 0; border-top: 1px solid var(--line); min-height: 300px; }
    .fmt, .steps, .safe, .step.wide { grid-template-columns: 1fr; }
    .step.wide .code { grid-column: auto; grid-row: auto; }
    .tabs .home, .tabs .sep { display: none; }
    .req { grid-template-columns: 1fr 1fr; }
    .req div + div { padding-left: 0; }
    .win-body { grid-template-columns: 1fr; }
    .win-side { display: none; }
    .wrap { padding: 0 16px; }
    .section { padding: 100px 0; }
    .tabs .tab { display: none; }
    .panel .txt { padding: 28px; }
}
