:root {
  --ink: #1c2522;
  --muted: #5f6a66;
  --paper: #f7f6f1;
  --paper-alt: #ebe9e0;
  --surface: #ffffff;
  --line: #d5d0c3;
  --accent: #c84430;
  --accent-strong: #9f2e21;
  --blue: #315e7b;
  --green: #3f7f5c;
  --amber: #d89645;
  --shadow: 0 22px 54px rgba(28, 37, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 32px;
  color: #ffffff;
  background: rgba(22, 26, 24, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 8px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  outline: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 760px;
  overflow: hidden;
  color: #ffffff;
  background: #161a18;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 13, 0.88), rgba(10, 14, 13, 0.52) 42%, rgba(10, 14, 13, 0.18)),
    linear-gradient(0deg, rgba(10, 14, 13, 0.78), rgba(10, 14, 13, 0.05) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 170px 0 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb39f;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 5.5rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.65rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.25rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(200, 68, 48, 0.32);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-strong);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 116px;
  padding: 28px 32px;
  background: var(--surface);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.proof-strip span {
  color: var(--muted);
}

.section {
  padding: 92px 32px;
}

.section-copy {
  width: min(520px, 100%);
}

.section-copy.centered {
  width: min(760px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.workflow {
  background: var(--paper-alt);
}

.workflow-grid,
.tool-grid,
.audience-grid {
  display: grid;
  width: min(1120px, 100%);
  margin: 0 auto;
  gap: 16px;
}

.workflow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.workflow-grid article,
.tool-grid article,
.audience-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.workflow-grid article {
  min-height: 250px;
  padding: 26px;
}

.workflow-grid p,
.tool-grid p,
.audience-grid p {
  color: var(--muted);
}

.step-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 900;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.feature-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--green);
  border-bottom: 3px solid var(--green);
  transform: rotate(-45deg);
}

.tool-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tool-grid article {
  min-height: 210px;
  padding: 24px;
}

.tool-grid img {
  margin-bottom: 20px;
}

.local-first {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  gap: 56px;
  align-items: start;
  background: #18211e;
  color: #ffffff;
}

.local-first .section-copy {
  justify-self: end;
}

.local-first h2 {
  max-width: 590px;
}

.local-panel {
  width: min(620px, 100%);
  color: rgba(255, 255, 255, 0.8);
}

.local-panel .check-list li {
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: #ffb39f;
  font-weight: 800;
}

.audience {
  background: var(--paper-alt);
}

.audience-grid {
  grid-template-columns: repeat(4, 1fr);
}

.audience-grid article {
  padding: 24px;
}

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1120px, calc(100% - 64px));
  margin: 92px auto;
  padding: 48px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(24, 33, 30, 0.96), rgba(49, 94, 123, 0.92)),
    url("assets/social-preview.svg") center / cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.download-copy {
  max-width: 620px;
}

.download-copy .eyebrow {
  color: #a9d7bc;
}

.download-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.8);
}

.faq {
  padding-top: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 22px;
}

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

.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  color: #ffffff;
  background: #151917;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.document-page {
  background: var(--paper);
}

.document {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 80px;
}

.document h1 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 3.4rem;
  line-height: 1;
}

.document h2 {
  margin-top: 38px;
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.document p {
  color: var(--muted);
  font-size: 1.06rem;
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    padding: 10px;
    background: rgba(22, 26, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
  }

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

  h1 {
    font-size: 4.1rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .proof-strip,
  .intro,
  .two-column,
  .feature-band,
  .local-first,
  .download {
    grid-template-columns: 1fr;
  }

  .workflow-grid,
  .tool-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .local-first .section-copy {
    justify-self: start;
  }

  .download {
    display: grid;
    width: min(100% - 40px, 1120px);
    margin: 72px auto;
    padding: 34px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: min(100% - 32px, 1120px);
    padding-bottom: 64px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .section {
    padding: 68px 20px;
  }

  .proof-strip,
  .workflow-grid,
  .tool-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid article,
  .tool-grid article {
    min-height: auto;
  }

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