/* Shielded Shopping Agent landing page. Direction A: ASCII glyph shader on black.
   Type sizes snap to the Tailwind scale; spacing uses 4 8 12 16 24 32 40 48 64 80 96 only. */

@font-face { font-family: "Clash Display"; src: url(fonts/clash-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url(fonts/clash-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(fonts/satoshi-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(fonts/satoshi-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(fonts/satoshi-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* Satoshi has no ₹; this subset is cut from Clash 500 (same foundry) */
@font-face { font-family: "Satoshi"; src: url(fonts/satoshi-rupee.woff2) format("woff2"); font-weight: 400 700; unicode-range: U+20B9; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono-blocks.woff2) format("woff2"); font-weight: 100 900; unicode-range: U+2580-259F; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrument-serif-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --black: #000000;
  --bg: #181818;
  --card: #1F1F1F;
  --raised: #272727;
  --line: #313131;
  --paper: #F4EFE4;
  --text: #F4EFE4;
  --text-2: rgb(244 239 228 / .66);
  --text-3: rgb(244 239 228 / .56);
  --cobalt: #1E3FAE;
  --cobalt-tint: #8CA4FF;
  --ink: #141C3F;
  --orange: #F0582A;
  --live: #6BE39A;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/24px var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
code { font-family: var(--mono); font-size: 0.875em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--cobalt-tint); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 30; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 8px; transition: transform 300ms var(--ease); }
.skip:focus { transform: translateY(64px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 12px; border: 1px solid transparent;
  font: 700 16px/24px var(--body); text-decoration: none; cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #F36A40; }
.btn-ghost { color: var(--text); border-color: var(--line); background: rgb(255 255 255 / .02); }
.btn-ghost:hover { border-color: var(--text-3); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 12px; border-radius: 8px; white-space: nowrap; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 20; top: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px solid rgb(255 255 255 / .08);
  background: rgb(24 24 24 / .62); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  max-width: calc(100% - 32px);
}
.brand { display: flex; align-items: center; gap: 8px; font: 600 16px/24px var(--display); text-decoration: none; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--black); color: var(--orange); font: 500 14px/1 var(--mono); border: 1px solid var(--line); }
.links { display: flex; gap: 24px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.links a { text-decoration: none; white-space: nowrap; transition: color 300ms var(--ease); }
.links a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { background: var(--black); padding: 128px 0 64px; position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { max-width: 680px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgb(107 227 154 / .15); }
h1 {
  margin-top: 24px; font-weight: 600; font-size: 60px; line-height: 1; max-width: 680px;
  background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent;
}
h1 em { font: italic 400 1.08em/1 "Instrument Serif", serif; letter-spacing: 0; padding-right: 0.06em; }
.lead { margin-top: 24px; max-width: 60ch; font-size: 18px; line-height: 28px; color: var(--text-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 4px 4px 4px 12px; border: 1px dashed var(--line); border-radius: 12px; font-size: 14px; line-height: 20px; }
.chip-label { font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.chip code { font-size: 14px; color: var(--text); }
.chip-copy { font: 500 12px/16px var(--mono); color: var(--text); background: var(--raised); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; cursor: pointer; transition: background-color 300ms var(--ease); }
.chip-copy:hover { background: var(--line); }
.chip-copy:active { transform: scale(0.98); }
.facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; line-height: 16px; color: var(--text-3); }
.facts dd { margin: 4px 0 0; font-size: 14px; line-height: 20px; }

.art { position: relative; margin: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; justify-self: end; }
.art canvas, .scan-fig canvas { display: block; width: 100%; height: 100%; }
.art canvas.diorama { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  -webkit-mask-image: radial-gradient(120% 92% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(120% 92% at 50% 50%, #000 62%, transparent 100%); }
.art canvas.diorama.on { opacity: 1; }
.art figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 8px); font-size: 14px; line-height: 20px; color: var(--text-2); text-wrap: balance; }

/* corner crop marks: 8 flat segments in one layer */
.crop { position: relative; }
.crop::after {
  content: ""; position: absolute; inset: -8px; pointer-events: none;
  --c: rgb(140 164 255 / .6);
  background:
    linear-gradient(var(--c), var(--c)) top left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 16px no-repeat;
}

/* ---------- sections ---------- */
main > section { padding: 96px 0; }
.section-head { max-width: 680px; }
.eyebrow { font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt-tint); }
h2 { margin-top: 12px; font-size: 36px; line-height: 40px; }
.section-head .lead { margin-top: 24px; font-size: 16px; line-height: 24px; }
h3 { font-size: 20px; line-height: 28px; }

/* chat demo */
.demo { background: var(--black); padding-top: 64px !important; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.chat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.chat-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--raised); }
.chat-bar span:last-child { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; }
.chat-bar small { font-size: 12px; line-height: 16px; color: var(--text-3); }
.chat-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: var(--orange); border: 1px solid var(--line); }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; min-height: 480px; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 14px; line-height: 20px; opacity: 0; transform: translateY(8px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.msg.on { opacity: 1; transform: none; }
.msg.me { align-self: flex-end; background: var(--cobalt); color: var(--paper); font-family: var(--mono); }
.msg.bot { align-self: flex-start; background: var(--raised); }
.msg .small { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--text-2); }
.msg.note { align-self: center; max-width: none; font-size: 12px; line-height: 16px; color: var(--cobalt-tint); background: none; border: 1px dashed var(--line); }
.msg-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 8px; }
.tg-btn { text-align: center; padding: 4px 8px; border-radius: 8px; background: rgb(255 255 255 / .06); font-size: 12px; line-height: 16px; transition: background-color 300ms var(--ease), transform 300ms var(--ease); }
.tg-btn.pressed { background: var(--orange); color: var(--ink); transform: scale(0.98); }

/* hero chat: cream paper, cobalt ink, orange on the tapped button, halftone header */
.hero-chat { width: 100%; max-width: 480px; justify-self: end; background: var(--paper); border-color: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 1px rgb(30 63 174 / .5), 0 24px 64px rgb(30 63 174 / .28); }
.hero-chat .chat-bar { background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='1.1' fill='%23F4EFE4' fill-opacity='.22'/%3E%3C/svg%3E"); border-bottom: 0; color: var(--paper); }
.hero-chat .chat-bar small { color: rgb(244 239 228 / .72); }
.hero-chat .chat-avatar { background: var(--paper); color: var(--orange); border-color: var(--paper); }
.hero-chat .chat-body { height: 560px; padding: 16px; gap: 8px; justify-content: flex-end; overflow: hidden; }
/* like a real chat: unsent messages take no space, new ones arrive at the bottom */
.hero-chat .msg:not(.on) { display: none; }
.hero-chat .msg.on { animation: msg-in 500ms var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.hero-chat .msg { font-size: 16px; line-height: 24px; }
.hero-chat .msg.me { font-size: 14px; line-height: 20px; }
.hero-chat .msg.bot { background: #FBF8F1; border: 1px solid rgb(20 28 63 / .14); color: var(--ink); }
.hero-chat .msg .small { color: rgb(20 28 63 / .66); }
.hero-chat .msg.note { color: var(--cobalt); border-color: rgb(30 63 174 / .4); }
.hero-chat .tg-btn { background: rgb(30 63 174 / .1); color: var(--cobalt); font-weight: 500; }
.hero-chat .tg-btn.pressed { background: var(--orange); color: var(--ink); }

/* scan */
.scan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 64px; align-items: center; }
.spec { margin: 32px 0 0; display: grid; gap: 0; }
.spec div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.spec dt { font-size: 12px; line-height: 20px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.spec dd { margin: 0; font-size: 14px; line-height: 20px; }
.scan-fig { margin: 0; aspect-ratio: 4 / 5; background: var(--black); border-radius: 12px; }
.scan-fig canvas, .scan-fig img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 12px; }
.scan-fig img { opacity: 0; object-fit: cover; }
.scan-label { position: absolute; z-index: 1; top: 12px; left: 12px; right: 12px; padding: 8px 12px; border-radius: 8px; background: rgb(0 0 0 / .72); color: var(--text); font-size: 14px; line-height: 20px; font-weight: 500; text-wrap: balance; }

/* view as */
.viewas { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 680px; }
.seg { display: inline-flex; justify-self: start; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.seg button { font: 500 14px/20px var(--body); color: var(--text-2); background: none; border: 0; border-radius: 8px; padding: 8px 12px; cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: var(--raised); color: var(--text); }
.receipt { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.receipt dl { margin: 0; }
.receipt dl div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.receipt dt { font-size: 12px; line-height: 20px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.receipt dd { margin: 0; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.receipt dd.hidden { color: var(--text-3); }
.viewas-note { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; color: var(--text-2); }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--cobalt-tint); border-bottom: 2px solid var(--cobalt-tint); transform: rotate(-45deg); }
.ticks.muted li::before { width: 10px; height: 2px; top: 11px; border: 0; background: var(--text-3); transform: none; }

/* how: auto-pay node graph */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.how { position: relative; background: var(--black); overflow: hidden; }
.how::before { /* vertical scan-line stripes, fading out downwards */
  content: ""; position: absolute; inset: 0 0 auto; height: 320px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgb(244 239 228 / .06) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent);
}
.how .wrap { position: relative; }
.how h2 { max-width: 900px; font: 400 48px/52px var(--body); letter-spacing: -0.02em; }
.how h2 span { color: var(--text-3); }
.graph { --gap: 48px; --wire: rgb(244 239 228 / .28); list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.graph .branch { grid-area: 1 / 1; }
.n1 { grid-area: 2 / 1; } .n2 { grid-area: 2 / 2; } .n3 { grid-area: 2 / 3; }
.n4 { grid-area: 3 / 1; } .n5 { grid-area: 3 / 2; } .n6 { grid-area: 3 / 3; }
.graph > li { display: flex; flex-direction: column; }
.graph > li > .node { flex: 1; }
.lbl { margin-bottom: 8px; font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt-tint); }
.node { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.node h3 { font-size: 18px; line-height: 28px; }
.node h3.mono { font-size: 16px; font-weight: 500; }
.node p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--text-2); overflow-wrap: anywhere; }
.node p.mono { font-size: 12px; line-height: 20px; color: var(--paper); }
.ico { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--black); color: var(--cobalt-tint); }
.ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.ico::after { /* pixel stripes over the block */
  content: ""; position: absolute; inset: 0; border-radius: 7px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgb(244 239 228 / .08) 0 1px, transparent 1px 3px);
}
.ico.solid { background: var(--cobalt); border-color: var(--cobalt); color: var(--paper); }
.branch .node { border-style: dashed; }
.branch .ico { color: var(--orange); }

/* connectors: line in ::after, travelling pulse in ::before (both on .node) */
.node::after, .node::before { content: ""; position: absolute; pointer-events: none; }
.n1 .node::after, .n2 .node::after, .n4 .node::after, .n5 .node::after { left: 100%; top: 50%; width: var(--gap); height: 1px; background: var(--wire); }
.n3 .node::after { /* elbow back to the start of row 2 */
  top: 100%; right: 50%; width: calc(200% + 2 * var(--gap)); height: var(--gap);
  background:
    linear-gradient(var(--wire), var(--wire)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--wire), var(--wire)) 100% 0 / 1px 50% no-repeat,
    linear-gradient(var(--wire), var(--wire)) 0 100% / 1px 50% no-repeat;
}
.branch .node::after { top: 100%; left: 50%; width: 0; height: var(--gap); border-left: 1px dashed var(--wire); }
.node::before { z-index: 1; width: 5px; height: 5px; background: var(--orange); opacity: 0; animation: 6s linear infinite; }
.n1 .node::before, .n2 .node::before, .n4 .node::before, .n5 .node::before { left: 100%; top: calc(50% - 2px); animation-name: pulse-x; }
.n3 .node::before { left: calc(50% - 2px); top: 100%; animation-name: pulse-elbow; }
.n2 .node::before { animation-delay: 1s; } .n3 .node::before { animation-delay: 2s; }
.n4 .node::before { animation-delay: 3.6s; } .n5 .node::before { animation-delay: 4.6s; }
@keyframes pulse-x { 0% { opacity: 0; transform: translateX(0); } 2% { opacity: 1; } 14% { opacity: 1; transform: translateX(calc(var(--gap) - 5px)); } 16%, 100% { opacity: 0; transform: translateX(calc(var(--gap) - 5px)); } }
@keyframes pulse-y { 0% { opacity: 0; transform: translateY(0); } 2% { opacity: 1; } 14% { opacity: 1; transform: translateY(calc(var(--gap) - 5px)); } 16%, 100% { opacity: 0; transform: translateY(calc(var(--gap) - 5px)); } }
@keyframes pulse-elbow {
  0% { opacity: 0; top: 100%; left: calc(50% - 2px); } 2% { opacity: 1; }
  7% { top: calc(100% + var(--gap) / 2); left: calc(50% - 2px); }
  17% { top: calc(100% + var(--gap) / 2); left: calc(-150% - 2 * var(--gap) - 2px); }
  22% { opacity: 1; top: calc(100% + var(--gap) - 5px); left: calc(-150% - 2 * var(--gap) - 2px); }
  24%, 100% { opacity: 0; top: calc(100% + var(--gap) - 5px); left: calc(-150% - 2 * var(--gap) - 2px); }
}

/* report: Telegram login + the user's own purchases */
.report-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.report-head h2 { margin-top: 8px; }
.report-head .muted { margin-top: 12px; max-width: 60ch; color: var(--text-2); }
.tg-login { min-height: 40px; }
.report-out:empty { display: none; }
.report-out { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.report-out .hello { font-weight: 500; }
.report-out .note { color: var(--text-2); }
.report-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.report-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 16px; border-radius: 12px; background: var(--raised); }
.report-list .what { font-weight: 500; }
.report-list .meta { grid-column: 1; font: 12px/16px var(--mono); color: var(--text-3); }
.report-list .state { grid-row: 1 / span 2; grid-column: 2; align-self: center; padding: 4px 8px; border-radius: 8px; font: 500 12px/16px var(--mono); background: rgb(255 255 255 / .06); }
.report-list .state.ok { color: var(--live); }
.report-list .state.wait { color: var(--orange); }
.report-list .state.bad { color: var(--text-3); }
.report-out h3 { margin-top: 24px; font-size: 16px; line-height: 24px; }
.btn-link { margin-top: 16px; padding: 0; border: 0; background: none; color: var(--cobalt-tint); font: inherit; text-decoration: underline; cursor: pointer; }

/* stats */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.panel-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.panel-head h2 { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 400; }
.pill { font-size: 12px; line-height: 16px; padding: 4px 12px; border-radius: 999px; color: var(--ink); background: var(--orange); }
.stat-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stat { font-size: 48px; line-height: 1; font-weight: 500; }
.stat .of { font-size: 20px; color: var(--text-3); }
.stat-label { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.bar { margin-top: 16px; height: 4px; border-radius: 2px; background: var(--raised); overflow: hidden; }
.bar span { display: block; height: 100%; width: 100%; background: var(--cobalt-tint); transform-origin: left; transform: scaleX(0); transition: transform 800ms var(--ease); }
.caption { margin-top: 32px; font-size: 12px; line-height: 16px; color: var(--text-3); }
.panel[data-state="live"] .caption::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--live); }
.panel[data-state="offline"] .stat-grid { opacity: 0.4; }
.panel[data-state="capped"] .bar span { background: var(--orange); }

/* tagline */
.tagline { padding: 160px 0 !important; }
.tag-text { max-width: 900px; font: 500 48px/1 var(--display); letter-spacing: -0.01em; text-wrap: balance; }
.tag-text .w { color: rgb(244 239 228 / .28); transition: color 500ms var(--ease); }
.tag-text .w.lit { color: var(--text); }

/* try */
.try-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.steps { margin: 32px 0 0; padding-left: 24px; display: grid; gap: 12px; color: var(--text-2); }
.steps b { color: var(--text); font-weight: 500; }
.steps code { color: var(--text); background: var(--raised); padding: 2px 4px; border-radius: 4px; }
.limits { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.limits li { font-size: 12px; line-height: 16px; padding: 4px 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--text-2); }
.qr { margin: 0; padding: 16px; background: var(--paper); border-radius: 16px; }
.qr img { width: 240px; height: 240px; image-rendering: pixelated; }
.qr figcaption { margin-top: 12px; text-align: center; font-size: 12px; line-height: 16px; color: var(--ink); }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font: 500 18px/28px var(--body); transition: color 300ms var(--ease); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); color: var(--text-3); transition: transform 300ms var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
summary:hover { color: var(--paper); }
details p { padding: 0 0 16px; max-width: 60ch; color: var(--text-2); }

/* final */
.final { text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final h2 { font-size: 48px; line-height: 1; max-width: 680px; }
.final .muted { font-size: 14px; line-height: 20px; }

/* footer */
.footer { background: var(--cobalt); color: var(--paper); padding: 64px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { font-size: 14px; line-height: 20px; margin-top: 8px; color: rgb(244 239 228 / .82); }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-label { font-size: 12px !important; line-height: 16px !important; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(244 239 228 / .6) !important; margin: 0 !important; }
.wordmark { margin: 64px 0 0; font: 600 128px/0.8 var(--display); letter-spacing: -0.02em; text-align: center; color: rgb(244 239 228 / .12); white-space: nowrap; transform: translateY(12%); }

/* reveals */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
.br-wide { display: none; }
@media (min-width: 900px) { .br-wide { display: inline; } }
@media (max-width: 860px) {
  .graph { --gap: 32px; }
  .node { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 760px) {
  .graph { grid-template-columns: minmax(0, 1fr); }
  .graph > li { grid-area: auto; }
  .graph .branch { order: -1; }
  .node { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .graph .node::after, .graph .node::before { left: auto; right: 24px; }
  .graph .n1 .node::after, .graph .n2 .node::after, .graph .n3 .node::after, .graph .n4 .node::after, .graph .n5 .node::after, .graph .branch .node::after {
    top: 100%; width: 0; height: var(--gap); background: none; border-left: 1px solid var(--wire);
  }
  .graph .branch .node::after { border-left-style: dashed; }
  .graph .n1 .node::before, .graph .n2 .node::before, .graph .n3 .node::before, .graph .n4 .node::before, .graph .n5 .node::before { top: 100%; margin-right: -2px; animation-name: pulse-y; }
  .graph .n1 .node::before { animation-delay: 0s; } .graph .n2 .node::before { animation-delay: 1s; } .graph .n3 .node::before { animation-delay: 2s; }
  .graph .n4 .node::before { animation-delay: 3s; } .graph .n5 .node::before { animation-delay: 4s; }
}
@media (max-width: 860px) {
  .links { display: none; }
  .hero { padding-top: 112px; }
  .hero-grid, .demo-grid, .scan-grid, .try-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-chat { justify-self: stretch; max-width: none; }
  .art { justify-self: center; max-width: 440px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .qr { justify-self: start; }
  .wordmark { font-size: 96px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 36px; line-height: 40px; }
  h2 { font-size: 30px; line-height: 36px; }
  .tag-text, .final h2 { font-size: 36px; line-height: 40px; }
  main > section { padding: 64px 0; }
  .tagline { padding: 96px 0 !important; }
  .stat-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .report-head { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .how h2 { font-size: 30px; line-height: 36px; }
  .graph { margin-top: 48px; }
  .spec div, .receipt dl div { grid-template-columns: 112px 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .wordmark { font-size: 72px; }
  .nav { gap: 12px; }
}
@media (max-width: 400px) {
  .xs-hide { display: none; }
  .seg button { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .msg { transform: none !important; transition: opacity 300ms linear; }
  .hero-chat .msg.on { animation: none; }
  .node::before { animation: none !important; display: none; }
}
