/* A living typesetting study, confined to the homepage heading. */
.hero-copy { --draft-time:8s; }
.hero-topline { display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:440px; }
.hero-motion { display:inline-flex; align-items:center; gap:4px; font:9px/1.5 'Geist Mono',monospace; color:var(--ink-faint); padding:6px 0 6px 6px; position:relative; flex-shrink:0; }
.hero-motion::before { content:''; position:absolute; inset:-8px -4px; }
.hero-motion svg { width:15px; height:15px; }
.hero-motion:hover { color:var(--accent); }
.hero-motion .play-symbol { display:none; }
.hero-copy[data-hero-paused] .hero-motion .pause-symbol { display:none; }
.hero-copy[data-hero-paused] .hero-motion .play-symbol { display:block; }
.hero h1 { margin-top:27px; margin-bottom:27px; }
.hero h1 > .hero-accent { display:block; width:100%; max-width:440px; height:calc(1.6em + 18px); margin-top:.02em; position:relative; }
.hero-accent::after { display:none; }
.type-readable { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.type-stage { position:absolute; inset:0; display:block; isolation:isolate; }
.draft-grid { position:absolute; inset:0; width:100%; height:100%; color:var(--accent); pointer-events:none; overflow:visible; }
.draft-dots { opacity:.16; }
.draft-guides { stroke:currentColor; stroke-width:.7; stroke-opacity:.15; stroke-dasharray:2 5; }
.draft-corners { stroke:currentColor; stroke-width:.8; stroke-opacity:.44; }
.draft-track { stroke:currentColor; stroke-width:.8; stroke-opacity:.25; }
.draft-trace { stroke:currentColor; stroke-width:1.4; stroke-dasharray:12 88; stroke-dashoffset:0; stroke-linecap:round; opacity:.6; }
.draft-point { stroke:currentColor; stroke-width:3; stroke-dasharray:.2 99.8; stroke-linecap:round; }
.draft-build { stroke:var(--success); }
.draft-target { stroke:var(--accent); stroke-width:1; fill:var(--bg); }
.draft-cursor { stroke:currentColor; stroke-width:.6; opacity:0; transform:translateX(var(--draft-x,10px)); transition:transform 340ms var(--ease-out),opacity 300ms ease; }
.type-stage[data-pointer] .draft-cursor { opacity:.38; }
.type-word { position:absolute; left:6px; top:.11em; display:flex; align-items:baseline; font:inherit; line-height:1; letter-spacing:inherit; white-space:nowrap; }
.type-letter { position:relative; display:block; perspective:500px; }
.type-outline { display:block; color:transparent; -webkit-text-stroke:.7px var(--accent); opacity:.28; }
.type-fill { display:block; position:absolute; inset:0; transform:translateY(var(--lift,0px)) rotate(var(--turn,0deg)); transition:transform 500ms cubic-bezier(.2,.9,.25,1); transform-origin:50% 80%; }
.type-dance { display:block; color:var(--accent); transform-origin:50% 90%; }
.draft-labels { position:absolute; left:9px; right:6px; bottom:-1px; display:flex; justify-content:space-between; gap:15px; font:8px/1.5 'Geist Mono',monospace; letter-spacing:.045em; color:var(--ink-faint); text-transform:uppercase; }
.hero-copy[data-hero-running] .type-dance { animation:assemble-type var(--draft-time) cubic-bezier(.22,1,.36,1) infinite both; animation-delay:calc(var(--letter) * 45ms); }
.hero-copy[data-hero-running] .draft-trace,.hero-copy[data-hero-running] .draft-point { animation:trace-intent 5s linear infinite; }
.hero-copy[data-hero-running] .draft-target { animation:target-arrival 5s ease infinite; }
.hero-copy[data-hero-running] .draft-build-label { animation:build-label-arrival 5s linear infinite; }
.hero-copy[data-hero-paused] .draft-build-label,.hero-copy[data-hero-away] .draft-build-label,.hero-copy[data-hero-paused] .type-dance,.hero-copy[data-hero-paused] .draft-trace,.hero-copy[data-hero-paused] .draft-point,.hero-copy[data-hero-paused] .draft-target,.hero-copy[data-hero-away] .type-dance,.hero-copy[data-hero-away] .draft-trace,.hero-copy[data-hero-away] .draft-point,.hero-copy[data-hero-away] .draft-target { animation-play-state:paused; }
.hero-copy[data-hero-paused] .type-fill,.hero-copy[data-hero-away] .type-fill { transform:none; }
@keyframes assemble-type {
 0%,100% { transform:translateY(16px) rotateX(32deg); opacity:.18; }
 13%,76% { transform:translateY(0) rotateX(0); opacity:1; }
 85% { transform:translateY(-5px) rotateX(-5deg); opacity:1; }
 93% { transform:translateY(3px) rotateX(4deg); opacity:.65; }
}
@keyframes trace-intent { to { stroke-dashoffset:-100; } }
@keyframes target-arrival {
 0%,87.99%,100% { stroke:var(--accent); stroke-width:1; }
 88%,98% { stroke:var(--success); stroke-width:1; }
 91% { stroke:var(--success); stroke-width:3; }
}
@keyframes build-label-arrival {
 0%,87.99%,100% { color:var(--ink-faint); }
 88%,98% { color:var(--success); }
}
@media(max-width:1080px) { .hero-topline { gap:8px; }.hero-eyebrow { font-size:9px; }.hero-motion { font-size:8px; } }
@media(min-width:541px) and (max-width:800px) {
 .hero h1 > .hero-line:nth-child(2) { display:block; }
 .hero h1 { max-width:540px; }
 .hero h1 > .hero-accent { max-width:430px; }
}
@media(max-width:540px) {
 .hero-topline { gap:8px; }.hero-eyebrow { font-size:7px; gap:8px; }.hero-motion { font-size:8px; }
 .hero h1 > .hero-accent { height:calc(1.75em + 16px); }
 .hero h1 { margin-bottom:24px; }
 .type-word { left:3px; top:.18em; }
 .draft-labels { font-size:7px; bottom:-2px; left:4px; right:3px; }
}
@media(prefers-reduced-motion:reduce) { .type-fill { transform:none!important; }.hero-motion { display:none; } }
:root[data-reduce-motion] .type-fill { transform:none!important; }
:root[data-reduce-motion] .hero-motion { display:none; }

/* Mobile visitors take the setup link to a desktop, with commands still available. */
.mobile-handoff { display:none; padding:25px 22px 22px; }
.mobile-handoff > .icon { width:28px; height:28px; color:var(--accent); margin-bottom:19px; }
.mobile-handoff h2 { font-size:28px; line-height:1.13; letter-spacing:-.045em; max-width:280px; margin-bottom:13px; }
.mobile-handoff > p { font-size:13px; line-height:1.7; max-width:380px; }
.desktop-link-row { margin-top:23px; padding:13px 12px; border:1px solid var(--line-strong); border-radius:6px; background:var(--note); display:flex; align-items:center; justify-content:space-between; gap:8px; }
.desktop-link-row code { font:11px/1.5 'Geist Mono',monospace; color:var(--ink); user-select:all; }
.desktop-link-row .copy { color:var(--accent); font-size:10px; min-width:82px; min-height:44px; padding:8px; flex-shrink:0; }
.desktop-link-row .copy[data-state=success] { color:var(--success); }
.mobile-handoff .desktop-support { color:var(--ink-faint); font-size:10px; margin-top:12px; }
.desktop-support span { padding:0 4px; }
.mobile-setup-toggle { display:flex; align-items:center; gap:10px; margin-top:22px; min-height:44px; color:var(--accent); font-size:12px; text-align:left; }
:root[data-mobile-device] .mobile-handoff { display:block; }
:root[data-mobile-device]:not([data-mobile-setup-open]) #desktop-install,
:root[data-mobile-device]:not([data-mobile-setup-open]) #project-setup { display:none; }
:root[data-mobile-device][data-mobile-setup-open] #desktop-install { border-top:1px solid var(--line); }
@media(max-width:600px) {
 .mobile-handoff { display:block; }
 :root:not([data-mobile-setup-open]) #desktop-install,
 :root:not([data-mobile-setup-open]) #project-setup { display:none; }
 :root[data-mobile-setup-open] #desktop-install { border-top:1px solid var(--line); }
}
@media(max-width:360px) {
 .mobile-handoff { padding:22px 16px 18px; }
 .desktop-link-row { padding:10px 8px; gap:4px; }
 .desktop-link-row code { font-size:10px; }
 .desktop-link-row .copy { min-width:75px; padding:6px; }
}

#release-signers { margin: 0 1rem 1rem; }
#release-signers code { overflow-wrap: anywhere; }
