:root {
  --forest: #2a4a3c;
  --forest-deep: #1e382d;
  --cream: #f3f0e8;
  --card: #f6f4ee;
  --sage: #c5d4cb;
  --muted: #7a8b80;
  --line: #d8ddd6;
  --white: #ffffff;
  --error: #b54a4a;
  --shadow: 0 28px 70px rgba(42, 74, 60, 0.12);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800' fill='none'%3E%3Cpath d='M0 70 Q150 40 300 70 T600 70 T900 70 T1200 70' stroke='%23e4dfd4' stroke-width='1.2'/%3E%3Cpath d='M0 160 Q180 130 360 160 T720 160 T1080 160 T1200 150' stroke='%23e6e1d6' stroke-width='1'/%3E%3Cpath d='M0 250 Q140 280 280 250 T560 250 T840 250 T1200 260' stroke='%23e3ded2' stroke-width='1.1'/%3E%3Cpath d='M0 340 Q200 310 400 340 T800 340 T1200 330' stroke='%23e5e0d5' stroke-width='1'/%3E%3Cpath d='M0 430 Q160 460 320 430 T640 430 T960 430 T1200 440' stroke='%23e4dfd4' stroke-width='1'/%3E%3Cpath d='M0 520 Q190 490 380 520 T760 520 T1140 520 T1200 510' stroke='%23e6e1d6' stroke-width='1.1'/%3E%3Cpath d='M0 610 Q150 640 300 610 T600 610 T900 610 T1200 620' stroke='%23e3ded2' stroke-width='1'/%3E%3Cpath d='M0 700 Q210 670 420 700 T840 700 T1200 690' stroke='%23e5e0d5' stroke-width='1'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, sans-serif;
  color: var(--forest);
  background-color: var(--cream);
  background-image: var(--wave);
  background-size: cover;
  line-height: 1.5;
  padding: 2.25rem 3vw 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 540px;
  background: var(--card);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.4rem 3.2rem 1.8rem;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.15rem, 3.4vw, 3.15rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.lead {
  max-width: 22rem;
  color: var(--forest);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 22.5rem;
}

input[type="email"] {
  width: 100%;
  background: var(--white);
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font: 400 0.95rem Inter, system-ui, sans-serif;
}

input[type="email"]::placeholder {
  color: #9aa79e;
}

input[type="email"]:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
  font: 500 0.95rem Inter, system-ui, sans-serif;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
}

.btn:hover {
  background: var(--forest-deep);
}

form .btn {
  min-width: 9.5rem;
}

#cf-turnstile {
  min-height: 65px;
}

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

.disclaimer a {
  color: inherit;
}

#status {
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--muted);
}

#status.error {
  color: var(--error);
}

#status.ok {
  color: var(--forest);
}

.back {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  margin-top: 2.5rem;
}

.back:hover {
  color: var(--forest);
}

.card-photo {
  position: relative;
  background: #d7cfc4;
}

.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.card-photo img.is-active {
  opacity: 1;
}

.card-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(20, 32, 26, 0.45));
  pointer-events: none;
}

.card-caption {
  position: absolute;
  z-index: 1;
  right: 1.6rem;
  bottom: 1.4rem;
  max-width: 10rem;
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  text-align: right;
}

.card-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 250px;
  height: 250px;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1120px;
  margin: 1.75rem auto 0;
  padding: 0 0.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest);
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  max-width: 16rem;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

nav a {
  color: var(--forest);
  text-decoration: none;
  font-size: 0.9rem;
}

nav a:hover {
  opacity: 0.7;
}

.btn-nav {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.legal-wrap {
  flex: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.legal-card {
  background: var(--card);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 3rem 3rem 2.5rem;
}

.legal-card .kicker {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.legal-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 1.75rem 0 0.6rem;
}

.legal-card p,
.legal-card li {
  color: var(--forest);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-card p + p {
  margin-top: 0.75rem;
}

.legal-card ul {
  margin: 0.5rem 0 0 1.15rem;
}

.legal-card li + li {
  margin-top: 0.35rem;
}

.legal-card a {
  color: var(--forest);
}

.legal-card .back {
  display: inline-block;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  body {
    padding: 1.25rem 1rem 1rem;
  }

  .card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .card-form {
    padding: 2rem 1.5rem 1.4rem;
  }

  .card-photo {
    min-height: 280px;
    order: -1;
  }

  .card-pill {
    display: none;
  }

  .back {
    margin-top: 1.5rem;
  }

  footer {
    background-color:#f6f4ee ;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav {
    flex-wrap: wrap;
  }

  .legal-card {
    padding: 2rem 1.4rem 1.6rem;
  }
}
