:root {
  color-scheme: dark;
  --ink: #fff8ea;
  --ink-2: #d9cfbd;
  --muted: #a59c8e;
  --dim: #756f64;
  --night: #070806;
  --night-2: #0e100d;
  --night-3: #151711;
  --panel: #11130f;
  --panel-2: #181a14;
  --line: rgba(255, 242, 218, 0.13);
  --line-soft: rgba(255, 242, 218, 0.08);
  --gold: #ffb447;
  --gold-2: #ffb447;
  --gold-3: #ffd78d;
  --teal: #6fd3c4;
  --green: #91d985;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 242, 218, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 242, 218, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 54%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5%, 64px);
  color: var(--ink);
  background: #070806;
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-size: 22px;
  font-weight: 850;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 242, 218, 0.16);
  border-radius: 10px;
  object-fit: cover;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 248, 234, 0.66);
  font-size: 14px;
  font-weight: 750;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.audience-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid rgba(255, 242, 218, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.055);
}

.switch-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: rgba(255, 248, 234, 0.66);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.switch-item svg {
  width: 16px;
  height: 16px;
}

.switch-item.is-active {
  color: #120d05;
  background: linear-gradient(135deg, var(--gold-3), var(--gold));
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 720px;
  padding: 62px clamp(18px, 5%, 64px) 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 180, 71, 0.12), transparent 28rem),
    radial-gradient(circle at 60% 88%, rgba(111, 211, 196, 0.08), transparent 24rem),
    linear-gradient(125deg, #070806 0%, #0c0e0b 44%, #151711 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--night));
}

.hero-copy,
.hero-media,
.ops-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 248, 234, 0.74);
  font-size: 19px;
  line-height: 1.55;
}

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

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #120d05;
  background: linear-gradient(135deg, var(--gold-3), var(--gold));
  box-shadow: 0 18px 46px rgba(255, 180, 71, 0.16);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #ffe0a2, #ffc15f);
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(255, 248, 234, 0.16);
  background: rgba(255, 248, 234, 0.055);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 248, 234, 0.3);
  background: rgba(255, 248, 234, 0.085);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
  margin-top: 34px;
}

.proof-strip span {
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 248, 234, 0.065), rgba(255, 180, 71, 0.025));
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.proof-strip small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 248, 234, 0.58);
  font-size: 12px;
  line-height: 1.35;
}

.hero-media {
  justify-self: end;
  margin: 0;
}

.hero-media img {
  display: block;
  width: min(620px, 100%);
  height: auto;
  max-width: none;
  max-height: 620px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(255, 242, 218, 0.16);
  border-radius: 28px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48), 0 0 88px rgba(255, 180, 71, 0.12);
  filter: saturate(1.02) contrast(1.02);
  transform: translateX(12px);
}

.ops-panel {
  justify-self: stretch;
  padding: 20px;
  border: 1px solid rgba(255, 242, 218, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.09), rgba(255, 248, 234, 0.025)),
    rgba(17, 19, 15, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ops-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 4px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.ops-panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ops-panel-head strong {
  color: var(--green);
  font-size: 15px;
}

.ops-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.ops-metric-grid span {
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.045);
}

.ops-metric-grid strong {
  display: block;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
}

.ops-metric-grid small {
  display: block;
  min-height: 34px;
  margin-top: 10px;
  color: rgba(255, 248, 234, 0.58);
  line-height: 1.35;
}

.route-stack {
  display: grid;
  gap: 10px;
}

.route-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(7, 8, 6, 0.38);
}

.route-card.is-live {
  border-color: rgba(145, 217, 133, 0.32);
  background: linear-gradient(135deg, rgba(145, 217, 133, 0.09), rgba(255, 248, 234, 0.04));
}

.route-card strong,
.route-card small {
  display: block;
}

.route-card strong {
  color: var(--ink);
  font-size: 16px;
}

.route-card small {
  margin-top: 3px;
  color: rgba(255, 248, 234, 0.58);
  font-size: 13px;
  line-height: 1.35;
}

.route-card b {
  min-width: 58px;
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(255, 248, 234, 0.68);
  background: rgba(255, 248, 234, 0.07);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
}

.route-card.is-live b {
  color: #10220d;
  background: var(--green);
}

.protocol-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #fff8ea;
}

.protocol-logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.protocol-logo-wide img {
  width: 86%;
  height: 64%;
}

.ops-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(111, 211, 196, 0.18);
  border-radius: 8px;
  color: rgba(255, 248, 234, 0.74);
  background: rgba(111, 211, 196, 0.055);
  font-weight: 700;
  line-height: 1.45;
}

.ops-note svg {
  width: 21px;
  height: 21px;
  color: var(--teal);
}

.section {
  isolation: isolate;
  position: relative;
  scroll-margin-top: 86px;
  padding: 78px clamp(18px, 5%, 64px);
  background: var(--night);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--night);
}

.section-dark::before {
  background: transparent;
}

.section-control {
  background: var(--night);
}

.section-control::before {
  background: transparent;
}

.section-launch {
  background: var(--night);
}

.section-launch::before {
  background: transparent;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: 46px;
  line-height: 1.06;
}

.section-head p:not(.eyebrow),
.pricing-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 248, 234, 0.66);
  font-size: 18px;
  line-height: 1.6;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.protocol-card,
.control-card,
.step-card,
.pricing-panel {
  border-radius: 8px;
}

.protocol-card {
  min-height: 306px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.055), rgba(255, 248, 234, 0.02)),
    var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.protocol-card .protocol-logo {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
}

.protocol-card h3,
.control-card h3,
.step-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.15;
}

.protocol-card p {
  min-height: 92px;
  margin: 13px 0 20px;
  color: rgba(255, 248, 234, 0.64);
  line-height: 1.55;
}

.protocol-card small {
  color: var(--gold-2);
  font-weight: 850;
}

.control-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.control-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.control-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 248, 234, 0.045);
}

.control-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--teal);
}

.control-card p,
.step-card p {
  margin: 12px 0 0;
  color: rgba(255, 248, 234, 0.62);
  line-height: 1.55;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 248, 234, 0.05), rgba(255, 248, 234, 0.018)),
    var(--panel);
}

.step-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
}

.pricing-section {
  padding-bottom: 46px;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(7, 8, 6, 0.82) 18%, rgba(7, 8, 6, 0.76) 72%, var(--night) 100%),
    linear-gradient(90deg, rgba(7, 8, 6, 0.96) 0%, rgba(7, 8, 6, 0.82) 50%, rgba(7, 8, 6, 0.58) 100%),
    url("assets/pricing-network-bg.png?v=20260615a") center / cover no-repeat;
}

.section-anchor {
  position: absolute;
  top: -76px;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.55fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.pricing-copy {
  max-width: 860px;
}

.pricing-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.06;
}

.pricing-note {
  max-width: 760px;
  padding-left: 18px;
  border-left: 2px solid rgba(255, 180, 71, 0.58);
}

.pricing-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 242, 218, 0.15);
  background:
    linear-gradient(145deg, rgba(255, 248, 234, 0.09), rgba(255, 248, 234, 0.03)),
    rgba(17, 19, 15, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.pricing-terms {
  display: grid;
}

.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.pricing-row:first-child {
  padding-top: 0;
}

.pricing-row span {
  color: var(--muted);
  font-weight: 800;
}

.pricing-row strong {
  color: var(--ink);
  font-size: 18px;
  text-align: right;
}

.pricing-panel .btn {
  width: 100%;
  margin-top: 4px;
}

.contact-actions {
  display: grid;
  gap: 12px;
  animation: reveal-contacts 180ms ease both;
}

.contact-actions[hidden] {
  display: none;
}

.contact-link {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 248, 234, 0.055);
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 242, 218, 0.2);
  background: rgba(255, 248, 234, 0.08);
}

.contact-link > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  color: #120d05;
  background: linear-gradient(135deg, var(--gold-3), var(--gold));
}

.contact-link svg {
  width: 22px;
  height: 22px;
}

.contact-link strong,
.contact-link small {
  display: block;
}

.contact-link strong {
  color: var(--ink);
  font-size: 18px;
}

.contact-link small {
  margin-top: 2px;
  color: rgba(255, 248, 234, 0.58);
  font-size: 14px;
  overflow-wrap: anywhere;
}

@keyframes reveal-contacts {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5%, 64px);
  color: rgba(255, 248, 234, 0.7);
  background: var(--night);
  border-top: 1px solid var(--line-soft);
}

.site-footer .brand {
  font-size: 20px;
}

.site-footer .brand img {
  width: 34px;
  height: 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 750;
}

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

@media (max-width: 1180px) {
  .hero,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .ops-panel {
    max-width: 680px;
  }

  .hero-media {
    max-width: 680px;
    justify-self: start;
  }

  .hero-media img {
    width: 100%;
    max-height: none;
    transform: none;
  }

  .protocol-grid,
  .control-cards,
  .launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: start;
    min-height: 0;
  }

  .main-nav {
    display: none;
  }

  .audience-switch {
    width: 100%;
  }

  .switch-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 30px;
  }

  .hero h1,
  .section-head h2,
  .pricing-copy h2 {
    font-size: 40px;
    line-height: 1.06;
  }

  .hero-lead,
  .section-head p:not(.eyebrow),
  .pricing-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

}

@media (max-width: 660px) {
  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    font-size: 19px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .switch-item {
    min-width: 0;
    gap: 6px;
    min-height: 36px;
    padding: 0 7px;
    font-size: 12px;
  }

  .hero {
    gap: 22px;
    padding-top: 22px;
    padding-bottom: 36px;
  }

  .hero h1,
  .section-head h2,
  .pricing-copy h2 {
    font-size: 29px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 22px;
  }

  .btn {
    min-height: 50px;
    width: 100%;
    padding: 0 14px;
  }

  .proof-strip {
    display: none;
  }

  .ops-panel {
    padding: 14px;
  }

  .hero-media img {
    border-radius: 22px;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .ops-panel-head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

  .ops-metric-grid,
  .protocol-grid,
  .control-cards,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .ops-metric-grid strong {
    font-size: 30px;
  }

  .route-card {
    grid-template-columns: 46px 1fr;
  }

  .route-card b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .section {
    scroll-margin-top: 132px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .protocol-card,
  .control-card,
  .step-card {
    min-height: auto;
  }

  .protocol-card p {
    min-height: auto;
  }

  .control-card svg {
    margin-bottom: 20px;
  }

  .step-card span {
    margin-bottom: 26px;
  }

  .pricing-section {
    min-height: 0;
    background:
      linear-gradient(180deg, var(--night) 0%, rgba(7, 8, 6, 0.86) 24%, rgba(7, 8, 6, 0.9) 76%, var(--night) 100%),
      linear-gradient(90deg, rgba(7, 8, 6, 0.94), rgba(7, 8, 6, 0.64)),
      url("assets/pricing-network-bg.png?v=20260615a") center / cover no-repeat;
  }

  .pricing-layout {
    min-height: 0;
  }

  .pricing-row {
    display: grid;
    gap: 5px;
  }

  .pricing-row strong {
    text-align: left;
  }

  .pricing-panel {
    padding: 22px;
  }

  .contact-link {
    grid-template-columns: 46px 1fr;
  }

  .contact-link > span {
    width: 46px;
    height: 46px;
  }

  .site-footer {
    display: grid;
    gap: 18px;
  }
}
