:root {
  color-scheme: light;
  --ink: #17201c;
  --muted: #5b645f;
  --line: #d9dfd9;
  --paper: #f8faf6;
  --panel: #ffffff;
  --soft: #eef3ef;
  --accent: #126b57;
  --accent-dark: #083f35;
  --gold: #b7821b;
  --blue: #285e8f;
  --coral: #b84b3c;
  --shadow: 0 16px 36px rgba(23, 32, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(248, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--ink);
  font-weight: 760;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 112px clamp(18px, 5vw, 72px) 68px;
  background-color: #14231e;
  background-image:
    linear-gradient(90deg, rgba(9, 22, 20, 0.92), rgba(9, 22, 20, 0.68), rgba(9, 22, 20, 0.22)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.portfolio-hero {
  min-height: 74vh;
  background-position: center 42%;
}

.product-hero {
  min-height: 78vh;
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero .eyebrow {
  color: #f3c15f;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.hero p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.24rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 720;
  text-align: center;
}

.button.primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent-dark);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.ghost {
  color: var(--accent);
  border-color: rgba(18, 107, 87, 0.34);
  background: #ffffff;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 92px;
  padding: 22px clamp(18px, 4vw, 42px);
  background: #ffffff;
}

.proof-strip span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 690;
  text-transform: uppercase;
  letter-spacing: 0;
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.section {
  padding: 72px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.section-heading p,
.two-column p,
.mini-card p,
.app-card p,
.cta-band p {
  color: var(--muted);
}

.muted-band {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.app-card,
.mini-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.app-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  min-height: 480px;
}

.app-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #14231e;
}

.app-card > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta span {
  padding: 6px 9px;
  border-radius: 8px;
  background: #f1f4f0;
  color: var(--muted);
  font-size: 0.82rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
}

.check-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.check-list li {
  margin-bottom: 9px;
}

.screenshot-panel {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0c1915;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.screenshot-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
}

.screenshot-panel figcaption {
  padding: 12px 14px;
  color: #dce7df;
  font-size: 0.9rem;
}

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

.mini-card {
  min-height: 168px;
  padding: 20px;
}

.mini-card .eyebrow {
  margin-bottom: 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 760;
}

.intent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intent-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 650;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band .button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  h1 {
    font-size: 4rem;
  }

  .two-column,
  .three-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 78vh;
    padding-top: 88px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.08rem;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
