:root {
  --bg: #f7f5ef;
  --ink: #171411;
  --muted: #6b6258;
  --line: #ded4c6;
  --panel: #ffffff;
  --accent: #d43d2c;
  --accent-dark: #a72d22;
  --gold: #f3b23d;
  --green: #17694a;
  --shadow: 0 18px 48px rgba(41, 29, 18, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.topbar {
  align-items: center;
  background: rgba(247, 245, 239, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 8px;
  color: var(--gold);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  padding: 10px 12px;
  text-decoration: none;
}

.nav a:hover {
  background: #ebe2d4;
  color: var(--ink);
}

.hero {
  background:
    linear-gradient(90deg, rgba(23, 20, 17, 0.92), rgba(23, 20, 17, 0.28)),
    url("https://images.unsplash.com/photo-1556745757-8d76bdb6984b?auto=format&fit=crop&w=1800&q=85") center/cover;
  color: white;
  min-height: min(690px, calc(100vh - 74px));
  padding: clamp(58px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: var(--gold);
}

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

h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 980px;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0;
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
  max-width: 680px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.primary-action {
  align-items: center;
  background: var(--accent);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  text-decoration: none;
}

.primary-action:hover {
  background: var(--accent-dark);
}

.secondary-link,
.text-action {
  color: white;
  font-weight: 900;
}

.proof-strip {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-strip span {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px clamp(18px, 5vw, 42px);
}

.section {
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 72px);
}

.muted-section {
  background: #ece4d8;
}

.section-heading {
  margin-bottom: 24px;
  max-width: 880px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 14px 0 0;
  max-width: 720px;
}

.section-heading.split {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  max-width: none;
}

.section-heading.split .text-action {
  color: var(--accent);
  white-space: nowrap;
}

.benefit-grid,
.demo-grid,
.pricing-grid {
  display: grid;
  gap: 18px;
}

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

.benefit-card,
.price-card,
.demo-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(41, 29, 18, 0.08);
  overflow: hidden;
}

.benefit-card,
.price-card {
  padding: 22px;
}

.icon-box {
  align-items: center;
  background: #fff0d7;
  border: 1px solid #efc579;
  border-radius: 8px;
  color: #6d4208;
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 18px;
  width: 46px;
}

.benefit-card h3,
.demo-card h3,
.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.benefit-card p,
.demo-card p,
.price-card li,
.cta-section p {
  color: var(--muted);
  line-height: 1.5;
}

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

.demo-card {
  display: grid;
  grid-template-rows: 190px 1fr;
}

.demo-card.featured-demo {
  border-color: rgba(34, 116, 74, 0.36);
  box-shadow: var(--shadow);
}

.demo-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.demo-card div {
  padding: 18px;
}

.demo-card a,
.demo-card span {
  color: var(--green);
  font-weight: 900;
}

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

.price-card.featured {
  border-color: #efc579;
  box-shadow: var(--shadow);
}

.price {
  font-size: 2rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.price small,
.monthly {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-left: 18px;
}

.cta-section {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(40px, 7vw, 84px) clamp(18px, 5vw, 72px);
}

.cta-section div {
  max-width: 760px;
}

@media (max-width: 960px) {
  .proof-strip,
  .benefit-grid,
  .demo-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.split,
  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    overflow-x: auto;
    width: 100%;
  }

  .hero {
    min-height: 620px;
  }

  .proof-strip,
  .benefit-grid,
  .demo-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
