:root {
  --ink: #231915;
  --muted: #6f6257;
  --line: #e6d8c3;
  --bg: #fff8ea;
  --panel: #ffffff;
  --primary: #d99a00;
  --primary-dark: #8b5e13;
  --accent: #2f6f4e;
  --accent-soft: #eef7e8;
  --warn: #b45309;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

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

a:hover {
  color: var(--primary-dark);
}

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

.topbar {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 22px;
  font-weight: 800;
  gap: 10px;
}

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

.navlinks {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.navlinks a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.button,
button {
  align-items: center;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  gap: 8px;
  justify-content: center;
  padding: 12px 18px;
}

.button:hover {
  background: var(--primary-dark);
  color: #fff;
}

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

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

.navlinks .button {
  box-shadow: 0 12px 30px rgba(217, 154, 0, .24);
  color: #fff;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(47, 111, 78, .16), transparent 34%),
    radial-gradient(circle at 15% 20%, rgba(217, 154, 0, .18), transparent 28%),
    linear-gradient(135deg, #fff2c4 0%, #fffaf0 54%, #f3eadb 100%);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 72px;
}

.hero-grid,
.split,
.cards,
.pricing-grid,
.feature-grid,
.two-col {
  display: grid;
  gap: 24px;
}

.hero-grid {
  align-items: center;
  grid-template-columns: 1.08fr .92fr;
}

.eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(42px, 7vw, 68px);
  letter-spacing: 0;
}

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

h3 {
  font-size: 22px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.trust-row {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 16px;
}

.hero-proof {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.proof-pill {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.proof-pill strong {
  color: var(--ink);
  display: block;
  font-size: 20px;
}

.visual-card,
.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(16, 32, 51, .08);
}

.visual-card {
  overflow: hidden;
}

.product-shot {
  background: #1b1714;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(35, 25, 21, .22);
  color: #fff;
  overflow: hidden;
}

.shot-bar {
  align-items: center;
  background: #2d241d;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}

.shot-dot {
  background: #ffc233;
  border-radius: 999px;
  height: 10px;
  width: 10px;
}

.shot-body {
  display: grid;
  gap: 18px;
  grid-template-columns: .75fr 1.25fr;
  padding: 18px;
}

.shot-menu,
.shot-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 16px;
}

.shot-menu span,
.metric span {
  color: #d7c6ac;
  display: block;
  font-size: 13px;
}

.shot-menu strong,
.metric strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}

.shot-line {
  background: rgba(255,255,255,.13);
  border-radius: 999px;
  height: 10px;
  margin: 12px 0;
}

.shot-line.short {
  width: 62%;
}

.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 14px 0;
}

.metric {
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  padding: 14px;
}

.quote-preview {
  background: #fff;
  border-radius: 8px;
  color: var(--ink);
  padding: 18px;
}

.quote-preview .price {
  color: var(--primary);
  margin: 4px 0;
}

.section {
  padding: 64px 0;
}

.section.white {
  background: #fffaf0;
}

.section.soft {
  background: #fff2c4;
}

.section-head {
  margin-bottom: 30px;
  max-width: 820px;
}

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

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

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

.card,
.panel {
  padding: 24px;
}

.card p,
.panel p,
.section-head p {
  color: var(--muted);
}

.icon {
  align-items: center;
  background: var(--accent-soft);
  border: 1px solid #cfe6c1;
  border-radius: 8px;
  color: #2f6f4e;
  display: inline-flex;
  font-weight: 850;
  height: 42px;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
}

.list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.list li {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}

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

.price {
  font-size: 44px;
  font-weight: 850;
  margin: 14px 0;
}

.price small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.featured {
  border-color: var(--primary);
  box-shadow: 0 22px 60px rgba(217, 154, 0, .18);
}

.badge {
  background: #fff2c4;
  border: 1px solid #efd177;
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
}

table {
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(16, 32, 51, .07);
  overflow: hidden;
  width: 100%;
}

th,
td {
  border: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #1b1714;
  color: #fff;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
}

.comparison-table {
  min-width: 920px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  background: #fffaf0;
  color: var(--ink);
  font-weight: 800;
  min-width: 190px;
  position: sticky;
  left: 0;
}

.comparison-table td:nth-child(2) {
  background: #fff2c4;
  color: var(--ink);
  font-weight: 750;
}

.cta {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
}

.cta p {
  color: #d7e3f0;
}

.footer {
  background: #1b1714;
  color: #fff2c4;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
}

.footer a,
.footer p {
  color: #d7c6ac;
}

.footer h3 {
  color: #fff;
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  color: #b7a892;
  font-size: 14px;
  margin-top: 28px;
  padding-top: 18px;
}

.page-hero {
  background: linear-gradient(135deg, #fffaf0 0%, #fff2c4 100%);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}

.page-hero .hero-actions {
  margin-bottom: 0;
}

.doc-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  align-self: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  position: sticky;
  top: 92px;
}

.sidebar a {
  display: block;
  padding: 8px 0;
}

.content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
}

.timeline {
  border-left: 3px solid var(--primary);
  padding-left: 22px;
}

.timeline-item {
  margin-bottom: 26px;
}

.demo-calculator {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 340px;
}

.demo-form {
  display: grid;
  gap: 16px;
}

.demo-form label {
  color: var(--ink);
  display: grid;
  font-weight: 750;
  gap: 8px;
}

.demo-form select,
.demo-form input[type="range"] {
  width: 100%;
}

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

.demo-checks label {
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 650;
  padding: 12px;
}

.quote-box {
  background: #1b1714;
  border-radius: 8px;
  color: #fff;
  padding: 24px;
  position: sticky;
  top: 92px;
}

.quote-box p {
  color: #c8d6e6;
}

.quote-total {
  color: #ffc233;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin: 10px 0 18px;
}

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

.trust-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.trust-item strong {
  color: var(--ink);
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.notice {
  background: #fff2c4;
  border: 1px solid #efd177;
  border-radius: 8px;
  padding: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.demo-form select {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .two-col,
  .doc-layout,
  .demo-calculator,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .feature-grid,
  .pricing-grid,
  .trust-strip,
  .hero-proof,
  .metric-grid,
  .shot-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navlinks {
    display: none;
  }

  .navlinks.open {
    background: #fff;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0;
    left: 0;
    padding: 12px 16px 20px;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .navlinks.open a {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .sidebar {
    position: static;
  }

  .quote-box {
    position: static;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 40px;
  }

  .cards,
  .feature-grid,
  .pricing-grid,
  .trust-strip,
  .demo-checks,
  .hero-proof,
  .metric-grid,
  .shot-body {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 48px 0;
  }
}
