:root {
  color-scheme: light;
  --ink: #1f2022;
  --muted: #666a70;
  --paper: #f6f0e5;
  --white: #ffffff;
  --green: #146b2e;
  --green-dark: #0d4e22;
  --terracotta: #d65d32;
  --line: #ded7ca;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
}

.story {
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: #17191b;
}

.story img {
  display: block;
  width: 100%;
  height: 100vh;
  object-fit: contain;
  object-position: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #c7c1b5;
}

h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.lead {
  max-width: 570px;
  margin: 26px 0 0;
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.5;
  color: #e9e5dd;
}

.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 34px;
  max-width: 600px;
}

.contrast article {
  padding: 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
}

.contrast article:last-child {
  background: rgba(20,107,46,.28);
  border-color: rgba(100,221,139,.45);
}

.contrast small { display: block; color: #c9c5bc; margin-bottom: 8px; font-weight: 750; }
.contrast strong { display: block; font-size: 24px; letter-spacing: -.025em; }

.form-side {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  background: var(--paper);
}

.form-wrap { width: min(100%, 560px); margin: auto; }

.form-wrap h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.form-intro { margin: 16px 0 28px; color: var(--muted); font-size: 17px; line-height: 1.55; }

.price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0 0 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
}

.price s { color: #8a8a86; font-weight: 700; }
.price strong { color: var(--green); font-size: 25px; }
.price span { color: var(--muted); font-size: 13px; }

form { display: grid; gap: 15px; }

label { display: grid; gap: 7px; font-weight: 760; font-size: 14px; }

input {
  width: 100%;
  border: 1px solid #c7c0b4;
  border-radius: 12px;
  background: #fff;
  padding: 15px 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(20,107,46,.13); }
input[aria-invalid="true"] { border-color: #b33d28; }

.hp { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }

button {
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  min-height: 56px;
  padding: 15px 20px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

button:hover { background: var(--green-dark); transform: translateY(-1px); }
button:disabled { opacity: .65; cursor: wait; transform: none; }

.fine-print { margin: 14px 0 0; color: #77736b; font-size: 12px; line-height: 1.5; }
.status { min-height: 24px; margin: 4px 0 0; color: #a02f1c; font-size: 14px; font-weight: 700; }
.status.success { color: var(--green); }

.success-card {
  display: none;
  border: 1px solid #a8cbb1;
  background: #eef8f0;
  border-radius: 18px;
  padding: 28px;
}

.success-card.show { display: block; }
.success-card h3 { margin: 0 0 8px; font-size: 30px; }
.success-card p { margin: 0; color: #42604a; line-height: 1.55; }

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; }
  .story { min-height: auto; }
  .story img { height: auto; }
  .form-side { min-height: auto; padding: 48px 22px 64px; }
}

@media (max-width: 560px) {
  .contrast { grid-template-columns: 1fr; }
  .price { align-items: flex-start; flex-wrap: wrap; }
}

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