:root {
  --bg: #f5f1e8;
  --bg-strong: #e7decb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdf7;
  --text: #15221d;
  --muted: #526058;
  --line: rgba(21, 34, 29, 0.12);
  --accent: #bf5d36;
  --accent-deep: #8d3f22;
  --accent-soft: #f4d0bd;
  --green: #305845;
  --shadow: 0 22px 60px rgba(34, 38, 26, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(191, 93, 54, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(48, 88, 69, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf8f0 0%, var(--bg) 40%, #f7f2e7 100%);
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 240, 0.8);
  border-bottom: 1px solid var(--line);
}

.header-row,
.footer-row,
.hero-grid,
.proof-grid,
.brand-grid,
.split-layout,
.framework-list,
.automation-grid,
.channel-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.header-row {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
}

.brandmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brandmark-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  color: var(--accent-deep);
}

.brandmark-name {
  font-size: 1.18rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.98rem;
}

.site-nav a {
  color: var(--muted);
}

.site-nav .nav-cta {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

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

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  max-width: 16ch;
}

h3 {
  font-size: 1.35rem;
}

p,
li,
summary {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

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

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

.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.hero-panel,
.signal-stack,
.section-head,
.pyramid-wrap,
.faq-list {
  display: grid;
  gap: 18px;
}

.signal-card,
.brand-card,
.note-card,
.framework-item,
.automation-card,
.channel-card,
.contact-card,
.ops-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-card-accent {
  background: linear-gradient(145deg, rgba(191, 93, 54, 0.98), rgba(114, 43, 23, 0.92));
  color: #fff7f1;
}

.signal-card-accent .signal-label,
.signal-card-accent .signal-note {
  color: rgba(255, 247, 241, 0.88);
}

.signal-label,
.proof-label,
.brand-tag {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-value,
.proof-number {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  color: var(--text);
}

.signal-card-accent .signal-value {
  color: #fff;
}

.proof-strip {
  padding: 26px 0;
  background: rgba(21, 34, 29, 0.94);
}

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

.proof-grid div {
  padding: 12px 0;
}

.proof-grid .proof-number,
.proof-grid .proof-label {
  color: #f9f1e4;
}

.section-alt {
  background: linear-gradient(180deg, rgba(231, 222, 203, 0.52), rgba(255, 255, 255, 0.24));
}

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

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

.brand-card {
  position: relative;
  overflow: hidden;
}

.brand-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 93, 54, 0.14), transparent 68%);
}

.brand-card a,
.channel-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-deep);
  font-weight: 700;
}

.pyramid-wrap {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.pyramid {
  display: grid;
  gap: 16px;
}

.pyramid-layer {
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.layer-top {
  width: 58%;
  margin: 0 auto;
  background: #244235;
}

.layer-middle {
  width: 78%;
  margin: 0 auto;
  background: #7f3a26;
}

.layer-bottom {
  width: 100%;
  background: #d27a4a;
}

.pyramid-layer h3,
.pyramid-layer p {
  color: #fff7f0;
}

.split-layout {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

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

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

.ops-panel {
  margin-top: 24px;
  background: linear-gradient(135deg, rgba(48, 88, 69, 0.98), rgba(20, 38, 31, 0.94));
}

.ops-panel h3,
.ops-panel li {
  color: #f5f9f6;
}

.ops-panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.faq-list details {
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.68);
}

summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-grid {
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
}

.contact-card span {
  color: var(--accent-deep);
}

.section-footnote {
  margin-top: 18px;
  font-size: 0.95rem;
}

.site-footer {
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-row {
  grid-template-columns: 1fr auto;
  align-items: center;
}

@media (max-width: 980px) {
  .header-row {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .brand-grid,
  .pyramid-wrap,
  .split-layout,
  .framework-list,
  .automation-grid,
  .channel-grid,
  .contact-grid,
  .proof-grid,
  .footer-row {
    grid-template-columns: 1fr;
  }

  .layer-top,
  .layer-middle,
  .layer-bottom {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 64px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  h1 {
    max-width: 100%;
  }

  .signal-card,
  .brand-card,
  .note-card,
  .framework-item,
  .automation-card,
  .channel-card,
  .contact-card,
  .ops-panel,
  .faq-list details {
    padding: 20px;
    border-radius: 20px;
  }
}
