:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #111111;
  --card: #151515;
  --card-raised: #191919;
  --stroke: #2a2a2a;
  --stroke-strong: #3a3a3a;
  --ink: #ffffff;
  --muted: #a8a8a8;
  --orange: #ff7a00;
  --orange-deep: #cc5f00;
  --orange-soft: #ff9a3d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 62% 34% at 82% -8%, rgba(255,122,0,.11), transparent 62%),
    linear-gradient(180deg, #0b0b0b 0%, #0d0d0d 48%, #0b0b0b 100%);
  line-height: 1.65;
}

::selection { color: #0b0b0b; background: var(--orange); }
a { color: var(--orange); }
a:hover { color: var(--orange-soft); }
a:focus-visible,
button:focus-visible,
input:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,11,11,.94);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
}
.top .wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: -.6px; }
.brand img { width: 50px; height: 50px; flex-shrink: 0; object-fit: contain; aspect-ratio: 1; border: 1px solid var(--stroke-strong); border-radius: 12px; background: var(--surface); }
.nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.nav a { color: #d8d8d8; text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid var(--orange);
  border-radius: 10px;
  background: var(--orange);
  color: #0b0b0b;
  text-decoration: none;
  font-weight: 900;
  box-shadow: none;
}
.btn:hover { color: #0b0b0b; background: var(--orange-soft); border-color: var(--orange-soft); }
.btn.secondary { color: #f4f4f4; background: #202020; border-color: var(--stroke-strong); }
.btn.secondary:hover { color: #fff; background: #292929; border-color: var(--orange-deep); }
.btn:disabled { cursor: wait; opacity: .65; }

.pill {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--orange-soft);
  background: #211308;
  border: 1px solid #653300;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.hero { padding: 82px 0 56px; }
.hero-grid { min-width: 0; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 58px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin: 20px 0; font-size: clamp(42px,5.9vw,79px); line-height: 1.04; letter-spacing: -3px; }
.accent { color: var(--orange); }
.hero .lede { max-width: 680px; margin-bottom: 28px; color: #c7c7c7; font-size: 19px; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  height: 330px;
  max-height: 330px;
  overflow: hidden;
  border: 1px solid #3a2b20;
  border-radius: 26px;
  background: linear-gradient(145deg, #1c1814, #101010 68%);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.hero-visual::before { content: ""; position: absolute; inset: 14px; border: 1px dashed rgba(255,122,0,.26); border-radius: 19px; }
.hero-visual img { z-index: 1; display: block; width: 240px; height: 240px; max-width: calc(100% - 40px); max-height: calc(100% - 40px); flex-shrink: 0; object-fit: contain; aspect-ratio: 1; border-radius: 22px; box-shadow: 0 18px 55px rgba(0,0,0,.6); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 13px; }

main section { padding: 50px 0; }
.section-heading { margin: 0 0 13px; font-size: clamp(29px,3.6vw,45px); line-height: 1.17; letter-spacing: -1px; }
.section-intro { max-width: 750px; margin: 0 0 25px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.card {
  min-width: 0;
  padding: 26px;
  color: var(--ink);
  background: linear-gradient(145deg, #171717, #121212);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}
.card h3 { margin: 0 0 9px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.symbol { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 17px; color: var(--orange); background: #24160b; border: 1px solid #56300f; border-radius: 12px; font-size: 24px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.steps .card { counter-increment: s; }
.steps .card::before { content: "0" counter(s); display: block; margin-bottom: 10px; color: var(--orange); font-size: 33px; font-weight: 900; }
.banner { margin: 25px 0; padding: 30px; background: linear-gradient(110deg, #211308, #151515 62%); border: 1px solid #593412; border-radius: 18px; }

.asset-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 28px 0 18px; }
.asset-card { min-width: 0; padding: 16px 16px 20px; text-align: center; background: linear-gradient(145deg, #171717, #111111); border: 1px solid var(--stroke); border-radius: 16px; }
.asset-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--bg); border-radius: 13px; }
.asset-card h3 { margin: 14px 0 5px; color: #fff; font-size: 18px; }
.asset-card p { margin: 0; color: var(--muted); font-size: 14px; }

.legal { width: min(840px, calc(100% - 36px)); margin: 0 auto; padding: 60px 0 100px; }
.legal h1 { margin: 0 0 9px; font-size: clamp(34px,5vw,53px); line-height: 1.13; letter-spacing: -1.4px; }
.legal h2 { margin: 35px 0 10px; color: var(--orange); font-size: 20px; line-height: 1.3; }
.legal p,
.legal li { color: #c9c9c9; }
.legal strong { color: #fff; }
.legal ul { padding-left: 21px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal .highlight { margin: 24px 0; padding: 16px 21px; background: #19130f; border: 1px solid #533113; border-radius: 13px; }

.reglabel { display: block; margin: 16px 0 7px; color: #f1f1f1; font-size: 14px; font-weight: 800; }
.reginput { width: 100%; padding: 13px; color: #fff; background: var(--card); border: 1px solid var(--stroke-strong); border-radius: 10px; font: inherit; outline-offset: 2px; }
.reginput:focus-visible { border-color: var(--orange); outline: 2px solid var(--orange); }
.regresult { margin: 20px 0 10px; padding: 18px; background: #19130f; border: 1px solid #533113; border-radius: 14px; }
.regresult h3 { margin-top: 0; }
.regresult p { color: #c9c9c9; }

.small-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer { margin-top: 50px; padding: 40px 0 32px; background: var(--surface); border-top: 1px solid var(--stroke); }
.footer .wrap { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.footer p,
.footer a { color: #b5b5b5; font-size: 13px; }
.footer a:hover { color: var(--orange); }
.footer .small-links { align-items: center; }
hr { margin: 28px 0; border: 0; border-top: 1px solid var(--stroke); }
.warning { color: #f1b36d; }
.subtle { color: var(--muted); }

@media (max-width: 900px) {
  .asset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 850px) {
  .hero { padding: 50px 0 26px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .hero-visual { height: 280px; max-height: 280px; }
  .hero-visual img { width: 220px; height: 220px; }
  .grid,
  .steps { grid-template-columns: 1fr 1fr; }
  .top .wrap { align-items: center; flex-wrap: wrap; }
  .nav { width: 100%; justify-content: flex-start; gap: 8px 18px; padding-bottom: 10px; }
  .nav a { white-space: nowrap; font-size: 13px; }
}

@media (max-width: 560px) {
  .top .wrap { gap: 12px; padding: 8px 0 12px; }
  .brand { font-size: 17px; }
  .brand img { width: 42px; height: 42px; }
  .nav { flex-wrap: nowrap; gap: 12px; }
  .nav a { font-size: 12px; }
  .nav a[href="/#how-it-works"],
  .nav a[href="/app/"] { display: none; }
  .hero h1 { font-size: clamp(38px,10vw,55px); letter-spacing: -1.8px; }
  .hero .lede { font-size: 16px; }
  .hero-visual { height: 260px; max-height: 260px; padding: 12px; border-radius: 20px; }
  .hero-visual::before { inset: 10px; border-radius: 14px; }
  .hero-visual img { width: 210px; height: 210px; max-width: calc(100% - 30px); max-height: 230px; }
  .grid,
  .steps { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .legal { padding-top: 35px; }
  .asset-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .asset-card { padding: 10px 10px 14px; }
  .asset-card h3 { font-size: 15px; }
  .asset-card p { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
