:root {
  color-scheme: light;
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-2: #e7efe9;
  --ink: #202124;
  --muted: #5f6368;
  --line: #d7d2c6;
  --brand: #19706c;
  --brand-dark: #0f3f3d;
  --accent: #b35b2d;
  --accent-soft: #f4ddce;
  --blue: #244f88;
  --yellow: #f2c14e;
  --success: #276749;
  --shadow: 0 22px 52px rgba(31, 38, 34, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.64);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0 56px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.hero.product-hero {
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 54px;
  min-height: calc(100vh - 72px);
  padding: 72px 0 44px;
}

.hero-copy {
  position: relative;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-weight: 760;
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  max-width: 820px;
}

.product-hero h1 {
  font-size: clamp(48px, 6.4vw, 84px);
  max-width: 780px;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  font-size: 22px;
}

.lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 650px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.proof-row li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(15, 63, 61, 0.18);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
  font-weight: 760;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 63, 61, 0.16);
}

.button.secondary {
  background: transparent;
  color: var(--brand-dark);
}

.button.ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.product-shot {
  border: 1px solid rgba(32, 33, 36, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-stage {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(15, 63, 61, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 63, 61, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(15, 63, 61, 0.05) 1px, transparent 1px),
    #f7f4ec;
  background-size: 28px 28px;
  box-shadow: var(--shadow);
}

.screen-stage::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 34px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #29b565;
  box-shadow: 18px 0 0 #f2c14e, 36px 0 0 #c8513a;
  z-index: 2;
}

.screen-stage .product-shot {
  box-shadow: none;
}

.format-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.format-pill {
  border: 1px solid rgba(15, 63, 61, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
}

.format-pill strong {
  display: block;
  color: var(--brand-dark);
  font-size: 13px;
}

.format-pill span {
  color: var(--muted);
  font-size: 12px;
}

.product-shot img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: #fffdf8;
  border-top: 1px solid rgba(32, 33, 36, 0.08);
  border-bottom: 1px solid rgba(32, 33, 36, 0.08);
}

.section.dark {
  background: #142321;
  color: #f8f4eb;
}

.section.dark .lead,
.section.dark p {
  color: #cdd9d3;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(248, 244, 235, 0.16);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(248, 244, 235, 0.16);
}

.workflow-step {
  background: #182d2a;
  padding: 26px;
}

.workflow-step b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--yellow);
  color: #13201f;
}

.mini-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 13px;
}

.mini-table th,
.mini-table td {
  border-bottom: 1px solid rgba(248, 244, 235, 0.14);
  padding: 9px 0;
  text-align: left;
}

.mini-table th {
  color: #fff7e6;
}

.mini-code {
  margin: 18px 0 0;
  border: 1px solid rgba(248, 244, 235, 0.14);
  border-radius: 8px;
  background: #0e1918;
  padding: 14px;
  color: #dcefe8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  overflow: auto;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
}

.card.featured {
  border-color: rgba(25, 112, 108, 0.42);
  background: #f7fffb;
  box-shadow: 0 16px 34px rgba(25, 112, 108, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #7b3518;
  font-size: 13px;
  font-weight: 800;
}

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

.product-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.product-card img {
  width: 168px;
  border-radius: 8px;
  border: 1px solid rgba(32, 33, 36, 0.08);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  background: #fbfaf6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 42px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}

.check {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #dbeee6;
  color: var(--success);
  font-weight: 900;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.price {
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
  margin: 16px 0;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}

.price-wrap .price {
  margin: 0;
}

.was-price {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 700;
}

.fine-print,
.legal-meta {
  color: var(--muted);
  font-size: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 760px);
  gap: 48px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.legal-nav a {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.legal-content h2 {
  font-size: 26px;
  margin-top: 34px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  padding-left: 22px;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid rgba(32, 33, 36, 0.08);
  background: #fffdf8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 860px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    gap: 10px;
    font-size: 13px;
  }

  .hero,
  .split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero.product-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero {
    padding-top: 54px;
  }

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

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

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 14px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .hero {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .product-hero h1 {
    font-size: 42px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card img {
    width: 100%;
  }

  .legal-content {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
