:root {
  color-scheme: dark;
  --bg: #080c11;
  --bg-soft: #101821;
  --panel: #121d28;
  --panel-bright: #172536;
  --text: #f5f7f2;
  --muted: #a8b5bd;
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #56d6df;
  --green: #79e0a2;
  --gold: #e0b45d;
  --coral: #ff8a72;
  --ink: #071017;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 6%, rgba(86, 214, 223, 0.16), transparent 24rem),
    radial-gradient(circle at 82% 22%, rgba(224, 180, 93, 0.14), transparent 26rem),
    linear-gradient(180deg, #080c11 0%, #0b1118 42%, #0f1518 100%);
  color: var(--text);
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(8, 12, 17, 0.74);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  left: 0;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  font-size: 1rem;
  font-weight: 850;
  white-space: nowrap;
}

.brand span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

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

.hero,
.section {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.86fr);
  min-height: calc(100vh - 66px);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(3rem, 7vw, 6.5rem);
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.2rem, 7.5vw, 6.7rem);
  line-height: 0.94;
  margin-bottom: 1.45rem;
  max-width: 780px;
}

h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1;
  margin-bottom: 1.1rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.55rem;
}

p {
  line-height: 1.7;
}

.eyebrow,
.section-label,
.tag {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.88rem 1.15rem;
}

.button.primary {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

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

.hero-visual {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 0;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(180deg, transparent 44%, rgba(8, 12, 17, 0.38));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-visual img {
  display: block;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  width: 100%;
}

.section {
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
}

.integrations-band,
.split-section,
.copy-section {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
}

.section > p,
.split-section > div > p,
.copy-section > div > p,
.final-cta > p {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 760px;
}

.partner-grid,
.pricing-grid,
.opportunity-grid {
  display: grid;
  gap: 1rem;
}

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

.partner-grid article,
.pricing-grid article,
.opportunity-grid article,
.flow-card,
.copy-panel,
.economics {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.partner-grid article,
.pricing-grid article,
.opportunity-grid article {
  padding: 1.25rem;
}

.partner-grid p,
.pricing-grid p,
.opportunity-grid p,
.flow-step p,
.copy-rule span,
.economics p {
  color: var(--muted);
}

.flow-card {
  padding: 0.4rem;
}

.flow-step {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3rem 1fr;
  padding: 1.1rem;
}

.flow-step:last-child {
  border-bottom: 0;
}

.flow-step span {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
}

.flow-step p {
  margin-bottom: 0;
}

.rationale-section {
  background: linear-gradient(90deg, rgba(86, 214, 223, 0.1), rgba(255, 138, 114, 0.08));
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  max-width: none;
}

.rationale-section > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

.section-heading {
  max-width: 900px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.price {
  color: var(--gold);
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.economics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
  padding: 1.25rem;
}

.economics p {
  margin-bottom: 0;
}

.copy-panel {
  padding: 1rem;
}

.copy-rule {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0.25rem;
}

.copy-rule:first-child {
  padding-top: 0.25rem;
}

.copy-rule:last-child {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.copy-rule strong {
  color: var(--text);
}

.opportunity-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.opportunity-grid article:first-child {
  border-color: rgba(86, 214, 223, 0.35);
}

.opportunity-grid article:nth-child(2) {
  border-color: rgba(224, 180, 93, 0.35);
}

.final-cta {
  padding-bottom: clamp(4rem, 8vw, 7rem);
  text-align: center;
}

.final-cta > p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .button {
  margin-top: 1rem;
}

.technical-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 7rem);
}

.technical-hero {
  max-width: 960px;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.technical-hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.6rem);
}

.technical-hero p,
.technical-card p,
.technical-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.technical-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.technical-card,
.technical-section,
.allocation-example {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.technical-card h2,
.technical-section h2,
.allocation-example h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.technical-section,
.allocation-example {
  margin-bottom: 1rem;
}

.technical-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.technical-list span {
  background: rgba(86, 214, 223, 0.1);
  border: 1px solid rgba(86, 214, 223, 0.22);
  border-radius: 8px;
  color: var(--text);
  font-weight: 760;
  padding: 0.75rem 0.9rem;
}

.allocation-example {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
}

.allocation-row {
  align-items: center;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 3.5rem 1fr 3rem;
  margin-bottom: 0.9rem;
}

.allocation-row:last-child {
  margin-bottom: 0;
}

.allocation-row span,
.allocation-row strong {
  font-weight: 850;
}

.bar {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  height: 0.8rem;
  overflow: hidden;
}

.bar i {
  background: linear-gradient(90deg, var(--cyan), var(--green));
  display: block;
  height: 100%;
}

@media (max-width: 900px) {
  .hero,
  .integrations-band,
  .split-section,
  .copy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 380px;
  }

  .pricing-grid,
  .economics,
  .opportunity-grid,
  .technical-grid,
  .allocation-example {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    position: static;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }
}
