:root {
  --ivory: #f7f1e8;
  --paper: #fffdf9;
  --espresso: #503c34;
  --espresso-dark: #352720;
  --lilac: #817783;
  --rose: #b88783;
  --rose-soft: #ead7d3;
  --taupe: #8c796b;
  --line: rgba(80, 60, 52, .16);
  --shadow: 0 24px 70px rgba(67, 47, 39, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(247, 241, 232, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .28em;
  font-size: .95rem;
}
.topnav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.instagram-link {
  color: var(--rose);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 750;
}
.instagram-link:hover { color: var(--espresso); }
.nav-cta {
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
  border-bottom: 1px solid currentColor;
}

main { overflow: hidden; }
.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 3vw;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
}
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--lilac);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 24px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
  color: var(--espresso-dark);
}
h1 em { color: var(--lilac); font-weight: 400; }
.lead {
  max-width: 640px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--taupe);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 14px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--espresso);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(129,119,131,.35); outline-offset: 3px; }
.button.primary { background: var(--espresso); color: white; }
.button.primary:hover { background: var(--rose); border-color: var(--rose); }
.button.secondary { background: transparent; }
.microcopy { color: var(--taupe); font-size: .88rem; }
.hero-mark {
  margin: 0;
  overflow: hidden;
  border-radius: 46% 46% 10% 10% / 30% 30% 8% 8%;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.hero-mark img { display: block; width: 100%; height: auto; }

.promise {
  padding: clamp(70px, 10vw, 130px) 20px;
  text-align: center;
  color: var(--ivory);
  background: var(--espresso);
}
.promise p { margin-bottom: 10px; color: #d4c8c0; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.promise h2 { margin: 0 auto; max-width: 950px; font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 1.05; font-weight: 400; }

.section { max-width: 1200px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 60px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 56px; }
.section-heading h2, .panel h2, .pilot h2, .application h2 {
  margin: 12px 0 0;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.06;
  font-size: clamp(2.3rem, 4.7vw, 4.4rem);
  color: var(--espresso-dark);
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 34px 32px 20px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step > span { color: var(--lilac); font-size: .8rem; font-weight: 800; }
.step h3 { margin: 22px 0 12px; font-size: 1.28rem; }
.step p { color: var(--taupe); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 0; }
.panel { padding: clamp(34px, 5vw, 64px); border-radius: 28px; }
.included { background: var(--paper); box-shadow: var(--shadow); }
.excluded { border: 1px solid var(--line); }
.panel h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.panel ul { margin: 32px 0 0; padding: 0; list-style: none; }
.panel li { position: relative; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); }
.panel li::before { content: "✓"; position: absolute; left: 0; color: var(--lilac); font-weight: 800; }
.excluded li::before { content: "—"; }
.excluded p { margin-top: 28px; color: var(--taupe); font-size: .92rem; }

.pilot { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7vw; align-items: end; border-top: 1px solid var(--line); }
.pilot p { margin-bottom: 10px; color: var(--taupe); font-size: 1.15rem; }

.application {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(36px, 7vw, 100px);
  max-width: 1300px;
  margin: 0 auto clamp(40px, 8vw, 100px);
  padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 72px);
  background: var(--paper);
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.application-intro { align-self: start; position: sticky; top: 110px; }
.application h2 { margin-bottom: 24px; }
.application-intro > p { color: var(--taupe); }
.privacy-note { margin-top: 30px; padding: 18px; border-left: 3px solid var(--rose); background: rgba(184,135,131,.10); font-size: .9rem; }
.form-cta {
  align-self: center;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--ivory);
}
.form-cta h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.1; }
.form-cta p { margin: 0 0 26px; color: var(--taupe); }
form { display: grid; gap: 24px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label > span, legend { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 750; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ivory);
  color: var(--espresso-dark);
  font: inherit;
  padding: 14px 15px;
}
textarea { resize: vertical; }
fieldset { padding: 0; margin: 0; border: 0; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 14px; text-align: center; cursor: pointer; }
.choice input:checked + span { color: white; background: var(--espresso); border-color: var(--espresso); }
.choice input:focus-visible + span { outline: 3px solid rgba(129,119,131,.35); outline-offset: 3px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--espresso); }
.consent span { font-weight: 500; color: var(--taupe); }
.submit { width: 100%; }
.form-error { color: #9b3f38; font-size: .9rem; }
.success { grid-column: 2; padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: var(--ivory); }
.success-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: var(--espresso); color: white; font-weight: 900; }
.success h3 { margin: 20px 0 8px; font-family: Georgia, serif; font-size: 2rem; }
.success textarea { margin: 12px 0 16px; background: white; }
.instagram-button { margin-left: 8px; background: var(--rose-soft); color: var(--espresso-dark); border-color: var(--rose); }
.copy-status { min-height: 24px; color: var(--lilac); font-weight: 700; }

footer { padding: 70px 20px; text-align: center; background: var(--espresso-dark); color: var(--ivory); }
.footer-brand { font-weight: 850; letter-spacing: .35em; }
footer p { margin: 12px 0 0; color: #d4c8c0; }
.footer-instagram { color: var(--rose-soft); text-decoration: none; border-bottom: 1px solid rgba(234,215,211,.5); }
.footer-note { font-family: Georgia, serif; font-style: italic; }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-mark { max-width: 560px; margin: 20px auto 0; }
  .section-heading, .pilot { display: block; }
  .steps, .split, .application { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .application { margin: 0 14px 40px; }
  .application-intro { position: static; }
  .success { grid-column: 1; }
}

@media (max-width: 520px) {
  .topbar { padding: 15px 18px; }
  .instagram-link { display: none; }
  .nav-cta { font-size: .78rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-actions .button { width: 100%; }
  .field-grid, .choice-row { grid-template-columns: 1fr; }
  .application { border-radius: 24px; }
  .instagram-button { margin: 10px 0 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
