/* Geo-Colour coming soon — soil-band visual system */

:root {
  --blue: #38b6ff;
  --blue-deep: #0f6fb8;
  --blue-soft: #d9f1ff;
  --brown: #7a4a2a;
  --orange: #c45a22;
  --ochre: #e86a1f;
  --red: #6b2a2a;
  --grey: #8a8a8a;
  --ink: #1c1714;
  --paper: #f7f3ee;
  --paper-2: #efe7dc;
  --muted: #5a524a;
  --line: rgba(28, 23, 20, 0.12);
  --focus: #0f4f9a;
  --ok: #1f5c38;
  --err: #8b1e1e;
  --radius: 0.75rem;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --max: 68rem;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-body: "Figtree", "Segoe UI", Candara, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(247, 243, 238, 0.92), rgba(247, 243, 238, 0.96)),
    repeating-linear-gradient(
      90deg,
      var(--brown) 0 12%,
      var(--orange) 12% 28%,
      var(--ochre) 28% 44%,
      var(--red) 44% 58%,
      var(--grey) 58% 72%,
      var(--blue) 72% 100%
    );
  background-attachment: fixed;
}

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

a {
  color: var(--blue-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -3rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0.4rem;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-3);
}

.site-shell {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) 0 var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
}

.brand-mark {
  position: relative;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(28, 23, 20, 0.08);
  background: var(--blue);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark img[data-missing="true"] {
  display: none;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(15, 79, 154, 0.25);
  border-radius: 999px;
  background: rgba(215, 235, 255, 0.85);
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero {
  position: relative;
  margin: 0 0 var(--space-5);
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 243, 238, 0.94) 55%, rgba(215, 235, 255, 0.55) 100%);
  overflow: hidden;
  animation: rise 700ms ease-out both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.55rem;
  background: linear-gradient(
    180deg,
    var(--blue),
    var(--ochre),
    var(--orange),
    var(--brown),
    var(--red),
    var(--grey)
  );
}

.hero-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }
}

.hero h1 {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.55rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 14ch;
}

.hero-lead {
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.swatch-rail {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
  min-height: 7.5rem;
  margin-top: var(--space-2);
  animation: rail-in 900ms ease-out 120ms both;
}

.swatch {
  border-radius: 0.55rem;
  min-height: 7.5rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.swatch:nth-child(1) { background: var(--blue); }
.swatch:nth-child(2) { background: var(--ochre); }
.swatch:nth-child(3) { background: var(--orange); }
.swatch:nth-child(4) { background: var(--brown); }
.swatch:nth-child(5) { background: var(--red); }
.swatch:nth-child(6) { background: var(--grey); }

.panel {
  margin-bottom: var(--space-5);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.2rem);
  background: rgba(255, 255, 255, 0.9);
  animation: rise 700ms ease-out 80ms both;
}

.panel h2 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.panel-intro {
  margin: 0 0 var(--space-4);
  color: var(--muted);
  max-width: 40rem;
}

.interest-form {
  display: grid;
  gap: var(--space-3);
  max-width: 34rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 650;
}

.field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(28, 23, 20, 0.22);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field input[type="email"]:focus-visible {
  border-color: var(--blue);
}

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
}

.consent input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  min-height: 65px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.button:hover:not(:disabled) {
  background: var(--blue-deep);
}

.button:active:not(:disabled) {
  transform: translateY(1px);
}

.button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.button[aria-busy="true"]::after {
  content: "";
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .button[aria-busy="true"]::after {
    animation: none;
    border-color: #fff;
  }
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-weight: 650;
}

.form-status[data-state="success"] {
  color: var(--ok);
}

.form-status[data-state="error"] {
  color: var(--err);
}

.features {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  display: grid;
  gap: 0.45rem;
  padding-top: var(--space-3);
  border-top: 4px solid var(--blue);
}

.feature:nth-child(2) { border-top-color: var(--ochre); }
.feature:nth-child(3) { border-top-color: var(--orange); }
.feature:nth-child(4) { border-top-color: var(--brown); }

.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.disclaimer {
  color: var(--muted);
  font-size: 0.95rem;
}

.disclaimer p {
  margin: 0 0 var(--space-3);
  max-width: 52rem;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) 0 var(--space-6);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.footer-meta {
  opacity: 0.9;
}

.legal-page {
  padding-bottom: var(--space-6);
}

.legal-page .panel {
  max-width: 48rem;
}

.legal-page h1 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-page .updated {
  margin: 0 0 var(--space-4);
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: var(--space-4) 0 var(--space-2);
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.legal-page p,
.legal-page ul {
  color: var(--muted);
}

.legal-page ul {
  padding-left: 1.2rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rail-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

  .swatch-rail {
    grid-template-columns: repeat(3, 1fr);
    min-height: auto;
  }

  .swatch {
    min-height: 4.5rem;
  }
}
