:root{
  --green: #1c4a3a;
  --green-dark: #12362b;
  --green-mid: #2f6b54;
  --orange: #f36f21;
  --orange-light: #faf1e6;
  --choice-tint: #f2f7f4;
  --text-dark: #1a201d;
  --text-gray: #5f6b64;
  --bg: #fbfcfa;
  --line-gray: #e3e6e2;
  --field: #f6f7f5;
}

h1, .tagline, .brand .name{ font-family: 'Fraunces', serif; }

*{ box-sizing: border-box; margin: 0; padding: 0; }

input, button, select, textarea{ font-family: inherit; }

html, body{
  height: 100%;
  font-family: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
}

body{
  min-height: 100vh;
  display: flex;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  justify-content: safe center;
  overflow-x: hidden;
  position: relative;
}

.page{
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  align-items: safe center;
  justify-content: center;
  justify-content: safe center;
  padding: 40px 24px;
}

.content{
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
  text-align: center;
  container-type: inline-size;
}

.logo-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.tagline{
  font-weight: 600;
  font-size: clamp(28px, 8cqw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  margin-bottom: 18px;
}

.logo-row img{
  height: clamp(34px, 5.5vw, 48px);
  width: auto;
  display: block;
}

h1{
  font-weight: 500;
  font-size: clamp(17px, 2.9vw, 24px);
  line-height: 1.32;
  letter-spacing: 0.003em;
  color: var(--green-dark);
  margin-bottom: 34px;
}

h1 .line-break{ display: none; }

@media (min-width: 561px){
  h1 .line-break{ display: inline; }
}

.subtext{
  color: var(--text-gray);
  font-size: 15px;
  margin-bottom: 28px;
}

.required-mark{
  color: var(--orange);
  margin-left: 3px;
  font-weight: 600;
}

.early-access{
  color: var(--text-dark);
  font-size: 15.5px;
  font-weight: 800;
  text-align: center;
  margin-top: 2px;
}

form#subscribe-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--line-gray);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(18, 54, 43, 0.04), 0 12px 32px -18px rgba(18, 54, 43, 0.18);
  max-width: 460px;
  margin: 0 auto;
}

.form-field{
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-gray);
  border-radius: 14px;
  padding: 0 14px;
  background: var(--field);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.form-field:hover{
  border-color: #c3ccc6;
}

.form-field:focus-within{
  border-color: var(--green-mid);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 107, 84, 0.12);
  transform: translateY(-1px);
}

.field-icon{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--text-gray);
  transition: color 0.18s ease;
}

.form-field:focus-within .field-icon{
  color: var(--green-mid);
}

.form-field input{
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 12px 0;
  color: var(--text-dark);
  min-width: 0;
  width: 100%;
}

.form-field input::placeholder{
  color: #9aa39a;
}

.form-field input::-ms-clear,
.form-field input::-ms-reveal{
  display: none;
  width: 0;
  height: 0;
}

.country-wrap{
  position: relative;
}

.whatsapp-wrap{
  position: relative;
}

.whatsapp-field{
  gap: 6px;
}

.whatsapp-field .dial-code-input{
  flex: 0 0 52px;
  width: 52px;
  border: none;
  outline: none;
  background: var(--choice-tint);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 4px;
  margin: 6px 0;
  color: var(--green-dark);
  text-align: center;
  cursor: pointer;
}

.dial-code-input::placeholder{
  color: var(--text-gray);
  font-weight: 500;
}

.field-divider{
  width: 1px;
  align-self: stretch;
  margin: 10px 0;
  background: var(--line-gray);
  flex-shrink: 0;
}

.dial-code-dropdown{
  width: 220px;
}

.dial-code-dropdown li{
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.dial-code-dropdown li .dial-code-code{
  color: var(--text-gray);
  flex-shrink: 0;
}

.dial-code-dropdown li:hover .dial-code-code,
.dial-code-dropdown li.active .dial-code-code{
  color: var(--green-dark);
}

.question-group{
  text-align: left;
  padding: 2px 2px 0;
}

.question-label{
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.radio-options{
  display: flex;
  gap: 10px;
}

.radio-option{
  flex: 1;
}

.radio-option input[type="radio"]{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 11px 14px;
  border: 1px solid var(--line-gray);
  border-radius: 14px;
  background: #fff;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.radio-option label::before{
  content: '';
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #c3ccc6;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.radio-option label:hover{
  border-color: #c3ccc6;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(18, 54, 43, 0.06);
}

.radio-option label:active{
  transform: translateY(0) scale(0.98);
}

.radio-option input[type="radio"]:checked + label{
  border-color: var(--green-mid);
  background: var(--choice-tint);
  color: var(--green-dark);
  font-weight: 600;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(18, 54, 43, 0.08);
}

.radio-option input[type="radio"]:checked + label::before{
  border-color: var(--green-mid);
  background: var(--green-mid);
  box-shadow: inset 0 0 0 3px #fff;
}

.radio-option input[type="radio"]:focus-visible + label{
  outline: 2px solid var(--green-mid);
  outline-offset: 2px;
}

.country-dropdown{
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--line-gray);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(18, 54, 43, 0.14);
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  text-align: left;
}

.country-dropdown li{
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.country-dropdown li:hover,
.country-dropdown li.active{
  background: var(--choice-tint);
  color: var(--green-dark);
}

.country-dropdown li.no-match{
  color: var(--text-gray);
  cursor: default;
}

.country-dropdown li.no-match:hover{
  background: transparent;
}

#subscribe-form button{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange-light);
  color: var(--orange);
  border: none;
  border-radius: 14px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: none;
}

#subscribe-form button svg{ color: var(--orange); transition: transform 0.2s ease; }

#subscribe-form button.is-ready{
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(18, 54, 43, 0.18);
}

#subscribe-form button.is-ready:hover{
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 54, 43, 0.26);
}

#subscribe-form button.is-ready:hover svg{ transform: translateX(3px); }

#subscribe-form button:active{ transform: scale(0.98) translateY(0); }

.form-status{
  min-height: 20px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
}
.form-status.success{ color: var(--green-dark); }
.form-status.error{ color: #c0392b; }

.shield{
  margin-top: 22px;
  color: #9aa39a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  text-align: center;
}

footer{
  margin-top: 36px;
  color: #a8b0a8;
  font-size: 13px;
  letter-spacing: 0.2px;
}

@media (max-width: 560px){
  .page{ padding: 28px 18px; }

  .logo-row{ margin-bottom: 14px; }
  .logo-row img{ height: 36px; }
  .tagline{ margin-bottom: 22px; }

  h1{
    margin-bottom: 34px;
    font-size: clamp(10px, 3.75cqw, 17px);
    white-space: nowrap;
  }
  .subtext{ margin-bottom: 22px; }

  #subscribe-form{
    border-radius: 20px;
    padding: 14px;
    gap: 10px;
  }
  #subscribe-form button{ width: 100%; justify-content: center; }

  footer{ margin-top: 28px; }
}

@media (max-width: 380px){
  .logo-row img{ height: 30px; }
}
