:root {
  color-scheme: light;
  --bg: #f3f7ee;
  --surface: #fbfdf8;
  --surface-soft: #e9f2e4;
  --ink: #0f170f;
  --muted: #60705f;
  --line: #c9dcc1;
  --line-strong: #9cbc8f;
  --green: #69df52;
  --green-soft: #dff9d6;
  --deep: #132015;
  --deep-2: #1d3021;
  --white: #ffffff;
  --radius: 24px;
  --shadow: 0 28px 90px rgba(20, 38, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 15, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 23, 15, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbf5 0%, var(--bg) 46%, #e8f1e3 100%);
  background-size: 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(105, 223, 82, 0.22), transparent 30%),
    linear-gradient(315deg, rgba(19, 32, 21, 0.10), transparent 34%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(105, 223, 82, 0.9);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.85rem clamp(1rem, 4vw, 3.2rem);
  border-bottom: 1px solid rgba(201, 220, 193, 0.72);
  background: rgba(248, 251, 245, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links a,
.button,
.project-item {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(105, 223, 82, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.58rem 0.78rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

main {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1fr);
  gap: 1.1rem;
  align-items: stretch;
  min-height: calc(100svh - 86px);
  padding: 1rem 0;
}

.hero-content,
.workspace-preview,
.section,
.section-band,
.final-cta {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background: rgba(251, 253, 248, 0.82);
  box-shadow: var(--shadow);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.35rem, 5.8vw, 4.8rem);
}

.kicker {
  margin: 0 0 0.82rem;
  color: #254b28;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

h1 {
  font-size: clamp(4.2rem, 7.4vw, 6.7rem);
}

h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.hero-lead {
  max-width: 37rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
  line-height: 1.58;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.82rem 1.08rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 850;
}

.button:hover {
  border-color: var(--line-strong);
}

.button-primary {
  border-color: transparent;
  background: var(--deep);
  color: #f3f9ee;
}

.workspace-preview {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, var(--deep), var(--deep-2));
  color: #f3f9ee;
}

.preview-topline {
  display: flex;
  gap: 0.44rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.preview-topline span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.preview-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1rem;
  min-height: 100%;
  padding: 1rem;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.preview-sidebar strong {
  margin-bottom: 0.8rem;
  color: var(--green);
}

.preview-sidebar span {
  padding: 0.58rem 0.65rem;
  border-radius: 13px;
  color: rgba(243, 249, 238, 0.72);
}

.preview-sidebar span:first-of-type {
  background: rgba(105, 223, 82, 0.14);
  color: #f3f9ee;
}

.preview-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-content: end;
}

.preview-panel,
.preview-flow {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.preview-panel {
  min-height: 180px;
  padding: 1rem;
}

.preview-panel-large {
  grid-column: 1 / -1;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(105, 223, 82, 0.18), transparent 42%),
    rgba(255, 255, 255, 0.07);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 3rem;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(243, 249, 238, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-panel strong {
  display: block;
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.preview-panel p {
  margin: 0.65rem 0 0;
  color: rgba(243, 249, 238, 0.70);
}

.preview-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
}

.preview-flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  background: rgba(105, 223, 82, 0.12);
  color: rgba(243, 249, 238, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-band,
.section,
.final-cta {
  margin-top: 1rem;
  padding: clamp(1.15rem, 4vw, 2.5rem);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 1rem;
  align-items: end;
}

.intro h2 {
  max-width: 15ch;
}

.intro p:not(.kicker),
.ai-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.62;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-list {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: 0.8rem;
}

.project-item {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  padding: 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.70);
}

.project-item:first-child {
  background:
    linear-gradient(145deg, rgba(19, 32, 21, 0.98), rgba(29, 48, 33, 0.96)),
    var(--deep);
  color: #f3f9ee;
}

.project-status,
.project-type {
  width: max-content;
  max-width: 100%;
  padding: 0.34rem 0.58rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-status {
  background: var(--green-soft);
  color: #244a26;
}

.project-type {
  color: var(--muted);
}

.project-item:first-child .project-status,
.project-item:first-child .project-type {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(243, 249, 238, 0.78);
}

.project-item strong {
  margin-top: auto;
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  overflow-wrap: normal;
}

.project-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.project-item:first-child p {
  color: rgba(243, 249, 238, 0.74);
}

.project-item[href]:hover {
  transform: translateY(-2px);
  transition: transform 160ms ease;
}

.platform-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.72rem;
}

.platform-flow div {
  min-height: 220px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.platform-flow span {
  display: block;
  margin-bottom: 4rem;
  color: var(--muted);
  font-weight: 850;
}

.platform-flow strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
}

.platform-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  background: linear-gradient(145deg, var(--deep), var(--deep-2));
  color: #f3f9ee;
}

.ai-section .kicker {
  color: var(--green);
}

.ai-section h2 {
  max-width: 12ch;
}

.ai-copy > p {
  color: rgba(243, 249, 238, 0.76);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.capability-grid div {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-grid strong,
.capability-grid span {
  display: block;
}

.capability-grid strong {
  margin-bottom: 0.35rem;
}

.capability-grid span {
  color: rgba(243, 249, 238, 0.66);
  line-height: 1.45;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  min-height: 180px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  margin-bottom: 3rem;
  font-size: 1.12rem;
}

.proof-list span {
  color: var(--muted);
  line-height: 1.48;
}

.final-cta {
  display: grid;
  place-items: center;
  min-height: 360px;
  text-align: center;
}

.final-cta h2 {
  max-width: 11ch;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .ai-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .workspace-preview {
    min-height: 620px;
  }

  .project-list,
  .platform-flow,
  .proof-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .nav-links a {
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.64);
  }

  main {
    width: min(100% - 1rem, 1160px);
    padding-top: 0.5rem;
  }

  .hero-content,
  .workspace-preview,
  .section,
  .section-band,
  .final-cta {
    border-radius: 24px;
  }

  .hero-content,
  .section,
  .section-band,
  .final-cta {
    padding: 1.1rem;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 5.4rem);
  }

  h2 {
    max-width: none;
    font-size: clamp(2rem, 12vw, 3rem);
  }

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

  .workspace-preview {
    min-height: 0;
  }

  .preview-grid,
  .preview-main,
  .project-list,
  .platform-flow,
  .capability-grid,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-panel,
  .preview-panel-large {
    min-height: 160px;
  }

  .panel-label,
  .platform-flow span,
  .proof-list strong {
    margin-bottom: 1.5rem;
  }

  .preview-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-item {
    min-height: 250px;
  }

  .platform-flow div,
  .proof-list li {
    min-height: 0;
  }
}
