:root {
  --bg: #f6f7f3;
  --ink: #101318;
  --muted: #59616d;
  --soft: #e9eee9;
  --line: rgba(16, 19, 24, 0.14);
  --panel: #ffffff;
  --panel-soft: #f8faf7;
  --night: #080c13;
  --night-soft: #111824;
  --cyan: #25d3b4;
  --blue: #3871ff;
  --amber: #ffbe5c;
  --red: #d9564a;
  --shadow: 0 22px 54px rgba(16, 19, 24, 0.10);
  --sans: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 19, 24, 0.055) 1px, transparent 1px) 0 0 / 88px 88px,
    linear-gradient(180deg, #fbfcf8 0%, var(--bg) 58%, #eef2ec 100%);
  font-family: var(--sans);
  letter-spacing: 0;
}

body::selection {
  background: rgba(37, 211, 180, 0.28);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 44px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 8px;
  background: rgba(246, 247, 243, 0.86);
  box-shadow: 0 12px 38px rgba(16, 19, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #07110f;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy span,
.eyebrow,
.card-index,
.contact-list dt,
.site-footer {
  color: var(--muted);
}

.brand-copy span {
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  color: #252a31;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(16, 19, 24, 0.07);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(16, 19, 24, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 24px rgba(16, 19, 24, 0.06);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(16, 19, 24, 0.24);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(16, 19, 24, 0.10);
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
  color: #f6fbff;
  background:
    linear-gradient(135deg, rgba(8, 12, 19, 0.94), rgba(11, 20, 31, 0.88)),
    var(--night);
  box-shadow: var(--shadow);
}

.hero-system,
.hero-vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(8, 12, 19, 0.94) 0%, rgba(8, 12, 19, 0.70) 42%, rgba(8, 12, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 12, 19, 0.76) 0%, rgba(8, 12, 19, 0) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: clamp(470px, 62vh, 680px);
  width: min(720px, 100%);
  padding: clamp(34px, 7vw, 78px);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 7.4rem);
  font-weight: 850;
}

h2 {
  max-width: 15ch;
  font-size: clamp(1.85rem, 3.7vw, 3.5rem);
  font-weight: 780;
}

h3 {
  font-size: 1.28rem;
  font-weight: 760;
}

.hero-lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(246, 251, 255, 0.82);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: #07110f;
  background: var(--cyan);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #5af0d6;
}

.button-secondary {
  color: #f6fbff;
  border: 1px solid rgba(246, 251, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.section-lead,
.capabilities,
.method,
.signal-band,
.contact-panel,
.legal-page {
  margin-top: 18px;
}

.section-lead {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(34px, 6vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}

.section-lead p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #303741;
  font-size: 1.08rem;
  line-height: 1.72;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.info-card {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(16, 19, 24, 0.05);
}

.card-index {
  display: inline-block;
  margin-bottom: 42px;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.info-card p,
.method-list span,
.contact-panel p,
.legal-page p {
  color: #4a535f;
  font-size: 1.02rem;
  line-height: 1.7;
}

.info-card p {
  margin: 16px 0 0;
}

.method {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(34px, 6vw, 58px);
  border-radius: 8px;
  color: #f6fbff;
  background: var(--night-soft);
}

.method .eyebrow,
.method-list span {
  color: rgba(246, 251, 255, 0.68);
}

.method-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-list li {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px 18px 18px 58px;
  border: 1px solid rgba(246, 251, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  counter-increment: method;
}

.method-list li::before {
  position: absolute;
  left: 18px;
  top: 19px;
  color: var(--cyan);
  font-weight: 850;
  content: counter(method, decimal-leading-zero);
}

.method-list strong {
  font-size: 1.05rem;
}

.signal-band {
  padding: clamp(28px, 5vw, 52px);
  border-left: 8px solid var(--amber);
  border-radius: 8px;
  background: #fff9ea;
}

.signal-band p {
  max-width: 920px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.36rem, 2.35vw, 2.05rem);
  line-height: 1.23;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel p {
  max-width: 52ch;
  margin: 0;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.contact-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list div:first-child {
  padding-top: 0;
}

.contact-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list dt {
  margin-bottom: 7px;
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  font-weight: 720;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 4px;
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-shell {
  max-width: 960px;
}

.legal-page {
  display: grid;
  gap: 14px;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.35rem, 5.6vw, 4rem);
}

.legal-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.legal-card h2 {
  max-width: none;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.legal-card p {
  margin: 0;
}

.legal-card p + p {
  margin-top: 12px;
}

@media (max-width: 940px) {
  .section-lead,
  .method,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
    padding-top: 10px;
  }

  .site-header {
    top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 8px;
    background: rgba(246, 247, 243, 0.96);
    box-shadow: 0 16px 42px rgba(16, 19, 24, 0.14);
    backdrop-filter: blur(18px);
  }

  .site-header.is-menu-open .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
    background: transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(16, 19, 24, 0.07);
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    min-height: 485px;
    padding: 30px 22px;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  h2 {
    font-size: clamp(1.78rem, 8vw, 2.65rem);
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(8, 12, 19, 0.92) 0%, rgba(8, 12, 19, 0.64) 58%, rgba(8, 12, 19, 0.34) 100%);
  }

  .section-lead {
    padding: 36px 0;
  }

  .method,
  .contact-panel,
  .signal-band {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
