* { box-sizing: border-box; }

:root{
  --bg: #f6f3ee;
  --card: #ffffff;
  --stroke: #e8e1d8;
  --text: #1d1d1f;
  --muted: #6d665d;
  --button: #202020;
  --button-text: #ffffff;
  --danger: #c74a4a;
}

html, body { height: 100%; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #faf8f5 0%, var(--bg) 100%);
  color: var(--text);
}

.page{
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

/* ===== LANDING ===== */

.hero{
  width: 100%;
  max-width: 1120px;
}

.brand{
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  text-align: center;
}

.split-card{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: stretch;
}

.hero-side,
.form-card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.05);
}

.hero-side{
  padding: 20px;
}

.hero-visual{
  width: 100%;
  margin: 0 0 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 12px;
}

.hero-visual img{
  width: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-copy h1{
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.proof{
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.support{
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.form-card{
  padding: 24px;
  text-align: left;
}

.form-card h2{
  margin: 0 0 14px;
  font-size: 24px;
  text-align: center;
}

.alert{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f3efe8;
  border: 1px solid var(--stroke);
  text-align: center;
  font-size: 14px;
}

form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label > span{
  font-size: 13px;
  color: var(--muted);
}

input,
select{
  width: 100%;
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 15px;
  outline: none;
  color: var(--text);
}

input:focus,
select:focus{
  border-color: #c8b79d;
}

.verify-box{
  background: #f8f4ee;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 14px;
}

.verify-label{
  gap: 8px;
}

.verify-question{
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-weight: 600;
}

button,
.thanks-button{
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  padding: 15px 18px;
  background: var(--button);
  color: var(--button-text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
  text-decoration: none;
  text-align: center;
  display: inline-block;
}

button:hover,
.thanks-button:hover{
  transform: translateY(-1px);
}

button:disabled{
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
}

.disclaimer{
  margin: 2px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer{
  margin-top: 22px;
  text-align: center;
}

.footer p{
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.footer nav{
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer a,
.footer span{
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

small.err{
  min-height: 0;
  color: var(--danger);
  font-size: 12px;
}

.bad{
  border-color: var(--danger) !important;
}

.hp{
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ===== THANK YOU PAGE (UPDATED) ===== */

.thanks-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.thanks-card{
  width: 100%;
  max-width: 500px;
  padding: 36px 28px;
  text-align: center;

  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.05);
}

.thanks-card h1{
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
}

.thanks-desc{
  margin: 0 auto 20px;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line; /* 👈 important */
}

.thanks-button{
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.thanks-secondary{
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px){
  .split-card{
    grid-template-columns: 1fr;
  }

  .hero{
    max-width: 760px;
  }
}

@media (max-width: 640px){
  .page{ padding: 28px 14px; }
  .form-card, .hero-side, .thanks-card{
    padding: 18px;
    border-radius: 18px;
  }
  .hero-copy h1{ font-size: 34px; }
}