:root {
  --bg: #070807;
  --card: #101410;
  --card-line: #262d22;
  --line: #1b2118;
  --text: #eef1ea;
  --soft: #b8bfb2;
  --dim: #8d9688;
  --green: #1fe074;
  --green-ink: #04130b;
  --red: #ff5470;
  --amber: #ffb547;
  --radius: 20px;
  --sans: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
a:hover { color: #6cf5a8; }
img, svg { display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 3px; color: var(--green); text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -0.5px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--soft); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--green-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 16px; }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: #4ff19a; color: var(--green-ink); }
.btn-ghost { border: 1px solid #2a3126; color: var(--text); background: transparent; }

/* hero */
.hero { padding: 64px 0 56px; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(46px, 8vw, 104px); line-height: 0.92; letter-spacing: -3px; max-width: 900px; }
.lede { margin: 0; font-size: 21px; line-height: 1.5; color: var(--soft); max-width: 680px; }
.scan { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.scan input { flex: 1 1 340px; min-width: 0; height: 58px; padding: 0 18px; border-radius: 14px; border: 1px solid #2a3126; background: var(--card); color: var(--text); font-family: var(--mono); font-size: 15px; }
.scan input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.scan .btn { height: 58px; padding: 0 28px; font-size: 18px; border-radius: 14px; }
.scan-note { min-height: 22px; font-size: 15px; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: var(--dim); }

/* sections */
section { padding: 0 0 96px; }
h2 { margin: 0 0 22px; font-weight: 800; font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -1px; line-height: 1.05; }
.sub { margin: -8px 0 26px; font-size: 18px; color: var(--soft); max-width: 720px; line-height: 1.5; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--soft); }

/* example readout */
.example { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.readout { display: flex; flex-direction: column; gap: 12px; }
.readout .meta { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.readout .verdict { font-weight: 800; font-size: 32px; color: var(--red); letter-spacing: -0.5px; }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: 17px; padding-top: 10px; border-top: 1px solid #1e251b; }
.row span:last-child { font-family: var(--mono); }
.red { color: var(--red); } .green { color: var(--green); } .amber { color: var(--amber); }
.example h2 { font-size: clamp(28px, 3.4vw, 40px); }

/* app walkthrough */
.walk { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.phone { position: relative; flex: 0 0 auto; width: 300px; height: 620px; }
.phone .frame { position: absolute; inset: 0; border-radius: 46px; background: #1a1d18; padding: 10px; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 37px; overflow: hidden; background: #f4f4f0; color: #171717; }
.app { padding: 54px 18px 0; display: flex; flex-direction: column; gap: 14px; font-family: system-ui, sans-serif; }
.app .who { font-size: 12px; color: #8a8a8a; }
.app .coin { display: flex; align-items: center; gap: 10px; }
.app .avatar { width: 44px; height: 44px; border-radius: 22px; background: #e2c46b; }
.app .chart { height: 120px; border-radius: 12px; background: #e8e8e2; }
.app .ca { position: relative; display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #ddddd6; border-radius: 10px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; }
.tap { position: absolute; width: 40px; height: 40px; border-radius: 20px; background: rgba(31,224,116,.35); border: 2px solid var(--green); opacity: 0; }
.ca .tap { right: 2px; top: -2px; animation: tapCA 9s infinite; }
.toast { align-self: center; background: #171717; color: #fff; font-size: 13px; padding: 8px 14px; border-radius: 16px; opacity: 0; animation: copied 9s infinite; }
.trade { display: flex; gap: 8px; } .trade i { flex: 1; height: 42px; border-radius: 10px; background: #4fb86b; } .trade i + i { background: #d9534f; }
.side-btn { position: absolute; left: -7px; top: 120px; width: 7px; height: 46px; border-radius: 4px 0 0 4px; background: #3a3f36; animation: actionBtn 9s infinite; }
.hold { position: absolute; left: -46px; top: 112px; width: 62px; height: 62px; border-radius: 31px; border: 3px solid var(--green); opacity: 0; animation: holdRing 9s infinite; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; background: #0b0d0a; color: var(--text); border-radius: 24px 24px 0 0; padding: 18px; display: flex; flex-direction: column; gap: 10px; transform: translateY(105%); animation: sheet 9s infinite; }
.sheet .grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #3a3f36; }
.sheet .head { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.sheet .v { font-weight: 800; font-size: 22px; color: var(--amber); }
.sheet .r { display: flex; justify-content: space-between; font-size: 14px; } .sheet .r span:last-child { font-family: var(--mono); }
.sheet .open { position: relative; margin-top: auto; height: 44px; border-radius: 12px; background: var(--green); color: var(--green-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.sheet .open .tap { right: 30px; top: 2px; background: rgba(255,255,255,.35); border-color: #fff; animation: tapOpen 9s infinite; }
.steps { flex: 1 1 380px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 26px; }
.steps li { display: flex; gap: 18px; opacity: .28; }
.steps li:nth-child(1) { animation: step1 9s infinite; } .steps li:nth-child(2) { animation: step2 9s infinite; }
.steps li:nth-child(3) { animation: step3 9s infinite; } .steps li:nth-child(4) { animation: step4 9s infinite; }
.steps .n { font-family: var(--mono); font-size: 28px; color: var(--green); }
.steps b { display: block; font-size: 24px; margin-bottom: 4px; }
.steps span { font-size: 17px; color: var(--soft); line-height: 1.5; }
@keyframes tapCA { 0%,6% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1); } 18% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; } }
@keyframes copied { 0%,12% { opacity: 0; transform: translateY(8px); } 16%,28% { opacity: 1; transform: translateY(0); } 32%,100% { opacity: 0; } }
@keyframes actionBtn { 0%,30% { background: #3a3f36; box-shadow: none; } 34%,50% { background: var(--green); box-shadow: 0 0 18px var(--green); } 54%,100% { background: #3a3f36; box-shadow: none; } }
@keyframes holdRing { 0%,32% { opacity: 0; transform: scale(.6); } 38%,50% { opacity: 1; transform: scale(1); } 54%,100% { opacity: 0; } }
@keyframes sheet { 0%,52% { transform: translateY(105%); } 58%,94% { transform: translateY(0); } 100% { transform: translateY(105%); } }
@keyframes tapOpen { 0%,78% { opacity: 0; transform: scale(.4); } 82% { opacity: 1; transform: scale(1); } 90%,100% { opacity: 0; transform: scale(1.6); } }
@keyframes step1 { 0%,30% { opacity: 1; } 34%,100% { opacity: .28; } }
@keyframes step2 { 0%,30% { opacity: .28; } 34%,52% { opacity: 1; } 56%,100% { opacity: .28; } }
@keyframes step3 { 0%,54% { opacity: .28; } 58%,76% { opacity: 1; } 80%,100% { opacity: .28; } }
@keyframes step4 { 0%,78% { opacity: .28; } 82%,96% { opacity: 1; } 100% { opacity: .28; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .sheet { transform: none; } .steps li { opacity: 1; }
}

/* feature mini previews */
.mini { margin-top: 16px; background: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.mini div { display: flex; justify-content: space-between; gap: 10px; }
.mini .t { color: var(--dim); }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--green); margin-bottom: 10px; }

/* surfaces band */
.band { background: #0f1a12; border: 1px solid #1f3a27; border-radius: 26px; padding: 34px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: center; }
.surface { display: flex; flex-direction: column; gap: 4px; background: var(--bg); border: 1px solid #2a3126; border-radius: 16px; padding: 18px; }
.surface b { font-size: 18px; }
.surface span { font-size: 14px; color: var(--dim); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0 44px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--dim); }
footer a { color: var(--dim); }
.legal { max-width: 760px; padding: 40px 0 90px; line-height: 1.65; color: var(--soft); }
.legal h1 { color: var(--text); font-size: 44px; letter-spacing: -1px; margin: 0 0 8px; }
.legal h2 { color: var(--text); font-size: 24px; margin: 34px 0 10px; }
@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .top { flex-wrap: nowrap; }
}

/* example: counts, tiles, all checks */
.counts { display: flex; flex-wrap: wrap; gap: 8px; }
.counts .c { border-radius: 8px; padding: 6px 10px; font-family: var(--mono); font-size: 14px; }
.c.fail { background: #2a1218; color: #ff8a9d; } .c.watch { background: #2a2112; color: #ffc979; }
.c.ok { background: #10261a; color: #7ce8a6; } .c.unknown { background: #1a1d18; color: #a3aa95; }
.seeall { margin-top: 6px; min-height: 48px; width: 100%; }
.seeall[aria-expanded="true"] { background: transparent; color: var(--text); border: 1px solid #2a3126; }
.inside { display: flex; flex-direction: column; gap: 16px; padding: 8px; }
.inside h2 { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--card-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.tile b { font-size: 15px; } .tile span { font-family: var(--mono); font-size: 14px; color: var(--green); }
.allchecks { margin-top: 18px; }
.checkgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.checks { padding: 8px 20px 12px; }
.ghead { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--dim); }
.chk { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #1e251b; font-size: 15px; }
.chk span:nth-child(2) { flex: 1; }
.chk .v { font-family: var(--mono); font-size: 14px; text-align: right; }
.dot { width: 9px; height: 9px; border-radius: 5px; flex-shrink: 0; }
.dot.fail { background: #ff5470; } .dot.watch { background: #ffb547; } .dot.ok { background: #1fe074; } .dot.unknown { background: #4a5046; }
.v.fail { color: #ff8a9d; } .v.watch { color: #ffc979; } .v.ok { color: var(--soft); } .v.unknown { color: var(--dim); }
.foot { font-size: 14px; color: var(--dim); margin: 16px 0 0; line-height: 1.5; }
@media (max-width: 420px) { .tiles { grid-template-columns: 1fr; } }
/* sign in */
.signin { max-width: 980px; margin: 40px auto 0; padding-bottom: 80px; display: flex; flex-direction: column; gap: 22px; }
.signin h1 { margin: 0; font-weight: 800; font-size: clamp(38px, 6vw, 52px); letter-spacing: -1.5px; }
.signin-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.signin-code { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; background: #0f1a12; border-color: #1f3a27; }
.signin-code h2, .signin-soon h2, .signedin h2 { margin: 0; font-size: 26px; }
.signin-soon { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; }
.howto { margin: 0; padding-left: 20px; color: var(--soft); line-height: 1.8; font-size: 16px; }
.code { font-family: var(--mono); font-size: clamp(40px, 8vw, 60px); letter-spacing: 6px; color: var(--green); padding: 8px 0; }
.dim-note { font-size: 14px; color: var(--dim); }
.linkbtn { background: none; border: 0; color: var(--green); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.signedin { background: #0f1a12; border-color: #1f3a27; }
