/* Spacemute landing. Plain CSS, no build step. Fonts are self-hosted (Inter, JetBrains Mono). */

@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
  --bg: #040605;
  --panel: #080c09;
  --card: #0c110d;
  --raise: #111812;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #e9efea;
  --muted: #9aa69d;
  --faint: #66726a;
  --accent: #89ff5b;
  --accent-soft: #b6ff96;
  --accent-deep: #3fbf1e;
  --warn: #ffb84d;
  --bad: #ff5c6c;
  --info: #5cc8ff;
  --radius: 20px;
  --wrap: 1200px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(137, 255, 91, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

/* ambient light and a fine grid behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1000px 620px at 12% -8%, rgba(137, 255, 91, 0.085), transparent 60%),
    radial-gradient(900px 600px at 100% 30%, rgba(92, 200, 255, 0.04), transparent 62%),
    radial-gradient(800px 600px at 0% 100%, rgba(137, 255, 91, 0.04), transparent 60%);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 0%, transparent 78%);
}

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- type */
h1 { font-size: clamp(2.55rem, 6.4vw, 5rem); line-height: 1.02; letter-spacing: -0.038em; font-weight: 650; }
h2 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.032em; font-weight: 650; }
h1, h2 { text-wrap: balance; }
.lead, .head p, .cta p { text-wrap: pretty; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
.grad { background: linear-gradient(100deg, #fff 0%, var(--accent-soft) 45%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 40rem; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); border-color: transparent; color: #04140a; box-shadow: 0 0 0 1px rgba(137, 255, 91, 0.4), 0 8px 30px -6px rgba(137, 255, 91, 0.55); }
.btn-primary:hover { background: var(--accent-soft); border-color: transparent; box-shadow: 0 0 0 1px rgba(182, 255, 150, 0.6), 0 12px 40px -6px rgba(137, 255, 91, 0.7); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }

/* ---------------------------------------------------------------- header + menu */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header); transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(4, 6, 5, 0.82); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.bar { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.26em; font-size: 15px; }
.brand svg { width: 30px; height: 28px; filter: drop-shadow(0 0 10px rgba(137, 255, 91, 0.45)); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); }
.menu-btn svg { width: 20px; height: 20px; }

/* The phone menu is a sibling of <body>'s content, not inside the header, and its background is fully opaque. */
.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; padding: 0 24px 32px; background: #040605; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.menu[hidden] { display: flex; }
.menu.open { opacity: 1; visibility: visible; transform: none; }
.menu-top { width: 100%; height: var(--header); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu nav { display: flex; flex-direction: column; margin-top: 12px; }
.menu nav a { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; padding: 16px 4px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.menu nav a svg { width: 20px; height: 20px; color: var(--faint); }
.menu .btn { margin-top: 28px; width: 100%; }
.menu small { margin-top: auto; padding-top: 32px; color: var(--faint); font-size: 13px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: calc(var(--header) + 72px) 0 96px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; border: 1px solid rgba(137, 255, 91, 0.28); background: rgba(137, 255, 91, 0.07); font-size: 13.5px; font-weight: 500; color: var(--accent-soft); margin-bottom: 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 2.2s ease-in-out infinite; }
.hero h1 { margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 34px; color: var(--muted); font-size: 14.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(137, 255, 91, 0.22), transparent 65%); filter: blur(30px); }
.hero-logo { position: absolute; width: min(120%, 620px); opacity: 0.16; transform: translateY(-4%); }
.hero-logo path { stroke-width: 6; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(137, 255, 91, 0.12); }
.ring.r1 { width: 430px; height: 430px; }
.ring.r2 { width: 600px; height: 600px; border-color: rgba(255, 255, 255, 0.05); }

/* draw-on animation for the logo */
.logo-draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
.logo-draw path:nth-child(2) { animation-delay: .12s; } .logo-draw path:nth-child(3) { animation-delay: .24s; } .logo-draw path:nth-child(4) { animation-delay: .36s; }
.logo-draw path:nth-child(5) { animation-delay: .48s; } .logo-draw path:nth-child(6) { animation-delay: .6s; } .logo-draw path:nth-child(7) { animation-delay: .72s; }

/* ---------------------------------------------------------------- phone (a faithful sketch of the bot's screens) */
.phone {
  position: relative; z-index: 2; width: 312px; height: 636px; padding: 10px; border-radius: 46px;
  background: linear-gradient(160deg, #1c251e, #0a0f0b 60%); border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 50px 90px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 110px -30px rgba(137, 255, 91, 0.3);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; background: #000; border-radius: 999px; z-index: 5; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #0a0f0b; display: flex; flex-direction: column; }
.tg-head { flex: none; display: flex; align-items: center; gap: 10px; padding: 46px 16px 10px; background: #0e150f; border-bottom: 1px solid var(--line); }
.tg-avatar { width: 34px; height: 34px; border-radius: 50%; background: #000; display: grid; place-items: center; border: 1px solid rgba(137, 255, 91, 0.3); }
.tg-avatar svg { width: 20px; height: 19px; }
.tg-head b { display: block; font-size: 14px; line-height: 1.2; }
.tg-head small { display: block; font-size: 11px; color: var(--faint); }
.tg-chat { flex: 1; min-height: 0; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; background: radial-gradient(400px 260px at 50% 0%, rgba(137, 255, 91, 0.06), transparent 70%), #0a0f0b; overflow: hidden; }
.tg-msg { background: #131c15; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 18px 18px 18px 5px; padding: 12px 14px; font-size: 12.5px; line-height: 1.5; color: #dfe7e1; }
.tg-msg + .tg-msg { margin-top: 0; }
.tg-msg .t-title { font-size: 13.5px; }
.tg-msg .t-sub { color: var(--faint); font-style: italic; font-size: 11.5px; }
.tg-msg hr { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); margin: 7px 0 8px; }
.tg-msg p + p { margin-top: 3px; }
.tg-msg pre { margin: 6px 0; padding: 8px 10px; background: rgba(0, 0, 0, 0.35); border-radius: 8px; font: 500 10.5px/1.55 var(--mono); color: #cfd9d1; overflow: hidden; }
.tg-msg .dim { color: var(--faint); }
.tg-msg .ok { color: var(--accent); }
.tg-msg .warn { color: var(--warn); }
.tg-msg .badc { color: var(--bad); }
.tg-msg .st { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.st.g { background: var(--accent); box-shadow: 0 0 8px var(--accent); } .st.a { background: var(--warn); } .st.r { background: var(--bad); }
.tg-kb { display: grid; gap: 5px; }
.tg-kb .row { display: grid; gap: 5px; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tg-kb span { display: block; text-align: center; padding: 8px 6px; font-size: 11.5px; font-weight: 500; border-radius: 10px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.05); color: #dfe7e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-kb span.pri { background: rgba(137, 255, 91, 0.16); border-color: rgba(137, 255, 91, 0.3); color: var(--accent-soft); }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 12px; border-radius: 16px; font-size: 13px; line-height: 1.35;
  background: rgba(12, 17, 13, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.8);
  animation: floaty 9s ease-in-out infinite; width: max-content; max-width: 260px; white-space: nowrap;
}
.chip b { display: block; font-weight: 600; font-size: 13px; }
.chip small { display: block; color: var(--muted); font-size: 12px; }
.chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(137, 255, 91, 0.12); color: var(--accent); flex: none; }
.chip .ico svg { width: 18px; height: 18px; }
.chip .ico.amber { background: rgba(255, 184, 77, 0.13); color: var(--warn); }
.phone-wrap { position: relative; z-index: 2; }
.chip.c1 { right: calc(100% - 22px); top: 96px; animation-delay: -1s; } .chip.c2 { left: calc(100% - 22px); top: 300px; animation-delay: -4s; } .chip.c3 { right: calc(100% - 22px); bottom: 110px; animation-delay: -6.5s; }

/* ---------------------------------------------------------------- ticker */
.ticker { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.track span { display: inline-flex; align-items: center; gap: 14px; padding: 20px 28px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; }
.track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .7; margin-left: 14px; }

/* ---------------------------------------------------------------- sections */
main { overflow-x: clip; }
section { position: relative; }
.section { padding: 120px 0; }
.head { max-width: 46rem; margin-bottom: 56px; }
.head .eyebrow { display: block; margin-bottom: 16px; }
.head p { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.head.center { text-align: center; margin-inline: auto; }

/* ---------------------------------------------------------------- cards + bento */
.card { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); padding: 30px; overflow: hidden; isolation: isolate; transition: border-color .3s ease, transform .3s ease; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(137, 255, 91, 0.11), transparent 45%); }
.card:hover { border-color: rgba(137, 255, 91, 0.25); }
.card:hover::before { opacity: 1; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: rgba(137, 255, 91, 0.09); border: 1px solid rgba(137, 255, 91, 0.2); }
.icon svg { width: 22px; height: 22px; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.b7 { grid-column: span 7; } .b5 { grid-column: span 5; } .b4 { grid-column: span 4; }
.viz { margin-top: 26px; padding: 18px; border-radius: 16px; background: rgba(0, 0, 0, 0.38); border: 1px solid var(--line); }
.card .viz-note { margin-top: 12px; font-size: 12px; color: var(--faint); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); font-size: 13px; color: var(--ink); }

/* cycle bars */
.cycle { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.cycle i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(63, 191, 30, 0.55)); transform-origin: bottom; animation: bar 3.6s ease-in-out infinite; }
.cycle i:nth-child(1) { height: 42%; animation-delay: -.1s } .cycle i:nth-child(2) { height: 70%; animation-delay: -.5s } .cycle i:nth-child(3) { height: 55%; animation-delay: -.9s }
.cycle i:nth-child(4) { height: 88%; animation-delay: -1.3s } .cycle i:nth-child(5) { height: 36%; animation-delay: -1.7s } .cycle i:nth-child(6) { height: 64%; animation-delay: -2.1s }
.cycle i:nth-child(7) { height: 78%; animation-delay: -2.5s } .cycle i:nth-child(8) { height: 48%; animation-delay: -2.9s } .cycle i:nth-child(9) { height: 92%; animation-delay: -3.3s }
.cycle i:nth-child(10) { height: 58%; animation-delay: -.3s } .cycle i:nth-child(11) { height: 72%; animation-delay: -.7s } .cycle i:nth-child(12) { height: 40%; animation-delay: -1.1s }
.viz-legend { display: flex; justify-content: space-between; margin-top: 12px; font: 500 12px var(--mono); color: var(--faint); }

/* cost table */
.cost { display: grid; gap: 11px; }
.cost-row { display: grid; grid-template-columns: 64px 1fr 52px; align-items: center; gap: 14px; font: 500 12.5px var(--mono); color: var(--muted); }
.cost-row b { color: var(--ink); font-weight: 500; text-align: right; }
.cost-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.cost-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transform-origin: left; animation: grow 1.6s cubic-bezier(.2,.7,.2,1) both; }
.cost-bar i.w1 { width: 8%; } .cost-bar i.w2 { width: 12%; } .cost-bar i.w3 { width: 51%; background: linear-gradient(90deg, #b58a1e, var(--warn)); } .cost-bar i.w4 { width: 100%; background: linear-gradient(90deg, #b8434f, var(--bad)); }

/* range */
.range { position: relative; height: 96px; }
.range-track { position: absolute; left: 0; right: 0; top: 46px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); }
.range-band { position: absolute; left: 26%; width: 44%; top: 40px; height: 20px; border-radius: 8px; background: rgba(137, 255, 91, 0.16); border: 1px solid rgba(137, 255, 91, 0.45); }
.range-marker { position: absolute; top: 38px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--accent); border: 3px solid #040605; box-shadow: 0 0 18px var(--accent); animation: marker 9s ease-in-out infinite; left: 38%; }
.range-ends { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font: 500 11.5px var(--mono); color: var(--faint); }
.range-state { position: absolute; left: 0; top: 0; font: 500 13px var(--sans); }
.range-state span { position: absolute; left: 0; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; opacity: 0; }
.range-state .in { color: var(--accent); animation: stateIn 9s ease-in-out infinite; }
.range-state .out { color: var(--warn); animation: stateOut 9s ease-in-out infinite; }

/* depth gauge */
.gauge { position: relative; height: 96px; }
.gauge-track { position: absolute; left: 0; right: 0; top: 44px; height: 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.gauge-fill { height: 100%; border-radius: 99px; background: var(--accent); animation: gauge 8s ease-in-out infinite; }
.gauge-limit { position: absolute; left: 50%; top: 32px; bottom: 26px; width: 0; border-left: 2px dashed rgba(255, 255, 255, 0.5); }
.gauge-limit::after { content: "3% limit"; position: absolute; left: 8px; top: -2px; font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
.gauge-read { position: absolute; left: 0; top: 0; font: 500 13px var(--mono); color: var(--muted); }
.gauge-ends { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font: 500 11.5px var(--mono); color: var(--faint); }

/* ---------------------------------------------------------------- how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; height: 1px; background: linear-gradient(90deg, transparent, rgba(137, 255, 91, 0.4), transparent); }
.step { position: relative; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #040605; border: 1px solid rgba(137, 255, 91, 0.45); color: var(--accent); font: 600 13px var(--mono); position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--card); }
.step h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- product showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; }
.tabs { display: grid; gap: 12px; }
.tab { text-align: left; width: 100%; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: transparent; transition: background .25s, border-color .25s; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.tab .icon { width: 42px; height: 42px; border-radius: 12px; }
.tab h3 { margin: 0 0 4px; font-size: 1.08rem; }
.tab p { color: var(--muted); font-size: 15px; }
.tab:hover { background: rgba(255, 255, 255, 0.03); }
.tab[aria-selected="true"] { background: linear-gradient(180deg, rgba(137, 255, 91, 0.09), rgba(137, 255, 91, 0.02)); border-color: rgba(137, 255, 91, 0.35); }
.show-phone { position: relative; display: grid; place-items: center; }
.show-phone .hero-glow { width: 420px; height: 420px; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease, visibility .35s; }
.screen.active { opacity: 1; visibility: visible; transform: none; }
.screen-stage { position: relative; flex: 1; min-height: 0; }
.impact { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 14px; margin: 6px 0 2px; font: 500 10.5px/1.7 var(--mono); }
.impact b { font-weight: 500; text-align: right; }

/* ---------------------------------------------------------------- security */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.trust li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.trust h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust p { color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- responsible use */
.notice { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; padding: 44px; border-radius: 28px; border: 1px solid rgba(255, 184, 77, 0.28); background: linear-gradient(135deg, rgba(255, 184, 77, 0.07), rgba(255, 184, 77, 0.015) 55%); overflow: hidden; }
.notice::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--warn), transparent); }
.notice h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.notice .eyebrow { color: var(--warn); display: block; margin-bottom: 14px; }
.notice > div:first-child p { color: var(--muted); margin-top: 16px; }
.notice ul { display: grid; gap: 16px; }
.notice li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; color: var(--muted); font-size: 15.5px; }
.notice li b { color: var(--ink); font-weight: 600; }
.notice li svg { width: 22px; height: 22px; color: var(--warn); margin-top: 2px; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .25s, background .25s; }
.faq details[open] { border-color: rgba(137, 255, 91, 0.3); background: linear-gradient(180deg, rgba(137, 255, 91, 0.05), var(--card)); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); background:
  linear-gradient(var(--muted), var(--muted)) center / 10px 1.5px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 1.5px 10px no-repeat; transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; max-width: 46rem; }

/* ---------------------------------------------------------------- final call to action + footer */
.cta { position: relative; overflow: hidden; text-align: center; padding: 88px 32px; border-radius: 32px; border: 1px solid rgba(137, 255, 91, 0.25); background: radial-gradient(700px 320px at 50% 0%, rgba(137, 255, 91, 0.16), transparent 70%), var(--card); isolation: isolate; }
.cta .cta-logo { position: absolute; z-index: -1; left: 50%; top: 50%; width: 520px; margin: -260px 0 0 -260px; opacity: 0.05; }
.cta h2 { max-width: 40rem; margin-inline: auto; }
.cta p { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin: 20px auto 34px; }
.foot { margin-top: 120px; border-top: 1px solid var(--line); padding: 56px 0 44px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--faint); font-size: 14px; margin-top: 16px; max-width: 26rem; }
.foot h4 { margin: 0 0 14px; font: 500 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.foot ul { display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.foot ul a:hover { color: var(--accent); }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--faint); font-size: 13px; }

/* ---------------------------------------------------------------- motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.4); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marker { 0%, 34% { left: 38%; } 46%, 84% { left: 92%; } 96%, 100% { left: 38%; } }
@keyframes stateIn { 0%, 36% { opacity: 1; } 42%, 92% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes stateOut { 0%, 40% { opacity: 0; } 46%, 84% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes gauge { 0%, 30% { width: 24%; background: var(--accent); } 45%, 70% { width: 76%; background: var(--warn); } 82%, 100% { width: 24%; background: var(--accent); } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .cta-row, .hero-points { justify-content: center; }
  .hero-visual { min-height: 660px; }
  .b7, .b5 { grid-column: span 12; }
  .b4 { grid-column: span 6; }
  .b4:last-child { grid-column: span 12; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .showcase { grid-template-columns: 1fr; gap: 48px; }
  .show-phone { order: -1; }
  .notice { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .section { padding: 96px 0; }
}
@media (max-width: 900px) {
  .chip.c2, .chip.c3 { display: none; }
  .chip.c1 { right: auto; left: 50%; top: auto; bottom: -46px; margin-left: -108px; }
}
@media (max-width: 860px) {
  .nav, .bar-actions .btn { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .hero { padding: calc(var(--header) + 40px) 0 64px; }
  .hero-visual { min-height: 600px; }
  .phone { width: 288px; height: 588px; }
  .ring.r1 { width: 340px; height: 340px; } .ring.r2 { width: 460px; height: 460px; }
  .cta-row .btn { width: 100%; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .bento, .steps, .trust { grid-template-columns: 1fr; }
  .b4, .b4:last-child { grid-column: span 12; }
  .card, .step { padding: 24px; }
  .trust li { padding: 22px; gap: 14px; }
  .notice { padding: 26px 22px; border-radius: 22px; }
  .tab { padding: 18px; gap: 14px; }
  .faq summary { padding: 18px 20px; font-size: 1rem; }
  .faq details p { padding: 0 20px 20px; }
  .cta { padding: 60px 22px; border-radius: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: span 2; }
  .foot { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .logo-draw path { stroke-dashoffset: 0; }
  .track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .range-marker { left: 38%; } .range-state .in { opacity: 1; } .gauge-fill { width: 24%; }
}

/* ---------------------------------------------------------------- 404 */
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 32px; }
.nf-logo { width: 96px; height: auto; filter: drop-shadow(0 0 18px rgba(137, 255, 91, 0.5)); margin-bottom: 8px; }
.nf-code { color: var(--faint); font-size: 14px; letter-spacing: 0.2em; }
.nf h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.nf .btn { margin-top: 14px; }

/* the web-portal link is secondary: it drops out of the header bar on narrow screens (the menu has it) */
@media (max-width: 900px) { .bar-actions .btn-web { display: none; } }
