:root {
  color-scheme: light;
  --bg: #f6f2e8;
  --surface: #fffaf0;
  --ink: #161816;
  --muted: #61665d;
  --line: #d9d0bd;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --warm: #d97706;
  --charcoal: #202822;
  --shadow: 0 24px 70px rgba(30, 34, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(246, 242, 232, 0.9);
  border-bottom: 1px solid rgba(217, 208, 189, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fffaf0;
  font-size: 13px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

.nav a,
.footer a,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--accent-dark);
}

.top-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 250, 240, 0.8);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  min-height: calc(100vh - 78px);
  padding: clamp(38px, 6vw, 82px) clamp(18px, 4vw, 56px) 34px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  color: #3d433c;
  font-size: clamp(19px, 2vw, 25px);
}

.hero-actions,
.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px) clamp(54px, 8vw, 96px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.strip div {
  min-height: 112px;
  padding: 22px;
  background: var(--surface);
}

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

.strip strong {
  margin-bottom: 6px;
  font-size: 21px;
}

.strip span,
.feature-grid p,
.showcase-copy p,
.page-head p,
.promo-grid p,
.cta p {
  color: var(--muted);
}

.section,
.showcase,
.promo-preview,
.page-head,
.promo-grid,
.cta,
.footer {
  margin-right: clamp(18px, 4vw, 56px);
  margin-left: clamp(18px, 4vw, 56px);
}

.section,
.promo-preview {
  padding: clamp(52px, 7vw, 92px) 0;
}

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

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

.feature-grid article,
.promo-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-grid article {
  min-height: 250px;
  padding: 24px;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(52px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.showcase-media {
  overflow: hidden;
  border-radius: 8px;
}

.showcase-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.showcase-copy {
  max-width: 560px;
}

.promo-row,
.example-grid,
.example-stack {
  display: grid;
  gap: 18px;
}

.promo-row {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 22px;
}

.promo-row img {
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(30, 34, 28, 0.12);
}

.example-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
}

.example-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.example-grid img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.example-grid div {
  padding: 18px;
}

.example-grid h3 {
  min-height: 54px;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.15;
}

.example-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.example-stack {
  gap: clamp(24px, 4vw, 44px);
}

.example-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(18px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.example-showcase.reverse .example-media {
  order: 2;
}

.example-showcase.reverse .example-copy {
  order: 1;
}

.example-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 34, 28, 0.14);
}

.example-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.example-copy {
  max-width: 560px;
}

.example-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
}

.example-copy p:not(.eyebrow) {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
}

.cta {
  flex-direction: column;
  align-items: flex-start;
  margin-top: clamp(34px, 6vw, 72px);
  margin-bottom: clamp(44px, 7vw, 86px);
  padding: clamp(34px, 5vw, 56px);
  border-radius: 8px;
  background: var(--charcoal);
  color: white;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  max-width: 650px;
  color: #d7ddcf;
}

.payment-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.payment-card {
  width: min(680px, 100%);
  margin: 0;
}

.page-head {
  max-width: 820px;
  padding: clamp(48px, 7vw, 92px) 0 26px;
}

.page-head h1 {
  font-size: clamp(42px, 7vw, 92px);
}

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

.promo-grid article {
  overflow: hidden;
}

.promo-grid img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.promo-grid h2 {
  margin: 18px 18px 8px;
  font-size: 22px;
  line-height: 1.12;
}

.promo-grid p {
  margin: 0 18px 22px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero,
  .showcase,
  .example-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .promo-grid,
  .example-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .example-showcase.reverse .example-media,
  .example-showcase.reverse .example-copy {
    order: initial;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .top-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .strip,
  .promo-row,
  .promo-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .example-grid h3 {
    min-height: 0;
  }

  .strip {
    margin-bottom: 34px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: auto;
  }

  .footer {
    justify-content: flex-start;
  }
}
