:root {
  --bg: #f6f5ef;
  --ink: #111915;
  --ink-2: #2f3933;
  --muted: #657068;
  --line: #d9dfd3;
  --surface: #ffffff;
  --surface-2: #eef1e8;
  --forest: #11231a;
  --forest-2: #1d3f2d;
  --moss: #dce8d6;
  --amber: #d59b46;
  --blue: #416982;
  --red: #9c473c;
  --radius: 6px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.42;
  letter-spacing: 0;
}

body {
  min-width: 320px;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 48px);
  color: #f9fbf6;
  background: rgba(17, 35, 26, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand,
.nav-links,
.hero-actions,
.proof-row,
.metric-strip,
.package-line,
.request-step,
.ops-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #f9fbf6;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.nav-links {
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.nav-links a,
.nav-action {
  font-size: 0.9rem;
  font-weight: 680;
  text-decoration: none;
  color: rgba(249, 251, 246, 0.82);
}

.nav-links a:hover,
.nav-action:hover {
  color: #ffffff;
}

.nav-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(249, 251, 246, 0.4);
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 72px) 56px;
  background: var(--forest);
  color: #f9fbf6;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(17, 35, 26, 0.98) 0%,
    rgba(17, 35, 26, 0.92) 45%,
    rgba(17, 35, 26, 0.5) 76%,
    rgba(17, 35, 26, 0.2) 100%
  );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 68px;
  background: var(--bg);
  clip-path: polygon(0 74%, 100% 36%, 100% 100%, 0 100%);
  z-index: 0;
}

.hero-scene {
  position: absolute;
  inset: 64px 0 0;
  overflow: hidden;
  z-index: -2;
  opacity: 0.68;
}

.scene-track {
  position: absolute;
  inset: 8% -10% auto auto;
  width: min(780px, 74vw);
  min-height: 540px;
  transform: rotate(-5deg);
}

.scene-window {
  position: absolute;
  width: min(430px, 48vw);
  border: 1px solid rgba(249, 251, 246, 0.22);
  border-radius: 8px;
  background: #f9fbf6;
  color: var(--ink);
  padding: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.scene-storefront {
  right: 180px;
  top: 0;
}

.scene-request {
  right: 0;
  top: 210px;
}

.scene-ops {
  right: 420px;
  top: 300px;
}

.window-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.scene-label,
.eyebrow,
.step-number {
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
}

.scene-label,
.step-number {
  color: var(--forest-2);
  font-weight: 760;
}

.scene-window h2,
.section h2,
.hero h1 {
  margin: 0;
  letter-spacing: 0;
}

.scene-window h2 {
  margin-top: 8px;
  font-size: 1.25rem;
}

.scene-window p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.metric-strip {
  gap: 8px;
  flex-wrap: wrap;
}

.metric-strip span,
.package-line,
.request-step,
.ops-row {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-2);
  padding: 8px 9px;
}

.metric-strip span {
  display: grid;
  gap: 1px;
  font-size: 0.72rem;
}

.metric-strip b {
  display: block;
  color: var(--ink);
}

.package-line,
.request-step,
.ops-row {
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  font-size: 0.82rem;
}

.request-step {
  align-items: flex-start;
}

.request-step span,
.request-step b,
.ops-row span,
.ops-row b {
  display: block;
}

.request-step b,
.ops-row b,
.package-line strong {
  color: var(--forest-2);
}

.request-step.is-active {
  border-color: var(--amber);
  background: #fff4df;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--moss);
  font-weight: 760;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.8rem, 9.8vw, 8rem);
  line-height: 0.9;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero-lede {
  max-width: 590px;
  margin: 26px 0 0;
  color: rgba(249, 251, 246, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 4px;
  font-weight: 760;
  text-decoration: none;
}

.btn-primary {
  background: #f9fbf6;
  color: var(--forest);
}

.btn-secondary {
  border: 1px solid rgba(249, 251, 246, 0.45);
  color: #f9fbf6;
}

.proof-row {
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0 0;
}

.proof-row div {
  min-width: 128px;
  border-left: 3px solid var(--amber);
  padding-left: 10px;
}

.proof-row dt {
  color: rgba(249, 251, 246, 0.62);
  font-size: 0.74rem;
}

.proof-row dd {
  margin: 1px 0 0;
  font-weight: 780;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(46px, 8vw, 88px) 0;
}

.section-copy {
  max-width: 680px;
}

.section .eyebrow {
  color: var(--forest-2);
}

.section h2 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.98;
  font-family: Georgia, "Times New Roman", serif;
}

.section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.workflow-grid,
.synergy-grid,
.operator-board {
  display: grid;
  gap: 12px;
}

.workflow-grid,
.synergy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.workflow-grid article,
.synergy-grid article,
.operator-board div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.workflow-grid article,
.synergy-grid article {
  padding: 20px;
}

.partnership-section {
  padding-top: clamp(56px, 8vw, 96px);
}

.synergy-grid article {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.synergy-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--amber);
}

.synergy-grid article:nth-child(2)::before {
  background: var(--blue);
}

.synergy-grid article:nth-child(3)::before {
  background: var(--forest-2);
}

.workflow-grid h3,
.synergy-grid h3 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
}

.workflow-grid p,
.synergy-grid p {
  margin: 0;
  font-size: 0.96rem;
}

.operator-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: start;
}

.operator-board {
  margin-top: 8px;
}

.operator-board div {
  padding: 16px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.operator-board span {
  color: var(--muted);
  font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.operator-board strong {
  color: var(--ink-2);
}

.final-cta {
  margin-bottom: 40px;
  border-top: 1px solid var(--line);
}

.final-cta .hero-actions {
  margin-top: 22px;
}

.final-cta .btn-primary {
  background: var(--forest);
  color: #f9fbf6;
}

.final-cta .btn-secondary {
  border-color: var(--forest);
  color: var(--forest);
}

@media (max-width: 1080px) {
  .hero-scene {
    opacity: 0.54;
  }

  .scene-track {
    inset: 8% -34% auto auto;
  }
}

@media (max-width: 840px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 72svh;
    padding: 96px 20px 56px;
  }

  .scene-track {
    inset: auto -120px 4% auto;
    width: 760px;
    min-height: 470px;
    opacity: 0.52;
  }

  .scene-window {
    width: 330px;
  }

  .scene-storefront {
    right: 160px;
  }

  .scene-request {
    right: 0;
    top: 178px;
  }

  .scene-ops {
    right: 350px;
    top: 260px;
  }

  .workflow-grid,
  .synergy-grid,
  .operator-section {
    grid-template-columns: 1fr;
  }

  .operator-board div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 58px;
    padding: 0 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-action {
    min-height: 32px;
  }

  .hero {
    min-height: 72svh;
    padding-top: 92px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5.4rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .scene-track {
    right: -250px;
    opacity: 0.28;
  }

  .proof-row div {
    min-width: 92px;
  }

  .hero h1 {
    font-size: clamp(3rem, 13.5vw, 3.8rem);
  }

  .section {
    width: min(100% - 28px, 1120px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
