/* ==========================================================================
   MYRIAS
   Liquid glass over the red ribbon. The mark's light glows behind every
   surface; capsules bend it, frosted panels soften it. iOS type, cream birds.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0A0807;
  --bg-2: #100C0B;

  /* frosted glass: panels and cards that carry text */
  --glass: linear-gradient(160deg, rgba(255, 244, 240, .09), rgba(255, 244, 240, .03) 50%, rgba(255, 244, 240, .05));
  --glass-flat: rgba(255, 244, 240, .07);
  --glass-hi: rgba(255, 244, 240, .12);
  --glass-brd: rgba(255, 238, 232, .12);
  --glass-brd-2: rgba(255, 238, 232, .24);
  --glass-in: rgba(6, 4, 4, .42);
  --blur: blur(20px) saturate(170%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 70px -40px rgba(0, 0, 0, .95);
  /* liquid glass rim: the specular edge that makes a capsule read as glass */
  --rim: inset 1.5px 1.5px 1px rgba(255, 255, 255, .42), inset -1px -1px 1px rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .07);

  --line: rgba(242, 236, 226, .08);
  --line-2: rgba(242, 236, 226, .15);
  --line-3: rgba(242, 236, 226, .28);

  --text: #F7F2EC;
  --text-2: #CFC4BA;
  --text-3: #998D85;                  /* 5.4:1 on --bg */

  --red: #E0303A;
  --red-btn: #D3252F;
  --red-text: #FF7A80;
  --red-deep: #7C0E16;
  --blush: #F6C2BA;
  --red-wash: rgba(224, 48, 58, .15);
  --ok: #93D6AA;
  --ribbon: linear-gradient(112deg, #FAD9D1 0%, #F4868A 20%, #E53742 44%, #B0141F 74%, #74101A 100%);

  /* fee split tones */
  --c-burn: #E8343F;
  --c-hold: #F6C2BA;
  --c-r1: #F7F2EC;
  --c-r2: #CDBFB3;
  --c-r3: #A09286;
  --c-r4: #72665D;

  /* iOS type: SF where the system has it, Inter (its closest open cousin) everywhere else */
  --f-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --f-ui: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: var(--f-ui);
  --f-code: "SF Mono", ui-monospace, "Martian Mono", Menlo, Consolas, monospace;

  --t-xs: .6875rem;
  --t-s: .8125rem;
  --t-0: .9375rem;
  --t-1: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --t-2: clamp(1.5rem, 1.25rem + 1vw, 2.1rem);
  --t-3: clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem);
  --t-hero: clamp(2rem, 1rem + 3.4vw, 4.4rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 128px;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --hdr-h: 58px;
  --hdr-top: 14px;
  --r-s: 10px;
  --r: 16px;
  --r-l: 22px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.45, .5, 1);

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g' x='0' y='0'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .96  0 0 0 0 .92  0 0 0 0 .88  0 0 0 1.6 -.86'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + var(--hdr-top) + 20px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background: transparent;            /* the page colour lives on <html>, so the aura glows through */
  color: var(--text);
  font-family: var(--f-ui);
  font-size: var(--t-0);
  line-height: 1.55;
  letter-spacing: -.011em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body::after {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none;
  background-image: var(--grain); background-size: 200px 200px; opacity: .05; mix-blend-mode: screen;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
code { font-family: var(--f-code); font-size: .84em; letter-spacing: 0; }
em { font-style: normal; }
b, strong { font-weight: 600; }
::selection { background: var(--red-btn); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s-4); top: -60px; z-index: 300; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: var(--s-3); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* the mark's ribbon, blown up into light behind everything */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; transition: opacity 2.4s var(--ease-out); }
.aura::after { content: ""; position: absolute; inset: 0; background: radial-gradient(130% 100% at 50% 45%, transparent 35%, rgba(10, 8, 7, .65) 100%); }
.aura__r { position: absolute; width: 24vmax; max-width: none; height: auto; opacity: 0; filter: blur(13px) saturate(1.4); will-change: transform; transition: opacity 2.4s var(--ease-out); }
.aura__r.is-keyed { opacity: .66; }
.aura__r--1 { right: 4vmax; top: 10vmax; transform: rotate(-14deg) scale(2.5); }
.aura__r--2 { left: 4vmax; top: 64vh; transform: rotate(168deg) scaleX(-1) scale(2.7); }
.aura__r--2.is-keyed { opacity: .46; }
.aura__r--3 { right: 30vw; bottom: -10vh; transform: rotate(38deg) scale(2.2); }
.aura__r--3.is-keyed { opacity: .32; }

/* type helpers */
.mono, .label, .kicker { font-family: var(--f-ui); font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.label { display: block; margin-bottom: var(--s-2); }
.kicker { color: var(--red-text); }
.h1, .h2 { font-family: var(--f-display); font-weight: 650; letter-spacing: -.035em; }
.h1 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); line-height: 1.02; }
.h2 { font-size: var(--t-2); line-height: 1.06; }
.h1 em, .h2 em, .dlg__t em, .claimdone__big em { background: var(--ribbon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--text-2); font-size: var(--t-1); line-height: 1.5; max-width: 40em; letter-spacing: -.015em; }
.fine { font-size: var(--t-s); color: var(--text-3); display: flex; align-items: center; gap: var(--s-2); }
.fine__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 10px var(--red); }

/* glass type: bright at the top, clearer towards the bottom, a slow light sweep */
.gt {
  background:
    linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .8) 50%, transparent 60%) 160% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #FFFFFF 0%, rgba(255, 250, 247, .96) 38%, rgba(255, 238, 233, .78) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s var(--ease-io) 3s infinite;
}
.gt--red {
  background:
    linear-gradient(100deg, transparent 40%, rgba(255, 236, 232, .85) 50%, transparent 60%) 160% 0 / 260% 100% no-repeat,
    linear-gradient(180deg, #FFDCD6 0%, #FF8C90 42%, rgba(236, 56, 66, .88) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes sheen { 0% { background-position: 160% 0, 0 0; } 28%, 100% { background-position: -70% 0, 0 0; } }

/* ---------- 3. Glass ---------- */
/* frosted: surfaces that carry text */
.card, .panel, .pv__card, .pv__fees, .step, .nothing, .faq__list, .tile, .dlg, .cta__card {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--glass-shadow);
}
.card, .panel, .pv__card, .pv__fees, .step, .nothing, .faq__list, .tile, .cta__card { position: relative; }
/* a light-catching edge: bright top-left, a red glint bottom-right */
.card::after, .panel::after, .pv__card::after, .pv__fees::after, .step::after, .nothing::after, .faq__list::after, .tile::after, .dlg::after, .cta__card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .03) 30%, rgba(255, 255, 255, 0) 62%, rgba(255, 122, 128, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* liquid: capsules that bend the light (nav, dock). The lens lives in ::before, the tint and rim in ::after. */
.lg { position: relative; isolation: isolate; }
.lg::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; overflow: hidden;
  -webkit-backdrop-filter: blur(10px) saturate(185%) brightness(1.06); backdrop-filter: blur(10px) saturate(185%) brightness(1.06);
}
.lg-refract .lg::before {                    /* Chromium: bend what's behind the glass */
  -webkit-backdrop-filter: blur(3px) saturate(190%) brightness(1.1); backdrop-filter: blur(3px) saturate(190%) brightness(1.1);
  filter: url(#lg-refract);
}
.lg::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% -10%, rgba(255, 255, 255, .22), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 55%, rgba(255, 255, 255, .07));
  box-shadow: var(--rim), 0 14px 40px -14px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .25);
}
/* small liquid segments (board filters) */
.lgs {
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--rim), 0 10px 30px -14px rgba(0, 0, 0, .6);
}

/* ---------- 4. Buttons ---------- */
.btn {
  --h: 44px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px;
  border: 0; border-radius: 999px; background: transparent;
  font-weight: 590; font-size: var(--t-0); line-height: 1; text-decoration: none; white-space: nowrap; letter-spacing: -.015em;
  transition: background-color .2s, color .2s, transform .35s var(--spring), box-shadow .3s, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--red {
  background:
    radial-gradient(120% 120% at 20% -20%, rgba(255, 255, 255, .35), transparent 50%),
    linear-gradient(180deg, #F2464F, #D3252F 55%, #B3182A);
  color: #fff;
  box-shadow: inset 1.5px 1.5px 1px rgba(255, 255, 255, .45), inset -1px -1px 1px rgba(0, 0, 0, .2), 0 14px 34px -12px rgba(224, 48, 58, .8), 0 2px 6px rgba(0, 0, 0, .3);
}
.btn--red:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.07); box-shadow: inset 1.5px 1.5px 1px rgba(255, 255, 255, .5), inset -1px -1px 1px rgba(0, 0, 0, .2), 0 20px 46px -12px rgba(224, 48, 58, .9), 0 2px 6px rgba(0, 0, 0, .3); }
.btn--glass, .btn--line {
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--rim), 0 10px 26px -12px rgba(0, 0, 0, .6);
}
.btn--glass:hover, .btn--line:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .19), rgba(255, 255, 255, .07)); transform: translateY(-2px) scale(1.02); }
.btn--ghost { color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.btn--sm { --h: 38px; padding: 0 15px; font-size: var(--t-s); }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; justify-content: space-between; }
.btn .arr { transition: transform .35s var(--spring); }
.btn:hover .arr { transform: translateX(4px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .arr { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (pointer: coarse) { .btn--sm { --h: 44px; } }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--text-2); font-size: var(--t-s); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: .25em; }
.link-btn:hover { color: var(--text); text-decoration-color: var(--text-2); }
.mini-btn { border: 0; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 600; color: var(--text-2); }
.mini-btn:hover { color: var(--text); background: rgba(255, 255, 255, .13); }

/* ---------- 5. Header: a floating liquid-glass capsule ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: center;
  height: calc(var(--hdr-h) + var(--hdr-top)); padding-top: var(--hdr-top);
  pointer-events: none;
  transition: opacity .9s var(--ease-out) .1s;
}
.hdr__in {
  pointer-events: auto;
  width: min(calc(100% - 2 * var(--gutter)), 1040px);
  height: var(--hdr-h); display: flex; align-items: center; gap: var(--s-4);
  padding: 0 8px 0 16px; border-radius: 999px;
  transition: width .7s var(--spring), transform .5s var(--ease-out);
}
.hdr.is-scrolled .hdr__in { width: min(calc(100% - 2 * var(--gutter)), 900px); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand__mark { width: 32px; height: 32px; object-fit: contain; transition: opacity .6s; }
.brand__mark:not(.is-keyed) { opacity: 0; }
.brand__word { font-family: var(--f-display); font-weight: 650; font-size: 1.28rem; line-height: 1; letter-spacing: -.045em; }
.badge { margin-left: 2px; font-size: 10px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--red-text); background: rgba(224, 48, 58, .16); box-shadow: inset 0 0 0 1px rgba(255, 122, 128, .28); border-radius: 999px; padding: 3px 8px; }
.nav { position: relative; display: flex; gap: 0; margin-left: auto; padding: 4px; }
.nav a { position: relative; z-index: 1; padding: 8px 15px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 510; font-size: var(--t-s); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav__lens {                                 /* a drop of glass that slides between tabs */
  position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--lw, 0); z-index: 0;
  transform: translateX(var(--lx, 0)); opacity: 0; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .45), inset -1px -1px 1px rgba(255, 255, 255, .12), 0 6px 16px -6px rgba(0, 0, 0, .55);
  transition: transform .55s var(--spring), width .55s var(--spring), opacity .3s;
}
.nav.has-lens .nav__lens { opacity: 1; }
.hdr__act { display: flex; align-items: center; gap: 4px; margin-left: var(--s-2); }
.wal.is-on { gap: 8px; padding-left: 13px; }
.wal__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(147, 214, 170, .8); flex: none; }
.wal__bal { color: var(--text-2); font-weight: 500; }
.wal__addr { font-family: var(--f-code); font-size: 11.5px; font-weight: 500; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); align-items: center; justify-content: center; }
.menu-btn__lines { display: grid; gap: 5px; width: 18px; }
.menu-btn__lines span { height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 49; background: rgba(10, 8, 7, .6); -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%); animation: fade .25s var(--ease-out); }
.menu__in { height: 100%; display: flex; flex-direction: column; padding: calc(var(--hdr-h) + var(--hdr-top) + var(--s-5)) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom)); }
.menu__nav { display: grid; }
.menu__nav a { font-family: var(--f-display); font-weight: 650; font-size: 2.1rem; letter-spacing: -.04em; line-height: 1.2; padding: 10px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu__nav a[aria-current="page"] { color: var(--red-text); }
.menu__foot { margin-top: auto; display: grid; gap: var(--s-3); }
@keyframes fade { from { opacity: 0; } }

/* ---------- 6. Views ---------- */
.view { min-height: calc(100vh - var(--hdr-h) - var(--hdr-top)); }
.view.is-entering { animation: view-in .7s var(--ease-out); }
@keyframes view-in { from { opacity: 0; transform: translateY(12px); } }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity 1s var(--ease-out) var(--rd, 0s), transform 1.2s var(--ease-out) var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 7. Hero: full screen, centred, the mark glowing behind the words ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  margin-top: calc((var(--hdr-h) + var(--hdr-top)) * -1);
  padding: calc(var(--hdr-h) + var(--hdr-top) + var(--s-5)) 0 var(--s-6);
  overflow: hidden; text-align: center;
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity 1.8s var(--ease-out) .2s;
  background: radial-gradient(70% 55% at 50% 64%, rgba(10, 8, 7, .1), rgba(10, 8, 7, .55) 80%), linear-gradient(180deg, transparent 70%, rgba(10, 8, 7, .7)); }
.intro .hero__scrim { opacity: 0; transition: none; }
.orb {
  position: absolute; left: 50%; top: 58%; z-index: -1; pointer-events: none;
  width: min(66vmin, 700px); aspect-ratio: 1; translate: -50% calc(-50% + var(--sy, 0px));
  transition: opacity 1.4s var(--ease-out) var(--d, 0s), transform 1.8s var(--ease-out) var(--d, 0s);
}
.orb__glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(229, 48, 58, .55), rgba(229, 48, 58, .14) 58%, transparent 76%); filter: blur(34px); animation: breathe 9s ease-in-out infinite; }
.orb__mark {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: saturate(1.15) drop-shadow(0 40px 90px rgba(224, 48, 58, .4));
  animation: float 11s ease-in-out infinite; transition: opacity 1.2s var(--ease-out);
  translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -12px);
}
.orb__mark:not(.is-keyed) { opacity: 0; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes breathe { 0%, 100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.hero__in { margin: auto; padding-top: 12vh; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  font-family: var(--f-display); font-weight: 650; font-size: var(--t-hero); line-height: 1.06; letter-spacing: -.045em;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .1)) drop-shadow(0 24px 60px rgba(0, 0, 0, .5));
}
.hero__title .line { display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0 .06em .12em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; max-width: 100%; }
/* typewriter: the phrase types itself in, holds, and deletes back to a red caret */
.type__caret { display: inline-block; width: .06em; height: .8em; margin-left: .06em; vertical-align: -.04em; border-radius: 4px; background: linear-gradient(180deg, #FFD9D3, #E0303A); box-shadow: 0 0 22px rgba(224, 48, 58, .75); animation: caret 1.05s steps(1) infinite; }
.type.is-typing .type__caret { animation: none; }
/* the ghost (invisible, the whole phrase) sets the footprint; the typed line sits on top, left-aligned,
   so letters appear from a fixed edge and nothing slides. JS reserves the tallest phrase's height. */
.type { display: inline-grid; align-items: center; text-align: left; }
.type__ghost, .type__line { grid-area: 1 / 1; }
.type__ghost { visibility: hidden; padding-right: .14em; }
@keyframes caret { 50% { opacity: 0; } }
.type .gt { animation: sheen 2.4s var(--ease-io) .5s 1 both; }   /* one sweep of light once a phrase settles */
.hero__sub { margin: var(--s-5) auto 0; max-width: 33em; color: var(--text-2); font-size: var(--t-1); line-height: 1.5; letter-spacing: -.015em; text-shadow: 0 2px 20px rgba(10, 8, 7, .8); }
.hero__cta { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }

/* the dock: fee mechanics as a floating glass shelf */
.dock { display: flex; gap: 4px; margin: var(--s-7) auto 0; padding: 7px; border-radius: 26px; max-width: calc(100% - 2 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
.dock::-webkit-scrollbar { display: none; }
.dock__i { display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 20px; text-decoration: none; color: var(--text); white-space: nowrap; transition: transform .45s var(--spring), background-color .25s; }
.dock__i:hover { background: rgba(255, 255, 255, .08); transform: translateY(-6px) scale(1.06); }
.dock__i:hover + .dock__i, .dock__i:has(+ .dock__i:hover) { transform: translateY(-2px) scale(1.02); }
.dock__ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; color: var(--text);
  background: radial-gradient(120% 120% at 25% 0%, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 60%), rgba(255, 255, 255, .04);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .45), inset -1px -1px 1px rgba(255, 255, 255, .1), 0 8px 18px -8px rgba(0, 0, 0, .6); }
.dock__ic--red { color: #fff; background: radial-gradient(120% 120% at 25% 0%, rgba(255, 255, 255, .45), transparent 55%), linear-gradient(160deg, #FF5C64, #C21D2A); }
.dock__ic svg, .tile__ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock__l { font-size: var(--t-s); font-weight: 510; color: var(--text-2); }
.dock__l b { color: var(--text); font-weight: 650; }

/* ---------- 8. Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 30px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); letter-spacing: -.045em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 244, 240, .3); }
.marquee__track span.is-solid { color: rgba(255, 246, 242, .9); -webkit-text-stroke: 0; }
.marquee__track span.is-red { background: var(--ribbon); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 0; }
.marquee__track i { font-style: normal; color: var(--red); font-size: 1rem; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 9. Sections ---------- */
.sec { position: relative; padding: var(--s-9) 0; }
.sec__head { display: grid; justify-items: center; gap: var(--s-4); text-align: center; max-width: 820px; margin: 0 auto var(--s-8); }
.sec__head .lede { text-align: center; }
.sec__t { font-family: var(--f-display); font-weight: 650; font-size: var(--t-3); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.sec__t--left { text-align: left; }

/* bento */
.bento {
  display: grid; gap: var(--s-4);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-areas:
    "route route route route route route route burn burn burn burn burn"
    "route route route route route route route hold hold hold hold hold"
    "stock stock stock stock split split split split share share share share";
}
.tile { border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-height: 240px; transition: transform .6s var(--spring), box-shadow .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--glass-shadow), 0 30px 70px -30px rgba(224, 48, 58, .35); }
.tile--route { grid-area: route; }
.tile--burn { grid-area: burn; }
.tile--hold { grid-area: hold; }
.tile--stock { grid-area: stock; }
.tile--split { grid-area: split; }
.tile--share { grid-area: share; }
.tile__k { display: flex; align-items: center; gap: 10px; font-size: var(--t-s); font-weight: 600; color: var(--text-2); }
.tile__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--text); background: radial-gradient(120% 120% at 25% 0%, rgba(255, 255, 255, .28), rgba(255, 255, 255, .05) 60%); box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .4), inset -1px -1px 1px rgba(255, 255, 255, .08); }
.tile__ic svg { width: 17px; height: 17px; }
.tile__ic--red { color: #fff; background: radial-gradient(120% 120% at 25% 0%, rgba(255, 255, 255, .45), transparent 55%), linear-gradient(160deg, #FF5C64, #C21D2A); }
.tile__t { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.5rem, 1.2rem + .9vw, 2.1rem); line-height: 1.06; letter-spacing: -.04em; max-width: 16em; }
.tile__d { color: var(--text-2); max-width: 30em; }
.tile__copy { display: grid; gap: 10px; }

.route { display: grid; gap: 8px; margin-top: auto; padding-top: var(--s-5); }
.route__row { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 48px; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(0, 0, 0, .22); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255, 255, 255, .05); }
.route__av { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, hsl(var(--a) 90% 82%), hsl(var(--a) 70% 48%) 55%, hsl(var(--a) 60% 22%)); box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .4); }
.route__who { display: grid; line-height: 1.25; min-width: 0; }
.route__who b { font-weight: 600; }
.route__who small { color: var(--text-3); font-size: 12px; }
.route__st { font-size: 11px; font-weight: 600; color: var(--ok); padding: 3px 9px; border-radius: 999px; background: rgba(147, 214, 170, .1); }
.route__st.is-wait { color: var(--blush); background: rgba(246, 194, 186, .1); }
.route__pct { font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }

.burn { display: flex; align-items: flex-end; gap: 6px; height: 110px; margin-top: auto; }
.burn i { flex: 1; border-radius: 6px 6px 3px 3px; height: var(--h); background: linear-gradient(180deg, #FF8A8F, #E0303A 55%, rgba(124, 14, 22, .6)); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .35); transform-origin: bottom; }
.tile.is-in .burn i { animation: bar-in 1.2s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes bar-in { from { transform: scaleY(.1); opacity: 0; } }

.dots { display: grid; grid-template-columns: repeat(16, 1fr); gap: 7px; margin-top: auto; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.dots i.on { background: radial-gradient(circle at 35% 30%, #FFE2DC, var(--blush) 50%, #C9786E); box-shadow: 0 0 12px rgba(246, 194, 186, .5); animation: pulse-dot 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 70ms); }
@keyframes pulse-dot { 0%, 100% { opacity: .55; transform: scale(.85); } 45% { opacity: 1; transform: scale(1); } }

.tickers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tickers span { padding: 8px 14px; border-radius: 999px; font-weight: 650; font-size: var(--t-s); background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03)); box-shadow: var(--rim); animation: bob 6s ease-in-out infinite; }
.tickers span:nth-child(2n) { animation-delay: -2s; }
.tickers span:nth-child(3n) { animation-delay: -4s; }
.tickers span:first-child { color: #fff; background: radial-gradient(120% 120% at 25% 0%, rgba(255, 255, 255, .4), transparent 55%), linear-gradient(160deg, #FF5C64, #C21D2A); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.split--demo { height: 14px; border-radius: 999px; margin-top: auto; }
.split--demo > span { min-width: 0; transition: flex-grow .9s var(--spring), background-color .5s; }
.demo { display: grid; gap: 6px; margin-top: 12px; }
.demo li { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; font-size: var(--t-s); color: var(--text-2); }
.demo li i { width: 10px; height: 10px; border-radius: 3px; }
.demo li b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
#demo-name { transition: opacity .3s; }
#demo-name.is-out { opacity: 0; }

.linkpill { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-code); font-size: 12px; color: var(--text-2); }
.linkpill span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkpill i { flex: none; font-style: normal; font-family: var(--f-ui); font-weight: 600; font-size: 12px; color: var(--text); padding: 7px 13px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); box-shadow: var(--rim); }
.feat__cta { display: flex; justify-content: center; margin-top: var(--s-7); }

/* ---------- 10. Board ---------- */
.board { padding-top: var(--s-8); }
.board__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-5); }
.board__title { display: grid; gap: 6px; }
.board__tools { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.seg { display: flex; gap: 2px; padding: 4px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg button { border: 0; background: none; color: var(--text-3); font-size: var(--t-s); font-weight: 510; padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .25s, box-shadow .25s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .06)); box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .4), inset -1px -1px 1px rgba(255, 255, 255, .1), 0 4px 12px -6px rgba(0, 0, 0, .6); }
.search { position: relative; display: flex; align-items: center; color: var(--text-3); }
.search svg { position: absolute; left: 15px; pointer-events: none; }
.search__in {
  width: 240px; height: 46px; padding: 0 16px 0 40px; border: 0; border-radius: 999px; color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--rim);
}
.search__in::placeholder { color: var(--text-3); }
.board__note { font-size: var(--t-s); color: var(--text-3); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); gap: var(--s-3); }
.grid:empty { display: none; }
.grid__empty { padding: var(--s-7) 0; color: var(--text-2); text-align: center; }
.nothing { display: grid; justify-items: center; text-align: center; gap: var(--s-3); padding: var(--s-8) var(--s-5); border-radius: 32px; overflow: hidden; }
.nothing::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(224, 48, 58, .22), transparent 70%); pointer-events: none; }
.nothing > * { position: relative; }
.nothing__bird { color: var(--text); animation: flap 2.4s ease-in-out infinite; transform-origin: 50% 60%; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .5)); }
@keyframes flap { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-8px) scaleY(.72); } }
.nothing__t { font-family: var(--f-display); font-weight: 650; font-size: var(--t-2); letter-spacing: -.04em; line-height: 1.1; }
.nothing__d { color: var(--text-2); max-width: 26em; margin-bottom: var(--s-3); }

.card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--s-4); padding: 14px; border-radius: 24px; transition: transform .5s var(--spring), box-shadow .35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow), 0 20px 50px -24px rgba(224, 48, 58, .35); }
.card.is-new { animation: card-in .8s var(--ease-out); }
@keyframes card-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.card__hit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: none; border: 0; }
.card__img { width: 92px; height: 92px; border-radius: 18px; background: rgba(0, 0, 0, .3) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--glass-brd); }
.card__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card__top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.card__name { font-weight: 650; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__tick { font-size: var(--t-xs); font-weight: 600; color: var(--text-3); flex: none; }
.card__age { margin-left: auto; font-size: 11px; color: var(--text-3); flex: none; }
.card__you { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bg); background: var(--blush); border-radius: 999px; padding: 2px 6px 1px; flex: none; }
.card__mc { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: var(--t-s); color: var(--text-3); }
.card__mc b { font-weight: 650; font-size: .9rem; color: var(--text); font-variant-numeric: tabular-nums; }
.card__mc span { font-size: 11px; }
.card__curve { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .35); overflow: hidden; }
.card__curve span { display: block; height: 100%; background: var(--ribbon); border-radius: inherit; transition: width .8s var(--ease-out); }
.card__curve.is-grad span { background: var(--blush); }
.card__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.fchip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .28); color: var(--text-2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fchip i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.fchip--stock { background: none; box-shadow: inset 0 0 0 1px var(--glass-brd-2); color: var(--text); }

/* split bar (shared) */
.split { display: flex; gap: 2px; height: 8px; border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, .35); }
.split > span { min-width: 3px; transition: flex-grow .5s var(--ease-out); }
.split .split__gap { background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(242, 236, 226, .12) 4px 6px); }

/* ---------- 11. How ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); position: relative; }
.step { padding: 28px; border-radius: 30px; display: flex; flex-direction: column; gap: var(--s-3); }
.step__n { font-family: var(--f-display); font-weight: 700; font-size: 4.2rem; line-height: .9; letter-spacing: -.06em; align-self: flex-start; }
.step__t { font-family: var(--f-display); font-weight: 650; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.step p { color: var(--text-2); }
.step p b { color: var(--text); font-weight: 600; }
.bio { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(0, 0, 0, .25); box-shadow: inset 0 0 0 1px var(--line); border-radius: 18px; }
.bio__av { width: 32px; height: 32px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, var(--blush), var(--red) 55%, var(--red-deep)); }
.bio__txt { display: grid; font-size: var(--t-s); line-height: 1.35; min-width: 0; text-align: left; }
.bio__txt small { color: var(--text-3); font-size: 12px; }
.bio mark { background: var(--red-wash); color: var(--red-text); font-family: var(--f-code); font-size: 11px; padding: 1px 5px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255, 122, 128, .35); }
.how__foot { margin-top: var(--s-7); display: flex; justify-content: center; }

/* ---------- 12. FAQ ---------- */
.faq__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--s-7); align-items: start; }
.faq__in .kicker { margin-bottom: var(--s-3); }
.faq__list { border-radius: 30px; padding: 8px 28px; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: 22px 0; font-size: var(--t-1); font-weight: 600; letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 20px; color: var(--text-2); background: rgba(255, 255, 255, .07); box-shadow: var(--rim); transition: transform .45s var(--spring); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 var(--s-7) var(--s-5) 0; color: var(--text-2); }
.qa__a a { color: var(--red-text); }

/* ---------- 13. Closing call ---------- */
.cta { padding: 0 0 var(--s-9); }
.cta__card { display: grid; justify-items: center; text-align: center; gap: var(--s-4); padding: var(--s-8) var(--s-5); border-radius: 40px; overflow: hidden; }
.cta__card > * { position: relative; }
.cta__mark { position: absolute; width: min(560px, 90%); top: 50%; left: 50%; translate: -50% -50%; opacity: .5; filter: blur(2px) saturate(1.2); transition: opacity 1s; }
.cta__mark:not(.is-keyed) { opacity: 0; }
.cta__t { font-family: var(--f-display); font-weight: 650; font-size: var(--t-3); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.cta__card .hero__cta { margin-top: var(--s-3); }

/* ---------- 14. Footer ---------- */
.foot { position: relative; border-top: 1px solid var(--line); padding: var(--s-7) 0 calc(var(--s-7) + env(safe-area-inset-bottom)); background: linear-gradient(rgba(10, 8, 7, .3), rgba(10, 8, 7, .85)); }
.foot__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-6); }
.foot__brand { display: flex; gap: var(--s-4); align-items: center; }
.foot__brand img { width: 60px; height: 60px; object-fit: contain; transition: opacity .6s; }
.foot__brand img:not(.is-keyed) { opacity: 0; }
.foot__brand p { color: var(--text-2); }
.foot__brand em { font-family: var(--f-display); font-weight: 650; font-size: 1.3rem; letter-spacing: -.045em; color: var(--text); }
.foot__links { display: grid; gap: var(--s-2); justify-self: end; }
.foot__links li { display: flex; gap: var(--s-4); align-items: baseline; }
.foot__links .mono { width: 4em; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { color: var(--red-text); }
.foot__legal { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); max-width: 72em; padding-top: var(--s-5); border-top: 1px solid var(--line); }

/* ---------- 15. Launch ---------- */
.launch { padding: var(--s-6) 0 var(--s-9); }
.launch__head { margin-bottom: var(--s-6); }
.back { display: inline-flex; gap: 6px; font-size: var(--t-s); color: var(--text-3); text-decoration: none; margin-bottom: var(--s-4); padding: 6px 0; }
.back:hover { color: var(--text); }
.launch__head .lede { margin-top: var(--s-3); }
.launch__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 410px); gap: var(--s-6); align-items: start; }
.lf { display: grid; gap: var(--s-4); min-width: 0; }
.panel { border-radius: 28px; padding: var(--s-5); display: grid; gap: var(--s-4); min-width: 0; }
.panel__t { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 650; font-size: 1.25rem; letter-spacing: -.03em; }
.panel__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 650; color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)); box-shadow: var(--rim); }
.panel__d { color: var(--text-3); font-size: var(--t-s); margin-top: -6px; max-width: 46em; }
.panel__row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.panel__row .panel__d { margin-top: 6px; }
.panel--adv.is-on { border-color: rgba(255, 122, 128, .35); box-shadow: var(--glass-shadow), 0 0 0 4px rgba(224, 48, 58, .06), 0 30px 80px -40px rgba(224, 48, 58, .5); }

/* fields */
.field { display: grid; gap: 6px; min-width: 0; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.field label { font-size: var(--t-s); font-weight: 510; color: var(--text-2); }
.opt { font-weight: 400; color: var(--text-3); margin-left: 4px; font-size: 12px; }
.field__count { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.field__count.is-over { color: var(--red-text); }
.field__help { font-size: 12px; color: var(--text-3); }
.field__err { font-size: 12px; color: var(--red-text); }
.field__err:empty { display: none; }
.input {
  width: 100%; height: 46px; padding: 0 15px;
  background: var(--glass-in); border: 1px solid rgba(255, 238, 232, .1); border-radius: 14px; color: var(--text);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #776B63; }
.input:hover { border-color: rgba(255, 238, 232, .18); }
.input:focus { border-color: rgba(255, 122, 128, .75); box-shadow: 0 0 0 4px rgba(224, 48, 58, .16), inset 0 1px 2px rgba(0, 0, 0, .35); background: rgba(10, 7, 7, .6); }
.input[aria-invalid="true"] { border-color: rgba(255, 122, 128, .7); }
textarea.input { height: auto; padding: 12px 15px; resize: vertical; min-height: 84px; line-height: 1.5; }
.input--mono { font-family: var(--f-code); font-size: var(--t-s); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23998D85' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; }
select.input option, select.input optgroup { background: #1C1513; color: var(--text); }
.affix { position: relative; display: flex; align-items: center; }
.affix__t { position: absolute; left: 15px; color: var(--text-3); font-size: var(--t-s); font-weight: 600; pointer-events: none; }
.affix .input { padding-left: 28px; }
.affix--end .affix__t { left: auto; right: 15px; }
.affix--end .input { padding-left: 15px; padding-right: 48px; }

/* coin row */
.coinrow { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.coinrow__f { display: grid; gap: var(--s-3); }
.drop { position: relative; width: 132px; aspect-ratio: 1; border-radius: 24px; }
.drop__img { width: 100%; height: 100%; border-radius: inherit; background: rgba(0, 0, 0, .3) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--glass-brd-2), 0 16px 40px -20px rgba(0, 0, 0, .8); transition: box-shadow .2s, filter .2s; }
.drop.is-over .drop__img { box-shadow: inset 0 0 0 2px var(--red); filter: brightness(1.1); }
.drop__up { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(20, 14, 13, .45); box-shadow: var(--rim); cursor: pointer; transition: background-color .2s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.drop__up:hover { background: var(--red-btn); }
.drop:focus-within .drop__up { outline: 2px solid var(--red-text); outline-offset: 2px; }
.drop__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin-top: -4px; }
.more { border: 1px solid var(--line-2); border-radius: 18px; background: rgba(0, 0, 0, .12); }
.more summary { list-style: none; cursor: pointer; padding: 12px 15px; display: flex; align-items: baseline; gap: 6px; font-size: var(--t-s); font-weight: 600; color: var(--text-2); }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; color: var(--text-3); width: 14px; }
.more[open] summary::before { content: "–"; }
.more summary:hover { color: var(--text); }
.more__body { display: grid; gap: var(--s-3); padding: 0 15px 15px; }
.more__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field--buy { max-width: 280px; }

/* switch (iOS) */
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__t { width: 51px; height: 31px; border-radius: 999px; background: rgba(120, 120, 128, .32); position: relative; transition: background .3s; }
.switch__t::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform .4s var(--spring); box-shadow: 0 3px 8px rgba(0, 0, 0, .35), 0 1px 1px rgba(0, 0, 0, .16); }
.switch input:checked + .switch__t { background: linear-gradient(180deg, #F2464F, #D3252F); }
.switch input:checked + .switch__t::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__t { outline: 2px solid var(--red-text); outline-offset: 3px; }

/* fee slices */
.slices { display: grid; gap: var(--s-2); }
.slice { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 12px; padding: 10px; background: var(--glass-in); border: 1px solid var(--line); border-radius: 18px; animation: slice-in .35s var(--ease-out); }
@keyframes slice-in { from { opacity: 0; transform: translateY(-4px); } }
.slice.is-bad { border-color: rgba(255, 122, 128, .45); }
.slice__sw { border-radius: 4px; }
.slice__main { display: grid; gap: 6px; min-width: 0; }
.slice__row { display: flex; gap: 8px; align-items: center; min-width: 0; }
.slice__sel, .slice__pp { flex: 0 0 172px; height: 42px; font-size: var(--t-s); }
.slice__in { flex: 1; min-width: 0; height: 42px; }
.slice__pct { flex: 0 0 92px; }
.slice__pct .input { height: 42px; text-align: right; padding-right: 30px; padding-left: 10px; font-weight: 600; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.slice__pct .affix__t { left: auto; right: 12px; }
.slice__x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--text-3); display: grid; place-items: center; }
.slice__x:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.slice__label { flex: 1; min-width: 0; display: grid; line-height: 1.3; padding-left: 4px; }
.slice__label b { font-weight: 600; }
.slice__label small { font-size: 12px; color: var(--text-3); }
.slice__note { font-size: 12px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding-left: 2px; }
.slice__note .ok { color: var(--text-2); }
.slice__note .ok::before { content: "✓"; color: var(--ok); margin-right: 6px; }
.slice__note .tag { font-size: 10px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--text-2); }
.slice__note .tag--review { color: var(--blush); }
.slice__note .err { color: var(--red-text); }
.slices__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); }
.total { display: flex; align-items: center; gap: var(--s-4); }
.total__v { font-size: var(--t-s); font-weight: 650; padding: 6px 12px; border-radius: 999px; background: rgba(147, 214, 170, .1); color: var(--ok); font-variant-numeric: tabular-nums; }
.total__v.is-bad { background: var(--red-wash); color: var(--red-text); }

.explain { border-top: 1px solid var(--line); padding-top: var(--s-3); }
.explain summary { list-style: none; cursor: pointer; font-size: var(--t-s); font-weight: 600; color: var(--text-2); display: inline-flex; gap: 8px; align-items: center; padding: 4px 0; }
.explain summary::-webkit-details-marker { display: none; }
.explain summary::before { content: "?"; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); color: var(--text-2); }
.explain summary:hover { color: var(--text); }
.explain__list { counter-reset: e; display: grid; gap: var(--s-3); margin: var(--s-4) 0 var(--s-3); }
.explain__list li { counter-increment: e; display: grid; grid-template-columns: 28px 1fr; font-size: var(--t-s); color: var(--text-2); }
.explain__list li::before { content: "0" counter(e); font-size: 11px; font-weight: 700; color: var(--red-text); padding-top: 2px; }
.explain__list b { color: var(--text); font-weight: 600; }
.explain code { color: var(--red-text); }

/* advanced */
.adv { display: grid; gap: var(--s-5); padding-top: var(--s-2); animation: slice-in .35s var(--ease-out); }
.presets { display: grid; gap: var(--s-2); }
.presets__list { display: flex; flex-wrap: wrap; gap: 6px; }
.pchip { display: inline-flex; align-items: center; gap: 8px; border: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); box-shadow: var(--rim); border-radius: 999px; padding: 0 4px 0 13px; min-height: 36px; font-size: var(--t-s); color: var(--text-2); transition: color .2s, background .2s, transform .35s var(--spring); }
.pchip:hover { color: var(--text); background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); transform: translateY(-1px); }
.pchip > button { border: 0; background: none; padding: 8px 0; color: inherit; font-weight: 600; }
.pchip__mini { display: inline-flex; gap: 1px; width: 32px; height: 5px; border-radius: 3px; overflow: hidden; margin-right: 6px; }
.pchip__mini span { height: 100%; }
.pchip__x { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.pchip__x:hover { background: rgba(255, 255, 255, .1); }
.pchip--solo { padding-right: 13px; }
.presets__mine { display: grid; gap: var(--s-2); }
.presets__act { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: 4px; }
.presets__form { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.presets__form .input { flex: 1 1 200px; height: 40px; }
.mech { display: grid; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--glass-in); }
.mech__row { display: grid; grid-template-columns: 4px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; }
.mech__row + .mech__row { border-top: 1px solid var(--line); }
.mech__sw { align-self: stretch; border-radius: 4px; }
.mech__sw--stock { background: repeating-linear-gradient(180deg, var(--text) 0 3px, var(--text-3) 3px 6px); }
.mech__t { font-weight: 600; }
.mech__d { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.stock { padding: 14px; border-top: 1px solid var(--line); }
.stock__list { display: flex; flex-wrap: wrap; gap: 6px; }
.stock__opt { position: relative; }
.stock__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.stock__opt span { display: grid; gap: 1px; padding: 8px 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); box-shadow: var(--rim); border-radius: 16px; min-width: 88px; transition: background .2s, box-shadow .2s; }
.stock__opt b { font-size: 12.5px; font-weight: 650; }
.stock__opt small { font-size: 11px; color: var(--text-3); }
.stock__opt input:checked + span { background: radial-gradient(120% 120% at 25% 0%, rgba(255, 255, 255, .25), transparent 55%), linear-gradient(160deg, rgba(255, 92, 100, .5), rgba(194, 29, 42, .45)); box-shadow: var(--rim), 0 0 22px -6px rgba(224, 48, 58, .7); }
.stock__opt input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }

/* preview column */
.pv { position: sticky; top: calc(var(--hdr-h) + var(--hdr-top) + 20px); display: grid; gap: var(--s-3); }
.pv__card, .pv__fees { border-radius: 28px; padding: var(--s-5); }
.pv__fees .label { margin-bottom: var(--s-3); }
.pv__go { display: grid; gap: var(--s-3); padding-top: var(--s-2); }
.cc { display: grid; gap: var(--s-4); }
.cc__top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cc__top .is-red { color: var(--red-text); }
.cc__face { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: var(--s-4); align-items: center; }
.cc__img { width: 88px; height: 88px; border-radius: 22px; background: rgba(0, 0, 0, .3) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--glass-brd), 0 14px 30px -16px rgba(0, 0, 0, .8); }
.cc__name { font-family: var(--f-display); font-weight: 650; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1.04; word-break: break-word; }
.cc__name.is-empty { color: var(--text-3); }
.cc__tick { font-size: var(--t-s); font-weight: 600; color: var(--text-2); margin-top: 6px; }
.cc__desc { color: var(--text-2); font-size: var(--t-s); overflow-wrap: anywhere; }
.cc__links { display: flex; flex-wrap: wrap; gap: 6px; }
.cc__links span { font-size: 11px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .28); color: var(--text-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc__rows { display: grid; gap: 8px; padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: var(--t-s); }
.cc__row { display: flex; justify-content: space-between; gap: var(--s-4); align-items: baseline; }
.cc__row dt { color: var(--text-3); flex: none; }
.cc__row dd { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.cc__mint { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.cc__mint code { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.cc__foot { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cc.is-launched { animation: pop .7s var(--ease-out); }
@keyframes pop { 0% { transform: scale(.97); opacity: .6; } 60% { transform: scale(1.01); } 100% { transform: none; opacity: 1; } }
.stamp { justify-self: start; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); background: rgba(147, 214, 170, .1); border-radius: 999px; padding: 4px 10px; }
.mint-steps { display: grid; gap: 10px; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.mint-steps li { display: flex; gap: 10px; align-items: center; font-size: var(--t-s); color: var(--text-3); transition: color .3s; }
.mint-steps li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-3); flex: none; transition: all .3s; }
.mint-steps li.is-on { color: var(--text); }
.mint-steps li.is-on::before { border-color: var(--red); border-top-color: transparent; animation: spin .8s linear infinite; }
.mint-steps li.is-done { color: var(--text-2); }
.mint-steps li.is-done::before { background: var(--red); border-color: var(--red); animation: none; box-shadow: inset 0 0 0 3px #1A1312; }
.mint-steps li.is-fail { color: var(--red-text); }
.mint-steps li.is-fail::before { content: "×"; display: grid; place-items: center; font-size: 12px; line-height: 1; color: #fff; background: var(--red-btn); border-color: var(--red-btn); animation: none; }
.form-err { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 16px; background: rgba(224, 48, 58, .12); border: 1px solid rgba(255, 122, 128, .38); color: #FFDCD8; font-size: var(--t-s); font-weight: 510; animation: slice-in .3s var(--ease-out); }
.form-err:empty { display: none; }
.form-err::before { content: "!"; width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--red-btn); }

/* breakdown */
.bd { display: grid; gap: 10px; margin-top: var(--s-4); }
.bd__row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.bd__sw { width: 10px; height: 10px; border-radius: 3px; margin-top: 5px; }
.bd__who { display: grid; min-width: 0; }
.bd__who b { font-weight: 600; font-size: var(--t-s); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bd__who small { font-size: 12px; color: var(--text-3); }
.bd__pct { font-weight: 650; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.bd__empty { color: var(--text-3); font-size: var(--t-s); }
.bd__foot { margin-top: var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px var(--s-3); font-size: 12px; color: var(--text-3); }
.bd__foot span:first-child { color: var(--text-2); }

/* ---------- 16. Dialogs ---------- */
.dlg {
  width: min(620px, calc(100vw - 24px)); max-height: min(88vh, 860px);
  padding: 0; border-radius: 32px; color: var(--text);
  background: linear-gradient(160deg, rgba(48, 36, 34, .8), rgba(22, 16, 15, .85));
  -webkit-backdrop-filter: blur(36px) saturate(180%); backdrop-filter: blur(36px) saturate(180%);
  box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.dlg[open] { animation: dlg-in .5s var(--spring); }
.dlg { overflow-x: hidden; scrollbar-width: thin; scrollbar-color: rgba(255, 244, 240, .2) transparent; }
.dlg::after { inset: 0; }
.dlg::backdrop { background: rgba(5, 3, 3, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.95); } }
.dlg__in { position: relative; padding: var(--s-5) var(--s-6) var(--s-6); display: grid; gap: var(--s-5); }
.dlg__top { display: flex; justify-content: space-between; align-items: center; }
.dlg__top .label { margin: 0; }
.dlg__close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); color: var(--text-2); display: grid; place-items: center; }
.dlg__close:hover { color: var(--text); background: rgba(255, 255, 255, .13); }
.dlg__t { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); letter-spacing: -.045em; line-height: 1.04; }
.dlg__p { color: var(--text-2); margin: var(--s-3) 0 var(--s-5); }
.dsteps { display: flex; gap: 6px; }
.dsteps__i { flex: 1; display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 2px solid rgba(255, 244, 240, .1); font-size: var(--t-s); color: var(--text-3); transition: color .3s, border-color .3s; }
.dsteps__i span { font-size: 11px; font-weight: 700; }
.dsteps__i[aria-current="step"] { color: var(--text); border-top-color: var(--red); }
.dsteps__i.is-done { color: var(--text-2); border-top-color: var(--red-deep); }
.inline { display: flex; gap: var(--s-2); }
.inline .input { flex: 1; min-width: 0; }
.detect { margin-top: var(--s-3); }
.detect:empty { display: none; }
.chip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 13px; border-radius: 16px; background: var(--glass-in); border: 1px solid var(--line); font-size: var(--t-s); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.chip__name { font-weight: 650; }
.chip__handle { color: var(--text-2); font-family: var(--f-code); font-size: 12px; overflow-wrap: anywhere; }
.chip__method { font-size: 12px; color: var(--text-3); margin-left: auto; }
.chip__method.is-review { color: var(--blush); }
.chip--err .chip__dot { background: var(--red); }
.chip--err { color: var(--text-2); }
.chip--ask { display: grid; }
.chip__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.chip__opt { border: 0; background: rgba(255, 255, 255, .08); box-shadow: var(--rim); border-radius: 999px; padding: 6px 12px; font-size: 12px; color: var(--text-2); }
.chip__opt:hover { color: var(--text); }
.codebox { padding: var(--s-4); border-radius: 20px; background: var(--glass-in); border: 1px solid var(--line); }
.codebox .label { margin-bottom: var(--s-2); }
.codebox__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.codebox__code { font-size: clamp(1.15rem, 1rem + .9vw, 1.5rem); color: var(--red-text); letter-spacing: .04em; }
.codebox__for { margin-top: var(--s-2); font-size: 12px; color: var(--text-3); overflow-wrap: anywhere; }
.proof { display: grid; gap: var(--s-3); counter-reset: p; }
.proof li { counter-increment: p; display: grid; grid-template-columns: 30px minmax(0, 1fr); }
.proof li::before { content: counter(p); width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .09); box-shadow: var(--rim); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--text-2); }
.proof__t { font-weight: 600; }
.proof__b { color: var(--text-2); font-size: var(--t-s); margin-top: 2px; }
.snip { margin-top: var(--s-2); display: flex; gap: var(--s-2); align-items: flex-start; padding: 10px 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 14px; }
.snip pre { flex: 1; margin: 0; font-family: var(--f-code); font-size: 11px; white-space: pre-wrap; word-break: break-all; color: var(--text-2); }
.dlg__actions { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: var(--s-2); }
.note { padding: var(--s-4); border-radius: 20px; background: var(--glass-in); border: 1px solid var(--line); display: grid; gap: var(--s-3); font-size: var(--t-s); color: var(--text-2); }
.note--ok { border-color: rgba(147, 214, 170, .4); background: rgba(147, 214, 170, .07); }
.note__t { color: var(--text); font-weight: 650; font-size: var(--t-0); }
.note ul { display: grid; gap: 4px; }
.note li { font-family: var(--f-code); font-size: 11px; padding-left: 14px; position: relative; overflow-wrap: anywhere; }
.note li::before { content: "→"; position: absolute; left: 0; color: var(--red-text); }
.note .btn { justify-self: start; }
.claimdone__big { font-family: var(--f-display); font-weight: 650; font-size: 1.8rem; letter-spacing: -.045em; line-height: 1.05; color: var(--text); }
.checkres:empty, .claimdone:empty { display: none; }

/* coin dialog */
.dlg--coin { width: min(560px, calc(100vw - 24px)); }
.cd__head { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; }
.cd__img { width: 96px; height: 96px; border-radius: 24px; background: rgba(0, 0, 0, .3) center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--glass-brd); }
.cd__name { font-family: var(--f-display); font-weight: 650; font-size: 2rem; letter-spacing: -.045em; line-height: 1.04; overflow-wrap: anywhere; }
.cd__tick { font-size: var(--t-s); font-weight: 600; color: var(--text-2); margin-top: 6px; }
.cd__head .dlg__close { align-self: start; }
.cd__desc { color: var(--text-2); }
.cd__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 20px; background: var(--glass-in); }
.cd__stats div { padding: 12px 14px; }
.cd__stats div + div { border-left: 1px solid var(--line); }
.cd__stats dt { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cd__stats dd { font-size: 1.05rem; font-weight: 650; margin-top: 4px; font-variant-numeric: tabular-nums; }
.cd__fees .label { margin-bottom: var(--s-3); }
.cd__act { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cd__act .btn--red { flex: 1; justify-content: space-between; }

/* wallet dialog */
.dlg--wallet { width: min(440px, calc(100vw - 24px)); }
.wl__t { font-family: var(--f-display); font-weight: 650; font-size: 1.7rem; letter-spacing: -.045em; line-height: 1.05; }
.wl__p { color: var(--text-2); font-size: var(--t-s); margin-top: 6px; }
.wl { display: grid; gap: 8px; margin-top: var(--s-4); }
.wl__item { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border: 0; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); box-shadow: var(--rim); color: var(--text); text-align: left; text-decoration: none; transition: background .2s, transform .4s var(--spring); }
.wl__item:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); transform: translateY(-2px); }
.wl__item[aria-busy="true"] { pointer-events: none; opacity: .7; }
.wl__icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: 1rem; color: #fff; flex: none; box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .4), 0 6px 14px -6px rgba(0, 0, 0, .6); }
.wl__name { font-weight: 600; }
.wl__tag { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--text-3); }
.wl__tag--ok { color: var(--ok); }
.wl__note { margin-top: var(--s-4); font-size: 12px; color: var(--text-3); }
.acct { display: grid; gap: var(--s-4); }
.acct__head { display: flex; align-items: center; gap: 14px; }
.acct__av { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .4), 0 10px 30px -10px rgba(224, 48, 58, .6); }
.acct__via { font-size: var(--t-s); color: var(--text-3); }
.acct__addr { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.acct__addr code { font-size: 13px; color: var(--text); }
.acct__bal { padding: var(--s-4); border-radius: 20px; background: var(--glass-in); border: 1px solid var(--line); }
.acct__bal b { display: block; font-family: var(--f-display); font-weight: 650; font-size: 2rem; letter-spacing: -.045em; line-height: 1.1; }
.acct__act { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }

/* ---------- 17. Toast, fx ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 180;
  display: flex; align-items: center; gap: var(--s-4);
  transform: translate(-50%, 24px) scale(.96); opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(60, 46, 43, .82), rgba(30, 22, 21, .88)); color: var(--text);
  border-radius: 999px; padding: 12px 20px;
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  font-size: var(--t-s); font-weight: 510; box-shadow: var(--rim), 0 24px 60px -20px rgba(0, 0, 0, .9);
  max-width: calc(100vw - 32px);
  transition: opacity .3s var(--ease-out), transform .5s var(--spring);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); pointer-events: auto; }
.toast__act { border: 0; background: none; color: var(--red-text); font-weight: 650; padding: 4px 0; }
.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 150; pointer-events: none; }

/* ---------- 18. The orchestrated load ---------- */
.rv { transition: opacity 1.1s var(--ease-out) var(--d, 0s), transform 1.3s var(--ease-out) var(--d, 0s); }
.hero__title .line > span { transition: transform 1.4s var(--ease-out) var(--d, 0s); }
.intro .rv { opacity: 0; transform: translateY(20px); }
.intro .orb { opacity: 0; transform: scale(.82); }
.intro .hero__title .line > span { transform: translateY(125%); }
.intro .hdr { opacity: 0; }
.intro .aura { opacity: 0; }
/* failsafe: if scripts never run, show everything anyway */
.intro .rv, .intro .orb, .intro .hero__title .line > span, .intro .hdr, .intro .aura { animation: failsafe .01s 4.5s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; } }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .launch__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-5); }
  .slice__sel, .slice__pp { flex-basis: 150px; }
  .bento { grid-template-areas:
    "route route route route route route route burn burn burn burn burn"
    "route route route route route route route hold hold hold hold hold"
    "stock stock stock stock stock stock split split split split split split"
    "share share share share share share share share share share share share"; }
}
@media (max-width: 900px) {
  .nav, .hdr__act { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__in, .hdr.is-scrolled .hdr__in { width: calc(100% - 2 * var(--gutter)); padding-right: 7px; justify-content: space-between; }
  .hero__in { padding-top: 22vh; }
  .orb { top: 50%; width: min(96vw, 560px); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "route" "burn" "hold" "stock" "split" "share"; }
  .launch__grid { grid-template-columns: minmax(0, 1fr); }
  .pv { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .faq__in { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
  .foot__in { grid-template-columns: minmax(0, 1fr); }
  .foot__links { justify-self: start; }
  .sec { padding: var(--s-8) 0; }
}
@media (max-width: 640px) {
  :root { --hdr-h: 54px; --hdr-top: 10px; }
  .brand__word { font-size: 1.2rem; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: space-between; }
  .dock { justify-content: flex-start; border-radius: 22px; }
  .dock__l { font-size: 12px; }
  .board__tools, .search, .search__in { width: 100%; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { grid-template-columns: 76px minmax(0, 1fr); }
  .card__img { width: 76px; height: 76px; }
  .tile { padding: 22px; border-radius: 26px; min-height: 0; }
  .route__row { grid-template-columns: 34px minmax(0, 1fr) 44px; }
  .route__av { width: 34px; height: 34px; }
  .route__st { display: none; }
  .dots { grid-template-columns: repeat(12, 1fr); }
  .panel { padding: var(--s-4); }
  .coinrow { grid-template-columns: 104px minmax(0, 1fr); gap: var(--s-3); }
  .drop { width: 104px; }
  .drop__meta { flex-direction: column; gap: 2px; }
  .more__row { grid-template-columns: minmax(0, 1fr); }
  .field--buy { max-width: none; }
  .slice__row { flex-wrap: wrap; }
  .slice__sel, .slice__pp { flex: 1 1 100%; }
  .slice__in { flex: 1 1 0; }
  .slice__pct { flex-basis: 84px; }
  .faq__list { padding: 4px 20px; }
  .cta__card { border-radius: 30px; padding: var(--s-7) var(--s-4); }
  .dlg__in { padding: var(--s-4) var(--s-4) var(--s-5); }
  .inline { flex-direction: column; }
  .inline .btn { justify-content: space-between; }
  .dlg__actions .btn--red { flex: 1; justify-content: space-between; }
  .cd__head { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .cd__img { width: 72px; height: 72px; }
  .cd__name { font-size: 1.6rem; }
  .qa__a { padding-right: 0; }
}

/* ---------- 20. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .orb__mark { translate: none; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. The bird cursor ---------- */
/* the pointer is the murmuration's bird; its body tip is the hotspot. Red over anything clickable. */
@media (pointer: fine) {
  html { cursor: url("cursor.svg") 17 21, auto; }
  a, button, summary, label, select, [role="button"], input[type="checkbox"], input[type="radio"], input[type="file"], .card__hit, .drop__up { cursor: url("cursor-hot.svg") 17 21, pointer; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea { cursor: text; }
  .btn[aria-disabled="true"], .btn:disabled { cursor: not-allowed; }
}
/* a few birds follow it while it moves */
.trail { position: fixed; inset: 0; z-index: 190; pointer-events: none; transition: opacity .6s var(--ease-out); }
.trail.is-idle { opacity: 0; }
.trail__b { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; color: var(--text); opacity: calc(.72 - var(--i) * .16); will-change: transform; }
.trail__b:nth-child(2) { color: var(--red-text); }
.trail__b svg { width: 100%; height: 100%; fill: currentColor; transform-origin: 50% 62%; animation: wing .42s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.14s); }
@keyframes wing { to { transform: scaleY(.5); } }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .trail { display: none; } }

/* ───────────────────────── 22 · network pill (devnet deployments) ───────────────────────── */
.net-pill {
  align-self: center; margin-left: 2px; padding: 3px 8px 2px; border-radius: 999px;
  font: 600 10px/1.2 var(--f-mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase;
  color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 38%, transparent);
  white-space: nowrap;
}
@media (max-width: 520px) { .net-pill { display: none; } }

/* ───────────────────────── 23 · X link + contract address ───────────────────────── */
.xbtn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; margin-right: 2px;
  color: var(--text); text-decoration: none; transition: background .2s, transform .2s var(--ease-out, ease);
}
.xbtn:hover { background: color-mix(in srgb, var(--text) 10%, transparent); transform: translateY(-1px); }
.xbtn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.socials { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.hero__socials { margin-top: var(--s-4); }
.ca, .xlink {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px;
  font: 500 13px/1 var(--f-mono, ui-monospace, monospace); letter-spacing: .02em; color: var(--text); text-decoration: none;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 14%, transparent), inset 0 1px 0 color-mix(in srgb, #fff 12%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  transition: background .2s, transform .2s var(--ease-out, ease), box-shadow .2s;
}
.ca { cursor: pointer; max-width: 100%; min-width: 0; }
.ca__v { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }   /* a full address shrinks to fit phones */
.ca__k { color: var(--red-text, var(--red)); font-weight: 650; }
.ca:hover, .xlink:hover { background: color-mix(in srgb, var(--text) 11%, transparent); transform: translateY(-1px); }
.ca:focus-visible, .xlink:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.xlink span { font-family: var(--f-ui, inherit); font-weight: 550; }
.menu__foot .socials { justify-content: flex-start; margin-bottom: var(--s-2); }

/* wallet: while a connection waits for the wallet's own window */
.wl__note--wait { color: var(--text); background: color-mix(in srgb, var(--red) 10%, transparent); border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 30%, transparent); }

/* ───────────────────────── 24 · platform logos + picker ───────────────────────── */
.logo { flex: none; display: inline-block; vertical-align: -0.15em; }
.bd__logo { margin-right: 6px; opacity: .92; vertical-align: -2px; }
.chip__logo { margin-right: 6px; vertical-align: -2px; }
.chip__name { display: inline-flex; align-items: center; }

/* the row's platform button */
.slice__pp { display: inline-flex; align-items: center; gap: 9px; padding: 0 10px 0 7px; text-align: left; cursor: pointer; color: var(--text); }
.slice__pp:hover { border-color: var(--line-3); }
.slice__pp[aria-expanded="true"] { border-color: color-mix(in srgb, var(--red) 55%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent); }
.slice__logo {
  --c: #ffffff; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 55%, #1b1514), color-mix(in srgb, var(--c) 22%, #0d0a0a));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 8px -2px color-mix(in srgb, var(--c) 45%, transparent);
}
.slice__pn { flex: 1; min-width: 0; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slice__chev { flex: none; color: var(--text-3); transition: transform .2s var(--ease-out, ease); }
.slice__pp[aria-expanded="true"] .slice__chev { transform: rotate(180deg); }

/* the picker panel */
.pk {
  position: fixed; z-index: 80; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; color: var(--text);
  background: linear-gradient(180deg, rgba(38, 28, 27, .94), rgba(18, 13, 13, .96));
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 80px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(-6px) scale(.985); transform-origin: top left; transition: opacity .18s ease, transform .22s var(--ease-out, ease);
}
.pk[data-side="above"] { transform-origin: bottom left; transform: translateY(6px) scale(.985); }
.pk.is-open { opacity: 1; transform: none; }
.pk__grab { display: none; }
.pk__grab, .pk__head, .pk__tabs, .pk__foot { flex: none; }   /* only the list scrolls or shrinks */
.pk__head { display: flex; gap: 8px; align-items: center; padding: 12px 12px 8px; }
.pk__search { flex: 1; display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-3); cursor: text; }
.pk__search:focus-within { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 60%, transparent), 0 0 0 3px color-mix(in srgb, var(--red) 16%, transparent); }
.pk__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); font: 500 15px/1 var(--f-ui); }
.pk__search input::placeholder { color: var(--text-3); }
.pk__search input::-webkit-search-cancel-button { display: none; }
.pk__close { height: 32px; padding: 0 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .06); color: var(--text-3); font: 600 11px/1 var(--f-mono); letter-spacing: .06em; cursor: pointer; }
.pk__close:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.pk__tabs { display: flex; gap: 6px; padding: 2px 12px 10px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.pk__tabs::-webkit-scrollbar { display: none; }
.pk__tab { flex: none; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .05); color: var(--text-2); font: 550 12.5px/1 var(--f-ui); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.pk__tab:hover { background: rgba(255, 255, 255, .1); color: var(--text); }
.pk__tab[aria-pressed="true"] { background: var(--text); color: #140f0f; }
.pk__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 12px 12px; scrollbar-width: thin; }
.pk__sec + .pk__sec { margin-top: 6px; }
.pk__h { display: flex; align-items: baseline; gap: 8px; margin: 12px 4px 8px; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.pk__h span { opacity: .6; letter-spacing: 0; }
.pk__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pk__grid--big { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pk__t, .pk__use {
  --c: #ffffff; position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, .035); color: var(--text); text-align: left; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); transition: background .15s, transform .15s var(--ease-out, ease), box-shadow .15s;
}
.pk__t:hover, .pk__t:focus-visible, .pk__use:hover, .pk__use:focus-visible {
  outline: 0; transform: translateY(-1px);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 16%, rgba(255, 255, 255, .05)), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, rgba(255, 255, 255, .12));
}
.pk__t:focus-visible, .pk__use:focus-visible { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, rgba(255, 255, 255, .12)), 0 0 0 2px var(--red); }
.pk__t.is-on { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--red) 75%, transparent); background: color-mix(in srgb, var(--red) 10%, rgba(255, 255, 255, .03)); }
.pk__ic {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 58%, #1b1514), color-mix(in srgb, var(--c) 24%, #0d0a0a));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 4px 14px -6px color-mix(in srgb, var(--c) 60%, transparent);
}
.pk__tx { display: grid; gap: 3px; min-width: 0; }
.pk__n { font: 600 13.5px/1.15 var(--f-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk__m { font: 500 11px/1.1 var(--f-ui); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk__m.is-review { color: color-mix(in srgb, var(--red-text) 80%, var(--text-3)); }
.pk__ok { position: absolute; top: 7px; right: 7px; color: var(--red-text); }
.pk__t--big { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 6px 11px; text-align: center; }
.pk__t--big .pk__ic { width: 46px; height: 46px; border-radius: 14px; }
.pk__t--big .pk__tx { justify-items: center; }
.pk__t--big .pk__n { font-size: 12.5px; }
.pk__use { width: 100%; margin: 8px 0 2px; padding: 10px; background: color-mix(in srgb, var(--red) 10%, rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 40%, transparent); }
.pk__use .pk__tx { flex: 1; }
.pk__use kbd { font: 600 10px/1 var(--f-mono); padding: 5px 7px; border-radius: 7px; background: rgba(255, 255, 255, .08); color: var(--text-2); }
.pk__none { margin: 18px 6px; color: var(--text-2); font-size: var(--t-s); line-height: 1.5; }
.pk__foot { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); }
.pk__foot b { color: var(--text-2); font-weight: 600; }
.pk__dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--ok, #53d18b); box-shadow: 0 0 8px var(--ok, #53d18b); }

/* phones: a bottom sheet */
.pk--sheet { left: 0 !important; right: 0; bottom: 0 !important; top: auto !important; width: auto !important; max-height: 82vh !important; border-radius: 24px 24px 0 0; transform: translateY(24px); padding-bottom: env(safe-area-inset-bottom); }
.pk--sheet.is-open { transform: none; }
.pk--sheet .pk__grab { display: block; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.pk--sheet .pk__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pk--sheet .pk__grid--big { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pk--sheet .pk__t--big { padding: 10px 2px 8px; }
.pk--sheet .pk__t--big .pk__ic { width: 40px; height: 40px; }
.pk--sheet .pk__t--big .pk__n { font-size: 11px; }
@media (max-width: 380px) { .pk--sheet .pk__grid--big { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .pk, .pk__t, .pk__use { transition: none; } }

/* marquee: logos beside the names */
.marquee__track .mq__logo { display: inline-grid; place-items: center; vertical-align: middle; margin-right: .32em; color: rgba(255, 246, 242, .55); }
.marquee__track span.is-solid .mq__logo { color: rgba(255, 246, 242, .9); }
.marquee__track .mq__logo svg { width: .8em; height: .8em; }
