/* Dimfloor — the frosted floor. Minimal, glassy, cool. */
:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --fg: #eef1f5;
  --fg-dim: rgba(238, 241, 245, 0.62);
  --fg-mute: rgba(238, 241, 245, 0.4);
  --line: rgba(238, 241, 245, 0.08);
  --line-2: rgba(238, 241, 245, 0.14);
  --ice: #d6ecff;                 /* frosted light */
  --ice-dim: rgba(214, 236, 255, 0.16);
  --iri: linear-gradient(110deg, #e6f3ff 0%, #c9d7ff 35%, #e9d6ff 65%, #d8fbf3 100%); /* iridescent edge */
  --glass-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02) 60%);
  --glass-border: rgba(255, 255, 255, 0.12);

  --f-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --f-serif: "Instrument Serif", "Times New Roman", serif;

  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; }
body { font-family: var(--f-sans); font-size: 15px; line-height: 1.6; background: var(--bg); overflow-x: hidden; font-weight: 400; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-family: var(--f-serif); font-weight: 400; padding-right: 0.06em; letter-spacing: -0.02em; }
/* SplitText wraps words in their own boxes, so the gradient goes on every piece */
em, em * { background: var(--iri); -webkit-background-clip: text; background-clip: text; color: transparent; }
code { font-family: var(--f-mono); font-size: 0.85em; color: var(--ice); }
::selection { background: var(--ice); color: var(--bg); }

/* ---------- fixed layers ---------- */
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.veil-light {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(214, 236, 255, 0.10), transparent 70%),
    radial-gradient(40% 40% at 50% 110%, rgba(201, 215, 255, 0.06), transparent 70%);
}
#smooth-wrapper { position: relative; z-index: 3; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 30; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--iri); transform-origin: left; transform: scaleX(0); }

/* ---------- glass ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.glass::before { /* iridescent hairline on the top edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(230, 243, 255, 0.35), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 20;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(12, 14, 19, 0.45); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; letter-spacing: -0.01em; }
.nav__mark { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #c9d7ff 45%, #6f7c95 100%); box-shadow: 0 0 14px rgba(214, 236, 255, 0.45); }
.nav__links { display: flex; gap: 26px; font-size: 13px; color: var(--fg-dim); }
.nav__links a { transition: color 0.3s; }
.nav__links a:hover { color: var(--fg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn--light { background: var(--fg); color: var(--bg); box-shadow: 0 0 0 0 rgba(214, 236, 255, 0); }
.btn--light:hover { box-shadow: 0 0 30px rgba(214, 236, 255, 0.35); }
.btn--glass { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); color: var(--fg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.12); }
.btn small { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.55; }
.btn[aria-disabled="true"] { cursor: default; }
.nav__cta { height: 38px; padding: 0 16px; font-size: 13px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 1px solid var(--ice); outline-offset: 3px; }

/* ---------- type ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-dim);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.eyebrow span { color: var(--ice); }
.h2 { font-weight: 500; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -0.045em; margin: 20px 0 24px; }
.serif { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }
.serif-i { font-size: 0.8em; letter-spacing: -0.01em; }
.body { color: var(--fg-dim); max-width: 46ch; font-size: 15px; }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -3%; right: -3%; top: 54%; height: 0.07em; background: var(--iri); transform: scaleX(var(--strike, 0)); transform-origin: left; border-radius: 1em; }
.split-line { overflow: hidden; display: block; padding-bottom: 0.06em; }

section { position: relative; padding: 0 var(--pad); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; padding-top: 90px; padding-bottom: 60px; }
.hero__center { display: grid; justify-items: center; text-align: center; gap: 22px; max-width: 920px; margin-top: 36vh; }
.hero__title { font-weight: 500; font-size: clamp(52px, 8.6vw, 132px); line-height: 0.95; letter-spacing: -0.055em; }
.hero__sub { color: var(--fg-dim); max-width: 52ch; font-size: 16px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.corner {
  position: absolute; display: grid; gap: 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--fg-mute); text-transform: uppercase;
}
.corner b { color: var(--ice); font-weight: 400; }
.corner--tl { top: 96px; left: var(--pad); }
.corner--tr { top: 96px; right: var(--pad); text-align: right; }
.corner--bl { bottom: 28px; left: var(--pad); display: flex; align-items: center; gap: 12px; }
.corner--br { bottom: 28px; right: var(--pad); }
.scroll-line { width: 64px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--ice); animation: scan 2.4s var(--ease) infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
/* + marks in the hero, like registration crosses on a print */
.hero::before, .hero::after { content: "+"; position: absolute; font-family: var(--f-mono); color: var(--fg-mute); font-size: 14px; top: 50%; }
.hero::before { left: var(--pad); }
.hero::after { right: var(--pad); }

/* ---------- CA ---------- */
.ca {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  padding: 9px 14px; border-radius: 12px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.03);
  font-family: var(--f-mono); font-size: 12px; color: var(--fg-dim); cursor: default; text-align: left;
}
.ca__k { font-size: 10px; letter-spacing: 0.14em; color: var(--ice); }
.ca__v { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca__copy { display: none; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.ca.is-live { border-style: solid; border-color: var(--ice-dim); color: var(--fg); cursor: pointer; }
.ca.is-live .ca__copy { display: inline; }
.ca.is-live:hover { border-color: var(--ice); }
.ca--center { margin: 0 auto; }
.ticker { color: var(--ice); font-weight: 500; }

/* ---------- watched ---------- */
.watched { min-height: 100svh; }
.watched__pin { min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; gap: 6vw; align-items: center; padding: 110px 0; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; border-top: 1px solid var(--line-2); padding-top: 22px; }
.stats b { display: block; font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -0.04em; }
.stats span { display: block; font-size: 12px; color: var(--fg-mute); margin-top: 8px; }
.trackers { width: 100%; max-width: 540px; justify-self: center; color: var(--fg-mute); overflow: visible; }
.trackers__lines path { stroke-dasharray: 3 6; }
.trackers__bots circle { fill: var(--bg); stroke: var(--fg-dim); stroke-width: 1; }
.trackers__you .halo { fill: rgba(214, 236, 255, 0.04); stroke: var(--ice); stroke-width: 1; opacity: 0.6; }
.trackers__you .core { fill: var(--ice); }
.trackers__you text, .trackers__note { font-family: var(--f-mono); font-size: 12px; fill: var(--fg-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.trackers__note tspan { fill: var(--ice); }

/* ---------- two floors ---------- */
.floors { display: grid; grid-template-columns: 1fr minmax(320px, 500px); gap: 6vw; align-items: center; padding-top: 140px; padding-bottom: 140px; }
.switch { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.switch__track { position: relative; width: 60px; height: 30px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06); }
.switch__track i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, 0.6); transition: transform 0.5s var(--ease), background 0.4s, box-shadow 0.4s; }
.switch[aria-checked="false"] .switch__track i { transform: translateX(30px); background: var(--iri); box-shadow: 0 0 18px rgba(201, 215, 255, 0.5); filter: blur(0.4px); }
.switch[aria-checked="true"] .switch__label--on, .switch[aria-checked="false"] .switch__label--off { color: var(--fg); }

.wallet-card { padding: 26px; overflow: hidden; transition: background 0.6s, border-color 0.6s; }
.wallet-card[data-lights-on="false"] { background: linear-gradient(160deg, rgba(214, 236, 255, 0.10), rgba(255, 255, 255, 0.02) 60%); }
.wallet-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.wallet-card__title { font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-mute); border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 10px; }
.wallet-card__rows > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.wallet-card__rows dt { color: var(--fg-mute); }
.wallet-card__rows dd { text-align: right; font-family: var(--f-mono); font-size: 12px; }
.wallet-card[data-lights-on="true"] .wallet-card__rows dd { color: #ffd7c2; }
.wallet-card[data-lights-on="false"] .wallet-card__rows dd { color: var(--ice); }
.wallet-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.wallet-card__verdict { font-family: var(--f-serif); font-style: italic; font-size: 24px; }
.wallet-card__radar { position: relative; width: 40px; height: 40px; }
.wallet-card__radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #ffd7c2; animation: radar 2.4s ease-out infinite; }
.wallet-card__radar i:nth-child(2) { animation-delay: 0.8s; }
.wallet-card__radar i:nth-child(3) { animation-delay: 1.6s; }
.wallet-card[data-lights-on="false"] .wallet-card__radar i { animation: none; opacity: 0.2; border-color: var(--fg-mute); }
@keyframes radar { from { transform: scale(0.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- how ---------- */
.how { height: 100svh; overflow: hidden; padding-top: 120px; display: flex; flex-direction: column; }
.how__head { max-width: 900px; }
.how__track { display: flex; gap: 18px; width: max-content; padding: 20px 0 40px; margin: auto 0; }
.step { width: min(400px, 78vw); min-height: 320px; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.step__num { font-family: var(--f-mono); font-size: 12px; color: var(--ice); letter-spacing: 0.1em; }
.step h3 { font-weight: 500; font-size: 30px; letter-spacing: -0.035em; line-height: 1.05; }
.step p { color: var(--fg-dim); flex: 1; font-size: 14px; }
.step code { padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; }

/* ---------- fees / mixer ---------- */
.fees { padding-top: 140px; padding-bottom: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.mixer { padding: 26px; }
.mixer__presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); cursor: pointer; font-family: var(--f-sans); font-size: 12px; color: var(--fg-dim); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.chip:hover { color: var(--fg); border-color: var(--fg-mute); }
.chip.is-active { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.mixer__bar { display: flex; height: 10px; border-radius: 8px; overflow: hidden; gap: 3px; margin-bottom: 8px; }
.mixer__bar i { display: block; height: 100%; flex: 0 0 auto; border-radius: 4px; }
.mixer__bar i[data-seg="0"], .sw--privacy { background: var(--iri); box-shadow: 0 0 14px rgba(201, 215, 255, 0.35); }
.mixer__bar i[data-seg="1"], .sw--burn { background: #f2f4f7; }
.mixer__bar i[data-seg="2"], .sw--holders { background: #8d97a8; }
.mixer__bar i[data-seg="3"], .sw--creator { background: rgba(238, 241, 245, 0.28); }
.mixer__bar i[data-seg="4"], .sw--platform { background: repeating-linear-gradient(135deg, rgba(214, 236, 255, 0.5) 0 3px, rgba(214, 236, 255, 0.15) 3px 6px); }
.mixer__row { display: grid; grid-template-columns: 10px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.mixer__row:first-child { border-top: 0; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.mixer__name { font-size: 14px; display: grid; gap: 2px; }
.mixer__name small { font-size: 12px; color: var(--fg-mute); }
.mixer__row b { font-weight: 500; font-size: 26px; letter-spacing: -0.04em; line-height: 1; min-width: 2.6ch; text-align: right; }
.mixer__row--fixed { color: var(--fg-dim); }
.mixer__row--fixed b { color: var(--fg-dim); }
.mixer__rules { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mixer__rules li { font-size: 12px; color: var(--fg-dim); border: 1px solid var(--line-2); border-radius: 99px; padding: 6px 12px; background: rgba(255, 255, 255, 0.02); }
.mixer__rules b { color: var(--ice); font-weight: 500; }
.fees__loop { grid-column: 1 / -1; text-align: center; color: var(--fg); margin-top: 30px; }

/* ---------- honest ---------- */
.honest { padding-top: 120px; padding-bottom: 140px; }
.honest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.col { padding: 26px; }
.col--lit { background: linear-gradient(160deg, rgba(214, 236, 255, 0.12), rgba(255, 255, 255, 0.02) 60%); }
.col h4 { font-weight: 500; font-size: 20px; letter-spacing: -0.03em; margin-bottom: 14px; }
.col ul { list-style: none; display: grid; gap: 10px; }
.col li { color: var(--fg-dim); padding-left: 16px; position: relative; font-size: 14px; }
.col li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 1px; background: currentColor; }
.col--lit li { color: var(--fg); }

/* ---------- built ---------- */
.built { padding-top: 40px; padding-bottom: 140px; }
.built__list { list-style: none; margin-top: 26px; border-top: 1px solid var(--line-2); }
.built__list li { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.built__list b { font-weight: 500; font-size: 22px; letter-spacing: -0.03em; }
.built__list span { color: var(--fg-dim); align-self: center; }

/* ---------- launch ---------- */
.launch { min-height: 120svh; display: grid; align-content: end; justify-items: center; text-align: center; gap: 22px; padding-top: 52svh; padding-bottom: 90px; }
.launch__title { font-weight: 500; font-size: clamp(90px, 16vw, 260px); line-height: 0.9; letter-spacing: -0.06em; }
.launch__body { margin: 0 auto 6px; text-align: center; }
.launch__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px var(--pad); border-top: 1px solid var(--line); font-size: 12px; color: var(--fg-mute); }
.foot__links { display: flex; gap: 18px; }
.foot__links a:hover { color: var(--fg); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__center { margin-top: 40vh; }
  .corner--tr, .corner--br, .hero::before, .hero::after { display: none; }
  .watched__pin { grid-template-columns: 1fr; padding: 90px 0 60px; }
  .trackers { max-width: 360px; }
  .stats { grid-template-columns: 1fr; }
  .floors { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 100px; }
  .how { height: auto; }
  .how__track { flex-direction: column; width: 100%; }
  .step { width: 100%; min-height: 0; }
  .fees { grid-template-columns: 1fr; padding-top: 100px; }
  .honest__grid { grid-template-columns: 1fr; }
  .built__list li { grid-template-columns: 1fr; gap: 6px; }
  .launch { padding-top: 46svh; }
}
@media (max-width: 480px) {
  .nav { padding-left: 14px; }
  .hero__title { font-size: 50px; }
  .corner--tl { top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .dot, .scroll-line::after, .wallet-card__radar i { animation: none; }
}

/* brand-art mode: stage only */
.is-clean #smooth-wrapper, .is-clean .nav, .is-clean .progress { display: none !important; }
