:root {
  --ink: #18211f;
  --muted: #5f6d67;
  --paper: #f6f0e7;
  --panel: #fffdf8;
  --line: #d8cec0;
  --green: #185a72;
  --violet: #604f9d;
  --gold: #d08a2d;
  --rust: #c45c36;
  --shadow: 0 18px 52px rgba(24, 33, 31, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  border-bottom: 1px solid rgba(24, 33, 31, 0.12);
  background: rgba(246, 240, 231, 0.94);
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  backdrop-filter: blur(14px);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fffdf8;
  font-size: 0.82rem;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 850;
  text-decoration: none;
}

.nav-button,
.primary-action {
  background: var(--green);
  color: #fff;
}

.is-disabled {
  cursor: default;
  opacity: 0.86;
}

.secondary-action {
  border: 1px solid rgba(24, 33, 31, 0.22);
  background: #fffaf1;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(24, 33, 31, 0.12);
}

.hero {
  min-height: calc(92vh - 72px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.88), rgba(24, 33, 31, 0.5), rgba(24, 33, 31, 0.08)),
    url("assets/tiny-web-tool-factory-cover.png") center right / cover no-repeat;
  padding: 8vh max(24px, calc((100vw - 1180px) / 2));
}

.hero-copy {
  max-width: 760px;
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f6c96b;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
}

.lede {
  max-width: 700px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.18rem;
  line-height: 1.55;
}

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

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.product-strip div {
  min-height: 118px;
  background: #fffaf1;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
}

.product-strip dt,
.product-strip dd {
  margin: 0;
}

.product-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-strip dd {
  margin-top: 10px;
  font-size: 1.18rem;
  font-weight: 850;
}

.product-view,
.workflow,
.buyer-band,
.final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.product-view,
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(460px, 1.25fr);
  gap: 48px;
  align-items: center;
}

.section-copy h2,
.buyer-band h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.section-copy p,
.buyer-band p,
.final-cta p,
figcaption,
.feature-band p,
.workflow p {
  color: var(--muted);
  line-height: 1.58;
}

figure {
  margin: 0;
}

figure img,
.final-cta img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.feature-band article {
  min-height: 260px;
  background: var(--ink);
  color: #fffdf8;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
}

.feature-band article:nth-child(2) {
  background: #24312e;
}

.feature-band article:nth-child(3) {
  background: #2c2742;
}

.feature-band h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.feature-band p {
  color: rgba(255, 253, 248, 0.72);
}

.workflow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.workflow li {
  min-height: 220px;
  background: #fffaf1;
  padding: 26px;
}

.workflow span {
  display: block;
  margin-bottom: 38px;
  color: var(--rust);
  font-size: 0.88rem;
  font-weight: 900;
}

.workflow p {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 750;
}

.buyer-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-cta {
  padding-bottom: 110px;
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 72vh;
    background:
      linear-gradient(90deg, rgba(24, 33, 31, 0.9), rgba(24, 33, 31, 0.58)),
      url("assets/tiny-web-tool-factory-cover.png") center / cover no-repeat;
  }

  .product-strip,
  .feature-band,
  .workflow ol,
  .buyer-band,
  .product-view,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .product-view,
  .workflow,
  .buyer-band,
  .final-cta {
    padding: 58px 0;
  }
}
