:root {
  --bg: #06070b; --bg2: #0b0d14; --surface: #0f1119; --surface2: #141725;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --ink: #f2f3f7; --muted: #9a9fae; --dim: #6b7080;
  --gold: #e8b86d; --gold2: #f6d9a3; --blue: #8fa6ff;
  --serif: "Cormorant Garamond", Georgia, serif; --hand: "Tangerine", cursive;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --max: 1160px; --r: 18px; --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); scroll-snap-type: y mandatory; }
@media (max-width: 820px) { html { scroll-snap-type: y proximity; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.005em; line-height: 1.02; }
h1 { font-size: clamp(48px, 7.4vw, 104px); }
h2 { font-size: clamp(36px, 4.8vw, 64px); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold2); }
h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
.lede { font-size: 18px; color: var(--muted); max-width: 560px; margin-top: 22px; }
.inv { filter: invert(1); }
.mono { font-family: var(--mono); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px; background: var(--ink); color: #0a0b10; font-weight: 500; font-size: 15px; transition: transform .25s var(--ease), background .25s; }
.btn:hover { transform: translateY(-1px); background: #fff; }
.btn.ghost { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid var(--line2); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* nav: black, the name in the middle, nothing else */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; height: 72px; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(5,6,15,.9) 40%, transparent); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--hand); font-weight: 700; font-size: 38px; line-height: 1; color: #fff; }
.brand img { height: 30px; width: auto; }

/* hero: black, alive, one question */
.hero { position: relative; min-height: min(100svh, 1100px); scroll-snap-align: start; scroll-snap-stop: always; display: grid; place-items: center; padding: 120px 24px 80px; overflow: hidden; background: #05060f; }
.hero-in { text-shadow: 0 2px 30px rgba(0,0,0,.6); }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-in { position: relative; width: 100%; max-width: 820px; text-align: center; }
.hero .wing { width: 44px; margin: 0 auto 28px; filter: invert(1); opacity: .9; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.12; font-weight: 500; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold2); }
.slot { position: relative; display: inline-block; box-sizing: content-box; vertical-align: bottom; height: 1.1em; width: 4em; padding: 0 .08em; clip-path: inset(-0.1em -2em); transition: width .5s var(--ease); }
.prov { position: absolute; left: .08em; top: 0; display: inline-flex; align-items: center; gap: .18em; height: 1.1em; white-space: nowrap; opacity: 0; transform: translateY(110%); transition: transform .55s var(--ease), opacity .4s; will-change: transform; }
.prov img { flex: none; max-width: none; width: auto; }
.prov .ic { height: .78em; }
.prov .wm { height: .62em; filter: invert(1); }
.prov.on { opacity: 1; transform: none; }
.prov.off { opacity: 0; transform: translateY(-110%); }

/* the question box, with the shield preview */
.ask { margin: 40px auto 0; max-width: 720px; }
.ask-box { position: relative; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(8px); transition: border-color .3s, box-shadow .3s; }
.ask-box:focus-within { border-color: rgba(246,217,163,.45); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 4px rgba(232,184,109,.08); }
.ask textarea, .ask-mirror { text-align: left; font: 400 17px/1.5 var(--sans); padding: 20px 22px 8px; width: 100%; min-height: 64px; max-height: 240px; display: block; }
.ask textarea { resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); position: relative; caret-color: var(--gold2); overflow: hidden; }
.ask textarea::placeholder { color: var(--dim); }
.ask-mirror { position: absolute; inset: 0 0 auto 0; color: transparent; white-space: pre-wrap; word-wrap: break-word; pointer-events: none; }
.ask-mirror mark { color: transparent; background: linear-gradient(transparent 70%, rgba(232,184,109,.55) 70%); border-radius: 2px; }
.ask-bar { display: flex; align-items: center; gap: 14px; padding: 6px 10px 10px 20px; font-size: 12.5px; color: var(--dim); }
.enclave { display: inline-flex; align-items: center; gap: 8px; color: var(--gold2); }
.enclave .lock { color: var(--gold2); overflow: visible; filter: drop-shadow(0 0 6px rgba(232,184,109,.45)); }
.enclave .shackle { transform-origin: 16px 11px; animation: latch 4.5s var(--ease) infinite; }
@keyframes latch { 0%, 8% { transform: translateY(-3px) rotate(-14deg); } 18%, 100% { transform: none; } }
.enclave .lock rect { animation: snap 4.5s var(--ease) infinite; transform-origin: 12px 16px; }
@keyframes snap { 18% { transform: none; } 21% { transform: scale(1.12); } 25%, 100% { transform: none; } }
.masked { color: var(--muted); min-height: 1em; }
.ask-bar button { margin-left: auto; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.12); color: var(--ink); display: grid; place-items: center; opacity: .45; transition: opacity .3s, transform .25s var(--ease), background .3s, color .3s; }
.ask-box:hover .ask-bar button, .ask-box.has .ask-bar button { opacity: 1; }
.ask-box.has .ask-bar button { background: var(--ink); color: #000; }
.ask-bar button:hover { transform: translateY(-1px); background: #fff; color: #000; opacity: 1; }

.modes { list-style: none; margin: 30px auto 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 10px; max-width: 820px; }
.modes a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 10px; color: #f2f3f7; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  text-shadow: 0 1px 14px rgba(0,0,0,.7); transition: color .3s, transform .35s var(--ease); }
.modes svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: transform .35s var(--ease), stroke .3s, opacity .3s; }
.modes a:hover { color: #fff; transform: translateY(-2px); }
.modes a:hover svg { transform: translateY(-1px) rotate(-6deg); opacity: 1; }

.down { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.down span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }
@media (max-width: 640px) { .hero { padding: 100px 18px 70px; } .hero h1 { font-size: 34px; } .ask textarea, .ask-mirror { font-size: 16px; } .modes a { padding: 10px 14px; font-size: 14px; } }

/* sections */
.sec { min-height: 100svh; padding: 96px 0 48px; border-top: 1px solid var(--line); position: relative; display: flex; flex-direction: column; justify-content: center; scroll-snap-align: start; scroll-snap-stop: always; }
.sec > .wrap { width: 100%; }
footer { scroll-snap-align: end; }
/* right side dots: each expands leftwards into a pill with the section name on hover or while you arrive in it */
.dots { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 9; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.dots a { display: flex; align-items: center; justify-content: flex-end; gap: 0; height: 30px; padding: 0 9px; border-radius: 9px; color: var(--ink); font-size: 12.5px; letter-spacing: .02em;
  background: rgba(255,255,255,0); border: 1px solid rgba(255,255,255,0); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .35s, border-color .35s, gap .35s var(--ease); }
.dots a span { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .45s var(--ease), opacity .3s; }
.dots a i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); flex: none; transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
.dots a.on i { background: var(--gold2); transform: scale(1.35); box-shadow: 0 0 10px rgba(246,217,163,.6); }
.dots a:hover, .dots a.show { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); gap: 10px; }
.dots a:hover span, .dots a.show span { max-width: 120px; opacity: 1; }
@media (max-width: 820px) { .dots { right: 10px; } .dots a span { display: none; } }
/* catalogue as one horizontal strip so the section stays one screen */
.cat-row { position: relative; margin-top: 16px; }
.cat-grid { display: flex; gap: 12px; margin-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.cat-grid::-webkit-scrollbar { display: none; }
.mcard { flex: 0 0 290px; scroll-snap-align: start; }
.cat-arr { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--ink); font-size: 24px; line-height: 1; display: grid; place-items: center; z-index: 2; backdrop-filter: blur(8px); transition: background .25s, opacity .25s; }
.cat-arr:hover { background: rgba(255,255,255,.14); }
.cat-arr.l { left: -19px; } .cat-arr.r { right: -19px; }
.cat-arr[disabled] { opacity: .25; pointer-events: none; }
@media (max-width: 700px) { .cat-arr { display: none; } .mcard { flex-basis: 260px; } }
.sec h2 { max-width: 14ch; }
.sec h2.center { max-width: 18ch; }
.grid5, .grid4, .grid3 { display: grid; gap: 14px; margin-top: 40px; }
.grid5 { grid-template-columns: repeat(5, 1fr); }
.grid4 { grid-template-columns: repeat(3, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid5 { grid-template-columns: repeat(3, 1fr); } .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid5, .grid4, .grid3 { grid-template-columns: 1fr; } }
.card { display: block; padding: 26px 24px; border-radius: var(--r); background: linear-gradient(180deg, var(--surface2), var(--surface)); border: 1px solid var(--line); position: relative; transition: transform .35s var(--ease), border-color .35s; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 160px at 50% -40%, rgba(232,184,109,.14), transparent 70%); opacity: 0; transition: opacity .4s; }
.card:hover, .card.inview { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.card:hover::before, .card.inview::before { opacity: 1; }
.card p { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.card p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.card .icons { display: flex; gap: 10px; margin-bottom: 26px; align-items: center; }
.card .icons img { width: 22px; height: 22px; object-fit: contain; opacity: .9; }
.card .icons .mono { font-size: 18px; color: var(--gold); }
.card .mark { width: 24px; height: 24px; color: var(--gold); margin-bottom: 26px; display: block; }
.card .mark.ph { background: var(--gold); -webkit-mask: url(../img/logos/phala-icon.svg) center / contain no-repeat; mask: url(../img/logos/phala-icon.svg) center / contain no-repeat; }
.card .big { font-family: var(--serif); font-weight: 500; font-size: 42px; color: var(--ink); margin: 6px 0 10px; line-height: 1; }
.card.hi { border-color: rgba(232,184,109,.35); }
.card.hi::before { opacity: .8; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 16px; font-size: 15px; color: var(--muted); }
.points li { padding-left: 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.points b { color: var(--ink); font-weight: 500; }

/* unblocked demo */
.demo { padding: 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; }
.msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; max-width: 92%; transition: opacity .5s, transform .5s var(--ease); }
.msg.you { background: var(--surface2); margin-left: auto; color: var(--ink); }
.msg.bot { background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--muted); }
.msg.bot img { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.msg.bot i { font-style: normal; font-family: var(--mono); font-size: 11px; margin-left: auto; align-self: center; color: var(--dim); white-space: nowrap; }
.msg.refused span { text-decoration: line-through; text-decoration-color: rgba(255,120,120,.6); }
.msg.refused i { color: #ff8a8a; }
.msg.answer { color: var(--ink); border-color: rgba(255,255,255,.2); }
.msg.answer i { color: var(--muted); }
.msg.answer em { display: inline-block; width: 7px; height: 14px; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.route { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); padding-left: 6px; }
.route img { width: 16px; height: 16px; opacity: .7; }
.demo .route, .demo .answer, .demo .refused { opacity: 0; transform: translateY(6px); }
.demo.s1 .refused, .demo.s2 .refused, .demo.s3 .refused { opacity: 1; transform: none; }
.demo.s2 .route, .demo.s3 .route { opacity: 1; transform: none; }
.demo.s3 .answer { opacity: 1; transform: none; }
.demo.s3 .refused { opacity: .45; }

/* chips + code */
.chips { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line2); color: var(--muted); transition: color .25s, border-color .25s, transform .3s var(--ease); }
.chips li:hover { color: var(--ink); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.chips img { width: 18px; height: 18px; object-fit: contain; }
.chips img.rd { border-radius: 4px; }
.chips svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .code { animation: none; } }
.tabs { display: flex; gap: 2px; padding: 10px 12px 0; border-bottom: 1px solid var(--line); }
.tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; font-size: 13px; color: var(--dim); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs img { width: 15px; height: 15px; object-fit: contain; opacity: .55; transition: opacity .25s; }
.tabs button.on img, .tabs button:hover img { opacity: 1; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.code pre { display: none; margin: 0; padding: 22px 24px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #d4d7e2; overflow-x: auto; }
.code pre.on { display: block; }
.code .c { color: var(--dim); }
.code .s { color: var(--gold2); }

/* pricing + final */
.coins { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 14px 0 10px; }
.coins img { width: 26px; height: 26px; }
.coins span { font-size: 12px; color: var(--dim); margin-left: 4px; }
.cards { display: flex; gap: 8px; margin-bottom: 8px; }
.cards img { height: 20px; width: auto; border-radius: 4px; background: #fff; padding: 2px 4px; }
.final { margin-top: 56px; text-align: center; padding: 48px 24px 0; border-top: 1px solid var(--line); }
.final .wing { width: 56px; margin: 0 auto 28px; filter: invert(1); opacity: .9; }
.final h2 { margin: 0 auto; max-width: 16ch; }
.final .ctas { justify-content: center; }


/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .owl { animation: none; } }

/* 2. catalogue */
.cat { background: #04050d; border-top: 0; }
.cat .eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.cat h2 { max-width: none; }
.cat .lede { max-width: 640px; margin-top: 14px; }
.cat-filters { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cat-filters button { padding: 10px 12px; font-size: 14px; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .25s, border-color .25s; }
.cat-filters button:hover { color: var(--ink); }
.cat-filters button.on { color: var(--ink); border-color: var(--ink); }
.mcard { position: relative; padding: 22px 22px 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s var(--ease), border-color .3s, opacity .35s, scale .35s; }
.mcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 40% at 50% 0%, rgba(246,217,163,.12), transparent 70%); opacity: 0; transition: opacity .4s; }
.mcard:hover, .mcard.inview { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.mcard:hover::after, .mcard.inview::after { opacity: 1; }
.mcard.hide { display: none; }
.mcard header { display: flex; align-items: center; gap: 12px; }
.mcard header img, .mcard header .gi { width: 26px; height: 26px; object-fit: contain; flex: none; }
.mcard header .gi { fill: none; stroke: var(--gold2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mcard h3 { font-size: 17px; font-weight: 500; line-height: 1.2; }
.mcard header p { font-size: 12px; color: var(--dim); margin-top: 2px; }
.badge { margin-left: auto; align-self: flex-start; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 10px; color: var(--muted); border: 1px solid rgba(255,255,255,.14); white-space: nowrap; }
.badge.out { color: var(--muted); border-color: rgba(255,255,255,.14); }
.mcard .good { font-size: 14px; color: var(--muted); line-height: 1.5; flex: 1; }
.mcard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); font-size: 13px; }
.mcard dt { color: var(--dim); }
.mcard dd { margin: 0; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.mcard dd small { color: var(--dim); font-size: 11px; }
.bar { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); position: relative; overflow: hidden; flex: none; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--gold2); }
.bar.b0::after { width: 6%; } .bar.b1::after { width: 22%; } .bar.b2::after { width: 48%; }
.cat-foot { margin-top: 14px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.cat-foot p { display: flex; align-items: flex-start; gap: 10px; max-width: 640px; }
.cat-foot svg { color: var(--gold2); flex: none; margin-top: 2px; }
.cat-foot .more { margin-left: auto; color: var(--ink); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; transition: border-color .25s; }
.cat-foot .more:hover { border-color: var(--ink); }
@media (max-width: 700px) { .cat-foot .more { margin-left: 0; } }

/* short viewports: keep every section on one screen */
@media (max-height: 820px) {
  .sec { padding: 84px 0 36px; }
  .cat .eyebrow { margin-bottom: 10px; }
  .cat h2 { font-size: clamp(32px, 4vw, 48px); }
  .cat .lede { font-size: 15.5px; margin-top: 10px; max-width: 600px; }
  .cat-filters { margin-top: 16px; } .cat-filters button { padding: 8px 11px; font-size: 13px; }
  .mcard { padding: 16px 16px 14px; gap: 10px; flex-basis: 270px; } .mcard .good { font-size: 13px; } .mcard dl { padding-top: 10px; font-size: 12.5px; gap: 4px 12px; }
  .cat-foot { margin-top: 10px; font-size: 13px; }
}

/* sign in: header button on the right, and the glass modal */
.nav .signin { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); padding: 9px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: var(--ink);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.nav .signin:hover { background: rgba(255,255,255,.1); border-color: rgba(246,217,163,.4); transform: translateY(calc(-50% - 1px)); }
@media (max-width: 640px) { .nav .signin { right: 12px; padding: 8px 12px; font-size: 13px; } }

.auth { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.auth[hidden] { display: none; }
.auth-bg { position: absolute; inset: 0; background: rgba(2,3,8,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadein .3s; }
@keyframes fadein { from { opacity: 0; } }
.auth-panel { position: relative; width: 100%; max-width: 440px; padding: 34px 32px 28px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.auth-x { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 10px; font-size: 20px; color: var(--muted); display: grid; place-items: center; }
.auth-x:hover { color: var(--ink); background: rgba(255,255,255,.08); }
.auth-step { display: none; } .auth-step.on { display: block; }
.auth-form[hidden] { display: none; }
.auth h2 { font-size: 32px; line-height: 1.1; }
.auth h2 .hand { font-family: var(--hand); font-weight: 700; font-size: 1.25em; }
.auth-sub { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.auth-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.way { text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); color: var(--muted); display: grid; gap: 4px; transition: border-color .25s, background .25s, color .25s; }
.way b { color: var(--ink); font-weight: 500; font-size: 14px; }
.way span { font-size: 12px; line-height: 1.4; }
.way.on { border-color: rgba(246,217,163,.5); background: rgba(246,217,163,.06); color: var(--muted); }
.auth-ways.small .way { padding: 9px 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.auth-ways.small .way.on { color: var(--ink); }
.auth-form { display: grid; gap: 12px; margin-top: 18px; }
.auth-form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.auth-form input, .auth-form textarea { font: 400 15px var(--sans); color: var(--ink); background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; outline: 0; transition: border-color .25s, box-shadow .25s; resize: none; width: 100%; }
.auth-form input:focus, .auth-form textarea:focus { border-color: rgba(246,217,163,.5); box-shadow: 0 0 0 4px rgba(232,184,109,.08); }
.auth-form input::placeholder, .auth-form textarea::placeholder { color: var(--dim); }
.uname { position: relative; }
.uname input { font-family: var(--mono); font-size: 14px; padding-right: 44px; }
.uname .regen { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 10px; color: var(--gold2); font-size: 18px; display: grid; place-items: center; transition: transform .4s var(--ease), background .25s; }
.uname .regen:hover { background: rgba(255,255,255,.08); transform: translateY(-50%) rotate(180deg); }
.auth-note { font-size: 12px; color: var(--dim); margin-top: -4px; }
.auth-go { display: block; width: 100%; text-align: center; margin-top: 6px; padding: 13px 18px; border-radius: 12px; background: var(--ink); color: #000; font-weight: 500; font-size: 15px; transition: background .25s, transform .25s var(--ease), opacity .25s; }
.auth-go:hover { background: #fff; transform: translateY(-1px); }
.auth-go[disabled] { opacity: .35; pointer-events: none; }
.auth-alt { margin-top: 18px; font-size: 13px; color: var(--dim); text-align: center; }
.auth-alt a, .auth-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth-link { display: block; text-align: center; font-size: 13px; margin-top: 2px; }
.phrase { list-style: none; margin: 20px 0 0; padding: 14px; border-radius: 14px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 10px; counter-reset: w; }
.phrase li { counter-increment: w; font-family: var(--mono); font-size: 14px; color: var(--ink); padding: 6px 4px 6px 24px; position: relative; }
.phrase li::before { content: counter(w); position: absolute; left: 2px; top: 7px; font-size: 10.5px; color: var(--dim); }
.phrase-tools { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 12.5px; color: var(--gold2); }
.copy { padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); color: var(--ink); font-size: 12.5px; transition: background .25s; }
.copy:hover { background: rgba(255,255,255,.08); }
.auth-ack { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.auth-ack input { margin-top: 3px; accent-color: var(--gold); flex: none; }
.auth-ack a { color: var(--gold2); border-bottom: 1px solid rgba(246,217,163,.35); }
.auth-form .auth-ack { margin-top: 2px; }
#phraseGo { margin-top: 16px; }
@media (max-width: 480px) { .auth-panel { padding: 28px 20px 22px; } .auth-ways { grid-template-columns: 1fr; } .phrase { grid-template-columns: repeat(2, 1fr); } }

/* 3. sharding: a horizontal track of three panels inside one screen-high section */
.shard, .hsec { padding: 0; overflow: hidden; display: block; }
.htrack { display: flex; width: 300%; height: 100%; min-height: 100svh; transition: transform .95s cubic-bezier(.65,0,.35,1); will-change: transform; }
.htrack[data-n="2"] { width: 200%; } .htrack[data-n="2"] .hpanel { width: 50%; }
.hpanel { width: calc(100% / 3); flex: none; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 70px; }
.hpanel .eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.hpanel h2 { max-width: 16ch; }
.hpanel .wrap > h2 { max-width: 30ch; font-size: clamp(32px, 4vw, 52px); }
.hpanel .lede { margin-top: 18px; }
.hnav { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; }
.hnav button { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.15); transition: background .3s, width .3s var(--ease); }
.hnav button.on { background: var(--gold2); width: 44px; }
.hnav .hint { margin-left: 12px; font-size: 12px; color: var(--dim); transition: opacity .3s; }
.last .hnav .hint { opacity: 0; }

/* panel 1 demo tweaks */
.demo .route { flex-wrap: wrap; }
.demo .route .sh { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); color: var(--muted); font-style: normal; font-family: var(--mono); font-size: 11px; }
.demo .route .sh img { width: 13px; height: 13px; opacity: 1; }
.msg.answer span b { color: var(--ink); font-weight: 500; }

/* panel 2 steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 24px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); transition: transform .4s var(--ease), border-color .3s; }
.step:hover, .step.inview { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.step i { font-style: normal; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold2); display: block; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 500; }
.step p { font-size: 14.5px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.step .ph { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,.08); color: var(--ink); }
.shard-note { margin-top: 22px; font-family: var(--serif); font-size: 21px; color: var(--ink); max-width: 60ch; }

/* panel 3 isometric map */
.legend { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); }
.legend .g { background: var(--gold2); } .legend .w { background: #fff; } .legend .d { background: rgba(255,255,255,.35); }
@media (max-width: 900px) { .hpanel { padding: 84px 0 60px; } .hpanel .split { gap: 28px; } }

@media (max-height: 820px) { #private .lede { margin-top: 10px; font-size: 16px; } #private .card { padding: 18px 18px 16px; } #private .card p { font-size: 13.5px; } #private .card .mark { margin-bottom: 14px; } #private .grid4 { margin-top: 24px; gap: 10px; } }


/* step figures */
.step { padding: 0 0 22px; overflow: hidden; }
.step .fig { height: 170px; border-bottom: 1px solid rgba(255,255,255,.07); background: radial-gradient(70% 60% at 50% 40%, rgba(246,217,163,.05), transparent 70%); }
.step .fig svg { width: 100%; height: 100%; display: block; }
.step .num { position: absolute; top: 14px; left: 16px; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,.8); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.step h3 { padding: 18px 24px 0; }
.step p { padding: 0 24px; }
.step i { display: none; }
.isofig .plate .top { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.5); stroke-width: 1; }
.isofig .plate .side { fill: rgba(0,0,0,.5); stroke: rgba(255,255,255,.25); stroke-width: 1; }
.isofig .plate .side.r { fill: rgba(0,0,0,.65); }
.isofig .plate.g .top { fill: rgba(246,217,163,.1); stroke: var(--gold2); }
.isofig .plate.g .side { stroke: rgba(246,217,163,.45); }
.isofig .plate.w .top { stroke: #fff; }
.isofig .frame polygon, .isofig .frame path { fill: none; stroke: rgba(246,217,163,.45); stroke-width: 1; stroke-dasharray: 3 4; }
.isofig .card rect { fill: #0c0e18; stroke: rgba(255,255,255,.65); stroke-width: 1; }
.isofig .card path { stroke: rgba(255,255,255,.45); stroke-width: 1; }
.isofig .card.big rect { stroke: var(--gold2); filter: url(#fg); }
.isofig .pii { font-family: var(--sans); font-size: 12px; fill: var(--ink); text-anchor: middle; }
.isofig .ph { font-family: var(--mono); font-size: 11px; fill: var(--gold2); text-anchor: middle; letter-spacing: .04em; }
.isofig .shard rect { fill: rgba(246,217,163,.15); stroke: var(--gold2); stroke-width: 1; filter: url(#fg); }
.isofig .shard.w rect { fill: rgba(255,255,255,.12); stroke: #fff; }
.isofig .receipt rect { fill: rgba(246,217,163,.12); stroke: var(--gold2); stroke-width: 1; }
.isofig .receipt text { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; fill: var(--gold2); text-anchor: middle; }
.isofig .cap { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; fill: var(--dim); text-anchor: end; }
@media (max-height: 820px) { .step .fig { height: 140px; } .step h3 { padding-top: 12px; } .step p { font-size: 13.5px; } .steps { margin-top: 24px; } .shard-note { font-size: 18px; margin-top: 18px; } }

/* the models that don't: gold wordmarks in three counter scrolling rows over a field of open padlocks */
.cat .hpanel > .wrap { padding-top: 0; }
.cat .hpanel:first-child { align-items: center; }
.cat .hpanel:first-child > .wrap { width: 100%; }
.loved { position: relative; flex-direction: column; justify-content: center; gap: 36px; }
.loved .wrap { position: relative; }
.loved h2 { max-width: 20ch; }
.locks { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23f6d9a3' stroke-width='1.2' stroke-linecap='round' opacity='.13' transform='rotate(-12 80 80)'><rect x='58' y='78' width='44' height='34' rx='7'/><path d='M66 78V62a14 14 0 0 1 28 0v4'/><circle cx='80' cy='95' r='4'/></g></svg>");
  -webkit-mask-image: radial-gradient(70% 70% at 50% 60%, #000 30%, transparent 100%); mask-image: radial-gradient(70% 70% at 50% 60%, #000 30%, transparent 100%); }
.gold-rows { display: grid; gap: 18px; width: 100%; position: relative; }
.gold-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.gold-track { display: flex; gap: 64px; width: max-content; padding: 6px 32px; animation: slide 48s linear infinite; }
.gold-row.r2 .gold-track { animation-direction: reverse; animation-duration: 56s; }
.gold-row.r3 .gold-track { animation-duration: 52s; }
.gold-row:hover .gold-track { animation-play-state: paused; }
.gold-track .gl { display: flex; align-items: center; gap: 12px; flex: none; opacity: .85; transition: opacity .3s, transform .3s var(--ease); }
.gold-track .gl:hover { opacity: 1; transform: scale(1.06); }
.gold-track i { display: block; background: var(--gold2); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.gold-track i.ic { width: 30px; height: 30px; }
.gold-track i.wm { width: 130px; height: 28px; -webkit-mask-position: left center; mask-position: left center; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .gold-track { gap: 36px; } .gold-track i.ic { width: 22px; height: 22px; } .gold-track i.wm { height: 22px; width: 100px; } }
@media (prefers-reduced-motion: reduce) { .gold-track { animation: none; } }

/* phone */
@media (max-width: 820px) {
  .hsec, .shard { min-height: 0; }
  .htrack, .hpanel { min-height: 0; }
  .hpanel { padding: 84px 0 64px; align-items: flex-start; }
  .hnav { bottom: 14px; gap: 10px; } .hnav .hint { display: none; } .hnav button { height: 6px; width: 34px; } .hnav button.on { width: 54px; }
  .hpanel h2, .cat h2 { font-size: clamp(30px, 9vw, 40px); }
  .loved .gold-rows { gap: 10px; }
  .isomap { width: 116%; margin-left: -8%; }
  .demo { padding: 16px; font-size: 13.5px; } .msg { max-width: 100%; }
  .cat-filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .cat-filters::-webkit-scrollbar { display: none; } .cat-filters button { white-space: nowrap; }
  .dots { display: none; }
  .sec h2, .sec h2.center { max-width: none; }
  .hero h1 { font-size: 34px; }
  .sec { padding: 84px 0 56px; }
  .grid3, .grid4 { gap: 10px; } .card { padding: 20px 18px; }
  .final { margin-top: 40px; padding-top: 36px; }
}

/* private section icons: two tone line art that moves on hover */
.card .icn { width: 56px; height: 56px; margin-bottom: 20px; fill: none; stroke: rgba(255,255,255,.75); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; display: block; }
.card .icn .halo { stroke: none; fill: radial-gradient(circle, rgba(246,217,163,.3), transparent); }
/* chip */
.ic-chip .die { fill: rgba(255,255,255,.03); }
.ic-chip .lid { stroke: var(--gold2); fill: rgba(246,217,163,.12); transform-origin: 32px 32px; transition: transform .5s var(--ease); }
.ic-chip .tick { stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .5s .2s var(--ease); }
.ic-chip .pins path { stroke: rgba(255,255,255,.45); }
.ic-chip .halo { fill: none; stroke: var(--gold2); opacity: 0; transition: opacity .4s, transform .6s var(--ease); transform-origin: 32px 32px; transform: scale(.7); }
.card:hover .ic-chip .lid, .card.inview .ic-chip .lid { transform: translateY(-5px) scale(1.06); }
.card:hover .ic-chip .tick, .card.inview .ic-chip .tick { stroke-dashoffset: 0; }
.card:hover .ic-chip .halo, .card.inview .ic-chip .halo { opacity: .35; transform: scale(1); }
.card:hover .ic-chip .pins path, .card.inview .ic-chip .pins path { animation: pins 1.6s ease-in-out infinite; }
@keyframes pins { 50% { stroke: var(--gold2); } }
/* end to end */
.ic-e2e .end { fill: rgba(255,255,255,.06); } .ic-e2e .end.b { stroke: var(--gold2); }
.ic-e2e .wire { stroke: rgba(255,255,255,.25); }
.ic-e2e .noise { stroke: rgba(255,255,255,.18); stroke-dasharray: 90; stroke-dashoffset: 0; }
.ic-e2e .lock { stroke: var(--gold2); fill: #0b0d16; }
.ic-e2e .shackle { transform-origin: 36px 29px; transition: transform .45s var(--ease); }
.ic-e2e .packet { fill: rgba(246,217,163,.2); stroke: var(--gold2); offset-path: path('M9 32h46'); offset-distance: 0%; opacity: 0; transition: opacity .3s; }
.card:hover .ic-e2e .packet, .card.inview .ic-e2e .packet { opacity: 1; animation: travel 1.8s ease-in-out infinite; }
.card:hover .ic-e2e .shackle, .card.inview .ic-e2e .shackle { transform: translateY(-3px) rotate(-16deg); }
.card:hover .ic-e2e .noise, .card.inview .ic-e2e .noise { animation: noise 1.2s linear infinite; }
@keyframes travel { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes noise { to { stroke-dashoffset: -90; } }
/* split */
.ic-split .doc path { fill: rgba(255,255,255,.03); transition: transform .55s var(--ease), stroke .4s, fill .4s; }
.ic-split .fold, .ic-split .lines { fill: none; stroke: rgba(255,255,255,.45); }
.ic-split .nodes circle { stroke: var(--gold2); fill: rgba(246,217,163,.1); opacity: .4; transition: opacity .4s, transform .4s var(--ease); }
.card:hover .ic-split .p1, .card.inview .ic-split .p1 { transform: translate(-9px, -5px); stroke: var(--gold2); fill: rgba(246,217,163,.08); }
.card:hover .ic-split .p2, .card.inview .ic-split .p2 { transform: translate(9px, 0); }
.card:hover .ic-split .p3, .card.inview .ic-split .p3 { transform: translate(-9px, 5px); stroke: var(--gold2); fill: rgba(246,217,163,.08); }
.card:hover .ic-split .nodes circle, .card.inview .ic-split .nodes circle { opacity: 1; }
.card:hover .ic-split .lines, .card.inview .ic-split .lines { opacity: 0; transition: opacity .3s; }
/* nothing kept */
.ic-none .db path, .ic-none .db ellipse { fill: rgba(255,255,255,.03); }
.ic-none .ring { fill: none; stroke: rgba(255,255,255,.35); }
.ic-none .rows { stroke: rgba(255,255,255,.4); transition: opacity .5s, transform .5s var(--ease); }
.ic-none .wipe { stroke: var(--gold2); stroke-width: 1.8; stroke-dasharray: 64; stroke-dashoffset: 64; transition: stroke-dashoffset .55s var(--ease); }
.ic-none .dust circle { fill: var(--gold2); stroke: none; opacity: 0; transition: opacity .3s .4s, transform .8s .3s var(--ease); }
.card:hover .ic-none .wipe, .card.inview .ic-none .wipe { stroke-dashoffset: 0; }
.card:hover .ic-none .rows, .card.inview .ic-none .rows { opacity: 0; transform: translateX(6px); }
.card:hover .ic-none .dust circle, .card.inview .ic-none .dust circle { opacity: .9; transform: translate(4px, -6px); }
/* private funding */
.ic-note .coin { stroke: rgba(255,255,255,.75); transform-origin: 18px 32px; transition: transform .6s var(--ease), opacity .5s; }
.ic-note .coin circle { fill: rgba(255,255,255,.04); }
.ic-note .link { stroke: rgba(255,255,255,.35); stroke-dasharray: 2 3; transition: opacity .3s; }
.ic-note .note { stroke: var(--gold2); } .ic-note .note path:first-child { fill: rgba(246,217,163,.08); }
.ic-note .perf { stroke-dasharray: 2 2.5; } .ic-note .txt { stroke: rgba(246,217,163,.6); }
.ic-note .cut { stroke: var(--gold2); opacity: 0; transition: opacity .3s .25s; }
.card:hover .ic-note .coin, .card.inview .ic-note .coin { transform: rotateY(180deg); opacity: .35; }
.card:hover .ic-note .link, .card.inview .ic-note .link { opacity: 0; }
.card:hover .ic-note .cut, .card.inview .ic-note .cut { opacity: 1; }
.card:hover .ic-note .note, .card.inview .ic-note .note { animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(3px); } }
/* relay */
.ic-relay .globe path, .ic-relay .globe circle { stroke: rgba(255,255,255,.4); }
.ic-relay .globe { transform-origin: 32px 32px; transition: transform 1.2s var(--ease); }
.ic-relay .exits circle { stroke: var(--gold2); fill: rgba(246,217,163,.12); }
.ic-relay .dot { fill: #fff; stroke: none; }
.ic-relay .route { stroke: var(--gold2); stroke-dasharray: 24; stroke-dashoffset: 24; }
.card:hover .ic-relay .route, .card.inview .ic-relay .route { animation: route 2.4s var(--ease) infinite; }
.card:hover .ic-relay .globe, .card.inview .ic-relay .globe { transform: rotate(14deg); }
@keyframes route { 0% { stroke-dashoffset: 24; d: path('M32 32L47 18'); } 28% { stroke-dashoffset: 0; d: path('M32 32L47 18'); } 33% { stroke-dashoffset: 24; d: path('M32 32L14 38'); } 61% { stroke-dashoffset: 0; d: path('M32 32L14 38'); } 66% { stroke-dashoffset: 24; d: path('M32 32L46 46'); } 94%, 100% { stroke-dashoffset: 0; d: path('M32 32L46 46'); } }
@media (prefers-reduced-motion: reduce) { .card .icn * { animation: none !important; transition: none !important; } }

/* the laptop: a lid with the code on its screen, a deck lying flat, turned three quarters and floating */
.laptop { position: relative; perspective: 1500px; perspective-origin: 50% 40%; padding: 40px 0 70px; animation: float2 7s ease-in-out infinite; }
@keyframes float2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.laptop-in { position: relative; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-28deg) rotateZ(2deg); transition: transform .9s var(--ease); width: 100%; max-width: 560px; margin: 0 auto; }
.laptop:hover .laptop-in { transform: rotateX(10deg) rotateY(-16deg) rotateZ(1deg); }
.lid { position: relative; transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(-10deg); border-radius: 16px 16px 6px 6px; padding: 12px 12px 18px;
  background: linear-gradient(160deg, #262a36, #14161e 60%, #1b1e28); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px rgba(0,0,0,.6); }
.lid-edge { position: absolute; inset: 0; border-radius: inherit; background: #0b0c12; transform: translateZ(-8px); box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.bezel { position: relative; border-radius: 9px; background: #07080d; padding: 14px 8px 8px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.cam { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1d2130; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 4px rgba(120,160,255,.35); }
.bezel::after { content: ""; position: absolute; inset: 14px 8px 8px; border-radius: 6px; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.07), transparent 38%, transparent 70%, rgba(255,255,255,.03)); }
.code { border-radius: 6px; background: #0c0e16; overflow: hidden; }
.code .tabs { padding: 8px 10px 0; }
.code .tabs button { padding: 7px 10px; font-size: 12px; }
.code pre { padding: 16px 18px 18px; font-size: 12px; line-height: 1.65; min-height: 196px; }
.hinge { height: 10px; margin: 0 24px; background: linear-gradient(#05060a, #1a1d27 50%, #05060a); border-radius: 0 0 4px 4px; transform-origin: 50% 0; transform: rotateX(90deg) translateZ(0); }
.base { position: relative; height: 200px; transform-origin: 50% 0; transform: rotateX(68deg); transform-style: preserve-3d; border-radius: 4px 4px 22px 22px;
  background: linear-gradient(180deg, #2a2e3b, #1a1d27 70%, #14161e); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 20px 40px rgba(0,0,0,.5); }
.base::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 50% at 50% 0%, rgba(246,217,163,.10), transparent 70%); }
.keys { position: absolute; left: 7%; right: 7%; top: 18px; height: 100px; border-radius: 6px; padding: 3px;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 30px, transparent 30px 34px), repeating-linear-gradient(0deg, rgba(255,255,255,.14) 0 20px, transparent 20px 24px);
  background-size: 100% 100%; -webkit-mask: linear-gradient(#000, #000); }
.keys::after { content: ""; position: absolute; inset: 3px; border-radius: 4px; background: repeating-linear-gradient(90deg, #0b0d14 0 30px, transparent 30px 34px), repeating-linear-gradient(0deg, #0b0d14 0 20px, transparent 20px 24px); mix-blend-mode: multiply; opacity: .9; }
.pad { position: absolute; left: 50%; bottom: 20px; width: 150px; height: 56px; margin-left: -75px; border-radius: 8px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.base-edge { position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; border-radius: 0 0 22px 22px; background: linear-gradient(#0f1118, #05060a); transform-origin: 50% 0; transform: rotateX(-90deg); }
.laptop-shadow { position: absolute; left: 10%; right: 10%; bottom: 10px; height: 60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); filter: blur(10px); z-index: -1; }
@media (max-width: 900px) { .laptop { padding: 20px 0 40px; overflow: visible; } .laptop-in { max-width: 88%; transform: rotateX(10deg) rotateY(-9deg); } .laptop:hover .laptop-in { transform: rotateX(8deg) rotateY(-5deg); } .base { height: 150px; } .keys { height: 70px; top: 14px; } .pad { height: 36px; width: 110px; margin-left: -55px; bottom: 12px; } .code pre { font-size: 11px; min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .laptop { animation: none; } }

/* step figures as media: still at rest, clip plays on hover */
.step .fig.media { position: relative; overflow: hidden; background: #05060f; }
.step .fig.media img, .step .fig.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.step .fig.media video { opacity: 0; transition: opacity .5s; }
.step:hover .fig.media video.ready, .step.inview .fig.media video.ready { opacity: 1; }
.step .fig.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,15,0) 60%, rgba(5,6,15,.55)); pointer-events: none; }

/* pricing: three tall columns, ticks grey for facts, gold for the fee and the private rail */
.price .lede { margin-top: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); transition: transform .4s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.22); }
.plan.hi { border-color: rgba(246,217,163,.45); background: linear-gradient(180deg, rgba(246,217,163,.07), rgba(255,255,255,.02)); }
.plan.hi:hover { border-color: rgba(246,217,163,.7); }
.plan .tag { position: absolute; top: -1px; right: 18px; padding: 5px 10px; border-radius: 0 0 8px 8px; background: var(--gold2); color: #0a0a10; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan header { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.plan .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.plan .n { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1; margin-top: 10px; color: var(--ink); }
.plan.hi .n { color: var(--gold2); }
.plan .d { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 8px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.45; }
.plan li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.plan li.g svg { stroke: var(--gold2); }
.plan li.g span { color: var(--ink); }
.plan .btn { width: 100%; justify-content: center; margin-top: 12px; padding: 12px 18px; font-size: 14px; }
.paylogos { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 4px 0 6px; }
.paylogos img { width: 24px; height: 24px; }
.paylogos i { width: 1px; height: 18px; background: rgba(255,255,255,.14); margin: 0 6px; }
.paylogos img.card-mark { width: auto; height: 18px; border-radius: 3px; background: #fff; padding: 2px 4px; }
.price .final { margin-top: 36px; padding-top: 34px; }
.price .final h2 { font-size: clamp(30px, 3.6vw, 46px); }
@media (max-height: 900px) { .price .lede { display: none; } .plans { margin-top: 26px; } .plan { padding: 20px 20px 18px; } .plan ul { gap: 8px; padding: 14px 0 6px; } .plan li { font-size: 13px; } .plan .n { font-size: 36px; } .price .final { margin-top: 24px; padding-top: 24px; } .price .final h2 { font-size: 30px; } .price .final .ctas { margin-top: 18px; } }
/* pricing fit: one line headline, final call to action as a single row */
.price h2.center { max-width: 24ch; font-size: clamp(32px, 4.2vw, 54px); }
.price .final { display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; flex-wrap: wrap; margin-top: 28px; padding-top: 26px; }
.price .final h2 { margin: 0; max-width: none; font-size: clamp(24px, 2.6vw, 34px); }
.price .final .ctas { margin: 0; justify-content: flex-end; }
.price .final .btn { padding: 11px 18px; font-size: 14px; }
@media (max-height: 900px) { .price.sec { padding-top: 84px; } .plans { margin-top: 22px; } .plan .d { display: none; } .plan header { padding-bottom: 14px; } }
@media (max-height: 900px) { .price h2.center { font-size: 40px; } .plan ul { gap: 7px; padding: 12px 0 4px; } .plan li { font-size: 13px; } .plan .btn { padding: 10px 16px; margin-top: 8px; } .plan .n { font-size: 32px; margin-top: 6px; } .price.sec { padding-bottom: 28px; } .price .final { margin-top: 18px; padding-top: 18px; } }

/* panel 3: verify it yourself */
.verifywrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .verifywrap { grid-template-columns: 1fr; gap: 28px; } }
.verify { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0 10px; align-items: center; }
.vcard { position: relative; padding: 16px 18px; border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.1); transition: border-color .4s, transform .5s var(--ease); }
.vcard.rc { border-color: rgba(246,217,163,.35); }
.verify.ok .vcard { border-color: rgba(246,217,163,.55); }
.vh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vk { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); }
.vsig { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.vsig i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 8px rgba(246,217,163,.7); }
.vsig.w i { background: #fff; box-shadow: 0 0 8px rgba(255,255,255,.6); }
.vcard dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; margin: 0; font-size: 12.5px; }
.vcard dt { color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.vcard dd { margin: 0; color: var(--ink); }
.vcard dd.hash { font-family: var(--mono); font-size: 12px; color: var(--gold2); letter-spacing: .04em; transition: text-shadow .4s; }
.verify.ok .vcard dd.hash { text-shadow: 0 0 12px rgba(246,217,163,.6); }
.vlink { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: center; }
.vdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.vline { width: 1px; flex: 1; min-height: 34px; background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.08)); position: relative; overflow: hidden; }
.vline::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: linear-gradient(transparent, var(--gold2)); opacity: 0; }
.verify.run .vline::after { animation: vrun 1.4s linear infinite; opacity: 1; }
.verify.run .vline.r::after { animation-delay: .7s; }
@keyframes vrun { to { top: 100%; } }
.vtick { width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); display: grid; place-items: center; transition: border-color .4s, background .4s, transform .5s var(--ease); }
.vtick svg { width: 18px; height: 18px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .5s var(--ease) .1s, stroke .3s; }
.verify.ok .vtick { border-color: var(--gold2); background: rgba(246,217,163,.12); transform: scale(1.08); }
.verify.ok .vtick svg { stroke-dashoffset: 0; stroke: var(--gold2); }
.vterm { grid-column: 1 / -1; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: #07080f; border: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 12.5px; color: var(--ink); line-height: 1.7; }
.vterm .vp { color: var(--gold2); margin-right: 8px; }
.vterm .vo { color: var(--muted); opacity: 0; transition: opacity .4s .3s; }
.vterm .vo i { font-style: normal; color: var(--gold2); margin-right: 6px; }
.verify.ok .vterm .vo { opacity: 1; }
@media (max-width: 700px) { .verify { grid-template-columns: 1fr; } .vlink { flex-direction: row; height: auto; } .vline { width: auto; height: 1px; min-height: 0; flex: 1; } .vline::after { top: 0; bottom: 0; left: -40%; right: auto; width: 40%; height: auto; background: linear-gradient(90deg, transparent, var(--gold2)); } .verify.run .vline::after { animation: vrunh 1.4s linear infinite; } @keyframes vrunh { to { left: 100%; } } }
@media (max-height: 820px) { .verifywrap { gap: 36px; } .vcard { padding: 12px 14px; } .vcard dl { gap: 5px 10px; font-size: 12px; } .vterm { padding: 10px 14px; font-size: 12px; } }
.verifywrap { grid-template-columns: .85fr 1.25fr; gap: 48px; }
.verify { align-items: stretch; }
.vcard { display: flex; flex-direction: column; }
.vcard dl { grid-template-columns: 96px 1fr; }
.vcard dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard dd.hash { white-space: normal; }
.vcard dd { white-space: normal; }


/* the sharding map: one colour per meaning, one shape per role */
.iso { position: relative; perspective: 1400px; }
.isomap { width: 104%; margin-left: -4%; max-width: none; height: auto; display: block; overflow: visible; transform-style: preserve-3d; transition: transform .1s linear; }
.isomap .grid path { stroke: rgba(255,255,255,.035); stroke-width: 1; fill: none; }
.isomap .pipe { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.isomap .pipe.back { stroke: rgba(246,217,163,.35); stroke-dasharray: 3 6; }
.isomap .pulse { fill: var(--gold2); filter: url(#isoGlow); }
.isomap .pulse.w { fill: #fff; }
.isomap .top, .isomap .side { stroke-width: 1.2; stroke-linejoin: round; transition: stroke .35s, fill .35s, filter .35s; }
.isomap .side.l { fill: url(#gy); } .isomap .side.r { fill: url(#gy); filter: brightness(.75); }
.isomap .top { fill: rgba(255,255,255,.05); }
/* grey: you and your answer */
.isomap .c-grey .top { stroke: rgba(255,255,255,.45); } .isomap .c-grey .side { stroke: rgba(255,255,255,.28); }
/* gold: uncensored models on WISPR enclaves */
.isomap .c-gold .top { stroke: rgba(246,217,163,.6); fill: rgba(246,217,163,.08); } .isomap .c-gold .side { stroke: rgba(246,217,163,.4); fill: url(#gg); }
/* white: the frontier model */
.isomap .c-white .top { stroke: rgba(255,255,255,.75); fill: rgba(255,255,255,.09); } .isomap .c-white .side { stroke: rgba(255,255,255,.45); fill: url(#gw); }
.isomap .guide { stroke: rgba(246,217,163,.35); stroke-dasharray: 2 4; stroke-width: 1; fill: none; }
.isomap .chip polygon { fill: rgba(246,217,163,.18); stroke: var(--gold2); stroke-width: 1.2; filter: url(#isoGlow); }
.isomap .chip rect { fill: var(--gold2); } .isomap .chip path { fill: none; stroke: var(--gold2); stroke-width: 1.3; }
.isomap .tab { stroke: rgba(246,217,163,.5); stroke-width: 1; fill: none; }
.isomap .tabt { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; fill: var(--gold2); paint-order: stroke; stroke: #04050d; stroke-width: 5px; stroke-linejoin: round; }
.isomap .tabd { fill: var(--gold2); }
.isomap .person path, .isomap .person circle { fill: rgba(255,255,255,.14); stroke: rgba(255,255,255,.7); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-width: 1.4; transition: fill .3s, stroke .3s; }
.isomap .st.lit .person path, .isomap .st.lit .person circle, .isomap .st:hover .person path, .isomap .st:hover .person circle { fill: rgba(255,255,255,.35); stroke: #fff; }
.isomap .t { font-family: var(--sans); font-size: 19px; font-weight: 500; fill: var(--ink); text-anchor: middle; transition: fill .3s; paint-order: stroke; stroke: #04050d; stroke-width: 6px; stroke-linejoin: round; }
.isomap .s { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; fill: rgba(255,255,255,.62); text-anchor: middle; paint-order: stroke; stroke: #04050d; stroke-width: 5px; stroke-linejoin: round; }
/* logos lie flat on the tops: engraved grey at rest, full colour when the pulse arrives or on hover */
.isomap .logo image { filter: grayscale(1) brightness(1.6) opacity(.38); transition: filter .4s; }
.isomap .st.lit .logo image, .isomap .st:hover .logo image { filter: none; }
.isomap .c-grey .logo image { filter: grayscale(1) brightness(1.2) opacity(.55); }
.isomap .c-grey.lit .logo image, .isomap .c-grey:hover .logo image { filter: none; }
.isomap .st { cursor: pointer; }
.isomap .st .art { transition: transform .5s var(--ease); }
.isomap .st.lit .art, .isomap .st:hover .art { transform: translateY(-10px); }
.isomap .st.lit .top, .isomap .st:hover .top { filter: url(#isoGlow); }
.isomap .c-gold.lit .top, .isomap .c-gold:hover .top { stroke: var(--gold2); fill: rgba(246,217,163,.2); }
.isomap .c-white.lit .top, .isomap .c-white:hover .top { stroke: #fff; fill: rgba(255,255,255,.2); }
.isomap .c-grey.lit .top, .isomap .c-grey:hover .top { stroke: rgba(255,255,255,.85); fill: rgba(255,255,255,.14); }
.isomap .st.lit .t, .isomap .st:hover .t { fill: var(--gold2); }
.isomap .c-white.lit .t, .isomap .c-white:hover .t { fill: #fff; }
.isomap .enc .plate-top { transition: transform .5s var(--ease); }
.isomap .enc.lit .plate-top, .isomap .enc:hover .plate-top { transform: translateY(-8px); }
.iso .tip { position: absolute; left: 50%; bottom: -6px; transform: translate(-50%, 0); padding: 9px 14px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); font-size: 13px; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .25s, transform .3s var(--ease); pointer-events: none; }
.iso .tip.on { opacity: 1; transform: translate(-50%, 8px); }
@media (max-width: 900px) { .iso .tip { white-space: normal; width: 92%; text-align: center; } }

.coinrow { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8px; }
.coinrow img { display: block; width: 22px; height: 22px; filter: grayscale(1) sepia(1) saturate(2.4) hue-rotate(-8deg) brightness(1.05); opacity: .9; }
.coinrow em { font-style: normal; font-size: 11px; color: var(--dim); margin-left: 2px; }

/* phone pass 2 */
@media (max-width: 820px) {
  html { scroll-snap-type: none; }
  .split > *, .verifywrap > *, .flowwrap > * { min-width: 0; }
  .wrap { padding: 0 18px; }
  .sec h2, .hpanel h2, .cat h2 { font-size: clamp(28px, 8vw, 38px); line-height: 1.08; }
  .price h2.center { font-size: clamp(26px, 7.4vw, 36px); max-width: none; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
  .lede, .hpanel .lede, .cat .lede { font-size: 15.5px; }
  .laptop { max-width: 100%; overflow: hidden; padding: 10px 0 30px; }
  .laptop-in { max-width: 92%; }
  .code pre { font-size: 10.5px; padding: 12px 12px 14px; }
  .code .tabs button { padding: 6px 8px; font-size: 11px; }
  .base { height: 110px; } .keys { height: 50px; top: 10px; } .pad { height: 26px; width: 80px; margin-left: -40px; bottom: 8px; }
  .auth { padding: 12px; }
  .auth-panel { max-width: calc(100vw - 24px); padding: 24px 18px 20px; }
  .auth-form input, .auth-form textarea, .uname { min-width: 0; max-width: 100%; }
  .auth h2 { font-size: 28px; }
  /* the sharding map pans sideways on a phone, at a size where the labels can be read */
  .iso { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -18px; padding: 0 18px; perspective: none; }
  .iso::-webkit-scrollbar { display: none; }
  .isomap { width: 190%; max-width: none; margin-left: 0; transform: none !important; }
  .iso .tip { display: none; }
  .legend { font-size: 13.5px; }
  .demo { font-size: 13px; } .msg.bot i { display: none; }
  .steps { gap: 10px; } .step .fig { height: 150px; }
  .plans { gap: 10px; } .plan { padding: 18px 16px 16px; }
  .price .final { flex-direction: column; align-items: flex-start; gap: 14px; }
  .price .final .ctas { justify-content: flex-start; }
  .hnav { bottom: 10px; }
  .hpanel { padding: 84px 0 56px; }
  .cat .hpanel:first-child { padding-top: 84px; }
  .gold-rows { gap: 8px; }
}
@media (max-width: 820px) {
  /* side panels stack on a phone */
  .htrack, .htrack[data-n="2"] { display: block; width: 100% !important; transform: none !important; }
  .hpanel, .htrack[data-n="2"] .hpanel { width: 100% !important; min-height: 0; padding: 72px 0 24px; }
  .hpanel + .hpanel { border-top: 1px solid rgba(255,255,255,.06); }
  .hnav { display: none; }
  .cat .hpanel:first-child { padding-top: 84px; }
  .hsec, .shard { padding-bottom: 32px; }
}
.modes a:hover svg { stroke: var(--gold2); }

/* nothing kept: a mask */
.ic-mask .shape { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.75); }
.ic-mask .eye { fill: #05060f; stroke: var(--gold2); stroke-width: 1.3; transition: fill .35s; }
.ic-mask .ribbon { stroke: rgba(246,217,163,.6); stroke-width: 1.3; }
.ic-mask .mask { transform-origin: 32px 30px; transition: transform .5s var(--ease); }
.ic-mask .stars path { stroke: var(--gold2); stroke-width: 1.3; opacity: 0; transform-origin: center; transform: scale(.4); transition: opacity .3s, transform .5s var(--ease); }
.card:hover .ic-mask .mask, .card.inview .ic-mask .mask { transform: translateY(-3px) rotate(-6deg) scale(1.05); }
.card:hover .ic-mask .eye, .card.inview .ic-mask .eye { fill: rgba(246,217,163,.35); }
.card:hover .ic-mask .stars path, .card.inview .ic-mask .stars path { opacity: 1; transform: scale(1); }
.card:hover .ic-mask .stars path:nth-child(2), .card.inview .ic-mask .stars path:nth-child(2) { transition-delay: .1s; } .card:hover .ic-mask .stars path:nth-child(3) { transition-delay: .2s; }
/* private funding: an eye that shuts */
.ic-eye .open { transform-origin: 32px 32px; transition: transform .35s var(--ease), opacity .25s .1s; }
.ic-eye .lid { fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.75); }
.ic-eye .iris { fill: rgba(246,217,163,.18); stroke: var(--gold2); } .ic-eye .pupil { fill: var(--gold2); stroke: none; } .ic-eye .glint { fill: #fff; stroke: none; }
.ic-eye .shut { opacity: 0; transition: opacity .2s; }
.ic-eye .shut path { stroke: var(--gold2); stroke-width: 1.8; } .ic-eye .lash { stroke-width: 1.4; }
.card:hover .ic-eye .open, .card.inview .ic-eye .open { transform: scaleY(.06); opacity: 0; transition: transform .35s var(--ease), opacity .1s .3s; }
.card:hover .ic-eye .shut, .card.inview .ic-eye .shut { opacity: 1; transition-delay: .3s; }

/* anywhere: the rig. tools -> wires -> WISPR hardware -> wire -> your laptop */
.rigsplit { align-items: center; grid-template-columns: .9fr 1.1fr; }
.lede.small { font-size: 15px; color: var(--dim); margin-top: 14px; }
.rig { display: flex; flex-direction: column; align-items: stretch; max-width: 480px; width: 100%; margin: 0 auto; }
.rig-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 10px; margin: 0; }
.rig-tools li { position: relative; justify-content: center; padding: 8px 6px; font-size: 12.5px; gap: 6px; white-space: nowrap; }
.rig-tools li img { width: 15px; height: 15px; }
.rig-tools li:nth-child(-n+4)::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 10px; background: rgba(255,255,255,.18); }
.rig .wires { display: block; width: 100%; overflow: visible; }
.rig .wires.in { margin-top: -1px; }
.rig .wires .w { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1.4; }
.rig .wires .p { fill: var(--gold2); filter: url(#pg); }
.gpu-wrap { position: relative; display: grid; place-items: center; padding: 6px 0 2px; }
.gpu { width: 62%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.65)) drop-shadow(0 0 18px rgba(246,217,163,.14)); }
.gpu-cap { position: absolute; right: 0; bottom: 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .16em; color: var(--gold2); opacity: .8; }
.rig .laptop { animation: none; padding: 0 0 36px; margin-top: -6px; }
.rig .laptop-in { max-width: 400px; transform: rotateX(12deg) rotateY(-14deg) rotateZ(0deg); transition: none; }
.rig .laptop:hover .laptop-in { transform: rotateX(12deg) rotateY(-14deg) rotateZ(0deg); }
.rig .code pre { min-height: 150px; font-size: 10.5px; padding: 12px 14px 14px; }
.rig .code .tabs button { padding: 6px 8px; font-size: 11px; }
.rig .base { height: 120px; } .rig .keys { height: 56px; top: 12px; } .rig .pad { height: 30px; width: 96px; margin-left: -48px; bottom: 10px; }
.rig .laptop-shadow { bottom: 6px; height: 40px; }
@media (max-height: 900px) { .rig-tools li { padding: 7px 6px; font-size: 12px; } .gpu { width: 54%; } .rig .code pre { min-height: 130px; } .rig .laptop-in { max-width: 360px; } }
@media (max-width: 900px) { .rigsplit { grid-template-columns: 1fr; } .rig { max-width: 100%; } .rig-tools { grid-template-columns: repeat(4, 1fr); gap: 8px 6px; } .rig-tools li { font-size: 11px; padding: 7px 4px; gap: 4px; } .rig-tools li img { width: 13px; height: 13px; } .gpu { width: 70%; } .gpu-cap { font-size: 8.5px; } }
.rig .laptop-in { max-width: 330px; transform: rotateX(14deg) rotateY(-12deg); }
.rig .laptop:hover .laptop-in { transform: rotateX(14deg) rotateY(-12deg); }
.rig .code pre { min-height: 118px; font-size: 9.5px; line-height: 1.55; padding: 10px 12px 12px; }
.rig .code .tabs button { padding: 5px 7px; font-size: 10px; gap: 5px; } .rig .code .tabs img { width: 12px; height: 12px; }
.rig .base { height: 92px; } .rig .keys { height: 42px; top: 9px; } .rig .pad { height: 22px; width: 76px; margin-left: -38px; bottom: 8px; }
.rig .laptop { padding: 0 0 26px; }
.rig .wires.in { height: 92px; } .rig .wires.out { height: 40px; }
.gpu { width: 56%; } .gpu-wrap { padding: 2px 0 0; }
.rig-tools li { padding: 7px 6px; font-size: 12px; }
@media (max-height: 820px) { .rig .laptop-in { max-width: 300px; } .gpu { width: 50%; } .rig .wires.in { height: 70px; } }
.rig > * { flex: 0 0 auto; }
.gpu { aspect-ratio: 900 / 606; object-fit: contain; }
.gpu-wrap { min-height: 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 13.5px; color: var(--muted); background: #04050c; }
footer .wrap { display: block; }
.ft-top { display: grid; grid-template-columns: 1.3fr 3.4fr; gap: 40px 56px; }
.ft-brand .brand { font-size: 34px; }
.ft-brand .brand img { height: 26px; }
.ft-tag { margin-top: 16px; font-family: var(--serif); font-size: 17px; line-height: 1.4; color: var(--ink); }
.ft-mail { display: inline-block; margin-top: 14px; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 1px; }
.ft-mail:hover { color: var(--ink); border-color: rgba(255,255,255,.5); }
.ft-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.ft-cols h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); font-weight: 500; }
.ft-cols a { display: block; padding: 4px 0; color: var(--muted); transition: color .2s, transform .25s var(--ease); }
.ft-cols a:hover { color: var(--ink); transform: translateX(2px); }
.ft-bottom { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.ft-note { color: var(--dim); }
.ft-status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); color: var(--muted); }
.ft-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 8px rgba(246,217,163,.7); }
.ft-status:hover { color: var(--ink); border-color: rgba(255,255,255,.3); }
@media (max-width: 1000px) { .ft-top { grid-template-columns: 1fr; gap: 32px; } .ft-cols { grid-template-columns: repeat(3, 1fr); gap: 22px 16px; } }
@media (max-width: 600px) { .ft-cols { grid-template-columns: repeat(2, 1fr); } .ft-status { margin-left: 0; } footer { padding-top: 40px; } }

/* anywhere v2: centred heading, then tools -> hardware -> laptop in one row */
#anywhere .wrap { display: block; }
.anyhead { text-align: center; max-width: 760px; margin: 0 auto; }
.anyhead h2 { max-width: none; }
.anyhead .lede { margin: 14px auto 0; max-width: 680px; }
.rig2 { display: grid; grid-template-columns: 190px 120px minmax(300px, 1.1fr) 90px minmax(300px, 1fr); align-items: center; gap: 0; max-width: 1160px; margin: 34px auto 0; }
.rig2 .rig-tools { grid-template-columns: 1fr; gap: 10px; }
.rig2 .rig-tools li { justify-content: flex-start; padding: 8px 12px; font-size: 12.5px; }
.rig2 .rig-tools li::after { display: none; }
.rig2 .wires.in { width: 100%; height: 100%; min-height: 320px; }
.rig2 .wires.out { width: 100%; height: 40px; }
.rig2 .gpu-wrap { padding: 0; }
.gpu-vid { display: block; width: 100%; height: auto; object-fit: contain; background: #000; mix-blend-mode: screen; filter: drop-shadow(0 0 22px rgba(246,217,163,.12)); }
.rig2 .gpu-cap { position: static; display: block; text-align: center; margin-top: 8px; }
.rig2 .laptop { padding: 0; margin: 0; }
.rig2 .laptop-in { max-width: 100%; transform: none; }
.rig2 .laptop:hover .laptop-in { transform: none; }
.rig2 .lid { transform: none; }
.rig2 .code pre { height: 150px; min-height: 0; max-height: none; overflow: hidden; }
.rig2 .base { display: none; } .rig2 .hinge { display: none; } .rig2 .laptop-shadow { display: none; }
.rig2 .lid { border-radius: 14px; padding: 10px 10px 14px; }
@media (max-width: 1100px) { .rig2 { grid-template-columns: 1fr; gap: 14px; } .rig2 .rig-tools { grid-template-columns: repeat(4, 1fr); } .rig2 .wires.in, .rig2 .wires.out { display: none; } .rig2 .gpu-wrap { max-width: 520px; margin: 0 auto; } .rig2 .laptop-in { max-width: 520px; margin: 0 auto; } }
@media (max-width: 640px) { .rig2 .rig-tools { grid-template-columns: repeat(2, 1fr); } .rig2 .code pre { height: 128px; } }
@media (max-height: 820px) { .rig2 { margin-top: 22px; } .rig2 .code pre { height: 130px; } .anyhead .lede { font-size: 15px; } }

.rig2 .wires.in { align-self: stretch; height: 100%; min-height: 0; }
.rig2 .rig-tools { align-self: center; }
.rig2 .base { display: block; height: 16px; transform: none; border-radius: 0 0 16px 16px; margin: 0 -14px; background: linear-gradient(#262a36, #121420); border: 1px solid rgba(255,255,255,.16); border-top: 0; }
.rig2 .keys, .rig2 .pad, .rig2 .base-edge, .rig2 .base::before { display: none; }
.rig2 .lid { border-radius: 14px 14px 0 0; }
.ft-brand .brand { gap: 16px; }
.ft-brand .brand img { padding-right: 16px; border-right: 1px solid rgba(255,255,255,.22); box-sizing: content-box; }
