:root {
  --carbon: #1c211d;
  --carbon-soft: #272e29;
  --sky: #58a8c7;
  --sky-dark: #2e7794;
  --pine: #315c43;
  --earth: #76513a;
  --sand: #d8c7a4;
  --white: #ffffff;
  --mist: #edf4f3;
  --ink: #18201b;
  --muted: #536158;
  --line: rgba(28, 33, 29, 0.16);
  --focus: #9edbf1;
  --shell: min(1180px, calc(100% - 48px));
  --radius: 18px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--mist); color: var(--ink); }
body, button, a { -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); color: var(--carbon); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  min-height: 88px;
  color: var(--white);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 190px;
  background:
    radial-gradient(circle at 14% 17%, rgba(255,255,255,.46) 0 1px, transparent 1.6px),
    radial-gradient(circle at 71% 25%, rgba(255,255,255,.28) 0 1px, transparent 1.6px),
    linear-gradient(180deg, rgba(10,15,17,.98) 0%, rgba(10,15,17,.87) 37%, rgba(10,15,17,.44) 66%, rgba(10,15,17,0) 100%);
  background-size: 196px 98px, 248px 110px, auto;
  pointer-events: none;
}
.header-row { position: relative; display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: 152px; flex: 0 0 auto; }
.brand img { width: 100%; height: 62px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 750; text-shadow: 0 2px 10px rgba(0,0,0,.7); }
.nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.nav a:not(.nav-cta) { border-bottom: 2px solid transparent; }
.nav a:not(.nav-cta):hover { border-color: rgba(255,255,255,.7); }

.button, .nav-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}
.button:active, .nav-cta:active { transform: translateY(1px); }
.button-primary, .nav-cta { background: var(--sky); border-color: #74bbd5; color: var(--carbon); text-shadow: none; box-shadow: inset 0 1px rgba(255,255,255,.25); }
.button-primary:hover, .nav-cta:hover { background: #71b8d2; }
.button-secondary { border-color: rgba(255,255,255,.65); background: rgba(13,22,20,.34); color: var(--white); }
.button-secondary:hover { background: rgba(13,22,20,.62); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #12212a url('hero-overlanding.webp') center bottom / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,21,18,.92) 0%, rgba(11,21,18,.69) 43%, rgba(11,21,18,.15) 76%), linear-gradient(180deg, rgba(7,12,15,.23) 20%, rgba(13,29,22,.38) 66%, rgba(28,33,29,.98) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 150px; background: linear-gradient(180deg, rgba(28,33,29,0), var(--carbon)); }
.hero-copy { position: relative; z-index: 2; width: min(720px, 72%); padding: 194px 0 128px; }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(54px, 6.8vw, 92px); line-height: .92; letter-spacing: -.055em; text-wrap: balance; }
.hero-lead { max-width: 630px; margin: 26px 0 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; color: rgba(255,255,255,.9); }
.brand-line { margin: 22px 0 0; font-size: 16px; font-weight: 850; letter-spacing: .015em; color: var(--sand); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.product-section { position: relative; padding: 92px 0 118px; background: linear-gradient(180deg, var(--carbon) 0%, #24382d 46%, #dce9e2 100%); color: var(--white); }
.product-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); gap: 48px; align-items: end; margin-bottom: 38px; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.product-intro p { margin: 0; max-width: 540px; color: rgba(255,255,255,.76); font-size: 17px; line-height: 1.65; }
.studio-frame { position: relative; overflow: hidden; border: 1px solid rgba(216,199,164,.4); border-radius: var(--radius) var(--radius) 6px var(--radius); background: #0b0c11; box-shadow: 0 34px 90px rgba(3,11,7,.38); }
.studio-frame::before { content: ""; display: block; height: 32px; background: linear-gradient(90deg, #10120f, #242b26); border-bottom: 1px solid rgba(255,255,255,.1); }
.studio-frame::after { content: ""; position: absolute; top: 13px; left: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 16px 0 var(--sand), 32px 0 var(--pine); }
.studio-frame img { width: 100%; height: auto; }
.screen-note { margin: 14px 0 0; color: rgba(255,255,255,.67); font-size: 13px; }

.capabilities { padding: 110px 0 120px; background: linear-gradient(180deg, #dce9e2 0%, #eef4f0 34%, #f7f3e9 100%); }
.section-copy { max-width: 720px; margin: 22px 0 46px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.capability { min-height: 220px; padding: 30px; background: rgba(255,255,255,.68); }
.capability:nth-child(1) { border-radius: 16px 0 0 0; }
.capability:nth-child(3) { border-radius: 0 16px 0 0; }
.capability:nth-child(4) { border-radius: 0 0 0 16px; }
.capability:nth-child(6) { border-radius: 0 0 16px 0; }
.capability svg { width: 28px; height: 28px; display: block; color: var(--sky-dark); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.capability h3 { margin: 24px 0 10px; font-size: 21px; letter-spacing: -.02em; }
.capability p { margin: 0; color: var(--muted); line-height: 1.55; }

.workflow { position: relative; overflow: hidden; padding: 116px 0 128px; background: linear-gradient(180deg, #f7f3e9 0%, #d8c7a4 70%, #bda884 100%); }
.workflow::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; opacity: .09; background: url('forest-silhouette-cutout.webp') center bottom / max(1500px, 100%) auto no-repeat; pointer-events: none; }
.steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.step { position: relative; padding: 30px 34px 18px 0; border-top: 2px solid rgba(28,33,29,.22); }
.step + .step { padding-left: 34px; }
.step + .step::before { content: ""; position: absolute; top: -7px; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sky-dark); }
.step strong { display: block; font-size: 23px; letter-spacing: -.02em; }
.step p { margin: 12px 0 0; color: #49554e; line-height: 1.58; }

.teams { padding: 112px 0 124px; background: linear-gradient(180deg, #304f3b 0%, var(--pine) 60%, #274b37 100%); color: var(--white); }
.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.teams .section-copy { color: rgba(255,255,255,.72); }
.role-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.role { min-height: 165px; padding: 26px; background: rgba(17,36,25,.42); }
.role h3 { margin: 0 0 10px; color: var(--sand); font-size: 19px; }
.role p { margin: 0; color: rgba(255,255,255,.76); line-height: 1.55; }

.control { padding: 104px 0 112px; background: linear-gradient(180deg, #e8ded0 0%, #efe8df 100%); }
.control-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.truth-list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.truth-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; color: var(--muted); line-height: 1.55; }
.truth-list svg { width: 22px; height: 22px; display: block; color: var(--pine); fill: none; stroke: currentColor; stroke-width: 2; }
.scope-note { margin-top: 32px; padding: 20px 22px; border-left: 3px solid var(--earth); background: rgba(255,255,255,.52); color: #4e4e48; line-height: 1.55; }

.final-cta { position: relative; overflow: hidden; padding: 116px 0 126px; text-align: center; background: var(--carbon); color: var(--white); }
.final-cta::before { content: ""; position: absolute; inset: 0; opacity: .42; background: radial-gradient(circle at 20% 20%, rgba(88,168,199,.3), transparent 30%), radial-gradient(circle at 80% 100%, rgba(49,92,67,.45), transparent 38%); }
.final-cta .shell { position: relative; }
.final-cta p { max-width: 620px; margin: 24px auto 30px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.6; }
.final-cta .button { min-width: 190px; }
.site-footer { padding: 30px 0; background: #111512; color: rgba(255,255,255,.66); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; }
.footer-row img { width: 112px; height: 46px; object-fit: contain; }
.footer-row p { margin: 0; text-align: right; }

@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { min-height: 700px; background-position: 62% bottom; }
  .hero-copy { width: min(620px, 86%); padding-bottom: 104px; }
  .product-intro, .team-grid, .control-grid { grid-template-columns: 1fr; gap: 34px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(n) { border-radius: 0; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 24px 0 30px 30px; border-top: 0; border-left: 2px solid rgba(28,33,29,.22); }
  .step + .step { padding-left: 30px; }
  .step::before, .step + .step::before { content: ""; position: absolute; top: 30px; left: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--sky-dark); }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  .site-header, .header-row { min-height: 78px; }
  .brand { width: 128px; }
  .brand img { height: 54px; }
  .nav { gap: 10px; }
  .nav-cta { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .hero { min-height: 650px; background-position: 67% bottom; }
  .hero::before { background: linear-gradient(90deg, rgba(10,20,17,.93), rgba(10,20,17,.55)), linear-gradient(180deg, rgba(7,12,15,.28), rgba(28,33,29,.98)); }
  .hero-copy { width: 100%; padding: 150px 0 82px; }
  .hero h1 { font-size: clamp(44px, 14vw, 62px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; }
  .product-section, .capabilities, .workflow, .teams, .control, .final-cta { padding-top: 82px; padding-bottom: 88px; }
  .product-intro { margin-bottom: 28px; }
  .studio-frame { border-radius: 12px 12px 4px 12px; }
  .capability-grid, .role-list { grid-template-columns: 1fr; }
  .capability { min-height: 0; padding: 26px; }
  .capability h3 { margin-top: 18px; }
  .role { min-height: 0; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .footer-row p { text-align: left; }
}

@media (max-width: 360px) {
  .brand { width: 112px; }
  .nav-cta { padding-inline: 11px; }
  .hero h1 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
