:root {
  color-scheme: light;
  --page: #f7f3ea;
  --paper: #fffdf8;
  --paper-strong: #ffffff;
  --ink: #171a18;
  --ink-soft: #303832;
  --muted: #68726b;
  --line: #ddd6c7;
  --line-strong: #cfc4af;
  --primary: #075f4e;
  --primary-strong: #024236;
  --primary-soft: #e3f2eb;
  --accent: #c9972d;
  --accent-soft: #fff3cf;
  --success: #0f7c55;
  --warning: #b87503;
  --error: #bf2f44;
  --shadow: 0 22px 60px rgba(23, 26, 24, 0.09);
  --radius: 8px;
  --wrap: min(1180px, calc(100% - 40px));
  font-family:
    Inter, "Segoe UI", Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: var(--page);
  color: var(--ink);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(23, 26, 24, 0.035) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--page);
  color: var(--ink);
}

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

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  overflow: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  border-bottom: 1px solid transparent;
  background: rgba(247, 243, 234, 0.9);
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.topbar.elevated {
  border-bottom-color: rgba(221, 214, 199, 0.9);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 38px rgba(23, 26, 24, 0.08);
}

.brand,
.nav-links,
.nav-actions,
.hero-actions,
.proof-strip,
.site-footer,
.final-cta-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 950;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  font-size: 15px;
}

.nav-links {
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--ink-soft);
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 850;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-actions {
  justify-content: flex-end;
  gap: 8px;
}

.nav-cta,
.ghost-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 17px;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.nav-cta,
.primary-action {
  border: 1px solid var(--primary-strong);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 32px rgba(7, 95, 78, 0.18);
}

.ghost-action,
.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

.nav-cta:hover,
.primary-action:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(7, 95, 78, 0.22);
}

.ghost-action:hover,
.secondary-action:hover {
  border-color: var(--line-strong);
  background: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  align-items: stretch;
  width: 100%;
  min-height: min(760px, calc(92svh - 76px));
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  padding: 0;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 16, 14, 0.05) 0%, rgba(12, 16, 14, 0.28) 42%, rgba(12, 16, 14, 0.82) 100%),
    linear-gradient(0deg, rgba(12, 16, 14, 0.24), rgba(12, 16, 14, 0));
  z-index: -1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: var(--wrap);
  min-height: inherit;
  margin: 0 auto;
  padding: 46px 0 72px;
  color: #fff;
  text-align: right;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #bedfd1;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  width: min(620px, 100%);
  margin-bottom: 18px;
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  width: min(590px, 100%);
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.8;
}

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

.proof-strip {
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.proof-strip div {
  min-width: 132px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 12px 14px;
}

.proof-strip dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.proof-strip dd {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 950;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: var(--wrap);
  overflow: hidden;
  margin: 0 auto 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-item {
  background: rgba(255, 253, 248, 0.82);
  padding: 22px;
}

.trust-item.reveal {
  opacity: 1;
  transform: none;
}

.trust-item span,
.trust-item strong {
  display: block;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.trust-item strong {
  margin-top: 7px;
  font-size: 18px;
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  width: min(820px, 100%);
}

.section-heading h2,
.solution-copy h2,
.final-cta-copy h2,
.download-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.solution-copy p,
.final-cta-copy p,
.download-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.problem-board {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
  gap: 14px;
  margin-top: 30px;
}

.problem-board article {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.problem-board article:nth-child(2) {
  transform: translateY(34px);
  background: #fff;
}

.problem-board span,
.feature-slice small,
.workflow-step span,
.price-card span,
.download-meta span,
.download-card small {
  color: var(--primary);
  font-weight: 950;
  text-transform: uppercase;
}

.problem-board h3 {
  margin: 54px 0 13px;
  font-size: 28px;
  line-height: 1.18;
}

.problem-board p,
.feature-slice p,
.workflow-step p,
.usecase-item span,
.result-card span,
.price-card p,
.faq-list p,
.download-card p,
.download-note p {
  color: var(--muted);
  line-height: 1.75;
}

.solution-section {
  border-top: 1px solid #202820;
  border-bottom: 1px solid #202820;
  background: #111713;
  color: #fff;
}

.solution-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 42px;
  align-items: start;
}

.solution-section .section-kicker {
  border-color: #225a49;
  background: #183c32;
  color: #9ce4c3;
}

.solution-copy p {
  color: #cbd7cf;
}

.feature-rail {
  display: grid;
  gap: 12px;
}

.feature-slice {
  display: grid;
  grid-template-columns: 110px minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 20px;
}

.feature-slice small {
  color: #9ce4c3;
}

.feature-slice h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.feature-slice p {
  margin-bottom: 0;
  color: #cbd7cf;
}

.workflow-grid,
.pricing-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.workflow-step {
  position: relative;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.workflow-step::after {
  position: absolute;
  inset-inline-end: 24px;
  bottom: 24px;
  width: 42px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.workflow-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-soft);
}

.workflow-step h3 {
  margin: 44px 0 12px;
  font-size: 28px;
}

.usecase-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.usecase-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  border-block-start: 1px solid var(--line);
  padding: 22px 0;
}

.usecase-item:last-child {
  border-block-end: 1px solid var(--line);
}

.usecase-item b {
  font-size: 24px;
}

.results-band {
  background: var(--primary);
  color: #fff;
}

.results-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.result-card {
  min-height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 22px;
}

.result-card strong {
  display: block;
  margin-bottom: 42px;
  font-size: 36px;
}

.result-card span {
  color: #dceee7;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

.price-card.recommended {
  border-color: #9dcbbb;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card small {
  position: absolute;
  inset-inline-start: 18px;
  top: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--warning);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
}

.price-card span {
  display: block;
  margin-bottom: 42px;
}

.price-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.price-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-top: auto;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 950;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.price-card a:hover,
.price-card.recommended a {
  background: var(--primary);
  color: #fff;
}

.price-card a:hover {
  transform: translateY(-1px);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 950;
}

.faq-list p {
  margin: 14px 0 0;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: var(--wrap);
  margin: 0 auto 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 58px);
}

.final-cta-copy p:not(.section-kicker) {
  width: min(720px, 100%);
  margin-bottom: 0;
}

.final-cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  width: var(--wrap);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0 34px;
  font-size: 13px;
  font-weight: 850;
}

.downloads-main {
  padding-top: 0;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 34px;
  align-items: end;
  width: var(--wrap);
  margin: 0 auto;
  padding: 46px 0 34px;
}

.download-meta {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 20px;
}

.download-meta strong {
  font-size: 28px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
  width: var(--wrap);
  margin: 0 auto;
  padding-bottom: 48px;
}

.download-card,
.download-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 16px 45px rgba(23, 26, 24, 0.07);
  padding: 22px;
}

.download-card.reveal,
.download-note.reveal {
  opacity: 1;
  transform: none;
}

.download-card.primary-download {
  background: #111713;
  color: #fff;
}

.download-card.primary-download p {
  color: #cbd7cf;
}

.download-card h2 {
  margin: 28px 0 12px;
  font-size: 32px;
}

.download-card .primary-action,
.download-card .secondary-action {
  width: 100%;
  margin-top: 18px;
}

.download-card.primary-download .secondary-action {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hash-box {
  margin-top: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 12px;
}

.hash-box span {
  display: block;
  color: #a8b9b0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hash-box code {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 8px;
  color: #fff;
  direction: ltr;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.6;
}

.download-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: var(--wrap);
  margin: 0 auto;
  padding: 0 0 80px;
}

.download-note h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.download-note ul {
  margin: 0;
  padding-inline-start: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.legacy-link {
  color: var(--primary);
  font-weight: 950;
}

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

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

.hero-copy.reveal,
.download-hero .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .solution-inner,
  .download-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

  .feature-slice {
    grid-template-columns: 1fr;
  }

  .problem-board,
  .workflow-grid,
  .results-grid,
  .pricing-grid,
  .download-grid,
  .download-notes {
    grid-template-columns: 1fr;
  }

  .problem-board article:nth-child(2) {
    transform: none;
  }

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

@media (max-width: 760px) {
  :root {
    --wrap: calc(100% - 24px);
  }

  body {
    background: var(--page);
  }

  .topbar {
    min-height: 68px;
    padding: 0 12px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand span {
    font-size: 13px;
  }

  .ghost-action {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(12, 16, 14, 0.86) 0%, rgba(12, 16, 14, 0.58) 52%, rgba(12, 16, 14, 0.12) 100%);
  }

  .hero-bg {
    object-position: 34% center;
  }

  .hero-copy {
    justify-content: flex-end;
    align-items: stretch;
    padding: 44px 0 44px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .trust-band,
  .usecase-item,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading h2,
  .solution-copy h2,
  .final-cta-copy h2,
  .download-hero h1 {
    font-size: clamp(30px, 8.8vw, 40px);
  }

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

  .final-cta-actions {
    justify-content: stretch;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-hero {
    padding-top: 28px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
