:root {
  --bg: #f5f7f2;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #11221d;
  --muted: #55645f;
  --line: rgba(17, 34, 29, 0.12);
  --brand: #1a7f64;
  --brand-deep: #124d40;
  --brand-soft: #d8efe8;
  --accent: #ffb84d;
  --shadow: 0 18px 60px rgba(15, 34, 28, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(26, 127, 100, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 184, 77, 0.14), transparent 20%),
    linear-gradient(180deg, #f7faf5 0%, #edf2ec 100%);
}

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

.site-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 20px auto;
}

.topbar,
.hero,
.feature-card,
.visual-panel,
.use-case,
.comparison-card,
.spotlight-box,
.contact-card,
.logo-strip {
  backdrop-filter: blur(16px);
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 32px rgba(16, 34, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(16, 34, 29, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

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

.brand-copy span {
  color: var(--muted);
  font-size: 0.77rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #ffffff;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(18, 77, 64, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  border-color: var(--line);
}

.button-small {
  min-height: 40px;
}

.button-wide {
  min-width: 238px;
  white-space: nowrap;
}

.hero {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  padding: 38px;
  border: 1px solid rgba(17, 34, 29, 0.1);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.56)),
    linear-gradient(120deg, rgba(26, 127, 100, 0.05), rgba(255, 184, 77, 0.06));
  box-shadow: var(--shadow);
}

.eyebrow,
.mini-label,
.stage-label,
.feature-index {
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 0.78rem;
}

.hero h1,
.section h2,
.contact-card h2,
.spotlight-box h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.9rem);
  max-width: 12ch;
}

.hero h1 span {
  color: var(--brand-deep);
}

.hero-text,
.split-copy p,
.comparison-card p,
.use-case p,
.feature-card p,
.contact-card p,
.spotlight-box p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-stats dd {
  margin: 8px 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.visual-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 35px rgba(15, 34, 28, 0.08);
}

.visual-panel-main {
  padding: 22px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.panel-title {
  font-weight: 700;
}

.panel-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 600;
}

.ops-visual {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.ops-column {
  display: grid;
  gap: 12px;
}

.stage-label,
.mini-label {
  color: var(--muted);
  font-size: 0.74rem;
}

.ops-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.ops-card strong {
  font-size: 1.08rem;
}

.ops-card span {
  color: var(--muted);
  line-height: 1.6;
}

.ops-card-problem {
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.16), rgba(255, 255, 255, 0.95));
}

.ops-card-solution {
  background: linear-gradient(135deg, rgba(26, 127, 100, 0.14), rgba(255, 255, 255, 0.95));
}

.ops-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(26, 127, 100, 0.1);
  color: var(--brand-deep);
  font-size: 1.5rem;
  font-weight: 700;
}

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

.visual-aside .visual-panel {
  padding: 20px;
}

.visual-aside h2 {
  margin: 10px 0 0;
  font-size: 1.2rem;
  line-height: 1.15;
}

.logo-strip,
.spotlight-box,
.contact-card {
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(15, 34, 28, 0.05);
}

.logo-strip {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
}

.section {
  margin-top: 76px;
}

.section-heading {
  margin-bottom: 24px;
}

.section h2,
.contact-card h2,
.spotlight-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

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

.feature-card,
.comparison-card,
.use-case {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 28px rgba(15, 34, 28, 0.06);
}

.feature-index {
  color: var(--brand);
  font-size: 0.74rem;
}

.feature-card h3,
.comparison-card h3,
.use-case h3 {
  margin: 12px 0 8px;
  font-size: 1.24rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.thought-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.use-case-list {
  display: grid;
  gap: 18px;
}

.spotlight-box,
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.spotlight-box h2 {
  max-width: 15ch;
}

.contact-card {
  background:
    radial-gradient(circle at top left, rgba(26, 127, 100, 0.14), transparent 28%),
    rgba(255, 255, 255, 0.82);
}

.maturity-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 248, 245, 0.88));
  box-shadow: 0 10px 30px rgba(15, 34, 28, 0.06);
}

.maturity-step {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(17, 34, 29, 0.1);
}

.maturity-step strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.maturity-step span {
  font-size: 1rem;
  font-weight: 500;
}

.maturity-step.is-active {
  padding: 18px;
  margin: 8px 0;
  border: 1px solid rgba(26, 127, 100, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26, 127, 100, 0.12), rgba(255, 255, 255, 0.9));
}

.maturity-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--brand-deep);
  font-weight: 600;
}

.text-link:hover {
  color: var(--brand);
}

.text-link::after {
  content: "->";
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.footer {
  width: min(calc(100% - 32px), var(--container));
  margin: 26px auto 40px;
  color: var(--muted);
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(18, 77, 64, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@media (max-width: 1100px) {
  .hero,
  .split-section,
  .thought-grid,
  .spotlight-box,
  .contact-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .card-grid,
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .site-shell,
  .footer {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    border-radius: 28px;
    padding: 16px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.95rem;
  }

  .hero {
    padding: 24px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-stats,
  .visual-aside,
  .ops-visual,
  .card-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .ops-arrow {
    width: 100%;
    height: 44px;
  }

  .section h2,
  .contact-card h2,
  .spotlight-box h2 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .button,
  .button-small {
    width: 100%;
  }

  .nav {
    flex-wrap: wrap;
  }
}
