:root {
  color-scheme: light;
  --ink: #1e241b;
  --muted: #64705b;
  --paper: #fbfaf3;
  --cream: #f4efd9;
  --green: #315f42;
  --green-dark: #173925;
  --leaf: #7c9f54;
  --gold: #d89d3d;
  --clay: #a15d36;
  --line: rgba(30, 36, 27, .14);
  --shadow: 0 18px 44px rgba(35, 48, 27, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 243, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  display: block;
  width: 158px;
  height: auto;
}

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

.nav-links a:hover {
  color: var(--green-dark);
}

.hero {
  min-height: 96vh;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 118px clamp(20px, 5vw, 72px) 54px;
  background:
    radial-gradient(circle at top left, rgba(216, 157, 61, .2), transparent 34%),
    linear-gradient(120deg, #fbfaf3 0%, #f3ead0 46%, #e4eee4 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: #46513f;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.secondary {
  color: var(--green-dark);
  background: rgba(255, 255, 255, .7);
  border-color: rgba(23, 57, 37, .2);
}

.hero-panel {
  position: relative;
}

.hero-image {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #d9e6d0;
}

.metric-strip {
  position: absolute;
  left: clamp(14px, 3vw, 34px);
  right: clamp(14px, 3vw, 34px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(18px);
}

.metric {
  min-height: 96px;
  padding: 18px;
}

.metric strong {
  display: block;
  color: var(--green-dark);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: #59614f;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

section {
  padding: 76px clamp(20px, 5vw, 72px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

.section-head p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.code-section {
  background: #fffdf6;
}

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

.code-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(32, 43, 24, .06);
}

.code-card.is-coming-soon {
  padding-top: 58px;
}

.coming-soon-banner {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  place-items: center;
  min-height: 42px;
  color: #fff;
  background: #b42318;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.code-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.15;
}

.code-card p {
  color: var(--muted);
  line-height: 1.48;
}

.code-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 54px;
  padding: 8px 8px 8px 14px;
  border-radius: 8px;
  background: #f3f6ed;
  border: 1px solid rgba(49, 95, 66, .18);
}

.code-pill code {
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
}

.copy-code {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  cursor: pointer;
}

.copy-code:focus-visible,
.button:focus-visible,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(216, 157, 61, .45);
  outline-offset: 2px;
}

.card-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 850;
}

.process {
  background: var(--cream);
}

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

.step {
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, .45);
}

.step span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.step h3 {
  margin: 12px 0 10px;
  font-size: 24px;
}

.step p {
  margin-bottom: 0;
  color: #5d654f;
  line-height: 1.58;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #213421;
  color: #fffdf6;
}

.contact h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.contact p {
  color: rgba(255, 253, 246, .78);
  font-size: 18px;
  line-height: 1.62;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(255, 253, 246, .82);
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  padding: 13px 14px;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, .56);
}

.field select option {
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #626d59;
  background: #f6f1df;
  font-size: 14px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  transform: translate(-50%, 16px);
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--green-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  box-shadow: var(--shadow);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .hero {
    padding-top: 106px;
  }

  .hero-image {
    min-height: 460px;
  }

  .code-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 43px;
  }

  .brand-logo {
    width: 142px;
  }

  .hero-image {
    min-height: 380px;
  }

  .metric-strip {
    position: static;
    grid-template-columns: 1fr;
    margin-top: 12px;
  }

  .metric {
    min-height: 78px;
  }

  section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-head {
    display: grid;
  }

  .code-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .code-card {
    min-height: 0;
  }

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

  .signup-form {
    padding: 18px;
  }

  .footer {
    flex-direction: column;
  }
}
