/* Gridlogic Studios: gunmetal, chrome type, fine circuit lines, one electric-blue accent */
:root {
  --bg: #0a0c0f; --bg2: #11151a; --panel: #151a20; --line: #262e37; --line2: #36414d;
  --text: #d9e1ea; --dim: #8b98a6; --chrome: #e8edf2; --accent: #3fb6ff; --accent2: #8fd8ff; --ok: #6fe3a5;
  --head: "Chakra Petch", "Rajdhani", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body);
  background-image:
    radial-gradient(1200px 500px at 70% -10%, rgba(63, 182, 255, .10), transparent 60%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent2); }
a:hover { color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* header */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 12, 15, .86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 112px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--chrome); }
.brand img { width: 58px; height: 88px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(63, 182, 255, .35)); }
.brand b { font: 700 34px/1 var(--head); letter-spacing: .12em; text-transform: uppercase; background: linear-gradient(180deg, #fff 0%, #cfd7df 48%, #7d8894 52%, #e9eef3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand img.wordmark { width: auto; height: 54px; filter: none; }   /* the logo's own lettering, flat */
.brand span { display: block; font: 600 15px/1 var(--head); letter-spacing: .62em; color: var(--dim); margin-top: 6px; }
nav { display: flex; gap: 22px; }
nav a { color: var(--dim); text-decoration: none; font: 600 14px var(--head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--chrome); }
@media (max-width: 720px) { nav { gap: 14px; } nav a { font-size: 12px; } .brand span { display: none; } }
@media (max-width: 520px) { nav a.opt { display: none; } }

/* type */
h1, h2, h3 { font-family: var(--head); color: var(--chrome); line-height: 1.12; margin: 0 0 12px; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
.eyebrow { font: 600 12px var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 19px; color: #c3cdd8; max-width: 62ch; }
.sub { color: var(--dim); max-width: 70ch; }
.chrome { background: linear-gradient(180deg, #ffffff 0%, #c9d2db 48%, #7d8894 52%, #e6ecf1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; padding-top: 64px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero .logo { width: 100%; max-width: 380px; margin-left: auto; filter: drop-shadow(0 0 36px rgba(63, 182, 255, .18)); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero .logo { max-width: 240px; margin: 0 auto; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px; text-decoration: none; font: 600 15px var(--head); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #04121c; border: 1px solid var(--accent); }
.btn:hover { background: #fff; color: #04121c; }
.btn.ghost { background: transparent; color: var(--chrome); border-color: var(--line2); }
.btn.ghost:hover { border-color: var(--accent); color: #fff; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* cards */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: 12px; padding: 22px; position: relative; }
.card p { color: #b9c4cf; margin: 0 0 10px; }
.card h3 { clear: both; }
.card .tag { display: inline-block; font: 600 11px var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.card .status { float: right; margin: -4px -4px 10px 14px; font: 600 11px var(--head); letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line2); color: var(--dim); }
.card .status.live { color: var(--ok); border-color: rgba(111, 227, 165, .4); }
.card .status.dev { color: var(--accent2); border-color: rgba(63, 182, 255, .45); }
.card.feature { border-color: rgba(63, 182, 255, .45); box-shadow: 0 0 0 1px rgba(63, 182, 255, .12), 0 18px 60px -30px rgba(63, 182, 255, .5); }
.card a.more { font: 600 14px var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

/* audio demos */
.demo { display: grid; gap: 10px; }
.demo h3 { margin: 0; font-size: 17px; }
.demo p { margin: 0; color: var(--dim); font-size: 14px; }
.demo audio { width: 100%; }
.spec { border-radius: 10px; border: 1px solid var(--line); width: 100%; aspect-ratio: 1200 / 420; object-fit: cover; background: #05070a; }
.figcap { color: var(--dim); font-size: 13px; margin-top: 8px; }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: var(--bg2); }
tr:last-child td { border-bottom: 0; }
td b { color: var(--chrome); }

.notice { border: 1px solid rgba(63, 182, 255, .35); background: rgba(63, 182, 255, .06); border-radius: 12px; padding: 18px 20px; color: #c7d6e4; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
ul.ticks li { padding-left: 24px; position: relative; color: #c3cdd8; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--dim); }
/* narrow screens: the menu drops onto its own row under the brand */
@media (max-width: 760px) {
  .bar { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 8px; }
  nav { width: 100%; gap: 16px; overflow-x: auto; padding-bottom: 2px; }
  nav a.opt { display: inline; }
}

/* the 3D logo in the hero (logo3d.js); the flat logo shows until 3D is ready, or instead of it */
.logo3d { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1 / 1.04; margin-left: auto; }
.logo3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.logo3d .fallback { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: opacity .6s; }
.logo3d.ready .fallback { opacity: 0; }
@media (max-width: 860px) { .logo3d { max-width: 420px; margin: 0 auto; } }
@media (max-width: 760px) { .brand img { width: 44px; height: 66px; } .brand img.wordmark { width: auto; height: 42px; } }
