@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SpaceGrotesk-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/SpaceGrotesk-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/SpaceGrotesk-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexMono-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexMono-Medium.ttf") format("truetype");
}

:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --panel: rgba(11, 11, 11, 0.82);
  --panel-strong: rgba(14, 14, 14, 0.92);
  --panel-border: rgba(221, 196, 141, 0.2);
  --ink: #f2ede5;
  --ink-muted: #c6bca9;
  --ink-soft: #9b917f;
  --teal: #e4c67b;
  --teal-strong: #b48f3d;
  --teal-glow: rgba(228, 198, 123, 0.22);
  --copper: #f2cf8f;
  --copper-soft: rgba(242, 207, 143, 0.2);
  --red: #f07f7f;
  --line: rgba(228, 198, 123, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #040404;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  background: transparent;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

code,
pre,
.section-kicker,
.hero__panel-kicker,
.pricing-card__eyebrow,
.hero-stat__label,
.site-footer__meta,
.site-nav__link,
.metering-table,
.blog-card__meta,
.article-hero__meta {
  font-family: "IBM Plex Mono", monospace;
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -8%, rgba(252, 224, 170, 0.24), rgba(10, 10, 10, 0.06) 44%, #030303 76%),
    linear-gradient(180deg, #020202 0%, #050505 46%, #070707 100%);
}

.site-sunbeams {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(245, 212, 149, 0.2) 8%, rgba(245, 212, 149, 0) 39%),
    linear-gradient(124deg, rgba(245, 212, 149, 0.12) 14%, rgba(245, 212, 149, 0) 46%),
    repeating-linear-gradient(116deg, rgba(245, 212, 149, 0.09) 0 2px, rgba(245, 212, 149, 0) 2px 110px);
  opacity: 0.86;
  mix-blend-mode: screen;
}

.site-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-frame {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 8px;
}

.brand__eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 999px;
  border: 1px solid rgba(219, 139, 72, 0.36);
  background: rgba(219, 139, 72, 0.14);
  color: #f6d5b8;
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  line-height: 1;
  vertical-align: middle;
}

.brand__wordmark {
  font-size: 1.02rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-nav__link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
  background: rgba(255, 245, 221, 0.08);
  transform: translateY(-1px);
}

.site-header__status {
  justify-self: end;
}

.site-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(221, 196, 141, 0.16);
  background: rgba(12, 12, 12, 0.9);
}

.site-status__indicator {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.site-status__indicator::after {
  content: attr(data-label) " • " attr(data-detail);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 0);
  opacity: 0;
  pointer-events: none;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(12, 12, 12, 0.95);
  border: 1px solid rgba(221, 196, 141, 0.18);
  color: #f5d4a6;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: opacity 140ms ease;
  z-index: 100;
}

.site-status__indicator:hover::after {
  opacity: 1;
}

.site-status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.site-status__indicator--green .site-status__dot {
  background: #4cda92;
  animation: pulse-glow 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.site-status__indicator--amber .site-status__dot {
  background: #d7af56;
  animation: pulse-glow-amber 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.site-status__indicator--red .site-status__dot {
  background: #f07f7f;
  animation: pulse-glow-red 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(76, 218, 146, 0.6);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(76, 218, 146, 0);
  }
}

@keyframes pulse-glow-amber {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(215, 175, 86, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(215, 175, 86, 0);
  }
}

@keyframes pulse-glow-red {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(240, 127, 127, 0.5);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(240, 127, 127, 0);
  }
}

.page-shell {
  padding-top: 28px;
}

.hero,
.page-hero,
.section,
.article-shell {
  animation: fade-up 560ms ease both;
}

.reveal {
  animation: fade-up 560ms ease both;
}

.reveal--delay-1 {
  animation-delay: 90ms;
}

.reveal--delay-2 {
  animation-delay: 170ms;
}

.reveal--delay-3 {
  animation-delay: 250ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.hero__copy,
.hero__panel,
.section,
.page-hero,
.blog-card,
.article-shell,
.empty-state {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
}

.hero__copy,
.page-hero,
.section,
.article-shell,
.empty-state {
  padding: 34px;
}

.hero__copy h1,
.page-hero h1,
.article-hero h1,
.section__header h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.hero__lede,
.page-hero p,
.article-hero__summary {
  max-width: 40rem;
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__actions,
.article-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-strong));
  color: #061015;
}

.button--secondary,
.button--ghost {
  border-color: rgba(228, 198, 123, 0.2);
  background: rgba(255, 248, 235, 0.03);
}

.hero__rail,
.compact-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero__rail li,
.compact-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.hero__rail li + li,
.compact-list li + li {
  margin-top: 10px;
}

.hero__rail li::before,
.compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px var(--copper-soft);
}

.hero__panel {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(12, 12, 12, 0.94)),
    radial-gradient(circle at top right, rgba(228, 198, 123, 0.18), transparent 38%);
}

.hero__panel-kicker {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hero-stat {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(132, 168, 183, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stat__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-stat__label {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__panel-meta,
.hero__panel-link {
  margin-top: 18px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.hero__panel-link {
  color: var(--teal);
}

.section {
  margin-top: 22px;
}

.section__header {
  margin-bottom: 22px;
}

.section__header h2 {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
}

.value-grid,
.capability-grid,
.pricing-grid,
.blog-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pricing-grid {
  margin-bottom: 22px;
}

.value-card,
.capability-card,
.pricing-card,
.blog-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.blog-card--featured {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, rgba(219, 139, 72, 0.15), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(219, 139, 72, 0.35);
  box-shadow:
    0 0 40px rgba(219, 139, 72, 0.22),
    0 0 60px rgba(219, 139, 72, 0.12),
    inset 0 0 60px rgba(219, 139, 72, 0.08);
  animation: featured-pulse 4s ease-in-out infinite;
}

.blog-card--pinned {
  border-color: rgba(80, 193, 179, 0.28);
  background:
    linear-gradient(180deg, rgba(80, 193, 179, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

@keyframes featured-pulse {
  0%, 100% {
    box-shadow:
      0 0 40px rgba(219, 139, 72, 0.22),
      0 0 60px rgba(219, 139, 72, 0.12),
      inset 0 0 60px rgba(219, 139, 72, 0.08);
  }
  50% {
    box-shadow:
      0 0 50px rgba(219, 139, 72, 0.32),
      0 0 80px rgba(219, 139, 72, 0.18),
      inset 0 0 70px rgba(219, 139, 72, 0.12);
  }
}

.value-card__eyebrow,
.pricing-card__eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.segment-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.segment-card__eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.segment-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
}

.segment-card p {
  margin: 12px 0 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

.value-card h3,
.capability-card h3,
.pricing-card h3,
.blog-card h2 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.15;
}

.value-card p,
.capability-card p,
.pricing-card__copy,
.blog-card p,
.metering-shell__intro p,
.site-footer__copy {
  margin: 12px 0 0;
  color: var(--ink-muted);
  line-height: 1.65;
}

.pricing-card--featured {
  background:
    linear-gradient(180deg, rgba(80, 193, 179, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(80, 193, 179, 0.22);
}

.pricing-card--badge {
  background:
    linear-gradient(180deg, rgba(219, 139, 72, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
}

.pricing-card__meta {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #f6d5b8;
  background: rgba(219, 139, 72, 0.18);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metering-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
  align-items: start;
}

.table-shell {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.metering-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.metering-table th,
.metering-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(132, 168, 183, 0.08);
  text-align: left;
  font-size: 0.82rem;
}

.metering-table th {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero {
  margin-bottom: 22px;
}

.blog-card__meta,
.article-hero__meta {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card__link,
.article-prose a {
  color: var(--teal);
}

.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.article-hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-prose {
  color: var(--ink-muted);
  font-size: 1.04rem;
  line-height: 1.8;
  padding-top: 28px;
}

.article-prose h1,
.article-prose h2,
.article-prose h3,
.article-prose h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 1.7em 0 0.6em;
}

.article-prose h2 {
  font-size: 1.9rem;
}

.article-prose h3 {
  font-size: 1.45rem;
}

.article-prose p,
.article-prose ul,
.article-prose ol,
.article-prose table,
.article-prose pre,
.article-prose blockquote {
  margin: 1.05em 0;
}

.article-prose ul,
.article-prose ol {
  padding-left: 1.3em;
}

.article-prose li + li {
  margin-top: 0.4em;
}

.article-prose pre,
.article-prose code {
  border-radius: 10px;
}

.article-prose pre {
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--line);
  background: rgba(4, 10, 15, 0.88);
}

.article-prose :not(pre) > code {
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.06);
}

.article-prose blockquote {
  padding: 10px 16px;
  border-left: 3px solid var(--teal);
  background: rgba(80, 193, 179, 0.08);
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
}

.article-prose th,
.article-prose td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.empty-state {
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
}

.site-footer__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer__links a {
  color: var(--ink-muted);
}

.site-footer__stack {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.site-footer__stack-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}

.site-footer__stack a {
  opacity: 0.5;
  display: flex;
  align-items: center;
  transition: opacity 0.18s ease;
}

.site-footer__stack a:hover {
  opacity: 1;
}

.site-footer__stack a.is-wing {
  opacity: 0.32;
}

.site-footer__stack-soon {
  margin-left: -4px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(228, 198, 123, 0.08);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-footer__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .site-sunbeams {
    opacity: 0.72;
  }
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand status"
      "nav nav";
    row-gap: 12px;
    border-radius: 26px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .site-header__status {
    grid-area: status;
    justify-self: end;
  }

  .site-nav {
    grid-area: nav;
    justify-content: flex-start;
  }

  .hero,
  .metering-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .capability-grid,
  .pricing-grid,
  .blog-grid,
  .segment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-frame {
    width: min(100% - 20px, var(--max-width));
    padding-top: 16px;
  }

  .site-header {
    padding: 14px 16px;
    gap: 10px;
  }

  .site-status {
    padding: 7px 10px;
  }

  .hero__copy,
  .page-hero,
  .section,
  .article-shell,
  .empty-state {
    padding: 24px;
  }

  .hero__copy h1,
  .page-hero h1,
  .article-hero h1,
  .section__header h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 12px 12px;
    gap: 8px;
  }

  .brand {
    margin-left: 4px;
  }

  .brand__eyebrow {
    font-size: 0.72rem;
  }

  .brand__badge {
    padding: 2px 6px;
    margin-left: 4px;
    font-size: 0.58rem;
  }

  .brand__wordmark {
    font-size: 0.9rem;
  }

  .site-status {
    padding: 6px 9px;
  }

  .site-status__dot {
    width: 9px;
    height: 9px;
  }
}
