/* echecko : precision noir theme */
:root {
  --bg: #07080a;
  --bg-2: #0c0d10;
  --panel: rgba(255, 255, 255, 0.025);
  --panel-solid: #101115;
  --line: rgba(242, 240, 234, 0.09);
  --line-strong: rgba(242, 240, 234, 0.2);
  --text: #f2f0ea;
  --muted: #9a9ca5;
  --dim: #5f626c;
  --lime: #c8ff3e;
  --cyan: #c8ff3e;          /* primary accent (kept name for inline usage) */
  --violet: #8f9bff;
  --pink: #ff5a36;          /* AI verdict */
  --green: #46e6a6;         /* human verdict */
  --amber: #ffc23d;         /* mixed */
  --red: #ff5a36;
  --grad: linear-gradient(90deg, #c8ff3e, #e8ffb0);
  --radius: 6px;
  --maxw: 1280px;
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-display: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: #07080a; }

/* background layers */
#bg-canvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(200, 255, 62, 0.07), transparent 60%),
    radial-gradient(700px 500px at -10% 40%, rgba(143, 155, 255, 0.06), transparent 60%),
    var(--bg);
}
.bg-grid::after {
  content: ""; position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  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");
}
.spotlight {
  position: fixed; width: 600px; height: 600px; left: 0; top: 0; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 255, 62, 0.06), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity .4s;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section { padding: 120px 0; position: relative; }

/* header: floating bar */
.site-header { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; pointer-events: none; }
.nav {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 62px; padding: 0 10px 0 22px; max-width: calc(var(--maxw) - 64px); width: calc(100% - 64px); margin: 0 auto;
  background: rgba(12, 13, 16, 0.6); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); border-radius: 10px; transition: background .3s, border-color .3s;
}
.site-header.scrolled .nav { background: rgba(12, 13, 16, 0.88); border-color: var(--line-strong); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo-mark { width: 26px; height: 26px; border-radius: 5px; position: relative; background: var(--lime); flex: none; }
.logo-mark::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  border: 2.5px solid #07080a; border-right-color: transparent; transform: rotate(-30deg);
}
.logo span b { color: var(--text); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: .84rem; color: var(--muted); padding: 7px 12px; border-radius: 6px; transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(242, 240, 234, 0.05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--lime); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--text); width: 42px; height: 42px; border-radius: 6px; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 6px; font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s;
  font-family: var(--font-jp); white-space: nowrap; position: relative;
}
.btn-primary { background: var(--lime); color: #07080a; }
.btn-primary:hover { background: #dcff7a; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: rgba(242, 240, 234, 0.04); }
.btn-sm { padding: 9px 16px; font-size: .82rem; }
.btn-lg { padding: 17px 30px; font-size: .98rem; }
.btn:disabled { opacity: .5; cursor: wait; }

/* typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--lime); flex: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.3; font-weight: 700; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 900; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 900; line-height: 1.22; }
h3 { font-size: 1.2rem; }
.grad-text { color: var(--lime); }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 680px; }
.mono { font-family: var(--font-mono); }
.en-sub { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .22em; color: var(--dim); display: block; margin-bottom: 8px; text-transform: uppercase; }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 60px; align-items: end;
  margin: 0 0 64px; padding-top: 28px; border-top: 1px solid var(--line);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 0; justify-self: end; }
.section-head:not(:has(.lead)) h2 { grid-column: 1 / -1; }

/* hero */
.hero { padding: 170px 0 60px; }
.hero-top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero h1 { margin: 26px 0 0; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: none; } }
.hero-side { max-width: 380px; padding-bottom: 14px; }
.hero-side .lead { font-size: .98rem; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bento { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-top: 64px; }
.hero-bento .b-scan { grid-row: span 2; }
.b-cell { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.b-cell .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; }
.b-cell .v { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1.1; margin: 10px 0 6px; letter-spacing: -0.02em; }
.b-cell p { color: var(--muted); font-size: .85rem; }
.b-cell.lime { background: var(--lime); color: #07080a; border-color: var(--lime); }
.b-cell.lime .k, .b-cell.lime p { color: rgba(7, 8, 10, .65); }
.hero-trust { margin-top: 26px; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; font-family: var(--font-mono); }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust i { width: 6px; height: 6px; background: var(--lime); display: inline-block; }

/* scanner visual */
.scanner { position: relative; height: 100%; display: flex; flex-direction: column; }
.scan-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); letter-spacing: .08em; }
.scan-top .dots { display: flex; gap: 6px; align-items: center; }
.scan-top .dots i { width: 7px; height: 7px; background: var(--dim); display: block; }
.scan-top .dots i:nth-child(1) { background: var(--lime); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scan-stage {
  position: relative; margin: 16px 0; flex: 1; min-height: 240px; border-radius: 4px; overflow: hidden;
  background:
    linear-gradient(rgba(242,240,234,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(242,240,234,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(circle at 50% 45%, #1b1d24, #0b0c0f 70%);
  border: 1px solid var(--line);
}
.scan-stage::before, .scan-stage::after { content: ""; position: absolute; width: 18px; height: 18px; border: 1.5px solid var(--lime); z-index: 2; }
.scan-stage::before { left: 10px; top: 10px; border-right: none; border-bottom: none; }
.scan-stage::after { right: 10px; bottom: 10px; border-left: none; border-top: none; }
.scan-stage.photo { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
.scan-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.08) brightness(.9); }
.scan-face {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34%; aspect-ratio: 3/4;
  border-radius: 48% 48% 44% 44%; border: 1px dashed rgba(242, 240, 234, .35);
}
.scan-face::before, .scan-face::after { content: ""; position: absolute; top: 38%; width: 14%; height: 5%; background: var(--lime); }
.scan-face::before { left: 24%; }
.scan-face::after { right: 24%; }
.scan-box { position: absolute; border: 1.5px solid var(--pink); }
.scan-box span { position: absolute; top: -19px; left: -1.5px; font-family: var(--font-mono); font-size: .58rem; background: var(--pink); color: #07080a; padding: 1px 6px; white-space: nowrap; font-weight: 600; }
.scan-line {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--lime);
  box-shadow: 0 0 18px 2px rgba(200, 255, 62, .55); animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { top: 6%; } 50% { top: 94%; } }
.scan-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.meter { border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.meter small { color: var(--dim); font-size: .68rem; display: block; font-family: var(--font-mono); letter-spacing: .1em; }
.meter strong { font-family: var(--font-display); font-size: 1.4rem; }
.bar { height: 3px; background: rgba(242,240,234,.08); overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--lime); }
.verdict-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 3px; font-family: var(--font-jp); }
.v-ai { background: rgba(255, 90, 54, .12); color: var(--pink); border: 1px solid rgba(255, 90, 54, .45); }
.v-human { background: rgba(70, 230, 166, .1); color: var(--green); border: 1px solid rgba(70, 230, 166, .4); }
.v-mixed { background: rgba(255, 194, 61, .1); color: var(--amber); border: 1px solid rgba(255, 194, 61, .4); }

/* cards */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: border-color .35s, background .35s, transform .5s var(--ease); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none; opacity: 0; transition: opacity .35s, inset .45s var(--ease);
  background:
    linear-gradient(var(--lime), var(--lime)) left top / 14px 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) left top / 1.5px 14px no-repeat,
    linear-gradient(var(--lime), var(--lime)) right top / 14px 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) right top / 1.5px 14px no-repeat,
    linear-gradient(var(--lime), var(--lime)) left bottom / 14px 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) left bottom / 1.5px 14px no-repeat,
    linear-gradient(var(--lime), var(--lime)) right bottom / 14px 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) right bottom / 1.5px 14px no-repeat;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 62, .06), transparent 45%);
}
.card:hover { border-color: var(--line-strong); background: rgba(255,255,255,.035); }
.card:hover::before { opacity: 1; inset: 6px; }
.card:hover::after { opacity: 1; }
.card h3 { margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: .93rem; }
.icon {
  width: 46px; height: 46px; border-radius: 4px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--lime); background: rgba(200, 255, 62, .04);
}
.icon svg { width: 22px; height: 22px; }
.card .tag { position: absolute; top: 26px; right: 26px; font-family: var(--font-mono); font-size: .66rem; color: var(--dim); letter-spacing: .16em; }
.list-check { list-style: none; margin-top: 18px; }
.list-check li { position: relative; padding-left: 24px; margin: 9px 0; color: var(--muted); font-size: .92rem; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1.5px; background: var(--lime); }
.list-check li::after { content: ""; position: absolute; left: 7px; top: calc(.78em - 3px); width: 5px; height: 5px; border-top: 1.5px solid var(--lime); border-right: 1.5px solid var(--lime); transform: rotate(45deg); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 26px 34px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); }
.stat span { color: var(--muted); font-size: .84rem; font-family: var(--font-jp); }
.card .stats .stat:first-child { padding-left: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step { counter-increment: step; }
.step .num { font-family: var(--font-display); font-size: 4.4rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); transition: -webkit-text-stroke-color .3s, color .3s; }
.step:hover .num { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.step .num::before { content: "0" counter(step); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { margin: 20px 0; }
.split p { color: var(--muted); margin-bottom: 14px; }

/* demo */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: var(--bg-2); }
.demo-left { padding: 36px; border-right: 1px solid var(--line); }
.demo-right { padding: 36px; position: relative; min-height: 480px;
  background: linear-gradient(rgba(242,240,234,.03) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(242,240,234,.03) 1px, transparent 1px) 0 0 / 28px 28px; }
.tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); padding: 7px 16px; border-radius: 4px; cursor: pointer; font-family: var(--font-jp); font-size: .84rem; transition: .2s; }
.tab:hover { color: var(--text); border-color: var(--text); }
.tab.active { color: #07080a; background: var(--lime); border-color: var(--lime); }
.dropzone { border: 1px dashed var(--line-strong); border-radius: 4px; padding: 40px 20px; text-align: center; cursor: pointer; transition: .25s; }
.dropzone:hover, .dropzone.drag { border-color: var(--lime); background: rgba(200, 255, 62, .04); }
.dropzone svg { width: 38px; height: 38px; margin: 0 auto 14px; color: var(--lime); }
.dropzone p { color: var(--muted); font-size: .88rem; }
.dropzone small { color: var(--dim); font-size: .76rem; font-family: var(--font-mono); }
textarea, input, select {
  width: 100%; background: rgba(7, 8, 10, .7); border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text);
  padding: 14px 16px; font-family: var(--font-jp); font-size: .94rem; transition: border-color .2s, box-shadow .2s;
}
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200, 255, 62, .12); }
textarea { min-height: 170px; resize: vertical; }
.demo-note { margin-top: 14px; font-size: .76rem; color: var(--dim); }
.result-empty { position: absolute; inset: 36px; display: grid; place-items: center; text-align: center; color: var(--dim); font-size: .9rem; }
.result-empty .ring { width: 120px; height: 120px; border-radius: 50%; border: 1px dashed var(--line-strong); margin: 0 auto 18px; display: grid; place-items: center; animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gauge { position: relative; width: 190px; height: 190px; margin: 0 auto 22px; }
.gauge svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .val strong { font-family: var(--font-display); font-size: 2.7rem; display: block; line-height: 1; letter-spacing: -0.03em; }
.gauge .val small { color: var(--muted); font-size: .72rem; }
.signals { list-style: none; margin-top: 18px; }
.signals li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.signals li .bar { grid-column: 1 / -1; margin-top: 0; }
.signals li em { font-style: normal; font-family: var(--font-mono); color: var(--lime); font-size: .78rem; }
.processing { text-align: center; padding-top: 60px; }
.processing .loader { width: 80px; height: 80px; margin: 0 auto 22px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--lime); animation: spin .9s linear infinite; }
.log { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); text-align: left; max-width: 340px; margin: 0 auto; }
.log div { opacity: 0; animation: fadein .3s forwards; }
.log div::before { content: "> "; color: var(--lime); }
@keyframes fadein { to { opacity: 1; } }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { font-family: var(--font-display); color: var(--muted); font-size: 1.05rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; background: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* page hero */
.page-hero { padding: 190px 0 80px; position: relative; }
.page-hero .container { display: flex; flex-direction: column; align-items: flex-start; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin: 24px 0 22px; }
.page-hero .lead { margin: 0; }
.breadcrumb { font-family: var(--font-mono); font-size: .72rem; color: var(--dim); margin-top: 34px; letter-spacing: .08em; order: -1; margin: 0 0 22px; }
.breadcrumb a:hover { color: var(--lime); }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
th { color: var(--text); font-weight: 700; }
thead th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; background: rgba(242,240,234,.02); }
td { color: var(--muted); }
tr:last-child td, tr:last-child th { border-bottom: none; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: rgba(200, 255, 62, .025); }
.info-table th { width: 220px; white-space: nowrap; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.yes { color: var(--lime); font-weight: 700; }
.no { color: var(--dim); }

/* pricing */
.billing-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px; margin-bottom: 50px; }
.billing-toggle button { background: none; border: none; color: var(--muted); padding: 9px 20px; border-radius: 4px; cursor: pointer; font-family: var(--font-jp); font-weight: 700; font-size: .86rem; }
.billing-toggle button.active { background: var(--lime); color: #07080a; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--lime); background: rgba(200, 255, 62, .04); }
.price-card .badge { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; background: var(--lime); color: #07080a; padding: 3px 10px; border-radius: 3px; }
.price { font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; margin: 20px 0 4px; letter-spacing: -0.03em; }
.price small { font-family: var(--font-jp); font-size: .86rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price-card .list-check { flex: 1; margin-bottom: 26px; }

/* faq */
.faq-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.faq-item { border-top: 1px solid var(--line); transition: background .25s; }
.faq-group .faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); text-align: left; padding: 24px 60px 24px 0; font-size: 1.02rem; font-weight: 700; cursor: pointer; position: relative; font-family: var(--font-head); line-height: 1.6; display: flex; gap: 16px; }
.faq-q::before { content: "Q"; font-family: var(--font-mono); color: var(--lime); font-size: .85rem; padding-top: 3px; }
.faq-q::after { content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: linear-gradient(var(--text), var(--text)) center / 14px 1.5px no-repeat, linear-gradient(var(--text), var(--text)) center / 1.5px 14px no-repeat; transition: transform .35s var(--ease); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-item.open .faq-q { color: var(--lime); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a > div { padding: 0 60px 26px 32px; color: var(--muted); font-size: .94rem; }

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -33px; top: 9px; width: 9px; height: 9px; background: var(--bg); border: 1.5px solid var(--lime); }
.tl-item:hover::before { background: var(--lime); }
.tl-item time { font-family: var(--font-mono); color: var(--lime); font-size: .78rem; letter-spacing: .12em; }
.tl-item h4 { margin: 4px 0 6px; font-size: 1.05rem; }
.tl-item p { color: var(--muted); font-size: .9rem; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .84rem; font-weight: 700; margin-bottom: 8px; }
label .req { color: #07080a; background: var(--lime); font-size: .66rem; margin-left: 8px; padding: 1px 6px; border-radius: 2px; vertical-align: 1px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.checkbox input { width: auto; margin-top: 7px; accent-color: var(--lime); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }

/* legal */
.legal { max-width: 900px; }
.legal h2 { font-size: 1.25rem; margin: 48px 0 14px; padding-left: 16px; border-left: 3px solid var(--lime); font-weight: 700; }
.legal p, .legal li { color: var(--muted); font-size: .94rem; margin-bottom: 10px; }
.legal ol, .legal ul { padding-left: 24px; margin-bottom: 14px; }
.legal .updated { font-family: var(--font-mono); color: var(--dim); font-size: .78rem; }

/* CTA */
.cta {
  position: relative; padding: 90px 56px; border-radius: var(--radius); overflow: hidden;
  background: var(--lime); color: #07080a;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(7, 8, 10, .08); border-right-color: transparent; transform: rotate(-30deg); pointer-events: none;
}
.cta .eyebrow { color: rgba(7,8,10,.6); }
.cta .eyebrow::before { background: #07080a; }
.cta h2 { margin-bottom: 16px; max-width: 760px; }
.cta .grad-text { color: #07080a; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.cta .lead { margin: 0 0 34px; color: rgba(7, 8, 10, .7); }
.cta .btn-primary { background: #07080a; color: var(--lime); }
.cta .btn-primary:hover { background: #1a1c22; }
.cta .btn-ghost { border-color: rgba(7,8,10,.35); color: #07080a; }
.cta .btn-ghost:hover { border-color: #07080a; background: rgba(7,8,10,.06); }

/* code */
.code {
  font-family: var(--font-mono); font-size: .8rem; background: #050608; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  color: #c9cbd3; overflow-x: auto; line-height: 1.8; white-space: pre;
}
.code .k { color: var(--lime); } .code .s { color: #9fd9ff; } .code .c { color: var(--dim); } .code .n { color: var(--amber); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: .74rem; padding: 5px 12px; border-radius: 3px; border: 1px solid var(--line-strong); color: var(--muted); font-family: var(--font-mono); transition: .2s; }
a.chip:hover { color: #07080a; background: var(--lime); border-color: var(--lime); }

/* notice */
.notice { border-left: 3px solid var(--amber); background: rgba(255, 194, 61, .05); padding: 18px 22px; color: var(--muted); font-size: .9rem; }
.notice strong { color: var(--amber); }

/* founder */
.founder-photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.05); transition: filter .5s, transform 1.2s var(--ease); }
.founder-photo:hover img { filter: none; transform: scale(1.03); }
.founder-photo::before, .founder-photo::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--lime); z-index: 2; }
.founder-photo::before { left: 14px; top: 14px; border-right: none; border-bottom: none; }
.founder-photo::after { right: 14px; bottom: 14px; border-left: none; border-top: none; }
.founder-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 24px; z-index: 1;
  background: linear-gradient(transparent, rgba(7, 8, 10, .92));
}
.founder-photo figcaption strong { display: block; font-family: var(--font-head); font-size: 1.3rem; }
.founder-photo figcaption span { font-family: var(--font-mono); font-size: .72rem; color: var(--lime); letter-spacing: .12em; }
.founder-photo .scan-tag { position: absolute; top: 18px; right: 18px; z-index: 2; }

/* photography: graded editorial images, charcoal fallback if a file fails */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: var(--ar, 3 / 2);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(242,240,234,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(242,240,234,.04) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(160deg, #15161a, #0b0c0f);
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.06) brightness(.86); }
.media::after { /* warm grade + floor shade */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 10, .45)), rgba(120, 60, 30, .08); mix-blend-mode: multiply;
}
.media figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  color: rgba(242, 240, 234, .78); text-transform: uppercase;
}
.media .scan-box { z-index: 2; }
.media .scan-line { z-index: 2; opacity: .7; }
.r-wide { --ar: 21 / 9; } .r-169 { --ar: 16 / 9; } .r-1610 { --ar: 16 / 10; } .r-43 { --ar: 4 / 3; }
.card > .media.bleed { margin: -34px -30px 26px; border-radius: 0; border: none; border-bottom: 1px solid var(--line); }
.card > .tag { z-index: 3; color: rgba(242, 240, 234, .8); }
.card:has(> .media.bleed) > .tag { background: rgba(7, 8, 10, .7); padding: 3px 8px; }
.split .media + p, .split p + .media { margin-top: 28px; }
.heat { position: absolute; z-index: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 90, 54, .5), rgba(255, 194, 61, .22) 55%, transparent); }
.diagram-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 28px; margin-bottom: 14px; scrollbar-color: var(--line-strong) transparent; }
.diagram-wrap svg { min-width: 760px; width: 100%; height: auto; }

/* map placeholder */
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); min-height: 360px;
  background:
    linear-gradient(rgba(242,240,234,.05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(242,240,234,.05) 1px, transparent 1px) 0 0 / 28px 28px, #0b0c0f;
}
.map .pin { position: absolute; left: 55%; top: 48%; transform: translate(-50%, -50%); width: 14px; height: 14px; background: var(--lime); }
.map .pin::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1.5px solid var(--lime); animation: ripple 2.2s infinite; }
.map .pin i { display: none; }
@keyframes ripple { from { opacity: 1; width: 14px; height: 14px; } to { opacity: 0; width: 110px; height: 110px; } }
.map .label { position: absolute; left: 55%; top: calc(48% + 20px); transform: translateX(-50%); font-size: .76rem; background: var(--bg); border: 1px solid var(--line-strong); padding: 5px 12px; white-space: nowrap; font-family: var(--font-mono); }
.map .street { position: absolute; background: rgba(242,240,234,.1); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 90px 0 30px; margin-top: 60px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em; margin-bottom: 18px; color: var(--dim); font-weight: 600; text-transform: uppercase; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin: 10px 0; }
.footer-grid li a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer-grid li a:hover { color: var(--lime); }
.footer-about p { color: var(--muted); font-size: .86rem; margin: 18px 0; max-width: 380px; }
.footer-addr { font-size: .82rem; color: var(--dim); font-style: normal; line-height: 1.9; }
.footer-word {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 19vw, 17rem); line-height: .85; letter-spacing: -0.05em;
  color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin: 70px 0 0; user-select: none; white-space: nowrap; text-align: center;
}
.footer-bottom { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .74rem; color: var(--dim); font-family: var(--font-mono); letter-spacing: .06em; }
.footer-bottom a:hover { color: var(--lime); }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 6px; height: 6px; background: var(--lime); display: inline-block; animation: blink 1.6s steps(2) infinite; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; }
.center { text-align: center; }

/* responsive */
@media (max-width: 1140px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; padding: 14px;
    background: rgba(12, 13, 16, .97); border: 1px solid var(--line-strong); border-radius: 10px; align-items: stretch;
  }
  .nav-links.open a { display: block; padding: 12px 14px; font-size: .98rem; }
  .nav-links.open a.active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  .nav { position: relative; width: calc(100% - 32px); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-top { grid-template-columns: 1fr; }
  .hero-bento { grid-template-columns: 1fr 1fr; }
  .hero-bento .b-scan { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  section { padding: 84px 0; }
  .split, .demo, .g3, .g2, .steps, .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .split { gap: 48px; }
  .split.rev > :first-child { order: 0; }
  .card > .media.bleed:not(.r-wide) { --ar: 16 / 9; }
  .demo-left { border-right: none; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { padding-top: 140px; }
  .cta { padding: 64px 32px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav { width: calc(100% - 24px); padding-left: 16px; }
  .g4, .footer-grid, .form-grid, .hero-bento { grid-template-columns: 1fr; }
  .card { padding: 26px 22px; }
  .card > .media.bleed { margin: -26px -22px 22px; }
  .scan-box.aux { display: none; }
  .scan-box span { font-size: .5rem; top: -15px; padding: 0 4px; }
  .diagram-wrap { padding: 18px; }
  .demo-left, .demo-right { padding: 24px; }
  .result-empty { inset: 24px; }
  .cta { padding: 52px 22px; }
  .nav-cta .btn-primary { display: none; }
  .info-table th { width: auto; white-space: normal; }
  .faq-a > div { padding: 0 8px 22px 30px; }
  .page-hero { padding-top: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
@media (max-width: 600px) { .hero-bento > * { grid-column: auto !important; } }
.grid > *, .hero-bento > *, .split > *, .demo > * { min-width: 0; }
.hero h1 .line { padding-bottom: .12em; margin-bottom: -.12em; }
.scan-top > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .scan-top > span:last-child { display: none; } }
