/* dxaplay.com — built on the DXAPlay Brand Guide tokens (dark theme). */
:root {
  --surface: #161d28; --surface-raised: #1e2836; --surface-sunken: #10151e;
  --line: #2e3a4c; --line-strong: #66758e;
  --ink: #eef2f8; --ink-muted: #a6b0c2;
  --accent: #7c4dff; --on-accent: #ffffff; --accent-text: #a994ff; --accent-soft: #2a2350;
  --link: #12e2f8; --cyan-soft: #0f3440;
  --live: #34d399; --live-soft: #10332a; --coming: #f5b642; --coming-soft: #3a2c0e;
  --helix-cyan: #12e2f8; --synapse-blue: #1e6fea; --neural-violet: #7c4dff; --pulse-orchid: #b45efa;
  --gradient-signature: linear-gradient(90deg, #12e2f8, #1e6fea 45%, #7c4dff 75%, #b45efa);
  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
  --shadow-lg: 0 12px 32px -4px #000000a6;
  --glow-cyan: 0 0 24px #12e2f859; --glow-violet: 0 0 24px #7c4dff66;
  --focus-ring: 0 0 0 2px #161d28, 0 0 0 4px #12e2f8;
  --page: 1180px; --gutter: clamp(16px, 4vw, 28px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, ul { margin: 0; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
code { font-family: var(--font-mono); font-size: .88em; color: var(--link); background: var(--cyan-soft); padding: 1px 6px; border-radius: var(--radius-sm); }
.ic { width: 24px; height: 24px; flex: none; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--radius-md); }
.skip:focus { left: 8px; }

/* Nav */
.topnav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); background: #161d28d9; border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--page); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-brand { display: flex; align-items: center; }
.nav-brand:hover { text-decoration: none; }
.nav-logo { height: 36px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: .93rem; font-weight: 600; }
.nav-links > a:not(.btn) { color: var(--ink-muted); }
.nav-links > a:not(.btn):hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--radius-md); font: 700 15px/20px var(--font-sans); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: filter .15s ease-out, background-color .15s ease-out; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-raised); color: var(--ink); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-glow { box-shadow: var(--glow-violet); }
.btn-block { width: 100%; }

/* Type helpers */
.eyebrow { display: inline-block; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; max-width: 820px; margin-bottom: 16px; }
.section-sub { font-size: 1.08rem; color: var(--ink-muted); max-width: 680px; margin-bottom: 44px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { max-width: var(--page); margin: 0 auto; padding: 64px var(--gutter) 72px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }
.hero-sub { font-size: 1.15rem; color: var(--ink-muted); max-width: 600px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.hero-art .rungs { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-mark { position: relative; width: auto; height: 440px; max-width: 100%; filter: drop-shadow(0 0 28px #12e2f840); }
.gradient-rule { height: 4px; background: var(--gradient-signature); }

/* Sections */
section.block { max-width: var(--page); margin: 0 auto; padding: 88px var(--gutter); }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.vendor-pill { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.vendor-pill .v-tag { font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 10px; }
.vendor-pill .v-name { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.vendor-pill .v-cost { font-family: var(--font-mono); font-size: .86rem; color: var(--ink-muted); }
.vendor-strike { position: absolute; top: 50%; left: 14px; right: 14px; height: 2px; background: var(--pulse-orchid); transform: rotate(-3deg); opacity: .85; }
.total-line { margin-top: 26px; padding: 18px 22px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); font-size: 1.02rem; }
.total-line strong { color: var(--ink); }
.total-line .good { color: var(--link); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feat-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: border-color .2s ease-out; }
.feat-card:hover { border-color: var(--line-strong); }
.feat-card .ic { color: var(--link); margin-bottom: 16px; }
.feat-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.feat-card p { color: var(--ink-muted); font-size: .95rem; line-height: 1.6; }

/* AI */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.ai-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.ai-head .ic { color: var(--accent-text); }
.ai-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.ai-card p { color: var(--ink-muted); font-size: .95rem; line-height: 1.6; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-full); white-space: nowrap; }
.badge .dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: currentColor; }
.badge-live { background: var(--live-soft); color: var(--live); }
.badge-coming { background: var(--coming-soft); color: var(--coming); }

/* Modes */
.modes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.mode-card { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 34px; overflow: hidden; }
.mode-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-signature); }
.mode-tag { display: flex; align-items: center; gap: 10px; font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 10px; }
.mode-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }
.mode-pitch { color: var(--ink-muted); margin-bottom: 18px; }
.mode-card ul, .price-card ul { list-style: none; padding: 0; }
.mode-card li, .price-card li { position: relative; padding: 6px 0 6px 26px; font-size: .95rem; }
.mode-card li::before, .price-card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 6px; border-left: 2px solid var(--live); border-bottom: 2px solid var(--live); transform: rotate(-45deg); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-card { display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 24px; }
.price-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.plan-tag { font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px; }
.price-amount { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.price-meter { font-size: .9rem; color: var(--ink-muted); margin: 6px 0 20px; }
.price-card ul { margin-bottom: 24px; flex: 1; }

/* Developers */
.dev-block { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 44px; }
.dev-copy { min-width: 0; }
.dev-copy h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.dev-copy p { color: var(--ink-muted); margin-bottom: 24px; }
pre.code { margin: 0; min-width: 0; background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; font: 400 .84rem/1.65 var(--font-mono); color: var(--ink); overflow-x: auto; }
.c-cmt { color: var(--ink-muted); font-style: italic; }
.c-meth { color: var(--link); font-weight: 500; }
.c-str { color: var(--accent-text); }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; text-align: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 64px 32px; }
.final-cta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-signature); }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; line-height: 1.15; margin-bottom: 12px; }
.final-cta p { color: var(--ink-muted); font-size: 1.1rem; margin-bottom: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-sunken); padding: 44px var(--gutter) 48px; }
.footer-inner { max-width: var(--page); margin: 0 auto; display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.brand-block { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }
.footer-logo { height: 34px; width: auto; display: block; }
.brand-block .tagline { font-size: .92rem; color: var(--ink-muted); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h2 { font: 600 12px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.footer-col a { display: block; padding: 5px 0; color: var(--ink); font-size: .92rem; }
.legal-line { max-width: var(--page); margin: 32px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-muted); }

/* Legal pages */
main.legal { max-width: 820px; margin: 0 auto; padding: 56px var(--gutter) 88px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.legal .updated { font-family: var(--font-mono); font-size: .86rem; color: var(--ink-muted); margin-bottom: 28px; }
.legal .notice { background: var(--coming-soft); border: 1px solid #5a4516; padding: 16px 20px; border-radius: var(--radius-lg); margin-bottom: 36px; font-size: .95rem; }
.legal .notice strong { color: var(--coming); }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; font-weight: 700; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 12px; }
.legal ul { padding-left: 24px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }

/* 404 */
main.notfound { max-width: 720px; margin: 0 auto; padding: 120px var(--gutter); text-align: center; }
.notfound h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.notfound p { color: var(--ink-muted); margin-bottom: 28px; }

/* Phones */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; gap: 8px; }
  .hero-art { min-height: 300px; order: -1; }
  .hero-mark { height: 280px; }
  .dev-block { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 720px) {
  .nav-logo { height: 28px; }
  .nav-links { gap: 14px; }
  .nav-links .hide-mobile { display: none; }
  section.block { padding: 56px var(--gutter); }
  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vendor-pill { padding: 16px 14px; }
  .vendor-pill .v-cost { font-size: .78rem; }
  .mode-card { padding: 26px; }
  .final-cta { padding: 44px 22px; }
  .footer-cols { gap: 32px; }
}
@media (max-width: 380px) {
  .nav-logo { height: 24px; }
  .btn-sm { padding: 0 12px; }
}
