/* MIZOOR official homepage (from option H, 2026-10-31): ink, silver and linen, built around the logo's chrome and cyan. */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: block; src: url('assets/fonts/outfit.woff2') format('woff2-variations'), url('assets/fonts/outfit.woff2') format('woff2'); }
@font-face { font-family: 'Albert Sans'; font-style: normal; font-weight: 100 900; font-display: block; src: url('assets/fonts/albert-sans.woff2') format('woff2-variations'), url('assets/fonts/albert-sans.woff2') format('woff2'); }
@property --s { syntax: '<number>'; inherits: true; initial-value: 0.875; }
@property --lift { syntax: '<length>'; inherits: true; initial-value: 0px; }

:root {
  --ink: #131925;
  --ink-2: #1b2331;
  --ink-3: #253043;
  --silver: #cdd6e0;
  --silver-dim: #8e9cad;
  --linen: #f3f1ea;
  --cyan: #3cc7e2;
  --serif: 'Outfit', 'Albert Sans', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 6rem);
  --ease: cubic-bezier(.2, .75, .15, 1);
  font-family: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--silver);
  background: var(--ink);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
html { background: #131925; }
#how, #boxes { scroll-margin-top: 5rem; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1.0625rem; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 400; color: #f4f6f8; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p, ul, ol, dl { margin: 0; }
a { color: #e9eef3; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -4rem; padding: .6rem 1rem; background: var(--linen); color: var(--ink); z-index: 50; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  min-height: 3.2rem; padding: 0 1.9rem; border-radius: 999px;
  background: var(--linen); color: var(--ink); font-weight: 650; text-decoration: none; letter-spacing: .01em;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, #ffffff, #dfe7ee 45%, #b9c6d3); opacity: 0; transition: opacity .45s var(--ease); }
.button:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 16px 40px -16px rgba(60, 199, 226, .55); }
.button:hover::before { opacity: 1; }
.button-small { min-height: 2.6rem; padding: 0 1.25rem; font-size: .95rem; }
.text-link { font-weight: 600; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding: 1rem var(--gutter); border-bottom: 1px solid rgba(205,214,224,.06); padding-block: .7rem; background: rgba(15, 20, 31, .82); }
.js .site-header { transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease); }
.site-header.scrolled { background: rgba(15, 20, 31, .94); padding-block: .5rem; border-bottom-color: rgba(205,214,224,.1); }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; justify-self: start; }
.brand-emblem { width: 3rem; height: auto; filter: drop-shadow(0 4px 14px rgba(60,199,226,.28)); }
.brand-text { display: grid; gap: .32rem; width: max-content; }
.brand-name { width: 0; min-width: 100%; height: auto; }
.brand-line { display: flex; justify-content: space-between; align-items: center; gap: .26rem; font-size: .42rem; letter-spacing: .06em; text-transform: uppercase; color: #9ad8f8; white-space: nowrap; }
.brand-line i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.site-nav { display: flex; gap: .3rem; padding: .35rem; border-radius: 999px; background: rgba(205,214,224,.07); border: 1px solid rgba(205,214,224,.14); }
.site-nav a { padding: .55rem 1.1rem; border-radius: 999px; color: var(--silver); text-decoration: none; font-size: .95rem; transition: background .35s var(--ease), color .35s var(--ease); }
.site-nav a:hover { background: rgba(205,214,224,.14); color: #fff; }
.site-nav a[aria-current="page"] { background: rgba(205,214,224,.14); color: #fff; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.4rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-content: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 80% at 75% 35%, #22304a 0%, rgba(34,48,74,0) 70%), radial-gradient(60% 60% at 10% 90%, #1a2a33 0%, rgba(26,42,51,0) 70%), var(--ink); }
.sheet { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-text { padding: 8rem var(--gutter) 6rem; max-width: 46rem; }
.hero h1 { font-size: clamp(3rem, 6.6vw, 6.6rem); font-weight: 600; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .split .w > span { transform: translateY(110%) rotate(4deg); animation: word 1.1s var(--ease) .15s forwards; }
  .split .w:nth-child(2) > span { animation-delay: .22s; } .split .w:nth-child(3) > span { animation-delay: .29s; }
  .split .w:nth-child(4) > span { animation-delay: .36s; } .split .w:nth-child(5) > span { animation-delay: .43s; }
  .split .w:nth-child(6) > span { animation-delay: .5s; } .split .w:nth-child(7) > span { animation-delay: .57s; }
  .split .w:nth-child(8) > span { animation-delay: .64s; } .split .w:nth-child(9) > span { animation-delay: .71s; }
  .rise { opacity: 0; animation: rise 1s var(--ease) .75s forwards; }
}
@keyframes word { to { transform: none; } }
.lead { margin-top: 1.75rem; font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 31rem; color: var(--silver); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-hint { position: absolute; right: var(--gutter); bottom: 1.6rem; font-size: .85rem; color: var(--silver-dim); }

/* Steps: sideways on wide screens */
.steps { --pinned: 0; position: relative; background: var(--linen); color: var(--ink); }
.steps h2, .steps h3 { color: var(--ink); }
.steps-sticky { padding: clamp(4.5rem, 9vw, 7rem) var(--gutter); }
.steps-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.steps h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.steps-progress { width: min(18rem, 30vw); height: 2px; background: rgba(19,25,37,.15); }
.steps-progress span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.steps-track { list-style: none; padding: 0; margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.step-card { position: relative; padding: 2rem; min-height: 20rem; border-radius: 18px; background: #fbfaf6; box-shadow: 0 1px 0 rgba(19,25,37,.08), 0 30px 60px -40px rgba(19,25,37,.45); display: grid; align-content: end; gap: .6rem; overflow: hidden; }
.step-num { position: absolute; top: 1.2rem; right: 1.6rem; font-family: var(--serif); font-size: 7rem; line-height: 1; color: rgba(19,25,37,.08); }
.step-card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; line-height: 1.1; }
.step-card p { color: #4f5a69; max-width: 24rem; }
@media (min-width: 981px) {
  .steps { --pinned: 1; height: 280vh; }
  .steps-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-content: center; overflow: hidden; }
  .steps-track { display: flex; gap: 1.5rem; width: max-content; will-change: transform; }
  .step-card { width: min(34rem, 42vw); min-height: 24rem; }
}

/* Boxes */
.boxes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(5rem, 10vw, 8rem) var(--gutter); background: radial-gradient(60% 70% at 75% 50%, #20304a, rgba(32,48,74,0) 70%), var(--ink-2); }
.boxes h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); max-width: 13ch; }
.box-tabs { display: inline-flex; gap: .3rem; margin-top: 2.25rem; padding: .3rem; border-radius: 999px; background: rgba(205,214,224,.08); border: 1px solid rgba(205,214,224,.14); }
.box-tabs button { min-height: 2.7rem; padding: 0 1.4rem; border: 0; border-radius: 999px; background: transparent; color: var(--silver); font: inherit; font-weight: 600; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease); }
.box-tabs button[aria-pressed="true"] { background: var(--linen); color: var(--ink); }
.box-facts { margin-top: 2rem; }
.box-price { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 6rem); line-height: 1; color: #fff; font-variant-numeric: lining-nums; }
.box-facts dl { margin: 1.5rem 0 2rem; max-width: 26rem; }
.box-facts dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(205,214,224,.14); }
.box-facts dt { color: var(--silver-dim); }
.box-facts dd { margin: 0; color: #eef2f6; font-weight: 600; }
.fine { margin-top: 2rem; font-size: .92rem; color: var(--silver-dim); max-width: 34rem; }

.box-stage { position: relative; height: clamp(22rem, 38vw, 32rem); display: grid; place-items: center; perspective: 1400px; }
.box-3d {
  --s: .875; --W: calc(300px * var(--s)); --H: calc(210px * var(--s)); --D: calc(220px * var(--s));
  position: relative; width: var(--W); height: var(--H); transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(-38deg); transition: --s .9s var(--ease);
}
.motion .box-3d { animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { from { transform: rotateX(-24deg) rotateY(-44deg); } to { transform: rotateX(-20deg) rotateY(-28deg); } }
.face { position: absolute; border: 1px solid rgba(19,25,37,.25); }
.front, .back { width: var(--W); height: var(--H); }
.left, .right { width: var(--D); height: var(--H); left: calc((var(--W) - var(--D)) / 2); }
.bottom { width: var(--W); height: var(--D); top: calc((var(--H) - var(--D)) / 2); }
.front { transform: translateZ(calc(var(--D) / 2)); background: linear-gradient(180deg, #e7edf3, #c3cfdb); }
.back { transform: rotateY(180deg) translateZ(calc(var(--D) / 2)); background: #aeb9c6; }
.right { transform: rotateY(90deg) translateZ(calc(var(--W) / 2)); background: linear-gradient(180deg, #c9d4df, #9fadbd); }
.left { transform: rotateY(-90deg) translateZ(calc(var(--W) / 2)); background: #b6c2cf; }
.bottom { transform: rotateX(-90deg) translateZ(calc(var(--H) / 2)); background: #8f9cab; }
.grip { position: absolute; left: 50%; top: 18%; width: 26%; height: 9%; transform: translateX(-50%); border-radius: 999px; background: rgba(19,25,37,.55); box-shadow: inset 0 2px 4px rgba(0,0,0,.4); }
.mark { position: absolute; left: 0; right: 0; bottom: 18%; text-align: center; font-family: var(--serif); letter-spacing: .3em; font-size: calc(18px * var(--s)); color: rgba(19,25,37,.55); }
.lid { position: absolute; width: calc(var(--W) + 10px); height: calc(var(--D) + 10px); left: -5px; top: calc((var(--H) - var(--D)) / 2 - 5px); transform-style: preserve-3d; transform: rotateX(90deg) translateZ(calc(var(--H) / 2 + 6px + var(--lift))); transition: --lift .6s var(--ease); }
.lid-top { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(135deg, #2a3750, #131925); box-shadow: inset 0 0 0 1px rgba(205,214,224,.25); }
.box-3d.peek .lid { animation: peek 1.2s var(--ease); }
@keyframes peek { 0% { --lift: 0px; } 35% { --lift: 70px; } 100% { --lift: 0px; } }
.box-shadow { position: absolute; bottom: 12%; width: 60%; height: 2.5rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); filter: blur(6px); }

/* Credit and wallet card */
.credit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(5rem, 10vw, 8rem) var(--gutter); background: var(--ink); }
.credit h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); max-width: 14ch; }
.credit-copy > p { margin-top: 1.25rem; font-size: 1.15rem; max-width: 30rem; }
.credit details { margin-top: 1.75rem; max-width: 32rem; border-top: 1px solid rgba(205,214,224,.18); }
.credit summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: #eef2f6; }
.credit details ul { padding-left: 1.1rem; display: grid; gap: .45rem; padding-bottom: .4rem; }
.wallet-wrap { --rx: 0deg; --ry: 0deg; --lx: 30%; --ly: 20%; perspective: 1200px; display: grid; place-items: center; }
.wallet {
  position: relative; width: min(26rem, 88vw); aspect-ratio: 1.586; padding: 1.6rem 1.8rem; border-radius: 22px; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto auto; color: #f2f5f8;
  background: linear-gradient(135deg, #2b3a55 0%, #18202f 55%, #0f141e 100%);
  box-shadow: inset 0 0 0 1px rgba(205,214,224,.22), 0 50px 90px -40px rgba(0,0,0,.8), 0 20px 30px -20px rgba(60,199,226,.25);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease);
}
.motion .wallet { animation: float 6s ease-in-out infinite alternate; }
@keyframes float { from { translate: 0 -6px; } to { translate: 0 6px; } }
.wallet-sheen { position: absolute; inset: 0; background: radial-gradient(circle at var(--lx) var(--ly), rgba(255,255,255,.28), transparent 45%), linear-gradient(115deg, transparent 30%, rgba(60,199,226,.14) 45%, rgba(255,255,255,.08) 52%, transparent 65%); mix-blend-mode: screen; pointer-events: none; }
.wallet img { width: 7.5rem; height: auto; }
.wallet-label { align-self: end; font-size: .9rem; color: var(--silver-dim); }
.wallet-balance { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.wallet-foot { font-size: .9rem; color: var(--silver); }

/* Speed */
.speed { padding: clamp(5rem, 9vw, 7rem) var(--gutter); background: var(--linen); color: var(--ink); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.speed h2 { color: var(--ink); font-size: clamp(2.4rem, 4.6vw, 4.2rem); max-width: 10ch; }
.speed-list { list-style: none; padding: 0; }
.speed-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(19,25,37,.14); font-size: 1.1rem; }
.speed-list li:first-child { border-top: 1px solid var(--ink); }
.speed-list strong { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.speed .fine { grid-column: 2; color: #59636f; margin-top: 0; }

.notes { padding: clamp(4rem, 8vw, 6rem) var(--gutter); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); background: var(--ink-2); }
.notes > div { border-top: 1px solid rgba(205,214,224,.3); padding-top: 1.25rem; }
.notes p { margin-top: .6rem; color: var(--silver-dim); }

/* Reveal */
.motion .reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; filter: none; }
.motion .speed-list .reveal:nth-child(2) { transition-delay: .08s; } .motion .speed-list .reveal:nth-child(3) { transition-delay: .16s; }
.motion .speed-list .reveal:nth-child(4) { transition-delay: .24s; } .motion .speed-list .reveal:nth-child(5) { transition-delay: .32s; }

/* Footer */
.site-footer { padding: clamp(5rem, 9vw, 7rem) var(--gutter) 2.5rem; background: radial-gradient(60% 80% at 50% 0%, #22304a, rgba(34,48,74,0) 70%), var(--ink); font-size: .95rem; }
.footer-cta { display: grid; justify-items: start; gap: 2rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(205,214,224,.14); }
.footer-cta h2 { font-size: clamp(2.8rem, 6.5vw, 6rem); max-width: 16ch; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem 2rem; margin-top: 3.5rem; align-items: start; }
.footer-col { display: grid; justify-items: start; gap: .8rem; }
.footer-col h3 { font-family: inherit; font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.footer-col a { color: var(--silver); text-decoration: none; transition: color .3s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col span { color: var(--silver-dim); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(205,214,224,.1); display: flex; justify-content: center; text-align: center; color: var(--silver-dim); font-size: .88rem; }
@media (max-width: 900px) {
}
@media (max-width: 760px) {
  .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
}
@media (max-width: 520px) {
  .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; }
}

@media (max-width: 980px) {
  .hero { align-content: end; }
  .hero-text { padding: 46svh var(--gutter) 4rem; }
  .hero-hint { display: none; }
  .boxes, .credit, .speed { grid-template-columns: 1fr; }
  .box-stage { order: -1; height: 20rem; }
  .speed .fine { grid-column: 1; }
}
@media (max-width: 760px) {
  .brand-emblem { width: 3rem; }
  .brand-line { font-size: .4rem; letter-spacing: .05em; gap: .22rem; }
  .site-nav { gap: 0; padding: .25rem; }
  .site-nav a { padding: .45rem .6rem; font-size: .84rem; }
  .steps-track { grid-template-columns: 1fr; }
  .step-card { min-height: 15rem; }
  .steps-progress { display: none; }
  .notes { grid-template-columns: 1fr; }
  .box-stage { height: 15rem; }
  .box-3d { scale: .62; }
}

@media (max-width: 1100px) { .site-nav a { padding: .5rem .8rem; } }
@media (max-width: 860px) {
  .site-header { grid-template-columns: auto 1fr; row-gap: .7rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
.button-small { white-space: nowrap; }
@media (max-width: 480px) {
  .brand { gap: .22rem; }
  .brand-emblem { width: 2.8rem; }
  .brand-line i { width: 3px; height: 3px; }
  .site-header .button-small { min-height: 2.3rem; padding: 0 .85rem; font-size: .82rem; }
}

/* Pre-launch notice bar (remove at launch) */
.site-header:has(.launch-bar) { padding-top: 0 !important; }
.launch-bar { grid-column: 1 / -1; margin: 0 calc(-1 * var(--gutter)); padding: .4rem var(--gutter); text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .01em; color: #0f141f; background: var(--cyan); }
.launch-bar { grid-row: 1; }
@media (max-width: 860px) {
  /* With the launch bar on row 1, keep logo and Log in on row 2 and the menu below them on row 3. */
  .site-header:has(.launch-bar) .site-nav { grid-row: 3; }
  /* On phones the page should not show through the header. */
  .site-header, .site-header.scrolled { background: rgba(15, 20, 31, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
