:root {
  --cream: #fbf2df;
  --paper: #f4e4c4;
  --ink: #24221f;
  --charcoal: #303235;
  --charcoal-2: #424346;
  --muted: #6c6253;
  --orange: #ef7d2b;
  --gold: #f1bc48;
  --green: #6f8d54;
  --green-dark: #415536;
  --line: rgba(36, 34, 31, 0.14);
  --line-dark: rgba(251, 242, 223, 0.2);
  --shadow: 0 24px 70px rgba(36, 34, 31, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.5;
}

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

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

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--cream);
  background: rgba(33, 31, 28, 0.78);
  border-bottom: 1px solid rgba(251, 242, 223, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(251, 242, 223, 0.5);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  color: rgba(251, 242, 223, 0.82);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  font-weight: 800;
}

.nav-cta {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
}

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

.button.secondary {
  color: var(--cream);
  background: rgba(36, 34, 31, 0.24);
  border-color: rgba(251, 242, 223, 0.48);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(27, 25, 23, 0.92) 0%, rgba(27, 25, 23, 0.76) 34%, rgba(27, 25, 23, 0.24) 68%, rgba(27, 25, 23, 0.1) 100%),
    linear-gradient(0deg, rgba(27, 25, 23, 0.8) 0%, rgba(27, 25, 23, 0.05) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 156px 0 230px;
  transform: translateX(max(-18vw, -230px));
}

.kicker,
.section-label,
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 600;
}

.kicker,
.section-label {
  color: var(--gold);
}

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

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(4.1rem, 9vw, 8.8rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(251, 242, 223, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

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

.hero-panel {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 4vw, 54px);
  right: clamp(18px, 4vw, 54px);
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(251, 242, 223, 0.24);
  background: rgba(251, 242, 223, 0.18);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 128px;
  padding: 22px;
  background: rgba(37, 34, 31, 0.66);
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 650;
}

.hero-panel span {
  color: rgba(251, 242, 223, 0.78);
}

.section,
.image-band,
.cta-section,
.site-footer {
  padding-left: clamp(18px, 4vw, 54px);
  padding-right: clamp(18px, 4vw, 54px);
}

.section {
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(72px, 10vw, 132px);
}

.problem-section {
  background: var(--paper);
}

.two-column,
.section-heading,
.image-band,
.philosophy-grid,
.cta-section,
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.large-copy,
.section-heading > p,
.image-copy > p,
.philosophy-grid p,
.cta-section p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.25rem);
}

.plain-list {
  padding-top: 18px;
  color: var(--muted);
}

.plain-list p {
  color: var(--ink);
  font-weight: 800;
}

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

.plain-list li,
.check-list li {
  position: relative;
  padding-left: 24px;
}

.plain-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: var(--charcoal);
}

.promise-grid article {
  min-height: 330px;
  padding: clamp(28px, 4vw, 54px);
  color: var(--cream);
  background:
    linear-gradient(160deg, rgba(239, 125, 43, 0.14), rgba(111, 141, 84, 0.08)),
    var(--charcoal);
}

.promise-grid .mono {
  display: block;
  margin-bottom: 72px;
  color: var(--gold);
}

.promise-grid h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  font-weight: 650;
}

.promise-grid p {
  color: rgba(251, 242, 223, 0.72);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 780px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article:nth-child(2n) {
  background: rgba(244, 228, 196, 0.56);
}

.feature-grid h3,
.workflow-list h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 650;
}

.feature-grid p,
.workflow-list p {
  color: var(--muted);
}

.image-band {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  background: #2f3133;
  color: var(--cream);
  align-items: center;
}

.image-band.reverse {
  background: var(--green-dark);
}

.image-copy {
  max-width: 650px;
}

.image-copy p {
  color: rgba(251, 242, 223, 0.74);
}

.image-band figure {
  margin: 0;
}

.image-band img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(251, 242, 223, 0.22);
  box-shadow: var(--shadow);
}

.metrics {
  display: grid;
  gap: 1px;
  margin: 32px 0 0;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.metrics div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  background: rgba(251, 242, 223, 0.08);
}

.metrics dt {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metrics dd {
  margin: 0;
  color: rgba(251, 242, 223, 0.78);
}

.workflows {
  background: var(--paper);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.workflow-list article {
  min-height: 360px;
  padding: 26px;
  background: var(--cream);
}

.workflow-list span {
  display: block;
  margin-bottom: 94px;
  color: var(--orange);
  font-family: var(--mono);
  font-weight: 600;
}

.check-list {
  margin-top: 28px;
  color: rgba(251, 242, 223, 0.82);
}

.philosophy {
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(239, 125, 43, 0.22), rgba(111, 141, 84, 0.22)),
    var(--charcoal);
}

.philosophy h2 {
  max-width: 1100px;
}

.philosophy-grid {
  margin-top: 38px;
}

.philosophy-grid p {
  color: rgba(251, 242, 223, 0.76);
}

.cta-section {
  align-items: center;
  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
  background: var(--gold);
}

.cta-section .kicker {
  color: var(--green-dark);
}

.cta-section h2 {
  max-width: 760px;
}

.cta-section p {
  max-width: 780px;
  color: rgba(36, 34, 31, 0.72);
}

.cta-section .button {
  justify-self: end;
  min-width: 230px;
}

.site-footer {
  padding-top: 28px;
  padding-bottom: 42px;
  color: rgba(251, 242, 223, 0.72);
  background: var(--ink);
  align-items: center;
}

.site-footer div {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--cream);
}

.site-footer a {
  justify-self: end;
  color: var(--gold);
  font-family: var(--mono);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-content {
    transform: none;
    padding-bottom: 250px;
  }

  .two-column,
  .section-heading,
  .image-band,
  .philosophy-grid,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .promise-grid,
  .feature-grid,
  .workflow-list {
    grid-template-columns: 1fr 1fr;
  }

  .cta-section .button,
  .site-footer a {
    justify-self: start;
  }
}

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

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 940px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(27, 25, 23, 0.92), rgba(27, 25, 23, 0.48)),
      linear-gradient(0deg, rgba(27, 25, 23, 0.88) 0%, rgba(27, 25, 23, 0.28) 58%);
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 116px;
    padding-bottom: 430px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5.5rem);
  }

  .hero-panel {
    grid-template-columns: 1fr;
    bottom: 16px;
  }

  .hero-panel div {
    min-height: auto;
    padding: 18px;
  }

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

  .promise-grid,
  .feature-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

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

  .promise-grid .mono,
  .workflow-list span {
    margin-bottom: 42px;
  }

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

  .metrics div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .image-band.reverse figure {
    order: 2;
  }
}
