:root {
  --bg: #f4f1ea;
  --panel: #fffdf8;
  --panel-2: #f8f3e8;
  --ink: #1c2733;
  --ink-soft: #556679;
  --line: #d9d1c1;
  --brand: #0f5d73;
  --brand-strong: #154b76;
  --accent: #d86035;
  --ok: #1f8f5f;
  --warn: #8d6800;
  --shadow: 0 14px 32px rgba(18, 39, 54, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.25rem);
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  opacity: 0.22;
}

.shape-one {
  width: 32vw;
  height: 32vw;
  top: -11vw;
  left: -8vw;
  background: #ffbf78;
}

.shape-two {
  width: 34vw;
  height: 34vw;
  right: -8vw;
  top: 18vh;
  background: #8ad6c4;
}

.shape-three {
  width: 24vw;
  height: 24vw;
  left: 45vw;
  bottom: -10vw;
  background: #87bedf;
}

.grid-noise {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(28, 39, 51, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 39, 51, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 25% 10%, black 18%, transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(28, 39, 51, 0.1);
  backdrop-filter: blur(8px);
  background: rgba(244, 241, 234, 0.84);
}

.nav-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--brand), #0b3f57);
  color: #f9fbff;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.42rem 0.86rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: 8px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

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

.btn-primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: #113d61;
}

.btn-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: #b9af9d;
}

.section {
  padding: 62px 0;
}

.hero {
  padding: 86px 0 32px;
  display: block;
}

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

.kicker,
.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
}

.hero-text {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags li {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.38rem 0.84rem;
  color: #334556;
  font-size: 0.84rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ok);
  background: #def8ea;
}

.live-pill.build {
  color: var(--warn);
  background: #fff4cf;
}

.section-intro {
  margin-bottom: 18px;
}

.section-intro h2 {
  margin-top: 6px;
}

.section-intro.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.section-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 52ch;
}

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

.surface-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
}

.surface-card h3 {
  margin-top: 6px;
}

.surface-card p {
  margin-top: 8px;
  color: var(--ink-soft);
}

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

.journey-list li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  padding: 14px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
}

.step-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--brand-strong);
  color: #fff;
}

.journey-list p {
  margin-top: 6px;
  color: var(--ink-soft);
}

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

.live-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 16px;
}

.live-card h3 {
  margin-top: 8px;
}

.live-card p {
  margin-top: 8px;
  color: var(--ink-soft);
}

.build-card {
  background: linear-gradient(152deg, rgba(255, 247, 228, 0.95), rgba(255, 255, 255, 0.95));
}

.client-panel,
.engineering-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

.client-copy p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.client-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.client-list li {
  color: #34485a;
}

.terminal-card {
  border: 1px solid #2c4257;
  border-radius: 18px;
  background: #112436;
  color: #e7f0f8;
  box-shadow: 0 18px 30px rgba(9, 26, 39, 0.3);
  padding: 16px;
}

.terminal-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  color: #9fd6ff;
  font-weight: 700;
}

.terminal-card pre {
  margin: 12px 0 0;
  overflow-x: auto;
}

.terminal-card code {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  color: #ebf6ff;
}

.terminal-card .btn {
  margin-top: 12px;
}

.terminal-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: #acc5dc;
}

.engineering-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.engineering-list li {
  color: #33485a;
}

.text-link {
  margin-top: 8px;
  display: inline-flex;
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.pilot-shell {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(216, 96, 53, 0.1), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.pilot-shell p {
  margin-top: 10px;
  color: #34485a;
}

.pilot-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #2f4356;
}

.pilot-shell .btn {
  width: fit-content;
}

.site-footer {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.footer-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-row p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .capability-grid,
  .deploy-grid,
  .live-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero,
  .client-panel,
  .engineering-grid,
  .pilot-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 6px);
    left: 4vw;
    right: 4vw;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .section {
    padding: 46px 0;
  }

  .hero {
    padding-top: 62px;
  }

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

@media (max-width: 520px) {
  .hero-actions .btn,
  .pilot-shell .btn {
    width: 100%;
  }

  .shape {
    opacity: 0.16;
  }
}
