/* =========================================================
   Helysa — orange & white
   ========================================================= */
:root {
  --orange: #ff5a1f;
  --orange-600: #c23c0a;
  --orange-deep: #d4410b;
  --orange-400: #ff7d45;
  --orange-200: #ffc5a8;
  --orange-100: #ffe6d9;
  --orange-50: #fff4ee;
  --white: #ffffff;
  --paper: #fffaf7;
  --ink: #1d1009;
  --ink-2: #5b4337;
  --ink-3: #7a6054;
  --line: #f1e1d8;
  --line-strong: #e7cbbd;

  --radius-s: 12px;
  --radius: 22px;
  --radius-l: 36px;

  --shadow-s: 0 1px 2px rgba(80, 30, 5, .06), 0 2px 8px rgba(80, 30, 5, .05);
  --shadow: 0 2px 4px rgba(80, 30, 5, .05), 0 18px 48px -12px rgba(200, 70, 10, .18);
  --shadow-orange: 0 10px 30px -8px rgba(255, 90, 31, .55);

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.display { font-size: clamp(48px, 9vw, 132px); letter-spacing: -.05em; line-height: .92; }
.h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -.045em; line-height: .96; }
.h2 { font-size: clamp(34px, 4.6vw, 64px); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.12; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 56ch; line-height: 1.55; }
.muted { color: var(--ink-3); }
.accent { color: var(--orange-deep); }
h1 .accent, h2 .accent, .display .accent, .h1 .accent, .h2 .accent { color: var(--orange); }
.italic { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-100); }

/* split words */
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .1em; margin: 0 -.12em -.1em; }
.split-word { display: inline-block; will-change: transform; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background .3s;
  overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--orange-deep); transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn .arrow { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn-primary { --bg: var(--orange-deep); box-shadow: var(--shadow-orange); }
.btn-primary::after { background: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost::after { background: var(--orange-50); }
.btn-white { --bg: #fff; --fg: var(--ink); }
.btn-white::after { background: var(--ink); }
.btn-white:hover { color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

.chip {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 32px; padding: 6px 14px; line-height: 1.3; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-600);
  font-size: 13px; font-weight: 600; border: 1px solid var(--orange-100);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.5); } 70% { box-shadow: 0 0 0 8px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }

/* ---------- header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange-400), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }

.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto; width: calc(100% - 2 * var(--gutter));
  height: 64px; padding: 0 10px 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(241,225,216,.9);
  transition: box-shadow .4s, background .4s, height .4s var(--ease-out);
}
.site-header.scrolled .nav { box-shadow: var(--shadow); background: rgba(255,255,255,.88); height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.04em; }
.logo-mark { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(40,15,5,.18)); transition: transform .6s var(--ease-out); }
.logo:hover .logo-mark { transform: rotate(90deg) scale(1.08); }
.net-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.net-pill i { width: 8px; height: 8px; border-radius: 50%; background: #1fa35c; }
.net-pill.off i { background: var(--ink-3); box-shadow: none; }
.wallet-btn { font-variant-numeric: tabular-nums; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); transition: opacity .3s, transform .5s var(--ease-out); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: var(--orange-50); }
.nav-links a.active { color: var(--orange-600); background: var(--orange-50); }
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 560px;
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  transition: opacity .3s, transform .4s var(--ease-out), visibility .3s;
}
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
.has-menu:hover .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 14px; align-items: flex-start; }
.mega a:hover { background: var(--orange-50); }
.mega .ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--orange-50); color: var(--orange); display: grid; place-items: center; }
.mega a:hover .ico { background: var(--orange-deep); color: #fff; }
.mega strong { display: block; font-size: 14.5px; color: var(--ink); }
.mega span { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: var(--orange-deep); color: #fff;
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 46px) 46px); transition: clip-path .7s var(--ease-out); overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); }
.mobile-menu a.big { display: block; font-family: var(--font-display); font-size: clamp(36px, 10vw, 56px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; }
.mobile-menu .small { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 15px; opacity: .9; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.section-sm { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { text-align: center; justify-items: center; }
.section-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; }
.bg-paper { background: var(--paper); }
.bg-orange { background: var(--orange-deep); color: #fff; }
.bg-orange .lead, .bg-orange .muted { color: #fff; }
.bg-orange .eyebrow { color: #fff; }
.bg-orange .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .lead, .bg-ink .muted { color: rgba(255,255,255,.75); }
.round-top { border-radius: var(--radius-l) var(--radius-l) 0 0; }
.round { border-radius: var(--radius-l); }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 70px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 75% 45%, var(--orange-100) 0%, transparent 70%),
    radial-gradient(40% 40% at 10% 90%, var(--orange-50) 0%, transparent 70%),
    var(--white);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px; }
.hero-copy { display: grid; gap: 28px; position: relative; z-index: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; }
.hero-art canvas { position: absolute; inset: -12%; width: 124% !important; height: 124% !important; max-width: none; }
.hero-art .fallback {
  position: absolute; inset: 14%; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 6%, var(--orange-400) 30%, var(--orange) 55%, var(--orange-600) 100%);
  box-shadow: inset -30px -40px 80px rgba(150,40,0,.35), var(--shadow-orange);
  animation: floaty 6s ease-in-out infinite;
}
.webgl .hero-art .fallback, .webgl .art-box .fallback { display: none; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(4deg); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 10px; }
.hero-meta div { display: grid; }
.hero-meta strong { font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; }
.hero-meta span { font-size: 13px; color: var(--ink-3); }
.floating-tag {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600;
}
.floating-tag small { display: block; font-weight: 500; color: var(--ink-3); font-size: 11.5px; }
.floating-tag .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--orange-deep); color: #fff; display: grid; place-items: center; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.scroll-hint i { width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid var(--line-strong); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* page hero (sub pages) */
.page-hero { padding: 150px 0 60px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 80% 30%, var(--orange-100), transparent 70%), var(--white); }
.page-hero .hero-grid { grid-template-columns: 1.1fr .9fr; }
.page-hero.compact { padding-bottom: 20px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); font-family: var(--font-mono); }
.crumbs a:hover { color: var(--orange); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 22px 0; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: var(--ink-2); white-space: nowrap; }
.marquee-item svg { color: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.orange { background: var(--orange-deep); border: 0; transform: rotate(-2deg); margin: 0 -20px; }
.marquee.orange .marquee-item { color: #fff; }
.marquee.orange .marquee-item svg { color: #fff; }

/* ---------- horizontal product scroller ---------- */
.hscroll { overflow: hidden; }
.hscroll-track { display: flex; gap: 24px; padding: 0 var(--gutter); width: max-content; }
.pcard {
  position: relative; width: min(460px, 82vw); height: min(580px, 74vh); flex: none;
  border-radius: var(--radius-l); padding: 34px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pcard.is-orange { background: var(--orange-deep); color: #fff; border-color: var(--orange-deep); }
.pcard.is-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard.is-cream { background: var(--orange-50); border-color: var(--orange-100); }
.pcard .num { font-family: var(--font-mono); font-size: 13px; }
.pcard h3 { font-size: clamp(40px, 4.5vw, 60px); letter-spacing: -.045em; }
.pcard p { opacity: 1; max-width: 34ch; }
.pcard .pc-art { position: absolute; right: -40px; top: 10px; width: 300px; height: 300px; pointer-events: none; transform-origin: top right; scale: .8; }
.pcard > *:not(.pc-art) { position: relative; z-index: 1; }
@media (max-height: 760px) { .pcard .pc-art { scale: .6; } }
.pcard .pc-foot { display: flex; align-items: center; justify-content: space-between; }
.pcard .go { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .5s var(--ease-out); }
.pcard.is-ink .go, .pcard.is-orange .go { background: #fff; color: var(--ink); }
.pcard:hover .go { transform: rotate(-45deg) scale(1.08); }

/* css 3d-ish product art (no WebGL needed) */
.orb { position: absolute; border-radius: 50%; }
.orb.o1 { width: 210px; height: 210px; right: 40px; top: 30px; background: radial-gradient(circle at 30% 28%, #fff 0 5%, #ffb08a 22%, var(--orange) 55%, #c23a05 100%); box-shadow: inset -18px -24px 50px rgba(120,30,0,.35); }
.orb.o2 { width: 90px; height: 90px; right: 10px; top: 210px; background: radial-gradient(circle at 30% 28%, #fff 0 14%, #f4ebe6 50%, #cdb8ac 100%); box-shadow: inset -8px -10px 20px rgba(80,30,5,.18); }
.orb.o3 { width: 60px; height: 60px; right: 220px; top: 190px; background: radial-gradient(circle at 30% 28%, #fff 0 10%, #ffd4bf 40%, #ff8a55 100%); }
.pcard.is-orange .orb.o1 { background: radial-gradient(circle at 30% 28%, #fff 0 8%, #fff3ec 30%, #ffd2bc 60%, #e98d63 100%); }
.ring3d { position: absolute; right: 20px; top: 50px; width: 240px; height: 240px; border-radius: 50%; border: 18px solid var(--orange); transform: rotateX(68deg) rotateZ(20deg); box-shadow: 0 0 0 2px rgba(255,255,255,.2) inset; }
.cube3d { position: absolute; width: 120px; height: 120px; transform-style: preserve-3d; animation: spin3d 14s linear infinite; }
.cube3d i { position: absolute; inset: 0; border-radius: 22px; background: linear-gradient(135deg, #ff8a55, var(--orange)); border: 1px solid rgba(255,255,255,.35); }
.cube3d i:nth-child(1) { transform: translateZ(60px); }
.cube3d i:nth-child(2) { transform: rotateY(180deg) translateZ(60px); background: linear-gradient(135deg, var(--orange), #c23a05); }
.cube3d i:nth-child(3) { transform: rotateY(90deg) translateZ(60px); background: linear-gradient(135deg, #ffd2bc, #ff8a55); }
.cube3d i:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); background: linear-gradient(135deg, #ff7d45, #d9480f); }
.cube3d i:nth-child(5) { transform: rotateX(90deg) translateZ(60px); background: linear-gradient(135deg, #fff, #ffd2bc); }
.cube3d i:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); background: #b5390a; }
@keyframes spin3d { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

/* ---------- grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-200); }
.card h3 { font-size: 22px; letter-spacing: -.025em; margin: 0 0 10px; line-height: 1.15; }
.card .label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 14px; }
.card.orange .label, .card.ink .label { color: #fff; }
.card .big-ico { position: absolute; right: 24px; top: 24px; color: var(--orange); opacity: .9; }
.card.orange .big-ico, .card.ink .big-ico { color: #fff; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0; }
.card .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange); transition: background .3s, color .3s, transform .5s var(--ease-out); }
.card:hover .ico { background: var(--orange-deep); color: #fff; transform: rotate(-8deg) scale(1.05); }
.card.orange { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.card.orange p { color: #fff; }
.card.orange .ico { background: rgba(255,255,255,.18); color: #fff; }
.card.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.ink p { color: rgba(255,255,255,.78); }
.card.ink .ico { background: rgba(255,255,255,.1); color: var(--orange-400); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.bento .card { display: flex; flex-direction: column; justify-content: flex-end; }
.b-4 { grid-column: span 4; } .b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-6 { grid-column: span 6; }
.b-tall { grid-row: span 2; }
.bento .viz { flex: 1; display: grid; place-items: center; margin-bottom: 18px; min-height: 120px; }

/* mini bar viz */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; width: 100%; }
.bars i { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--orange-400), var(--orange)); transform-origin: bottom; }
.bars i:nth-child(odd) { background: var(--orange-100); }
.card.orange .bars i { background: #fff; } .card.orange .bars i:nth-child(odd) { background: rgba(255,255,255,.35); }

/* range viz */
.range { width: 100%; position: relative; height: 120px; }
.range svg { width: 100%; height: 100%; overflow: visible; }

/* steps */
.steps { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.steps-sticky { position: sticky; top: 120px; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n { font-family: var(--font-display); font-size: 42px; font-weight: 600; color: var(--orange); letter-spacing: -.04em; line-height: 1; }
.step h3 { font-size: 26px; margin-bottom: 10px; letter-spacing: -.03em; }
.step p { color: var(--ink-2); margin: 0; }
.art-box { position: relative; aspect-ratio: 1; border-radius: var(--radius-l); background: radial-gradient(circle at 50% 45%, #fff, var(--orange-50) 70%); border: 1px solid var(--line); overflow: hidden; }
.art-box canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.art-box .fallback { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 6%, var(--orange-400) 30%, var(--orange) 55%, var(--orange-600) 100%); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.stat { padding: 34px 24px 0 0; display: grid; gap: 6px; }
.stat strong { font-family: var(--font-display); font-size: clamp(44px, 5.4vw, 76px); letter-spacing: -.05em; line-height: 1; font-weight: 600; }
.stat span { font-size: 14px; }
.bg-paper .stats, .stats.on-light { border-color: var(--line); }

/* token / coin */
.token-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.donut { width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; position: relative; margin: 0 auto; background: conic-gradient(var(--orange) 0 38%, var(--orange-400) 38% 60%, var(--orange-200) 60% 78%, var(--ink) 78% 90%, var(--line-strong) 90% 100%); }
.donut::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 12px rgba(80,30,5,.08); }
.donut .center { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; text-align: center; }
.donut .center strong { font-family: var(--font-display); font-size: 34px; letter-spacing: -.04em; display: block; line-height: 1; }
.legend { display: grid; gap: 14px; }
.legend div { display: grid; grid-template-columns: 14px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.legend i { width: 14px; height: 14px; border-radius: 4px; }
.legend b { font-family: var(--font-mono); font-weight: 500; }

/* table */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.table td:first-child { font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.yes { color: var(--orange-600); font-weight: 600; }

/* accordion */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--orange-200); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--orange-50); position: relative; transition: background .3s, transform .4s var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--orange); transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-out); }
.faq details[open] summary i { background: var(--orange); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.faq-cats button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 500; transition: all .3s; }
.faq-cats button.on, .faq-cats button:hover { background: var(--orange-deep); color: #fff; border-color: var(--orange-deep); }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline .fill { position: absolute; left: 150px; top: 0; width: 2px; height: 100%; background: var(--orange); transform-origin: top; transform: scaleY(0); }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: 44px; padding: 0 0 56px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 144px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.tl-date { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.tl-body h3 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 10px; }
.tl-body ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); }
.tl-body li { margin-bottom: 6px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 6px; font-size: 11.5px; font-weight: 600; font-family: var(--font-mono); letter-spacing: .04em; text-transform: uppercase; background: var(--orange-50); color: var(--orange-600); margin-right: 6px; }
.tag.ink { background: var(--ink); color: #fff; }
.tag.line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); }

/* docs */
.docs { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.docs-nav { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 14.5px; }
.docs-nav h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 18px 0 6px 12px; }
.docs-nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); border-left: 2px solid transparent; }
.docs-nav a:hover { background: var(--orange-50); color: var(--ink); }
.docs-nav a.on { color: var(--orange-600); background: var(--orange-50); border-left-color: var(--orange); font-weight: 600; }
.doc-body { max-width: 760px; }
.doc-body section { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.doc-body h2 { font-size: 38px; margin-bottom: 18px; }
.doc-body h3 { font-size: 22px; margin: 28px 0 10px; letter-spacing: -.02em; }
.doc-body p, .doc-body li { color: var(--ink-2); }
.code { background: var(--ink); color: #ffe1d1; border-radius: 16px; padding: 22px 24px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; overflow-x: auto; white-space: pre; }
.code .k { color: var(--orange-400); } .code .s { color: #ffd2a8; } .code .c { color: #a08575; }
.callout { display: flex; gap: 14px; background: var(--orange-50); border: 1px solid var(--orange-100); border-radius: 16px; padding: 18px 20px; color: var(--ink-2); margin: 20px 0; }
.callout b { color: var(--orange-600); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 80px); background: var(--orange-deep); color: #fff; isolation: isolate; }
.cta::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.35), transparent 65%); z-index: -1; }
.cta .art-cta { position: absolute; right: -60px; bottom: -80px; width: 460px; height: 460px; z-index: -1; }
.cta h2 { max-width: 14ch; }
.cta .eyebrow { color: #fff; }
.cta .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.cta .lead { color: #fff; margin: 22px 0 34px; }

/* footer */
.site-footer { background: var(--ink); color: #fff; padding: 90px 0 10px; overflow: hidden; border-radius: var(--radius-l) var(--radius-l) 0 0; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot-grid h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 500; margin-bottom: 18px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { color: rgba(255,255,255,.82); transition: color .2s; }
.foot-grid a:hover { color: var(--orange-400); }
.newsletter { display: flex; gap: 8px; margin-top: 24px; max-width: 380px; }
.newsletter input { flex: 1; min-width: 0; height: 50px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; padding: 0 20px; font: inherit; font-size: 16px; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter input:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.62); margin-top: 60px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease-out); }
.socials a:hover { background: var(--orange-deep); transform: translateY(-3px); }

/* reveal defaults (JS sets inline states; no-JS stays visible) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(40px); }

/* list checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.bg-orange .checks li { color: #fff; }
.bg-orange .checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split-feature.rev > :first-child { order: 2; }

/* mock UI panel */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; font-size: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head .dots { display: flex; gap: 6px; } .panel-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); } .panel-head .dots i:first-child { background: var(--orange); }
.panel-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.panel-row:last-child { border: 0; }
.panel-row b { font-family: var(--font-mono); font-weight: 500; }
.meter { height: 10px; border-radius: 99px; background: var(--orange-50); overflow: hidden; margin: 8px 0 4px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange-400), var(--orange)); transform-origin: left; }
.spark { width: 100%; height: 90px; }

/* quote */
.quote { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -.035em; line-height: 1.08; font-weight: 500; max-width: 22ch; }
.quote .w { opacity: .18; transition: opacity .2s; }

/* responsive */
@media (max-width: 1020px) {
  .nav-links, .nav-cta .btn-ghost, .net-pill { display: none; }
  .burger { display: block; }
  .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; order: -1; }
  .hero { padding-top: 110px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-4, .b-3, .b-2, .b-6 { grid-column: span 2; }
  .b-2.half { grid-column: span 1; }
  .steps, .token-wrap, .split-feature, .section-head.split { grid-template-columns: 1fr; }
  .split-feature.rev > :first-child { order: 0; }
  .steps-sticky { position: relative; top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: span 2; }
  .docs { grid-template-columns: 1fr; }
  .docs-nav { position: relative; top: 0; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .docs-nav h4 { display: none; }
  .docs-nav a { white-space: nowrap; border-left: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-4, .b-3, .b-2, .b-6, .b-2.half { grid-column: span 1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 10px; }
  .timeline::before, .timeline .fill { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl-item::before { left: 1px; }
  .nav { padding-left: 16px; }
  .nav-cta .btn-primary { display: none; }
  .floating-tag { display: none; }
  .pcard { padding: 26px; }
  .cta .art-cta { opacity: .5; }
  .btn { height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- centred hero (home) ---------- */
.hero-c { padding: 112px 0 40px; align-items: stretch; background: var(--paper); }
.hero-c::before { background: radial-gradient(55% 55% at 50% 70%, var(--orange-100) 0%, transparent 70%), radial-gradient(30% 35% at 92% 15%, var(--orange-50), transparent 70%), var(--paper); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; fill: none; stroke: rgba(212, 65, 11, .085); stroke-width: 1.2; }
.hero-c-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; min-height: calc(100svh - 152px); }
.mega-word {
  position: relative; margin: 0; text-align: center;
  font-size: clamp(88px, 17vw, 290px); font-weight: 700; letter-spacing: -.065em; line-height: .86;
  color: var(--ink); padding-right: .08em;
}
.mega-word .spark { position: absolute; right: -.12em; top: .02em; width: .2em; height: .2em; color: var(--orange); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-tag { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; color: var(--ink); text-align: center; }
.hero-stage { position: relative; width: min(860px, 100%); flex: 1; min-height: 380px; margin-top: -10px; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-stage .fallback { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 2.2; transform: translate(-50%, -40%); border-radius: 50%; background: radial-gradient(circle at 40% 30%, #fff 0 4%, var(--orange-400) 30%, var(--orange) 60%, var(--orange-600)); }
.webgl .hero-stage .fallback { display: none; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.hero-bottom > * { pointer-events: auto; }
.hero-left { max-width: 380px; }
.hero-left p { color: var(--ink-2); font-size: 17px; line-height: 1.6; margin-bottom: 26px; }
.hero-left .hero-actions { align-items: center; gap: 22px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.text-link svg { transition: transform .4s var(--ease-out); }
.text-link:hover { color: var(--orange-600); }
.text-link:hover svg { transform: translateX(4px); }
.hero-right { font-size: 12.5px; letter-spacing: .14em; color: var(--ink-2); padding-bottom: 16px; }
.hero-right span { color: var(--orange); padding: 0 6px; }
.bubble { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, #fff 0 6%, #ffb08a 24%, var(--orange) 62%, #c23a05 100%);
  box-shadow: inset -10px -14px 30px rgba(120, 30, 0, .3); }
.bb1 { width: 170px; height: 170px; right: 7%; top: 120px; }
.bb2 { width: 46px; height: 46px; right: 4%; top: 340px; opacity: .9; }
.bb3 { width: 120px; height: 120px; left: -40px; top: 170px; background: radial-gradient(circle at 32% 28%, #fff 0 10%, #fff3ec 40%, #ffd2bc 75%, #f0a07a); }
.bb4 { width: 64px; height: 64px; right: 14%; bottom: 120px; }
.bb5 { width: 90px; height: 90px; right: -30px; bottom: 260px; background: radial-gradient(circle at 32% 28%, #fff 0 10%, #fff3ec 40%, #ffd2bc 75%, #f0a07a); }
@media (max-width: 1020px) {
  .hero-c-inner { min-height: 0; }
  .hero-stage { flex: none; height: min(62vw, 440px); min-height: 0; margin-top: 0; }
  .hero-bottom { position: static; flex-direction: column; align-items: stretch; margin-top: 8px; }
  .hero-left { max-width: none; }
  .hero-right { display: none; }
  .bb1 { width: 90px; height: 90px; top: 100px; }
  .bb4, .bb5 { display: none; }
}
@media (max-width: 640px) {
  .mega-word { font-size: 25vw; }
  .hero-c { padding-top: 104px; }
  .hero-stage { height: 76vw; }
  .bb1 { width: 54px; height: 54px; right: -16px; top: 360px; }
  .bb2 { display: none; }
  .bb3 { width: 64px; height: 64px; left: -28px; top: 470px; }
}
