/* Prairie Pixel: shared styles. Spatial glass over obsidian. No blocking intro, no render-blocking third parties. */
@font-face { font-family: 'Geist'; src: url('fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #06070A;
  --fg: #F4F5F7;
  --fg-dim: rgba(244, 245, 247, .72);
  --fg-faint: rgba(244, 245, 247, .56);
  --line: rgba(255, 255, 255, .11);
  --line-hi: rgba(255, 255, 255, .24);
  --glass-a: rgba(255, 255, 255, .08);
  --glass-b: rgba(255, 255, 255, .035);
  --silver: #C9CED6;
  --f-sans: 'Geist', 'SF Pro Display', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --max: 1200px;
  --radius: 26px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.65; font-weight: 300;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-weight: 300; margin: 0; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); font-weight: 200; letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); font-weight: 200; letter-spacing: -.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0 0 1em; } p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .02em; }
.dim { color: var(--fg-dim); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-weight: 500; text-decoration: none; }
.skip:focus { left: 16px; }

/* ---------- Background ---------- */
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bgfx::before, .bgfx::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .22), rgba(150, 158, 170, .1) 55%, transparent 72%); }
.bgfx::before { width: 46vmax; height: 46vmax; right: -12vmax; top: -10vmax; }
.bgfx::after { width: 38vmax; height: 38vmax; left: -14vmax; bottom: -12vmax; opacity: .7; }
#mercury { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
#mercury.on { opacity: 1; }
.veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(520px circle at var(--px, 70%) var(--py, 25%), rgba(255, 255, 255, .06), transparent 62%), radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(6, 7, 10, .55) 100%), linear-gradient(180deg, rgba(6, 7, 10, .3), rgba(6, 7, 10, .1) 30%, rgba(6, 7, 10, .55)); }
header.nav-wrap, main, footer { position: relative; z-index: 1; }

/* ---------- Glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  -webkit-backdrop-filter: blur(20px) saturate(150%); backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 -1px 0 rgba(255, 255, 255, .03), 0 1px 1px rgba(0, 0, 0, .35), 0 6px 12px rgba(0, 0, 0, .25), 0 20px 40px rgba(0, 0, 0, .3), 0 48px 96px rgba(0, 0, 0, .3);
}
.glass::before, .glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.glass::before { z-index: -1; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .13), transparent 62%); }
.glass::after { padding: 1px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .7), transparent 62%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.glass:hover::before, .glass:hover::after, .glass:focus-within::before, .glass:focus-within::after { opacity: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 500; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; cursor: pointer; color: var(--fg); border: 1px solid var(--line-hi); background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 24px rgba(0, 0, 0, .35); transition: transform .25s ease-out, background .2s; font-family: inherit; }
.btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08)); color: #fff; }
.btn-solid { color: #0A0B0E; border-color: rgba(255, 255, 255, .6); background: linear-gradient(180deg, #fff, #C7CCD4); box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .4); }
.btn-solid:hover { color: #0A0B0E; background: linear-gradient(180deg, #fff, #DCE0E6); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 40; padding: calc(env(safe-area-inset-top, 0px) + 12px) 0 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 22px; border-radius: 999px; max-width: var(--max); margin-inline: auto; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 1.1rem; letter-spacing: -.02em; white-space: nowrap; }
.brand i { display: none; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav-links a:not(.btn) { text-decoration: none; color: var(--fg-dim); font-size: .96rem; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: #fff; border-color: rgba(255, 255, 255, .5); }
.menu-btn { display: none; font: inherit; font-weight: 500; background: rgba(255, 255, 255, .1); color: var(--fg); border: 1px solid var(--line-hi); border-radius: 999px; padding: 9px 18px; cursor: pointer; }
@media (max-width: 1020px) {
  .js .menu-btn { display: inline-block; }
  .js .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px; border-radius: 24px; background: rgba(14, 16, 20, .96); border: 1px solid var(--line-hi); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .js .nav-wrap.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links .btn { margin-top: 16px; }
  .no-js .nav-links { flex-wrap: wrap; justify-content: flex-end; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 80px); }
.hero.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 26px; font-size: .9rem; color: var(--fg-faint); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.32rem); color: var(--fg-dim); line-height: 1.55; max-width: 36em; margin-top: 26px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; list-style: none; }
.pills li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--fg-dim); background: rgba(255, 255, 255, .03); }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: .9rem; color: var(--fg-dim); margin-bottom: 26px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .55); animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
@media (max-width: 920px) { .hero.split { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--d, 0) * 100ms + 80ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 104px); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.head p { color: var(--fg-dim); font-size: 1.1rem; max-width: 32em; }
.head.one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) { .head { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 1.8em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose p, .prose li { color: var(--fg-dim); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--fg); font-weight: 500; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; }
.card { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card p { color: var(--fg-dim); margin: 0; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 500; }
a.card { text-decoration: none; color: inherit; }
a.card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: auto; padding-top: 8px; }
.tags li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--fg-dim); }

/* ---------- Ledger / checklist ---------- */
.ledger { list-style: none; border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px 32px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.ledger strong { font-weight: 400; font-size: 1.15rem; letter-spacing: -.02em; }
.ledger span { color: var(--fg-dim); }
@media (max-width: 700px) { .ledger li { grid-template-columns: minmax(0, 1fr); } }
.checks { list-style: none; }
.checks li { position: relative; padding: 0 0 .7em 30px; color: var(--fg-dim); }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff, #9aa1ac 65%, #3a3f48); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s); font-size: 3.4rem; font-weight: 200; line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.steps p { color: var(--fg-dim); margin: 0; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .03); }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; color: var(--fg); background: rgba(255, 255, 255, .05); }
td { color: var(--fg-dim); font-size: .98rem; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--fg); font-weight: 400; }

/* ---------- Pricing bands ---------- */
.bands { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(12px, 1.6vw, 20px); list-style: none; }
.bands li { padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.bands strong { font-size: 1.9rem; font-weight: 200; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bands span { color: var(--fg-dim); font-size: .98rem; }

/* ---------- FAQ ---------- */
.faq { padding: 6px clamp(20px, 3vw, 40px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); font-weight: 400; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--fg), var(--fg)) center / 100% 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1.5px 100% no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--fg-dim); max-width: 46em; }

/* ---------- Lead form ---------- */
.lead-band { padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.lead-band h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 18px; }
.lead-band .dim { max-width: 28em; }
.assure { list-style: none; margin-top: 24px; display: grid; gap: 10px; color: var(--fg-dim); font-size: .98rem; }
.assure li { display: flex; gap: 12px; align-items: center; }
.assure li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .6); flex: none; }
@media (max-width: 900px) { .lead-band { grid-template-columns: minmax(0, 1fr); } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; color: var(--fg-dim); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; font-weight: 300; color: var(--fg); width: 100%; background: rgba(0, 0, 0, .32); border: 1px solid var(--line-hi); border-radius: 14px; padding: 13px 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F4F5F7' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #14171C; color: #F4F5F7; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field .err { display: none; font-size: .9rem; color: #FFB4A8; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select { border-color: #FFB4A8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .fine { grid-column: 1 / -1; font-size: .88rem; color: var(--fg-faint); }
.form-status { grid-column: 1 / -1; font-size: .95rem; color: #FFB4A8; min-height: 1.2em; }
.sent { padding: 30px; border: 1px solid var(--line-hi); border-radius: 22px; background: rgba(255, 255, 255, .06); }
.sent h3 { font-size: 1.8rem; margin-bottom: 10px; }
.notice { margin-top: 14px; padding: 12px 16px; border-radius: 14px; border: 1px dashed var(--line-hi); font-size: .92rem; color: var(--fg-dim); }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Case study ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); overflow: hidden; }
.case-main { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; }
.case-side { padding: clamp(26px, 4vw, 52px); border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(0, 0, 0, .15)); }
.case-side ul { list-style: none; }
.case-side li { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 1.15rem; letter-spacing: -.02em; }
.case-side li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .case { grid-template-columns: minmax(0, 1fr); } .case-side { border-left: 0; border-top: 1px solid var(--line); } }
.slot { border: 1px dashed var(--line-hi); border-radius: 20px; padding: 24px; color: var(--fg-dim); }
.slot strong { color: var(--fg); font-weight: 400; display: block; margin-bottom: 6px; font-size: 1.1rem; }

/* ---------- Footer ---------- */
footer { padding: clamp(40px, 6vw, 80px) 0 calc(36px + env(safe-area-inset-bottom, 0px)); margin-top: clamp(30px, 5vw, 70px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .35)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h2 { font-size: .8rem; font-family: var(--f-mono); font-weight: 400; letter-spacing: .04em; color: var(--fg-faint); margin-bottom: 14px; text-transform: none; }
.foot-grid ul { list-style: none; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--fg-dim); } .foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-about p { color: var(--fg-dim); max-width: 24em; font-size: .98rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--fg-faint); font-size: .92rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.reveal.pre { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.pre.in { opacity: 1; transform: none; }

/* ---------- Home: live build card ---------- */
.bcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.bcard-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.bcard-bar .dots { display: inline-flex; gap: 6px; } .bcard-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.bcard-tabs { display: flex; gap: 4px; margin-left: 6px; } .bcard-tabs span { font-family: var(--f-mono); font-size: .74rem; padding: 4px 9px; border-radius: 8px; color: var(--fg-faint); }
.bcard-tabs span.on { background: rgba(255, 255, 255, .11); color: var(--fg); }
.bcode { margin: 0; padding: 14px 16px; font: 400 12.5px/1.75 var(--f-mono); color: var(--silver); min-height: 150px; white-space: pre-wrap; word-break: break-word; }
.bcode .t { color: #fff; } .bcode .a { color: #A9B2C0; } .bcode .s { color: #CFE0F0; } .bcode .n { color: #F0E3C4; } .bcode .p { color: rgba(255, 255, 255, .42); } .bcode i { font-style: normal; }
.caret { display: inline-block; width: 7px; height: 1.05em; background: var(--fg); vertical-align: -.18em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bprev { position: relative; border-top: 1px solid var(--line); background: #fff; color: #000; font: 13px/1.35 'Times New Roman', Times, serif; padding: 12px 16px; min-height: 190px; overflow: hidden; transition: background .8s, color .8s; }
.bprev > * { position: relative; z-index: 1; }
.bprev [data-e] { display: none; } .bprev [data-e].show { display: block; }
.bprev a { color: #0000EE; } .bprev h3 { font: 700 1.6em/1.1 inherit; letter-spacing: normal; margin: .4em 0; } .bprev p { margin: .5em 0; }
.bprev ul { padding-left: 30px; margin: .5em 0; } .bprev li[data-e].show { display: list-item; }
.bprev.s1 { background: #06070A; color: #F4F5F7; }
.bprev.s2 { font-family: var(--f-sans); } .bprev.s2 h3 { font-weight: 200; font-size: 1.9em; letter-spacing: -.04em; } .bprev.s2 p { color: var(--fg-dim); }
.bprev.s3 ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.bprev.s3 li { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 7px 11px; }
.bprev.s4 [data-e="btn"] { display: inline-block; border-radius: 999px; background: linear-gradient(#fff, #c7ccd4); color: #06070A; text-decoration: none; padding: 7px 15px; font-weight: 500; }
.bprev .glow { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1.2s; background: radial-gradient(circle at 78% 70%, rgba(255, 255, 255, .22), transparent 45%), radial-gradient(circle at 20% 85%, rgba(255, 255, 255, .14), transparent 40%); }
.bprev.s5 .glow { opacity: 1; animation: drift 7s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-6%, -8%) scale(1.15); } }
.bcard-foot { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--fg-faint); }
.bcard-foot button { background: none; border: 0; color: var(--fg-dim); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: .2em; padding: 0; }

/* ---------- Chat widget ---------- */
.chat-fab { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; align-items: center; gap: 10px; padding: 0 20px 0 12px; min-height: 52px; border-radius: 999px; font: inherit; font-weight: 500; color: var(--fg); cursor: pointer; border: 1px solid var(--line-hi); background: rgba(20, 23, 28, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .2); }
.js .chat-fab { display: inline-flex; }
.chat-fab i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff 0 6%, #CDD2DA 20%, #6B7280 60%, #15181D 100%); }
.chat { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 61; width: min(400px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px)); display: none; flex-direction: column; padding: 0; overflow: hidden; background: rgba(16, 18, 23, .92); }
.chat.open { display: flex; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-head strong { font-weight: 500; display: block; } .chat-head span { font-size: .84rem; color: var(--fg-faint); }
.chat-head button { background: none; border: 1px solid var(--line-hi); color: var(--fg); border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font: inherit; }
.log { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; }
.msg { max-width: 90%; padding: 10px 15px; border-radius: 18px; font-size: .97rem; line-height: 1.5; }
.msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: linear-gradient(180deg, #F6F7F9, #BFC4CC); color: #0A0B0E; font-weight: 400; border-bottom-right-radius: 6px; }
.msg a { display: inline-block; margin-top: 8px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chip { font: inherit; font-size: .88rem; color: var(--fg); border: 1px solid var(--line-hi); background: rgba(255, 255, 255, .05); border-radius: 999px; padding: 6px 13px; cursor: pointer; }
.chip:hover { background: rgba(255, 255, 255, .14); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(0, 0, 0, .3); padding: 0 16px; font: inherit; color: var(--fg); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(180deg, #fff, #C3C8D0); color: #0A0B0E; font-weight: 600; font-size: 1.1rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal.pre { opacity: 1; transform: none; } }

/* ===== v2 design layer ===== */
:root { --gold: #E8C77A; --gold-2: #F6E3B0; }
h1 em, h2 em { font-style: normal; background: linear-gradient(100deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-solid { background: linear-gradient(180deg, #fff, #d9dde4); box-shadow: 0 10px 34px rgba(232, 199, 122, .22), inset 0 1px 0 #fff; }
.btn-solid:hover { box-shadow: 0 14px 44px rgba(232, 199, 122, .38), inset 0 1px 0 #fff; }
.crumbs, .status { color: var(--fg-dim); }
.status i { background: var(--gold) !important; box-shadow: 0 0 12px var(--gold); }
.more { color: var(--gold-2); }
/* living background on every page */
.bgfx::before { background: radial-gradient(circle at 35% 30%, rgba(232, 199, 122, .26), rgba(150, 158, 170, .08) 55%, transparent 72%); animation: drift 26s ease-in-out infinite alternate; }
.bgfx::after { animation: drift 32s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.12); } }
.bgfx { background: radial-gradient(1200px 600px at 80% -10%, rgba(232, 199, 122, .07), transparent 60%); }
/* hero art */
.scene { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.scene svg { width: 100%; height: 100%; display: block; background: linear-gradient(180deg, #11141b, #06070A); }
.scene figcaption { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; color: var(--fg-dim); font-family: var(--f-mono); letter-spacing: .02em; }
.scene .sun { animation: pulse 7s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.scene .node { animation: pulse 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.scene .flow { animation: dash 14s linear infinite; }
@keyframes pulse { 50% { opacity: .72; transform: scale(1.08); } }
@keyframes dash { to { stroke-dashoffset: -160; } }
/* fact band */
.facts { padding-block: 0 8px; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); }
.facts li { padding: 26px 24px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.facts li:first-child { border-left: 0; }
.facts strong { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; color: var(--gold-2); }
.facts span { color: var(--fg-dim); font-size: .92rem; }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr 1fr; } .facts li:nth-child(3) { border-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
/* marquee */
.marq { overflow: hidden; margin: clamp(28px, 5vw, 56px) 0 0; border-block: 1px solid var(--line); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq .track { display: flex; width: max-content; animation: marq 42s linear infinite; }
.marq span { font-size: clamp(1.4rem, 3.2vw, 2.4rem); font-weight: 200; letter-spacing: -.03em; padding-right: 2.2rem; color: var(--fg-faint); white-space: nowrap; }
.marq span::after { content: "\2022"; margin-left: 2.2rem; color: var(--gold); }
@keyframes marq { to { transform: translateX(-50%); } }
/* device frame */
.case-side { display: grid; align-items: center; }
.device { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-hi); background: #0c0e13; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 6px rgba(255, 255, 255, .03); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .5s; }
.case:hover .device { transform: none; }
.dbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #151821; border-bottom: 1px solid var(--line); }
.dbar .dots { display: inline-flex; gap: 6px; } .dbar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.dbar .url { flex: 1; text-align: center; font-family: var(--f-mono); font-size: .72rem; color: var(--fg-dim); background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 4px 10px; }
.dbody { padding: 18px; display: grid; gap: 14px; }
.dh { height: 74px; border-radius: 10px; background: linear-gradient(120deg, rgba(232, 199, 122, .35), rgba(255, 255, 255, .06)); }
.dr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .dr b { height: 38px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.dform { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dform span { padding: 9px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: .74rem; color: var(--fg-faint); }
.dform em { grid-column: 1 / -1; font-style: normal; text-align: center; padding: 10px; border-radius: 999px; background: #fff; color: #06070A; font-weight: 500; font-size: .8rem; }
.device figcaption { padding: 8px 14px 12px; font-size: .72rem; color: var(--fg-faint); }
/* richer cards */
.card { transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(232, 199, 122, .5); box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 199, 122, .15); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 199, 122, .10), transparent 45%); opacity: 0; transition: opacity .3s; }
.card:hover::before { opacity: 1; }
.card { position: relative; }
/* sticky mobile CTA bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: rgba(6, 7, 10, .82); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .4s; }
  .mbar.on { transform: none; }
  .mbar .btn { flex: 1; justify-content: center; }
  body { padding-bottom: 76px; }
  .chat-fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); min-height: 44px; padding-right: 16px; }
  .scene { aspect-ratio: 16 / 10; }
  /* swipeable card rows */
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .cards > li { flex: 0 0 82%; scroll-snap-align: center; display: flex; } .cards > li > .card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .bgfx::before, .bgfx::after, .scene .sun, .scene .node, .scene .flow, .marq .track { animation: none !important; } }
.cards { align-items: stretch; }
.cards > li { display: flex; } .cards > li > .card { width: 100%; }

.brand-logo { display:block; width:auto; height:36px; max-width:190px; object-fit:contain; }
.foot-about .brand-logo { height:48px; max-width:230px; }
