:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --surface: #ffffff;
  --ink: #17201c;
  --muted: #5f6d66;
  --line: #dfe6dd;
  --green: #1f7a5c;
  --green-dark: #145f47;
  --blue: #286c93;
  --amber: #b56b1b;
  --rose: #9f3c45;
  --shadow: 0 22px 60px rgba(25, 42, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 230, 221, 0.85);
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--green-dark);
  box-shadow: 0 8px 24px rgba(20, 95, 71, 0.12);
}

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

.nav-links a {
  text-decoration: none;
}

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

.button,
.button-secondary {
  min-height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

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

.button:disabled,
.button-secondary:disabled {
  cursor: wait;
  opacity: 0.68;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  align-items: center;
  gap: 42px;
  padding: 54px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
}

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

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions,
.inline-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 28px;
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.product-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-topbar {
  height: 42px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--line);
}

.product-body {
  padding: 18px;
}

.preview-metrics,
.preview-grid {
  display: grid;
  gap: 12px;
}

.preview-metrics {
  grid-template-columns: 1.2fr 1fr 0.8fr;
  margin-bottom: 12px;
}

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

.metric-tile,
.preview-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcf9;
}

.metric-tile span,
.preview-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-tile strong {
  display: block;
  margin-top: 16px;
  color: var(--green-dark);
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.bar-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.bar-line {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eee8;
}

.bar-line span {
  display: block;
  width: var(--width);
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.section {
  padding: 72px 0;
}

.section.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef3ef;
}

.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.grid-3,
.grid-2,
.doc-grid {
  display: grid;
  gap: 16px;
}

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

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

.doc-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.card,
.callout,
.doc-nav,
.doc-panel,
.price-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(25, 42, 35, 0.07);
}

.card,
.callout,
.doc-nav,
.doc-panel,
.price-panel,
.form-panel {
  padding: 20px;
}

.card p,
.callout p,
.doc-panel p,
.price-panel p,
.form-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.check-list,
.plain-list,
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li,
.steps li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
}

.check-list li:last-child,
.plain-list li:last-child,
.steps li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "+";
  margin-right: 8px;
  color: var(--green);
  font-weight: 900;
}

.no-list li::before {
  content: "No";
  margin-right: 8px;
  color: var(--rose);
  font-weight: 900;
}

.price-panel {
  display: grid;
  gap: 16px;
}

.price {
  display: flex;
  align-items: end;
  gap: 8px;
  margin: 4px 0;
}

.price strong {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.field {
  display: grid;
  gap: 7px;
  margin: 12px 0;
}

.field label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.field input {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfcf9;
}

.status-message {
  min-height: 22px;
  color: var(--muted);
  font-weight: 800;
}

.status-message.is-error {
  color: var(--rose);
}

.code-block {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #111915;
  color: #eaf2ec;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.55;
}

.download-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.download-meta span {
  overflow-wrap: anywhere;
}

.doc-nav {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
}

.doc-nav a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

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

.doc-panel {
  margin-bottom: 16px;
  scroll-margin-top: 92px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer a {
  text-decoration: none;
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .grid-2,
  .grid-3,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .preview-metrics,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .doc-nav {
    position: static;
  }
}
