:root {
  color-scheme: dark;
  --bg: #06110e;
  --bg-soft: #0b1b16;
  --surface: rgba(15, 35, 28, .72);
  --surface-solid: #102820;
  --line: rgba(186, 255, 222, .13);
  --line-strong: rgba(186, 255, 222, .24);
  --ink: #f1fff8;
  --muted: #a3baaf;
  --green: #70f4b2;
  --green-dark: #22c983;
  --purple: #ba9cff;
  --blue: #86d7ff;
  --radius: 1.4rem;
  --shell: min(1160px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  text-align: start;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:where(a, button, summary):focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; border-radius: .6rem; color: #06110e; background: var(--green); transform: translateY(-180%); transition: transform .18s ease; }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; width: 32rem; height: 32rem; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .11; }
.ambient-a { top: -13rem; left: -10rem; background: var(--green); }
.ambient-b { top: 20rem; right: -17rem; background: var(--purple); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(186, 255, 222, .08); background: rgba(6, 17, 14, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-wrap { display: flex; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.08rem; font-weight: 760; letter-spacing: -.03em; text-decoration: none; }
.brand svg { width: 2rem; height: 2rem; fill: none; stroke: var(--green); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-dot { color: var(--green); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { color: var(--muted); font-size: .88rem; text-decoration: none; transition: color .18s ease; }
.nav a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.lang-switch { display: flex; padding: .18rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .025); }
.lang-switch a { display: grid; min-width: 2.25rem; min-height: 2rem; place-items: center; border-radius: 999px; color: var(--muted); font-size: .74rem; font-weight: 760; text-decoration: none; }
.lang-switch a[aria-current="page"] { color: #06110e; background: var(--green); }

.button { display: inline-flex; min-height: 3.15rem; align-items: center; justify-content: center; gap: .7rem; padding: .75rem 1.15rem; border: 1px solid var(--line-strong); border-radius: .8rem; color: var(--ink); background: transparent; font-size: .9rem; font-weight: 720; text-decoration: none; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); border-color: rgba(112, 244, 178, .5); }
.button-small { min-height: 2.3rem; padding: .4rem .85rem; border-color: transparent; color: #06110e; background: var(--green); font-size: .78rem; }
.button-primary { border-color: transparent; color: #04120c; background: linear-gradient(135deg, #87ffc5, #48df9a); box-shadow: 0 1rem 2.6rem rgba(42, 218, 140, .17); }
.button-primary:hover { box-shadow: 0 1.1rem 3rem rgba(42, 218, 140, .25); }
.button-ghost { background: rgba(255,255,255,.025); }
.button-light { margin-top: 1.6rem; border-color: transparent; color: #06110e; background: #f1fff8; }

.hero { padding: clamp(5rem, 10vw, 8.6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(25rem, .98fr); align-items: center; gap: clamp(3rem, 7vw, 6.4rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; padding: .38rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.025); font-size: .76rem; font-weight: 650; }
.eyebrow > span:first-child { width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .22rem rgba(112, 244, 178, .1); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 15ch; margin: 1.35rem 0 1.25rem; font-size: clamp(3.2rem, 7vw, 6.3rem); line-height: .96; letter-spacing: -.07em; font-weight: 790; }
.hero-lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.availability { display: flex; align-items: center; gap: .45rem; margin: 1.15rem 0 0; color: #819a8e; font-size: .76rem; }
.availability > span:first-child { color: var(--green); font-size: .55rem; }

.console-card { position: relative; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(9, 25, 19, .86); box-shadow: 0 2.5rem 8rem rgba(0,0,0,.36), inset 0 1px rgba(255,255,255,.035); transform: rotate(1.5deg); }
.console-card::before { position: absolute; inset: 0; content: ""; background: linear-gradient(135deg, rgba(112,244,178,.08), transparent 45%); pointer-events: none; }
.console-top, .console-foot { position: relative; display: flex; min-height: 3.2rem; align-items: center; padding: 0 1rem; color: #7f9a8d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; }
.console-top { gap: .9rem; border-bottom: 1px solid var(--line); }
.traffic { display: flex; gap: .35rem; }
.traffic i { width: .52rem; height: .52rem; border-radius: 50%; background: #315045; }
.traffic i:first-child { background: #f98f83; }.traffic i:nth-child(2) { background: #f7cb70; }.traffic i:last-child { background: #6bdd9d; }
.status { display: flex; align-items: center; gap: .4rem; margin-left: auto; color: #8fb5a2; }
.status b { width: .4rem; height: .4rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 .7rem var(--green); }
pre { position: relative; min-height: 23rem; margin: 0; padding: 1.6rem; overflow: auto; color: #c8d9d0; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: clamp(.72rem, 1.3vw, .83rem); line-height: 1.8; tab-size: 2; }
.code-purple { color: var(--purple); }.code-green { color: #8ce9b9; }.code-blue { color: var(--blue); }
.console-foot { justify-content: space-between; border-top: 1px solid var(--line); }
.pulse { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .3rem rgba(112,244,178,.08); }

.signal-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.signal-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.signal-grid > div { display: flex; min-height: 6rem; align-items: center; gap: .8rem; padding: 1rem; border-left: 1px solid var(--line); }
.signal-grid > div:last-child { border-right: 1px solid var(--line); }
.signal-grid strong { color: var(--green); font-family: ui-monospace, SFMono-Regular, monospace; font-size: .72rem; }
.signal-grid span { color: var(--muted); font-size: .82rem; }

.answer-section { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); }
.answer-grid { display: grid; grid-template-columns: minmax(15rem,.65fr) minmax(0,1fr); gap: clamp(3rem, 9vw, 8rem); }
.answer-copy > p { margin: 0 0 1.15rem; color: var(--muted); line-height: 1.8; }
.answer-copy strong { color: var(--ink); }
.answer-points { display: grid; gap: .7rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.answer-points li { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--muted); background: rgba(255,255,255,.018); font-size: .88rem; }

.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section-heading { max-width: 690px; }
.kicker { margin: 0 0 .7rem; color: var(--green); font-family: ui-monospace, SFMono-Regular, monospace; font-size: .72rem; font-weight: 760; letter-spacing: .14em; text-transform: uppercase; }
.section h2, .cta-section h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.055em; }
.section-heading > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin-top: 3rem; }
.feature { min-height: 19rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(18,41,33,.78), rgba(9,24,19,.68)); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.feature-wide { grid-column: span 2; min-height: 17rem; background: radial-gradient(circle at 85% 50%, rgba(112,244,178,.12), transparent 19rem), linear-gradient(145deg, rgba(18,41,33,.78), rgba(9,24,19,.68)); }
.feature-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border: 1px solid rgba(112,244,178,.25); border-radius: .75rem; color: var(--green); background: rgba(112,244,178,.06); font-family: ui-monospace, monospace; }
.feature h3 { margin: 2.8rem 0 .65rem; font-size: 1.25rem; letter-spacing: -.02em; }
.feature p { max-width: 54ch; margin: 0; color: var(--muted); font-size: .9rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag-row span { padding: .32rem .58rem; border: 1px solid var(--line); border-radius: .4rem; color: #a9c3b6; font-family: ui-monospace, monospace; font-size: .67rem; }

.partners { padding-top: 1rem; }
.partner-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(20rem,.75fr); gap: clamp(3rem, 8vw, 7rem); padding: clamp(2rem, 6vw, 5rem); border-radius: 2rem; color: #06110e; background: linear-gradient(135deg, #69efae, #98ffd0); }
.partner-card .kicker { color: #176c49; }
.partner-card h2 { max-width: 14ch; }
.partner-card > div > p:not(.kicker) { max-width: 60ch; margin: 1.1rem 0 0; color: #245d47; }
.partner-list { margin: 0; padding: 0; list-style: none; }
.partner-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(6,17,14,.15); }
.partner-list li:last-child { border-bottom: 0; }
.partner-list li > span { color: #247554; font-family: ui-monospace, monospace; font-size: .72rem; }
.partner-list strong { font-size: .95rem; }
.partner-list p { margin: .3rem 0 0; color: #2a664e; font-size: .83rem; }

.faq-grid { display: grid; grid-template-columns: minmax(16rem,.58fr) minmax(0,1fr); gap: clamp(3rem, 9vw, 8rem); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 1.45rem 3rem 1.45rem 0; cursor: pointer; list-style: none; font-weight: 680; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 1.45rem; right: .4rem; content: "+"; color: var(--green); font-size: 1.2rem; transition: transform .18s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 70ch; margin: -.5rem 0 1.5rem; color: var(--muted); font-size: .9rem; }

.cta-section { padding: clamp(4rem, 9vw, 7rem) 0; border-block: 1px solid var(--line); text-align: center; background: radial-gradient(circle at 50% 100%, rgba(112,244,178,.12), transparent 35rem); }
.cta-inner { display: flex; align-items: center; flex-direction: column; }
.cta-section h2 { max-width: 17ch; }
.cta-section p:not(.kicker) { max-width: 58ch; margin: 1rem auto 1.8rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

.site-footer { padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; }
.footer-grid > div:first-child p { max-width: 32ch; color: var(--muted); font-size: .8rem; }
.footer-email { color: var(--green); font-size: .82rem; text-underline-offset: .22rem; }
.footer-note { color: #6f897c; font-size: .72rem; }
.footer-note p { max-width: 86ch; margin-top: 0; }

.topic-links { margin-top: 2.5rem; }
.topic-links h3 { margin: 0 0 1rem; font-size: 1rem; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.topic-card { display: block; padding: 1.15rem; border: 1px solid var(--line); border-radius: .9rem; color: var(--ink); background: rgba(255,255,255,.018); transition: border-color .18s ease, transform .18s ease; }
.topic-card:hover { border-color: rgba(112,244,178,.42); transform: translateY(-2px); }
.topic-card strong { display: block; margin-bottom: .35rem; }
.topic-card span { color: var(--muted); font-size: .8rem; line-height: 1.5; }

.article-hero { padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 17ch; font-size: clamp(2.8rem, 7vw, 5.7rem); }
.article-summary { max-width: 760px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.75; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.5rem; color: #789083; font-size: .76rem; }
.breadcrumbs a { color: var(--green); }
.article-meta { margin-top: 1.3rem; color: #789083; font-size: .76rem; }
.article-layout { display: grid; grid-template-columns: minmax(12rem, .32fr) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.article-toc { position: sticky; top: 6rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.018); }
.article-toc strong { display: block; margin-bottom: .8rem; font-size: .78rem; }
.article-toc ol { display: grid; gap: .65rem; margin: 0; padding-left: 1.1rem; color: var(--muted); font-size: .76rem; }
.article-toc a:hover { color: var(--green); }
.prose { max-width: 780px; }
.prose h2 { margin: 3.4rem 0 1rem; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -.035em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .7rem; font-size: 1.25rem; }
.prose p, .prose li { color: var(--muted); line-height: 1.82; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .55rem; }
.prose pre { min-height: 0; margin: 1.3rem 0; border: 1px solid var(--line); border-radius: 1rem; background: rgba(5,16,12,.72); }
.note { margin: 1.4rem 0; padding: 1rem 1.1rem; border-left: 3px solid var(--green); border-radius: 0 .7rem .7rem 0; color: var(--muted); background: rgba(112,244,178,.055); }
.prose table { width: 100%; margin: 1.4rem 0; border-collapse: collapse; font-size: .84rem; }
.prose th, .prose td { padding: .8rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); background: rgba(255,255,255,.025); }
.prose td { color: var(--muted); }
.source-list a { color: var(--green); text-decoration: underline; text-underline-offset: .2rem; }
.related-section { border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid, .partner-card, .faq-grid, .answer-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 4rem; }
  .console-card { width: min(100%, 39rem); transform: none; }
  .signal-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .signal-grid > div:nth-child(3) { border-top: 1px solid var(--line); }
  .signal-grid > div:nth-child(4) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .article-toc { position: static; }
}

@media (max-width: 620px) {
  :root { --shell: min(100% - 1.25rem, 1160px); }
  .site-header .button-small { display: none; }
  .nav-wrap { min-height: 4rem; }
  .hero { padding-top: 4.2rem; }
  h1 { font-size: clamp(2.8rem, 16vw, 4.6rem); }
  .hero-actions .button { width: 100%; }
  .contact-actions, .contact-actions .button { width: 100%; }
  .console-card { margin-inline: -.1rem; }
  pre { min-height: 21rem; padding: 1.1rem; font-size: .67rem; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid > div { min-height: 4.3rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .signal-grid > div:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .feature { min-height: 17rem; }
  .partner-card { padding: 2rem 1.25rem; border-radius: 1.4rem; }
  .prose table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
