:root {
  color-scheme: light;
  --ink: #121817;
  --ink-soft: #33413d;
  --paper: #f7f2e8;
  --paper-deep: #e8dcc8;
  --mist: #fdfaf4;
  --teal: #24a894;
  --teal-dark: #0b6d63;
  --clay: #9e5b45;
  --gold: #bd8c3a;
  --line: rgba(18, 24, 23, 0.16);
  --shadow: 0 28px 80px rgba(18, 24, 23, 0.18);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(253, 250, 244, 0.9), rgba(247, 242, 232, 0.96)),
    var(--paper);
  color: var(--ink);
}

body,
button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(36, 168, 148, 0.55);
  outline-offset: 4px;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: 1.15rem 0;
  color: #fffaf0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-lockup {
  display: block;
  height: auto;
}

.brand-lockup-header {
  width: clamp(7.9rem, 10.5vw, 10rem);
}

.brand-lockup-footer {
  width: min(12.5rem, 68vw);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.7vw, 1.5rem);
  font-size: 0.9rem;
  color: rgba(255, 250, 240, 0.84);
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: #fffaf0;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: clamp(6rem, 9vw, 7.5rem) 0 clamp(2.2rem, 4vw, 3.25rem);
  color: #fffaf0;
  background: #111817;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 13, 0.88) 0%, rgba(8, 13, 13, 0.68) 35%, rgba(8, 13, 13, 0.18) 75%),
    linear-gradient(0deg, rgba(8, 13, 13, 0.66), rgba(8, 13, 13, 0.08) 42%),
    url("/assets/generated/zeceit-hero-v2.png") center / cover no-repeat;
  transform: scale(1.012);
}

.hero-content,
.paper-truth,
.solution,
.aotearoa,
.signup,
.site-footer {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 730px;
}

.section-kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family:
    "Space Grotesk", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.8rem, 8vw, 7.2rem);
  line-height: 0.88;
  font-weight: 820;
}

.hero-copy {
  max-width: 32rem;
  margin-bottom: 2rem;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(1.12rem, 1.4vw, 1.45rem);
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 250, 240, 0.7);
  border-radius: 999px;
  color: #111817;
  background: #fffaf0;
  font-weight: 760;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-cta:hover {
  background: #e6fff9;
  transform: translateY(-1px);
}

.release-note {
  margin: 1.2rem 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.95rem;
}

.paper-truth,
.solution,
.aotearoa,
.signup {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.paper-truth {
  border-bottom: 1px solid var(--line);
}

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

.paper-truth h2,
.solution h2,
.aotearoa h2,
.signup h2 {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  max-width: 920px;
  font-size: clamp(2.35rem, 5.3vw, 5.9rem);
  line-height: 0.96;
  font-weight: 800;
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--line);
}

.truth-grid article {
  min-height: 18rem;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: rgba(253, 250, 244, 0.82);
}

.truth-grid span,
.pilot-index {
  display: inline-block;
  margin-bottom: clamp(3rem, 8vw, 6rem);
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 760;
}

.truth-grid h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.truth-grid p,
.solution-copy p,
.solution dd,
.aotearoa p,
.signup-copy p,
.site-footer p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.truth-grid p {
  max-width: 20rem;
  margin-bottom: 0;
}

.solution {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.solution h2 {
  margin-bottom: 0;
}

.solution-copy {
  padding-top: clamp(0.15rem, 1vw, 1rem);
}

.solution-copy p {
  margin-bottom: 2rem;
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
}

.solution dl {
  display: grid;
  gap: 1.25rem;
  margin: 0;
}

.solution dl div {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.solution dt {
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-weight: 800;
}

.solution dd {
  margin: 0;
}

.aotearoa {
  position: relative;
  min-height: 34rem;
  display: grid;
  align-content: center;
  border-bottom: 1px solid var(--line);
}

.aotearoa::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: clamp(3rem, 6vw, 5rem);
  width: min(30vw, 17rem);
  aspect-ratio: 1;
  border: 1px solid rgba(11, 109, 99, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(36, 168, 148, 0.18), rgba(189, 140, 58, 0.16)),
    var(--mist);
  box-shadow: inset 0 0 0 1.25rem rgba(247, 242, 232, 0.72);
}

.aotearoa h2,
.aotearoa p {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.aotearoa p {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(21rem, 0.72fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.signup h2 {
  margin-bottom: 1.25rem;
}

.signup-copy p {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}

.interest-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(253, 250, 244, 0.78);
  box-shadow: var(--shadow);
}

.interest-form label {
  display: grid;
  gap: 0.45rem;
}

.interest-form label span {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 760;
}

.interest-form input {
  width: 100%;
  min-height: 3.3rem;
  border: 1px solid rgba(18, 24, 23, 0.22);
  border-radius: 0.55rem;
  padding: 0.9rem 1rem;
  background: #fffdf7;
  color: var(--ink);
}

.interest-form input::placeholder {
  color: rgba(51, 65, 61, 0.54);
}

.interest-form button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.9rem 1rem;
  color: #fffaf0;
  background: var(--ink);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.interest-form button:hover:not(:disabled) {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.interest-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.interest-form svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.error {
  color: #a5422d;
}

.site-footer {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: 2rem 2.2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer .brand {
  justify-content: center;
  margin-bottom: 0.7rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: center;
  gap: 0.85rem 1.2rem;
  color: var(--ink-soft);
}

.site-footer p {
  margin-bottom: 0;
}

.made-with-love {
  padding-top: 1.25rem;
  width: 100%;
  border-top: 1px solid var(--line);
  color: rgba(51, 65, 61, 0.74);
  font-size: 0.9rem;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    padding-top: 0.95rem;
  }

  .nav-links {
    gap: 0.8rem;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(8, 13, 13, 0.9) 0%, rgba(8, 13, 13, 0.66) 55%, rgba(8, 13, 13, 0.34)),
      linear-gradient(0deg, rgba(8, 13, 13, 0.72), rgba(8, 13, 13, 0.12) 50%),
      url("/assets/generated/zeceit-hero-v2.png") 58% center / cover no-repeat;
  }

  .truth-grid,
  .solution,
  .signup,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .truth-grid article {
    min-height: 13rem;
  }

  .truth-grid span {
    margin-bottom: 2.25rem;
  }

  .aotearoa::after {
    width: min(42vw, 12rem);
    opacity: 0.55;
  }

}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    max-width: 11rem;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 82svh;
    padding-top: 7.25rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.7rem, 18vw, 5.6rem);
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .paper-truth,
  .solution,
  .aotearoa,
  .signup {
    padding-block: 4rem;
  }

  .paper-truth h2,
  .solution h2,
  .aotearoa h2,
  .signup h2 {
    font-size: clamp(2.25rem, 12vw, 3.8rem);
  }

  .interest-form {
    border-radius: 0.7rem;
    box-shadow: 0 18px 48px rgba(18, 24, 23, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
