:root {
  --ink: #101820;
  --paper: #ffffff;
  --mist: #f4f6ff;
  --red: #ff4d3d;
  --green: #00a884;
  --gold: #f5c542;
  --blue: #2458ff;
  --line: #d9deea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
}

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

.hero {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0.48)),
    url("assets/hero-board.png") center / cover;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.nav a {
  border: 1px solid rgba(255, 255, 255, 0.62);
  padding: 9px 14px;
  background: rgba(16, 24, 32, 0.34);
  font: 700 14px/1.1 "Trebuchet MS", Verdana, sans-serif;
}

.hero-content {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font: 800 14px/1.3 "Trebuchet MS", Verdana, sans-serif;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(52px, 9vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 670px;
  margin: 26px 0 0;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.35;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid var(--paper);
  font: 800 15px/1 "Trebuchet MS", Verdana, sans-serif;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.button.secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
}

.band {
  padding: 74px max(16px, calc((100vw - 1120px) / 2));
}

.band.compact {
  padding-top: 42px;
  padding-bottom: 42px;
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.proof-strip span {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font: 800 18px/1.25 "Trebuchet MS", Verdana, sans-serif;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.offer-card {
  min-height: 300px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.offer-card .price {
  display: inline-block;
  margin: 0 0 30px;
  padding: 8px 10px;
  color: var(--ink);
  font: 900 19px/1 "Trebuchet MS", Verdana, sans-serif;
}

.offer-card h3 {
  min-height: 68px;
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.offer-card p {
  font-size: 18px;
  line-height: 1.36;
}

.offer-card .deposit {
  margin-top: 20px;
  font: 900 16px/1.2 "Trebuchet MS", Verdana, sans-serif;
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font: 900 16px/1.2 "Trebuchet MS", Verdana, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.accent-red .price {
  background: var(--red);
  color: var(--paper);
}

.accent-blue .price {
  background: var(--blue);
  color: var(--paper);
}

.accent-green .price {
  background: var(--green);
}

.accent-gold .price {
  background: var(--gold);
}

.samples {
  background: var(--mist);
}

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

.proof-callout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 24px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.proof-callout h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
}

.proof-callout p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.35;
}

.proof-hero {
  min-height: 58vh;
  padding: 28px max(16px, calc((100vw - 1120px) / 2)) 72px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.54)),
    url("assets/hero-board.png") center / cover;
}

.proof-hero.case-hero {
  min-height: 64vh;
}

.proof-hero.automation-case {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.52)),
    url("assets/automation-flow.png") center / cover;
}

.proof-hero.landing-case {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9), rgba(16, 24, 32, 0.48)),
    url("assets/landing-rescue.png") center / cover;
}

.proof-hero.poster-case {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.88), rgba(16, 24, 32, 0.44)),
    url("assets/poster-rescue.png") center / cover;
}

.proof-hero .back-link {
  color: var(--paper);
}

.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.case-grid figure {
  margin: 0;
}

.case-grid img {
  width: 100%;
  display: block;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
}

.case-grid p,
.case-list {
  font-size: 20px;
  line-height: 1.45;
}

.case-list {
  margin: 24px 0 0;
  padding-left: 22px;
}

.case-list li + li {
  margin-top: 10px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 40px;
  font: 900 14px/1 "Trebuchet MS", Verdana, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.artifact-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 22px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
}

.artifact-card .price {
  align-self: flex-start;
  margin: 0 0 24px;
  padding: 8px 10px;
  background: var(--blue);
  color: var(--paper);
  font: 900 19px/1 "Trebuchet MS", Verdana, sans-serif;
}

.artifact-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.artifact-card p {
  font-size: 18px;
  line-height: 1.36;
}

.artifact-card a {
  margin-top: auto;
  color: var(--blue);
  font: 900 16px/1.2 "Trebuchet MS", Verdana, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
}

figure {
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 820;
  object-fit: cover;
}

figcaption {
  min-height: 92px;
  padding: 18px;
  border-top: 3px solid var(--ink);
  font: 700 17px/1.35 "Trebuchet MS", Verdana, sans-serif;
}

.process {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 24, 32, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  min-height: 180px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  font-size: 19px;
  line-height: 1.36;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step);
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--red);
  color: var(--paper);
  font: 900 22px/1 "Trebuchet MS", Verdana, sans-serif;
}

.contact {
  background: var(--ink);
  color: var(--paper);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font: 900 15px/1.2 "Trebuchet MS", Verdana, sans-serif;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid var(--paper);
  border-radius: 6px;
  background: #f6f7f1;
  color: var(--ink);
  padding: 12px;
  font: 17px/1.35 Georgia, "Times New Roman", serif;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form label:has(textarea),
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form button {
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font: 900 16px/1 "Trebuchet MS", Verdana, sans-serif;
  cursor: pointer;
}

.contact-alt {
  max-width: 900px;
  margin: 18px 0 0;
  font: 900 16px/1.35 "Trebuchet MS", Verdana, sans-serif;
}

.contact-alt a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hidden-field {
  display: none;
}

@media (max-width: 980px) {
  .proof-strip,
  .offer-grid,
  .sample-grid,
  .artifact-grid,
  .process-list,
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-content {
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 48px);
    line-height: 1.02;
    max-width: 360px;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 19px;
  }

  .proof-strip,
  .offer-grid,
  .sample-grid,
  .artifact-grid,
  .process-list,
  .case-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .proof-callout {
    grid-template-columns: 1fr;
  }

  .offer-card,
  .process-list li {
    min-height: 0;
  }

  .offer-card h3 {
    min-height: 0;
  }
}
