:root {
  --ink: #38291f;
  --muted: #765f4f;
  --line: #dfcdbb;
  --paper: #fffaf4;
  --soft: #f2e6d9;
  --brand: #8b5e34;
  --brand-dark: #4d3020;
  --accent: #c89255;
  --ok: #4f7a52;
  --alert: #a63f30;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(16px, 5vw, 58px);
  border-bottom: 1px solid rgba(77, 48, 32, 0.16);
  background: rgba(255, 250, 244, 0.94);
  backdrop-filter: blur(12px);
}

.site-brand img {
  display: block;
  width: 300px;
  max-width: 52vw;
}

nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav a,
.back-link {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

.site-header nav a {
  padding: 8px 10px;
  border-radius: 8px;
}

.site-header nav a:hover {
  background: #f5e7d6;
}

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

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(18px, 4vw, 42px) clamp(18px, 6vw, 76px) clamp(28px, 5vw, 58px);
  background: #fffaf4;
}

.hero-copy {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(46px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.02;
}

h3 {
  font-size: 20px;
}

.claim {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(19px, 2.5vw, 26px);
  line-height: 1.35;
}

.hero-actions,
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.hero-facts span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
}

.hero-facts strong {
  color: var(--ink);
}

.product-shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 22px 54px rgba(77, 48, 32, 0.16);
}

.product-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 1.487 / 1;
  object-fit: cover;
  object-position: left top;
}

.price-card,
.section article,
.faq details,
.form-section form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(77, 48, 32, 0.1);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0;
}

.split,
.offer,
.form-section,
.purchase-hero,
.purchase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.split p,
.offer p,
.multi-company p,
.form-section p,
.purchase-section p,
.section article p,
.faq p,
.legal-page p {
  color: var(--muted);
  line-height: 1.55;
}

.section-title {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.cards,
.feature-grid,
.integrations,
.benefits,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.section article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.cards article {
  align-content: start;
  padding: 10px;
}

.cards article img {
  display: block;
  width: 100%;
  aspect-ratio: 1.64 / 1;
  object-fit: cover;
  object-position: left top;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.cards article span,
.cards article h3,
.cards article p {
  margin-right: 8px;
  margin-left: 8px;
}

.section article span {
  color: var(--accent);
  font-weight: 900;
}

.multi-company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
}

.company-stack {
  display: grid;
  gap: 10px;
}

.company-stack div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4e5d4;
}

.company-stack strong {
  font-size: 18px;
}

.company-stack span {
  color: var(--muted);
  font-weight: 850;
}

.benefits article {
  background: #fffaf4;
}

.wide-proof {
  grid-column: span 2;
}

.example-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
}

.example-table div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.example-table div:last-child {
  border-bottom: 0;
}

.example-table span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.backup-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
}

.backup-band p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.backup-example {
  display: grid;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4e5d4;
}

.backup-example strong {
  word-break: break-word;
}

.backup-example span {
  padding: 9px 10px;
  border-radius: 6px;
  background: #fffaf4;
  color: var(--muted);
  font-weight: 850;
}

.text-link {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.section article small.ok,
.section article small.todo {
  width: max-content;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.section article small.ok {
  color: #315f35;
  background: #e8f5e4;
}

.section article small.todo {
  color: #87512a;
  background: #f9e8d4;
}

.offer {
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
}

.offer .eyebrow,
.offer p {
  color: #f2d7b9;
}

.price-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  color: var(--ink);
}

.purchase-summary,
.purchase-form,
.privacy-request {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(77, 48, 32, 0.1);
}

.purchase-summary strong {
  font-size: 64px;
  line-height: 1;
}

.purchase-summary span,
.purchase-summary small,
.purchase-footnote {
  color: var(--muted);
  font-weight: 850;
}

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

.form-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.notice.success {
  color: #315f35;
}

.notice.error {
  color: var(--alert);
}

.price-card strong {
  font-size: 64px;
  line-height: 1;
}

.price-card small,
.notice {
  color: var(--muted);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process li {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.process span {
  color: var(--muted);
  line-height: 1.4;
}

.form-section form {
  display: grid;
  gap: 10px;
  padding: 18px;
}

input,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.check input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

footer {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 24px clamp(16px, 5vw, 58px);
  border-top: 1px solid var(--line);
  background: #fffaf4;
}

footer img {
  width: 64px;
}

footer div {
  display: grid;
  gap: 3px;
  margin-right: auto;
}

footer span {
  color: var(--muted);
  font-size: 13px;
}

.legal-body {
  background: #fffaf4;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.legal-page h1 {
  margin: 18px 0;
  font-size: clamp(34px, 7vw, 58px);
}

.legal-page h2 {
  margin: 24px 0 8px;
  font-size: 22px;
}

.legal-page ul {
  color: var(--muted);
  line-height: 1.55;
}

.privacy-request {
  margin-top: 22px;
}

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

  .site-header nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .hero,
  .split,
  .offer,
  .multi-company,
  .form-section,
  .purchase-hero,
  .purchase-section,
  .backup-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards,
  .feature-grid,
  .integrations,
  .benefits,
  .proof-grid,
  .process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-proof {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 22px 16px;
  }

  .cards,
  .feature-grid,
  .integrations,
  .benefits,
  .proof-grid,
  .process ol {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

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

  footer nav {
    flex-wrap: wrap;
  }
}
