:root {
  --signal: #3b6dff;
  --signal-deep: #2450d6;
  --slate: #1c2230;
  --ink: #12161f;
  --night: #07090e;
  --paper: #f4f1ea;
  --ash: #e8e4dc;
  --mist: #8b909a;
  --white: #ffffff;
  --ember: #ff671f;
  --league: #f26722;
  --pulse: #00c2b2;
  --display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --ui: Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ui);
  background: var(--night);
  color: var(--white);
  font-size: 17px;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--signal);
  color: var(--white);
  padding: 8px 12px;
}

.wrap {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.local-banner {
  background: var(--slate);
  color: var(--mist);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 14, 0.94);
  border-bottom: 1px solid #1c2230;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 36px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

nav a {
  text-decoration: none;
  color: #c8ccd4;
  font-weight: 500;
  font-size: 15px;
}

nav a:hover,
nav a:focus-visible {
  color: var(--white);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--signal);
  padding: 0.45rem 0.9rem;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--signal-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid #2a3140;
  color: var(--white);
  padding: 0.4rem 0.7rem;
  font-family: var(--ui);
  font-size: 14px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-nav {
  display: none;
}

.mobile-nav[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 34, 48, 0.9) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 34, 48, 0.7) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.kicker {
  margin: 0 0 1.2rem;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
}

.tag {
  margin: 1.1rem 0 0;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--signal);
}

.lede {
  margin: 1.4rem 0 0;
  max-width: 36em;
  color: #c8ccd4;
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--signal);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--signal);
}

.btn:hover,
.btn:focus-visible {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: #3a4150;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--slate);
  border-color: #3a4150;
}

.hero-mark {
  justify-self: end;
  width: min(280px, 100%);
  background: var(--slate);
  padding: 2.4rem;
}

.hero-mark img {
  width: 100%;
}

.section {
  padding: 4.5rem 0;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(28px, 4vw, 40px);
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 40em;
  color: #3d424c;
}

.section-night .section-lead {
  color: #c8ccd4;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.product {
  background: var(--white);
  border: 1px solid #e4e0d6;
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}

.product:hover,
.product:focus-visible {
  border-color: #cfc9bc;
}

.product.future {
  background: var(--ash);
  grid-column: 1 / -1;
  min-height: 0;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.product.future .product-top {
  margin-bottom: 0;
}

.product.future p {
  flex: 1;
}

.product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.product-logo {
  height: 48px;
  width: auto;
  max-width: 58%;
  object-fit: contain;
  object-position: left center;
}

.product-logo.mark {
  height: 56px;
  width: 56px;
}

.chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.5rem;
  color: var(--ink);
}

.chip-ember { background: var(--ember); }
.chip-league { background: var(--league); }
.chip-pulse { background: var(--pulse); color: #0a3d3a; }
.chip-future { background: var(--white); border: 1px solid #d5d0c6; color: #5c616b; }

.product h3 {
  margin: 0 0 0.4rem;
  font-size: 26px;
}

.product p {
  margin: 0;
  color: #3d424c;
  flex: 1;
}

.product .go {
  margin-top: 1.2rem;
  font-weight: 600;
  color: var(--signal-deep);
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.9rem 0;
  border-top: 1px solid #2a3140;
}

.contact-list li:last-child {
  border-bottom: 1px solid #2a3140;
}

.contact-list span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.25rem;
}

.contact-list a {
  color: var(--white);
  text-decoration: none;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--signal);
}

.legal-content {
  max-width: 42em;
}

.legal-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 0.4rem;
}

.legal-content .meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mist);
  margin: 0 0 1.8rem;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 2.2rem 0 0.7rem;
  color: var(--white);
}

.legal-content h3 {
  font-size: 1rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--white);
}

.legal-content p,
.legal-content li {
  color: #c8ccd4;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-content a {
  color: var(--signal);
}

.legal-contents {
  margin: 0 0 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid #1c2230;
  background: var(--slate);
}

.legal-contents p {
  margin: 0 0 0.6rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.legal-contents ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #c8ccd4;
}

.legal-contents a {
  color: var(--white);
  text-decoration: none;
}

.legal-contents a:hover,
.legal-contents a:focus-visible {
  color: var(--signal);
}

.site-footer {
  border-top: 1px solid #1c2230;
  padding: 2rem 0 2.8rem;
  color: var(--mist);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: end;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 0.7rem;
}

.footer-legal {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #c8ccd4;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

@media (max-width: 860px) {
  nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
    border-top: 1px solid #1c2230;
    padding: 0.4rem 0 0.8rem;
  }

  .mobile-nav a {
    display: block;
    padding: 0.7rem 0;
    text-decoration: none;
    color: #c8ccd4;
    border-bottom: 1px solid #1c2230;
  }

  .hero-inner,
  .product-grid,
  .contact-grid,
  .product.future {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-mark {
    justify-self: start;
    width: min(200px, 70%);
    padding: 1.4rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }
}
