/* MoltenRock Trade — marketing site. No frameworks, no web fonts (privacy: nothing loads from third parties). */
:root {
  --ink: #0b0c0f; --ink-2: #13151b; --ink-3: #1c1f27; --line-d: rgba(255, 255, 255, .09);
  --paper: #f4f2ed; --card: #ffffff; --line: #e6e2d9; --text: #15161a; --muted: #6b6f7b; --muted-d: #9aa0ae; --fg: #f3f0ea;
  --e1: #ff4d1a; --e2: #ff7a2e; --e3: #ffb45c; --e4: #ffe0a3; --ok: #1f9d63; --bad: #e5484d;
  --ember: linear-gradient(100deg, var(--e1), var(--e2) 45%, var(--e3) 80%, var(--e4));
  --r: 24px; --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.wrap.narrow { width: min(760px, 100% - 48px); }
h1, h2, h3 { margin: 0; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.2rem); font-weight: 760; max-width: 16ch; }
h3 { font-size: 1.28rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.08rem, .95rem + .5vw, 1.32rem); line-height: 1.55; max-width: 38rem; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
em.molten { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; padding-right: .06em;
  background: linear-gradient(100deg, var(--e1), var(--e2), var(--e3), var(--e4), var(--e2), var(--e1)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 8s ease-in-out infinite; }

/* progress + nav */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--e2); }
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1180px, 100% - 24px); display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 18px; border-radius: 18px; color: var(--fg); transition: background .4s, box-shadow .4s, border-color .4s; border: 1px solid transparent; }
.nav.scrolled { background: rgba(14, 15, 19, .66); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line-d); box-shadow: 0 10px 40px -12px rgba(0, 0, 0, .5); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 720; letter-spacing: -.02em; font-size: 1.05rem; white-space: nowrap; }
.brand svg { width: 26px; height: 26px; color: var(--e2); filter: drop-shadow(0 0 10px rgba(255, 90, 31, .6)); }
.links { display: flex; gap: 26px; margin: 0 auto; }
.links a { text-decoration: none; font-size: .92rem; color: #c6c9d2; transition: color .2s; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--ember); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.links a:hover { color: #fff; } .links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.lang button { font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #9aa0ae; background: none; border: 0; padding: 5px 8px; border-radius: 7px; cursor: pointer; }
.lang button.on { background: rgba(255, 255, 255, .14); color: #fff; }
@media (max-width: 960px) { .links { display: none; } .nav { gap: 10px; } .nav-right { margin-left: auto; } }
@media (max-width: 520px) { .nav .btn.small { display: none; } .nav { padding: 10px 10px 10px 14px; } .brand { font-size: .95rem; gap: 8px; } .brand svg { width: 22px; height: 22px; } .lang button { padding: 5px 6px; } }

/* buttons */
.btn { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; font: inherit; font-weight: 680; font-size: .98rem;
  text-decoration: none; color: #1a0a03; background: var(--ember); border: 0; cursor: pointer; isolation: isolate; transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); box-shadow: 0 10px 30px -10px rgba(255, 77, 26, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%); background-size: 250% 100%; background-position: 150% 0; transition: background-position .8s var(--ease); }
.btn:hover::after { background-position: -50% 0; }
.btn:hover { box-shadow: 0 16px 40px -10px rgba(255, 77, 26, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn.big { padding: 16px 26px; font-size: 1.05rem; border-radius: 16px; }
.btn.small { padding: 8px 14px; font-size: .88rem; border-radius: 11px; }
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.light .btn.ghost, .free .btn.ghost { color: var(--text); background: rgba(0, 0, 0, .04); box-shadow: inset 0 0 0 1px var(--line); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ================= HERO ================= */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; color: var(--fg); overflow: hidden; padding: 120px 0 80px;
  background: radial-gradient(90% 70% at 70% 30%, #2a130a 0%, #110c0a 45%, var(--ink) 75%); }
.lava { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay; animation: grain 1.2s steps(4) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--ink)); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: min(1180px, 100% - 48px); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: .84rem; color: #e9e4db;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--e2); box-shadow: 0 0 0 0 rgba(255, 122, 46, .6); animation: ping 2.2s infinite; }
.hero h1 { font-size: clamp(3rem, 1.4rem + 6.4vw, 6.6rem); font-weight: 800; letter-spacing: -.055em; line-height: .95; margin: 22px 0 22px; }
.hero h1 em.molten { font-size: 1.04em; }
.hero .lead { color: #cfcbc4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: #a7a39c; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--e3), var(--e1)); box-shadow: 0 0 10px rgba(255, 90, 31, .6); flex: 0 0 14px; }
.hero-copy > .reveal:nth-child(2) { --d: .08s; } .hero-copy > .reveal:nth-child(3) { --d: .16s; } .hero-copy > .reveal:nth-child(4) { --d: .24s; } .hero-copy > .reveal:nth-child(5) { --d: .32s; }

.stage3d { perspective: 1400px; height: 560px; position: relative; }
.scene { --rx: 6deg; --ry: -14deg; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); animation: enter 1.4s var(--ease) both .2s; }
.window { position: absolute; left: 4%; top: 40px; width: 88%; height: 440px; border-radius: 20px; overflow: hidden; transform: translateZ(0);
  background: linear-gradient(180deg, rgba(30, 32, 40, .82), rgba(18, 19, 24, .88)); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 122, 46, .08), 0 0 80px -20px rgba(255, 90, 31, .35); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: .76rem; color: #8f94a1; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d47; } .win-bar i:nth-child(1) { background: #ff5f57; } .win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 10px; font-family: var(--mono); }
.chat { padding: 18px; display: flex; flex-direction: column; gap: 10px; height: calc(100% - 42px); overflow: hidden; justify-content: flex-end; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.4; animation: msg-in .5s var(--spring) both; }
.msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--e2), var(--e1)); color: #1a0a03; font-weight: 600; border-bottom-right-radius: 4px; }
.msg.agent { align-self: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); color: #e8e5df; border-bottom-left-radius: 4px; }
.msg.agent .tool { display: block; font-family: var(--mono); font-size: .72rem; color: var(--e3); margin-bottom: 3px; }
.msg .bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); margin-top: 8px; overflow: hidden; }
.msg .bar b { display: block; height: 100%; width: 0; background: var(--ember); animation: fill 1.6s var(--ease) forwards .2s; }
.msg.typing { display: inline-flex; gap: 5px; padding: 13px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #aab; animation: blink 1.2s infinite; } .msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
.float { position: absolute; border-radius: 16px; color: #efece6; background: rgba(24, 25, 31, .82); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); animation: bob 7s ease-in-out infinite; }
.kpi-float { right: -3%; top: 0; width: 200px; padding: 14px 16px; transform: translateZ(90px); }
.kpi-float small { color: #9aa0ae; font-size: .74rem; } .kpi-float b { display: block; font-size: 1.45rem; letter-spacing: -.03em; margin-top: 2px; }
.kpi-float svg { width: 100%; height: 34px; margin-top: 6px; } .kpi-float path { fill: none; stroke: var(--e2); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 2.4s var(--ease) forwards 1.2s; }
.bill-float { left: -6%; bottom: 10px; width: 210px; padding: 14px 16px; transform: translateZ(140px); animation-delay: -2.5s; color: var(--text); background: #fbfaf7; border-color: rgba(0, 0, 0, .08); }
.bill-head { display: flex; gap: 8px; align-items: baseline; font-size: .8rem; height: 34px; padding-right: 40px; margin-bottom: 4px; } .bill-head span { font-family: var(--mono); color: var(--muted); }
.bill-row { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); padding: 2px 0; font-variant-numeric: tabular-nums; }
.bill-row.total { color: var(--text); font-weight: 750; font-size: .95rem; border-top: 1px dashed #d6d1c6; margin-top: 6px; padding-top: 7px; }
.qr-mini { position: absolute; right: 14px; top: 12px; width: 30px; height: 30px; border-radius: 3px;
  background: conic-gradient(from 90deg at 50% 50%, #111 0 25%, transparent 0 50%, #111 0 75%, transparent 0) 0 0 / 8px 8px; opacity: .85; }
.qr-mini::after { content: "+"; position: absolute; inset: 9px; display: grid; place-items: center; background: #111; color: #fff; font-size: 11px; font-weight: 900; line-height: 1; border: 2px solid #fff; }
.toast-float { right: 2%; bottom: -8px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; transform: translateZ(60px); animation-delay: -4s; }
.toast-float small { display: block; color: #9aa0ae; font-size: .74rem; } .toast-float b { font-size: .86rem; }
.toast-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--e2), var(--e1)); color: #1a0a03; font-weight: 900; }
.toast-float button { font: inherit; font-size: .78rem; font-weight: 700; border: 0; border-radius: 9px; padding: 7px 11px; background: #fff; color: var(--ink); }
.toast-float.approved button { background: var(--ok); color: #fff; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: wheel 2s infinite; }
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .stage3d { height: 470px; max-width: 560px; width: 100%; margin: 0 auto; }
  .window { height: 380px; }
}
@media (max-width: 560px) {
  .stage3d { height: 440px; margin-top: 10px; }
  .scene { --rx: 3deg !important; --ry: -5deg !important; }
  .window { left: 0; width: 100%; top: 56px; height: 330px; }
  .msg { font-size: .82rem; }
  .kpi-float { right: 0; top: 0; width: 160px; padding: 10px 12px; } .kpi-float b { font-size: 1.15rem; } .kpi-float svg { height: 24px; }
  .bill-float { display: none; }
  .toast-float { right: 0; left: 8%; bottom: 0; }
  .scroll-hint { display: none; }
}

/* ================= NUMBERS ================= */
.numbers { background: var(--ink); color: var(--fg); padding: 40px 0 110px; }
.numbers-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; border-top: 1px solid var(--line-d); padding-top: 40px; }
.num b { display: block; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); font-weight: 780; letter-spacing: -.05em; line-height: 1; background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.num span { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted-d); max-width: 22ch; }
.num:nth-child(2) { --d: .08s; } .num:nth-child(3) { --d: .16s; } .num:nth-child(4) { --d: .24s; } .num:nth-child(5) { --d: .32s; }
@media (max-width: 860px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================= HOW ================= */
.how { background: var(--paper); padding: 140px 0 120px; border-radius: 40px 40px 0 0; position: relative; }
.how h2 { max-width: 18ch; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 70px; align-items: start; }
.how-visual { position: sticky; top: 16vh; height: 64vh; min-height: 460px; display: grid; place-items: center; }
.device { position: relative; width: min(440px, 100%); height: 100%; max-height: 520px; border-radius: 30px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 50px 100px -40px rgba(60, 30, 10, .35), 0 0 0 10px rgba(255, 255, 255, .5); overflow: hidden; }
.device::before { content: ""; position: absolute; inset: 0 0 auto; height: 120px; background: radial-gradient(80% 100% at 50% 0%, rgba(255, 122, 46, .16), transparent); }
.screen { position: absolute; inset: 0; padding: 38px 30px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.screen.on { opacity: 1; transform: none; }
.mock-title { font-weight: 750; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 22px; }
.field { margin-bottom: 14px; } .field label { display: block; font-size: .76rem; font-weight: 650; color: var(--muted); margin-bottom: 6px; }
.input { height: 44px; border-radius: 11px; border: 1px solid var(--line); background: #faf9f6; padding: 0 14px; display: flex; align-items: center; font-size: .92rem; font-family: var(--sans); white-space: nowrap; overflow: hidden; }
.input.url { font-family: var(--mono); font-size: .8rem; color: #b33c10; }
.input.typed::after { content: ""; width: 1.5px; height: 18px; background: var(--e1); margin-left: 2px; animation: caret 1s steps(1) infinite; }
.mock-btn { margin-top: 20px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; color: #1a0a03; background: var(--ember); }
.mock-btn.pulse { animation: glow 2s ease-in-out infinite; }
.consent { margin-top: 18px; padding: 16px; border-radius: 14px; border: 1px solid rgba(255, 90, 31, .35); background: #fff7f2; }
.consent .muted { font-size: .82rem; margin-top: 4px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 560; opacity: .3; transition: opacity .5s; }
.ticks li::before { content: "✓"; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 900; color: #fff; background: #d8d3c9; transition: background .5s, transform .5s var(--spring); transform: scale(.7); }
.ticks li.done { opacity: 1; } .ticks li.done::before { background: var(--ok); transform: scale(1); }
.how-steps { list-style: none; padding: 0; margin: 0; }
.step { min-height: 62vh; padding: 16vh 0 0; opacity: .28; transition: opacity .6s var(--ease); }
.step:first-child { padding-top: 6vh; }
.step.active { opacity: 1; }
.step-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-weight: 800; margin-bottom: 20px; color: #1a0a03; background: var(--ember); box-shadow: 0 12px 30px -10px rgba(255, 77, 26, .7); }
.step h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 1.08rem; max-width: 30rem; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .how-visual { position: sticky; top: 76px; z-index: 2; height: 330px; min-height: 0; }
  .device { height: 320px; } .screen { padding: 24px 22px; } .mock-title { font-size: 1.05rem; margin-bottom: 12px; } .field { margin-bottom: 8px; } .input { height: 36px; }
  .step { min-height: 55vh; padding-top: 8vh; }
}

/* ================= FEATURES ================= */
.features { background: var(--paper); padding: 40px 0 140px; }
.eyebrow.dark { background: linear-gradient(100deg, #c2360b, var(--e1), var(--e2)); -webkit-background-clip: text; background-clip: text; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 60px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 30px; overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -40px rgba(60, 30, 10, .3); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(60, 30, 10, .4); }
.card h3 { margin-bottom: 8px; max-width: 24ch; } .card > .muted { font-size: .95rem; max-width: 42ch; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 46, .12), transparent 45%); }
.spot:hover::before { opacity: 1; }
.calc { grid-column: span 4; } .qr { grid-column: span 2; grid-row: span 2; } .langs { grid-column: span 2; } .approve { grid-column: span 2; } .lock { grid-column: span 2; } .dash { grid-column: span 4; }
.bento > .reveal:nth-child(2) { --d: .08s; } .bento > .reveal:nth-child(3) { --d: .14s; } .bento > .reveal:nth-child(4) { --d: .2s; } .bento > .reveal:nth-child(5) { --d: .26s; } .bento > .reveal:nth-child(6) { --d: .32s; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, 1fr); } .calc, .dash { grid-column: span 2; } .qr { grid-column: span 2; grid-row: auto; } .langs, .approve, .lock { grid-column: span 1; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .calc, .dash, .qr, .langs, .approve, .lock { grid-column: auto; } .card { padding: 22px; } }

/* calculator */
.calc-ui { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 26px; align-items: start; }
@media (max-width: 760px) { .calc-ui { grid-template-columns: 1fr; } }
.calc-controls label { display: flex; justify-content: space-between; align-items: baseline; font-size: .86rem; font-weight: 650; color: var(--muted); gap: 12px; }
.calc-controls output { font-size: 1.6rem; font-weight: 780; color: var(--text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; margin: 18px 0 22px; cursor: pointer;
  background: linear-gradient(90deg, var(--e1), var(--e2) var(--p, 10%), #ebe7de var(--p, 10%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 90, 31, .18), 0 4px 12px rgba(0, 0, 0, .25); transition: transform .2s var(--spring); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(255, 90, 31, .18), 0 4px 12px rgba(0, 0, 0, .25); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 13px; background: #f1eee7; flex-wrap: wrap; }
.seg button { flex: 1; font: inherit; font-size: .84rem; font-weight: 650; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.calc-out { border-radius: 16px; background: #fbfaf7; border: 1px solid var(--line); padding: 16px 18px; }
.calc-out .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.calc-out .row b { color: var(--text); font-weight: 650; transition: color .3s; }
.calc-out .row.total { border-top: 2px solid var(--text); margin-top: 6px; padding-top: 11px; font-size: 1.05rem; color: var(--text); font-weight: 750; }
.calc-out .row.total b { font-size: 1.2rem; font-weight: 800; }
.calc-out .row b.tick { color: var(--e1); }
.flags { margin-top: 12px; min-height: 30px; }
.flag { display: none; font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: rgba(31, 157, 99, .12); color: var(--ok); animation: pop .4s var(--spring); }
.flag.show { display: inline-flex; } .flag#f-min { background: rgba(0, 0, 0, .06); color: var(--muted); } .flag.hot { background: rgba(255, 77, 26, .12); color: #c2360b; }

/* QR slip */
.slip { position: relative; margin-top: 28px; display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid #d9d4c9; border-radius: 12px; background: #fff; overflow: hidden; font-size: .72rem; }
.slip-left { padding: 14px; border-right: 1px dashed #bdb6a8; display: flex; flex-direction: column; gap: 3px; }
.slip-left b, .slip-right b { font-size: .8rem; margin-bottom: 6px; } .slip-left small { color: var(--muted); font-weight: 700; font-size: .62rem; margin-top: 6px; }
.slip-left span { font-family: var(--mono); font-size: .64rem; }
.slip-right { padding: 14px; display: flex; flex-direction: column; }
.qr-grid { position: relative; width: 100%; max-width: 180px; aspect-ratio: 1; display: grid; grid-template-columns: repeat(25, 1fr); gap: 0; margin: 4px auto 0; }
.qr-grid i { background: #111; transform: scale(0); border-radius: 1px; }
.qr-grid.in i { animation: pop .35s var(--spring) forwards; animation-delay: var(--q, 0s); }
.qr-grid .cross { position: absolute; left: 50%; top: 50%; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0); background: #111; border: 3px solid #fff; display: grid; place-items: center; }
.qr-grid .cross::before, .qr-grid .cross::after { content: ""; position: absolute; background: #fff; }
.qr-grid .cross::before { width: 60%; height: 18%; } .qr-grid .cross::after { width: 18%; height: 60%; }
.qr-grid.in .cross { animation: pop-center .6s var(--spring) forwards 1.3s; }
.scissors { position: absolute; top: -9px; left: 40%; font-size: 14px; color: #9a9385; background: #fff; }
.qr .muted { margin-bottom: 0; }
.qr { display: flex; flex-direction: column; }
.qr-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: .92rem; color: #3d3f46; }
.qr-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; }
.qr-list li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 900; color: #fff; background: var(--ok); }

/* languages */
.product { margin-top: 24px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; background: #fbfaf7; border: 1px solid var(--line); }
.p-img { aspect-ratio: 1; border-radius: 14px; background: radial-gradient(circle at 30% 20%, #fff6e8, #ffe2c2); display: grid; place-items: center; overflow: hidden; }
.bottle { width: 34px; height: 64px; border-radius: 10px 10px 12px 12px; background: linear-gradient(90deg, #ff7a2e, #ffb45c 60%, #ff9a4a); position: relative; box-shadow: inset -6px 0 10px rgba(0, 0, 0, .12); animation: sway 5s ease-in-out infinite; }
.bottle::before { content: ""; position: absolute; top: -12px; left: 9px; width: 16px; height: 13px; border-radius: 4px 4px 2px 2px; background: #2a2b30; }
.bottle::after { content: "50"; position: absolute; top: 22px; left: 0; right: 0; text-align: center; font-weight: 900; font-size: .72rem; color: #fff; }
.p-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.p-tabs button { font: inherit; font-size: .7rem; font-weight: 800; padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: all .25s; }
.p-tabs button.on { background: var(--text); color: #fff; border-color: var(--text); }
.p-name { display: block; font-size: 1rem; letter-spacing: -.01em; }
.p-desc { font-size: .82rem; color: var(--muted); margin-top: 4px; min-height: 2.6em; }
.p-name, .p-desc, .prov { transition: opacity .25s, transform .25s var(--ease), filter .25s; }
.swap .p-name, .swap .p-desc, .swap .prov { opacity: 0; transform: translateY(6px); filter: blur(4px); }
.p-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.prov { white-space: nowrap; }
.prov { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; background: #eceae4; color: var(--muted); }
.prov.agent { background: rgba(255, 90, 31, .12); color: #c2360b; }
.price { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; } .price small { color: var(--muted); font-weight: 600; }

/* approvals */
.req { position: relative; margin-top: 22px; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: #fbfaf7; overflow: hidden; }
.req-top { display: flex; gap: 12px; align-items: center; } .req-top small { display: block; color: var(--muted); font-size: .78rem; }
.req-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(90, 110, 255, .12); color: #5a6eff; font-size: 1.1rem; }
.req-note { font-size: .86rem; color: #3d3f46; margin: 12px 0; font-style: italic; } .req-note small { font-style: normal; color: var(--muted); }
.req-actions { display: flex; gap: 8px; }
.req-actions button { flex: 1; font: inherit; font-weight: 700; font-size: .86rem; padding: 10px; border-radius: 11px; border: 0; cursor: pointer; transition: transform .2s var(--spring); }
.req-actions button:active { transform: scale(.96); }
.req-actions .yes { background: var(--text); color: #fff; } .req-actions .no { background: #ebe7de; color: var(--text); }
.req-done { position: absolute; inset: 0; display: grid; place-items: center; grid-auto-flow: column; gap: 10px; background: rgba(31, 157, 99, .96); color: #fff; opacity: 0; transform: scale(1.05); transition: opacity .4s, transform .5s var(--spring); pointer-events: none; }
.req-done span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ok); font-weight: 900; }
.req.done .req-done { opacity: 1; transform: none; }

/* lock */
.lock-ic { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #1b1d24, #0f1014); margin-bottom: 18px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.lock-ic svg { width: 38px; height: 38px; fill: none; stroke: var(--e2); stroke-width: 3; stroke-linecap: round; }
.lock-ic .shackle { transform: translateY(-5px); transition: transform .6s var(--spring) .4s; }
.lock.in .shackle { transform: none; }

/* mini dashboard */
.mini-bars { margin-top: 26px; height: 120px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 16px; background: linear-gradient(180deg, #fbfaf7, #fff); border: 1px solid var(--line); }
.mini-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--e3), var(--e1)); opacity: .75; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.mini-bars i:last-child { opacity: 1; box-shadow: 0 8px 18px -6px rgba(255, 77, 26, .7); }
.mini-bars i:nth-child(1) { height: 36%; } .mini-bars i:nth-child(2) { height: 30%; } .mini-bars i:nth-child(3) { height: 44%; } .mini-bars i:nth-child(4) { height: 40%; }
.mini-bars i:nth-child(5) { height: 55%; } .mini-bars i:nth-child(6) { height: 50%; } .mini-bars i:nth-child(7) { height: 63%; } .mini-bars i:nth-child(8) { height: 58%; }
.mini-bars i:nth-child(9) { height: 72%; } .mini-bars i:nth-child(10) { height: 69%; } .mini-bars i:nth-child(11) { height: 84%; } .mini-bars i:nth-child(12) { height: 96%; }
.dash.in .mini-bars i { transform: scaleY(1); }
.mini-bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 60ms); }

/* ================= AGENTS ================= */
.agents { background: var(--ink); color: var(--fg); padding: 150px 0 140px; border-radius: 40px; margin: 0 0 -40px; position: relative; z-index: 1; overflow: hidden; }
.agents::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(255, 90, 31, .18), transparent 60%); pointer-events: none; }
.agents h2 { max-width: 20ch; } .agents .lead { color: #bdb9b2; margin-top: 22px; }
.marquee { margin: 60px 0 70px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { font-family: var(--mono); font-size: .88rem; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); color: #dcd8d1; white-space: nowrap; }
.track span:nth-child(3n) { color: var(--e3); border-color: rgba(255, 180, 92, .25); }
.can-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 20px; align-items: start; }
@media (max-width: 1020px) { .can-grid { grid-template-columns: 1fr 1fr; } .terminal { grid-column: 1 / -1; } }
@media (max-width: 620px) { .can-grid { grid-template-columns: 1fr; } }
.can, .cannot { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-d); }
.can h3, .cannot h3 { margin-bottom: 16px; }
.can ul, .cannot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #d4d0c9; font-size: .95rem; }
.can li, .cannot li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.can li::before { content: "✓"; color: var(--ok); font-weight: 900; } .cannot li::before { content: "✦"; color: var(--e2); }
.cannot { border-color: rgba(255, 122, 46, .3); background: linear-gradient(160deg, rgba(255, 90, 31, .1), transparent 70%); }
.can-grid > .reveal:nth-child(2) { --d: .08s; } .can-grid > .reveal:nth-child(3) { --d: .16s; }
.terminal { border-radius: 20px; overflow: hidden; background: #08090b; border: 1px solid var(--line-d); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.terminal pre { margin: 0; padding: 18px 20px 22px; font-family: var(--mono); font-size: .8rem; line-height: 1.9; color: #cfd3dc; overflow-x: auto; white-space: pre; }
.terminal pre .c { color: #6b7080; } .terminal pre .k { color: var(--e3); } .terminal pre .s { color: #7ee2a8; } .terminal pre .ok { color: var(--ok); }
.terminal.in pre { animation: type-lines 2.4s steps(8) both .3s; }

/* ================= FREE ================= */
.free { background: var(--paper); padding: 180px 0 130px; }
.price-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 60px; align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; border-radius: 28px; padding: 36px; background: var(--card); border: 1px solid var(--line); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 14px; }
.price-card.main { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 90, 31, .35), transparent 55%), linear-gradient(160deg, #17181e, #0c0d10); color: var(--fg); border-color: #24262e; }
.price-card.main .muted { color: #b5b1aa; }
.tag { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--e2); }
.amount { font-size: clamp(3rem, 2rem + 3vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; } .amount small { font-size: 1rem; font-weight: 600; color: #9aa0ae; letter-spacing: 0; }
.checks { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; } .checks li::before { content: "✓"; font-weight: 900; color: var(--ok); }
.checks li.soon::before { content: "◌"; color: var(--muted); }
.price-card .btn { align-self: flex-start; margin-top: auto; }
.fine { font-size: .78rem; color: #8b8f99; }

/* ================= FAQ ================= */
.faq { background: var(--paper); padding: 40px 0 150px; }
.eyebrow { } .faq h2 { margin-bottom: 40px; }
.qa { border-top: 1px solid #ddd7cb; } .qa:last-child { border-bottom: 1px solid #ddd7cb; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 1.18rem; font-weight: 680; letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; background: #ebe7de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315161a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--spring), background-color .3s; }
.qa details[open] summary::after { transform: rotate(135deg); background-color: #ffd9c4; }
.qa details > div { overflow: hidden; }
.qa details[open] > div { animation: open .5s var(--ease); }
.qa details p { padding: 0 0 26px; color: var(--muted); font-size: 1.04rem; max-width: 58ch; }

/* ================= FINAL ================= */
.final { position: relative; background: var(--ink); color: var(--fg); padding: 200px 0 180px; text-align: center; overflow: hidden; }
.final-glow { position: absolute; left: 50%; top: 60%; width: 1200px; height: 800px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 90, 31, .55), rgba(255, 122, 46, .18) 45%, transparent 70%); filter: blur(20px); animation: breathe 8s ease-in-out infinite; }
.final .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final h2 { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6rem); max-width: 14ch; font-weight: 800; letter-spacing: -.05em; }
.final .lead { color: #cfcbc4; }

/* footer */
.foot { background: var(--ink); color: var(--muted-d); padding: 50px 0 60px; border-top: 1px solid var(--line-d); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.foot .brand { color: var(--fg); margin-bottom: 8px; } .foot .muted { color: var(--muted-d); font-size: .9rem; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; } .foot-links a { text-decoration: none; font-size: .9rem; } .foot-links a:hover { color: #fff; }
.foot .fine { grid-column: 1 / -1; }

/* keyframes */
@keyframes flow { 50% { background-position: 100% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 46, .6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 122, 46, 0); } }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-5%, 3%); } 50% { transform: translate(4%, -4%); } 75% { transform: translate(-3%, -2%); } }
@keyframes enter { from { opacity: 0; transform: rotateX(18deg) rotateY(-30deg) translateY(60px) scale(.94); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes fill { to { width: 100%; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes glow { 50% { box-shadow: 0 0 0 8px rgba(255, 90, 31, .15), 0 10px 30px -8px rgba(255, 77, 26, .8); } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pop-center { to { transform: translate(-50%, -50%) scale(1); } }
@keyframes sway { 50% { transform: rotate(-4deg) translateY(-3px); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@keyframes type-lines { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.12); opacity: .85; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .track { animation: none; }
}

/* Sub-pages: legal notice, privacy, 404 */
body.subpage { background: var(--paper); }
.legal-page { padding: 140px 0 110px; min-height: 70vh; }
.legal-page h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -.045em; margin: 6px 0 18px; }
.legal-page .lead { color: var(--muted); margin-bottom: 24px; }
.legal-page section { padding: 22px 0; border-top: 1px solid #ddd7cb; }
.legal-page h2 { font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: 8px; max-width: none; }
.legal-page p { color: #3d3f46; max-width: 64ch; line-height: 1.65; }
.legal-page a { color: #c2360b; }
.legal-page .eyebrow a { color: inherit; text-decoration: none; }
.legal-page .btn { color: #1a0a03; margin-top: 18px; }
.legal-page.notfound { text-align: left; }
.legal-page .fine { margin-top: 24px; }
