:root {
  --background: #fbf8fb;
  --surface: #ffffff;
  --surface-low: #f5f3f5;
  --surface-container: #f0edef;
  --surface-high: #eae7e9;
  --primary: #051125;
  --primary-container: #1b263b;
  --on-primary: #ffffff;
  --body: #1b1b1d;
  --muted: #45474d;
  --secondary: #615e57;
  --secondary-container: #e7e2d8;
  --outline: #c5c6cd;
  --sage: #d7e2ff;
  --clay: #fcdeb3;
  --error: #93000a;
  --shadow: 0 24px 70px rgba(5, 17, 37, 0.08);
  --soft-shadow: 0 14px 36px rgba(5, 17, 37, 0.06);
  --radius: 0.5rem;
  --radius-xl: 1.5rem;
  background: var(--background);
  color: var(--body);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--body);
  line-height: 1.5;
}

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

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

h1,
h2,
h3,
.brand,
.footer-brand {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.45rem, 4.4vw, 4.05rem);
  line-height: 1.08;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.22;
}

.topbar,
.hero,
.section,
.footer {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(197, 198, 205, 0.42);
  background: rgba(251, 248, 251, 0.9);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.brand-lockup img {
  flex: 0 0 auto;
  border-radius: var(--radius);
}

.brand {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 22px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(5, 17, 37, 0.14);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.topbar-cta:hover {
  background: var(--primary-container);
  box-shadow: 0 14px 28px rgba(5, 17, 37, 0.2);
  transform: translateY(-1px);
}

.topbar-cta:focus-visible {
  outline: 3px solid rgba(27, 38, 59, 0.24);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: stretch;
  min-height: auto;
  padding: clamp(34px, 4vw, 56px) 0 clamp(40px, 5vw, 64px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.chip,
.section-kicker,
.step,
.waitlist-form label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--clay);
  color: #271901;
  padding: 8px 13px;
}

.lead {
  max-width: 620px;
  margin-top: 34px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.68;
}

.waitlist-form {
  scroll-margin-top: 104px;
  max-width: 640px;
  margin-top: auto;
  border: 1px solid rgba(197, 198, 205, 0.72);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.section.final-cta {
  padding-top: 0;
  padding-bottom: 0;
}

.final-waitlist-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
}

.final-waitlist-form label {
  margin-bottom: 10px;
}

.waitlist-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

input,
button {
  min-height: 56px;
  border-radius: var(--radius);
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid var(--outline);
  background: var(--surface-low);
  color: var(--primary);
  padding: 0 16px;
  outline: none;
}

input::placeholder {
  color: rgba(69, 71, 77, 0.58);
}

input:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 4px rgba(27, 38, 59, 0.12);
}

button {
  border: 0;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 24px;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(5, 17, 37, 0.18);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

button:hover {
  background: var(--primary-container);
  box-shadow: 0 16px 32px rgba(5, 17, 37, 0.22);
  transform: translateY(-1px);
}

button:focus-visible {
  outline: 3px solid rgba(27, 38, 59, 0.24);
  outline-offset: 3px;
}

button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-message {
  min-height: 1.45em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-message:empty {
  display: none;
}

.form-message.is-error {
  color: var(--error);
}

.hero-card,
.media-panel {
  margin: 0;
}

.hero-card {
  position: relative;
}

.hero-card::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: var(--surface-container);
  content: "";
  transform: rotate(-3deg);
}

.hero-card img,
.media-panel img,
.process-grid img {
  width: 100%;
  border: 1px solid rgba(197, 198, 205, 0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-card img {
  aspect-ratio: 1.12 / 1;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.problem,
.values {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1280px) / 2));
  background: var(--surface-low);
}

.values {
  padding-bottom: clamp(28px, 4vw, 52px);
}

.center-heading {
  max-width: 820px;
  margin: 0 auto clamp(36px, 6vw, 64px);
  text-align: center;
}

.center-heading h2 {
  margin-inline: auto;
}

.center-heading p:not(.section-kicker) {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--secondary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1280px, 100%);
  margin-inline: auto;
}

.info-card {
  min-width: 0;
  border: 1px solid rgba(197, 198, 205, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.info-card h3 {
  margin-top: 26px;
}

.info-card p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.value-icon {
  width: 72px;
  height: 72px;
}

.icon-badge {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
}

.icon-badge.sage {
  background: var(--sage);
}

.icon-badge.clay {
  background: #ffd9d3;
}

.icon-badge.ivory {
  background: var(--clay);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: stretch;
  padding-bottom: clamp(28px, 3vw, 44px);
}

.media-panel img {
  height: 100%;
  min-height: 360px;
}

.split-copy p:not(.section-kicker),
.ledger-copy p,
.business p {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--body);
  font-weight: 500;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: var(--primary);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 800;
}

.section-heading {
  max-width: 960px;
  margin: 0 0 40px;
}

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

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

.process-grid article {
  overflow: hidden;
  border: 1px solid rgba(197, 198, 205, 0.48);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.process-grid img {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.process-grid article > div {
  padding: 24px;
}

.step {
  margin-bottom: 12px;
  color: var(--secondary);
}

.process-grid p:not(.step) {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.origin-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
}

.origin-logos img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.ledger {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.35fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
  border-top: 1px solid rgba(197, 198, 205, 0.52);
  border-bottom: 1px solid rgba(197, 198, 205, 0.52);
}

.metrics {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid rgba(197, 198, 205, 0.52);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.metrics div {
  padding: 24px;
}

.metrics div + div {
  border-top: 1px solid rgba(197, 198, 205, 0.52);
}

.metrics dt {
  color: var(--primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
}

.metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.business {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: none;
  margin-top: clamp(52px, 7vw, 88px);
  padding: 58px max(16px, calc((100vw - 1280px) / 2));
  background: var(--primary);
  color: rgba(255, 255, 255, 0.72);
}

main + .footer {
  margin-top: clamp(16px, 2vw, 28px);
}

.footer-brand {
  color: var(--on-primary);
  font-size: 1.55rem;
  font-weight: 700;
}

.footer p:last-child {
  max-width: 440px;
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .ledger,
  .business,
  .section-heading {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.86fr);
    gap: 28px;
    padding-top: 48px;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(2.2rem, 4.2vw, 3.05rem);
  }

  .lead {
    max-width: 540px;
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .waitlist-form {
    max-width: none;
    padding: 14px;
  }

  .form-row {
    gap: 10px;
  }

  input {
    padding: 0 14px;
  }

  button {
    padding: 0 18px;
    font-size: 0.8rem;
  }

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 32px;
  }

  .media-panel img {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .hero,
  .split {
    align-items: start;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    display: block;
  }

  .lead {
    margin-bottom: 0;
  }

  .waitlist-form {
    scroll-margin-top: 150px;
    margin-top: 26px;
  }

  h1 {
    max-width: 760px;
  }

  .media-panel img {
    aspect-ratio: 1.58 / 1;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 150px;
  }

  .topbar,
  .hero,
  .section {
    width: min(100% - 24px, 1280px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .topbar-cta {
    width: 100%;
  }

  .brand {
    white-space: normal;
  }

  .hero {
    padding-top: 36px;
  }

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

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

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 1.06;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
    white-space: normal;
  }

  .footer {
    flex-direction: column;
  }
}
