body {
  margin: 0;
  background: #f2f0e4;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
}

[hidden] { display: none !important; }

a { color: #3e5c2f; }
a:hover { color: #2c4220; }

input::placeholder { color: #9a947c; }

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(28px, 6vw, 64px) clamp(18px, 5vw, 40px);
  background:
    radial-gradient(circle at 20% 10%, rgba(122, 148, 85, .12), transparent 50%),
    radial-gradient(circle at 85% 90%, rgba(122, 148, 85, .10), transparent 45%),
    #f2f0e4;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 14px);
}

.logo {
  width: clamp(52px, 9vw, 64px);
  height: clamp(47px, 8.2vw, 58px);
  position: relative;
}

.logo-slice {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: #3e5c2f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slice--a {
  left: 0;
  top: 0;
}

.logo-slice--b {
  right: 0;
  bottom: 0;
  box-shadow: 0 0 0 3px #f2f0e4;
}

.logo-slice-mid {
  width: 81%;
  height: 81%;
  border-radius: 50%;
  background: #a8bf85;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-slice-inner {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: #d9e3c4;
}

.brand-name {
  font-family: 'Bree Serif', serif;
  font-size: clamp(27px, 5vw, 34px);
  color: #3e5c2f;
}

.headline {
  font-family: 'Bree Serif', serif;
  font-weight: 400;
  font-size: clamp(32px, 6.2vw, 52px);
  line-height: 1.12;
  color: #2c3a1e;
  text-align: center;
  margin: clamp(22px, 4vw, 32px) 0 0;
  max-width: 680px;
  text-wrap: pretty;
}

.subhead {
  font-size: clamp(15.5px, 2.4vw, 17px);
  line-height: 1.6;
  color: #5c6650;
  text-align: center;
  margin: 18px 0 0;
  max-width: 480px;
  text-wrap: pretty;
}

.card {
  margin-top: clamp(32px, 5vw, 44px);
  width: 460px;
  max-width: 100%;
  background: #fffdf6;
  border: 1px solid #ddd6bd;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(62, 92, 47, .14);
  padding: clamp(20px, 4vw, 26px) clamp(20px, 4.5vw, 28px) clamp(22px, 4.5vw, 28px);
  position: relative;
  box-sizing: border-box;
}

.card-tab {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(122, 148, 85, .35);
  width: 110px;
  height: 26px;
  border-radius: 2px;
}

.card-title {
  font-family: 'Kalam', cursive;
  font-size: clamp(20px, 3.4vw, 23px);
  color: #3e5c2f;
}

.divider {
  height: 1px;
  background: repeating-linear-gradient(90deg, #c9c2a6 0 6px, transparent 6px 12px);
  margin: 12px 0 18px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6e6a52;
}

.email-input {
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid #cfc8ab;
  border-radius: 4px;
  background: #fff;
  color: #2c3a1e;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.email-input:focus {
  border-color: #7a9455;
  box-shadow: 0 0 0 3px rgba(122, 148, 85, .2);
}

.submit-btn {
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  min-height: 48px;
  border: none;
  border-radius: 4px;
  background: #3e5c2f;
  color: #f2f0e4;
  cursor: pointer;
}

.submit-btn:hover { background: #2c4220; }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: .7; cursor: default; }

.form-error {
  font-size: 12.5px;
  color: #b3432b;
  text-align: center;
}

.success {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  padding: 8px 0 4px;
}

.success-title {
  font-family: 'Kalam', cursive;
  font-size: 24px;
  color: #3e5c2f;
}

.success-text {
  font-size: 15px;
  line-height: 1.55;
  color: #5c6650;
  margin: 0;
  max-width: 320px;
}

.success-text strong { color: #2c3a1e; }
