:root {
  --bg: #f4efe4;
  --bg-soft: #efe7d8;
  --panel: rgba(255, 251, 244, 0.8);
  --panel-strong: #fffaf1;
  --text: #1a1a18;
  --muted: #5f5b54;
  --line: rgba(26, 26, 24, 0.12);
  --accent: #9e3f18;
  --accent-dark: #732d12;
  --shadow: 0 22px 50px rgba(46, 31, 20, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(190, 116, 54, 0.15), transparent 28%),
    radial-gradient(circle at top right, rgba(70, 93, 96, 0.14), transparent 32%),
    linear-gradient(180deg, #f8f3e8 0%, #f0e7d7 100%);
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.75);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 16px;
  z-index: 10;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 0 14px 24px rgba(32, 24, 17, 0.22);
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-tag,
.eyebrow,
.card-kicker,
.panel-label,
.contact-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a.active {
  background: rgba(26, 26, 24, 0.07);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  padding: 52px 0 34px;
  align-items: stretch;
  position: relative;
}

.hero-copy,
.hero-panel,
.card,
.feature,
.proof-card,
.contact-card,
.cta {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 34px;
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.96), rgba(244, 234, 214, 0.82));
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(158, 63, 24, 0.08), transparent 38%),
    radial-gradient(circle at 88% 14%, rgba(79, 103, 107, 0.18), transparent 18%),
    linear-gradient(rgba(26, 26, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 24, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 22px 22px, 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 95%);
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -54px;
  top: 24px;
  width: 220px;
  height: 220px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(31, 36, 38, 0.95), rgba(77, 39, 21, 0.9));
  box-shadow: 0 20px 60px rgba(41, 26, 17, 0.16);
  transform: rotate(14deg);
  opacity: 0.16;
  pointer-events: none;
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 11ch;
}

.lead {
  margin: 0 0 26px;
  font-size: 1.14rem;
  line-height: 1.7;
  max-width: 61ch;
  color: var(--muted);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-metrics span,
.section-heading p,
.card p,
.feature p,
.proof-card p,
.cta-copy p,
.signal-list li,
.channel-column li,
.footer,
.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 140ms ease, background 140ms ease, color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fffaf4;
}

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

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.button.full {
  width: 100%;
}

.hero-panel {
  border-radius: 30px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(29, 32, 34, 0.92), rgba(57, 43, 33, 0.88));
  color: #f5efe6;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 194, 133, 0.16), transparent 26%),
    linear-gradient(rgba(255, 246, 234, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 246, 234, 0.06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.hero-panel .panel-label {
  color: rgba(255, 243, 228, 0.72);
  margin-bottom: 16px;
}

.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.signal-list li {
  color: rgba(255, 244, 230, 0.88);
  padding: 0 0 14px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 244, 230, 0.12);
}

.signal-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef9b55;
  position: absolute;
  left: 0;
  top: 9px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 56%;
  top: 24px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(158, 63, 24, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.section {
  padding: 30px 0;
}

.page-hero {
  padding: 46px 0 18px;
}

.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
  max-width: 13ch;
}

.narrow-lead {
  max-width: 56ch;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

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

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

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

.card,
.feature,
.proof-card {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature.tall,
.contact-card.large {
  min-height: 100%;
}

.card h3,
.feature h3,
.proof-card h3,
.channel-column h3,
.cta-copy h2 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.band {
  margin: 8px 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(130deg, rgba(107, 33, 4, 0.9), rgba(37, 53, 59, 0.88));
  box-shadow: var(--shadow);
}

.band .section-heading,
.band h2,
.band h3 {
  color: #fff6ea;
}

.band .eyebrow,
.band li,
.band p {
  color: rgba(255, 244, 230, 0.82);
}

.channel-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.channel-column {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 244, 230, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.channel-column ul {
  margin: 0;
  padding-left: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
  border-radius: 34px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 251, 244, 0.96), rgba(240, 231, 216, 0.84));
}

.contact-card {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-of-type {
  margin-bottom: 18px;
}

.contact-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-row strong {
  font-size: 1rem;
  line-height: 1.4;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px 6px;
  font-size: 0.95rem;
}

.footer-note {
  max-width: 520px;
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .three-up,
  .two-up,
  .channel-layout,
  .proof-grid,
  .cta,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar,
  .hero-copy,
  .hero-panel,
  .band,
  .cta {
    padding: 22px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    max-width: none;
  }

  .nav {
    gap: 12px;
  }
}
