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

:root {
  --green-dark:  #0D3D14;
  --green:       #1B5E20;
  --green-mid:   #2E7D32;
  --gold:        #FFB300;
  --gold-light:  #F6D579;
  --gold-dark:   #8A5B1E;
  --cream:       #FFF8E1;
  --red:         #C62828;
  --white:       #FFFFFF;
  --gray:        #555;
  --gray-light:  #888;
}

html, body {
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--green-dark);
}

.page-bg {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem 3rem;
  position: relative;
  background:
    radial-gradient(ellipse 100% 70% at 20% 10%, rgba(46,125,50,0.6) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 80% 90%, rgba(13,61,20,0.9) 0%, transparent 60%),
    linear-gradient(145deg, #143f1f 0%, #0a2610 40%, #0D3D14 100%);
}

.page-bg.centered { align-items: center; }

.page-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  padding: 2.5rem 2.25rem 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.2);
  overflow: hidden;
}

.card.wide { max-width: 720px; }

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green-mid), var(--gold), var(--red));
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.logo-strip img { width: 110px; height: auto; }

.logo-strip .app-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--green);
}

.logo-strip .app-name span {
  display: block;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0.1rem;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

h1 .accent {
  color: var(--green);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin: 1.5rem 0 0.5rem;
}

.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  border-radius: 2px;
  margin-bottom: 1rem;
}

.body-copy, .legal p, .legal li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray);
}

.legal p, .legal ul { margin-bottom: 0.85rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--green); }

.updated {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 1rem;
}

.signup-form, .support-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #d4d4d4;
  background: #fafafa;
  color: #1a1a1a;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}

.btn-cta {
  width: 100%;
  padding: 0.95rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, #e6960a 100%);
  box-shadow: 0 3px 12px rgba(255,179,0,0.4);
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: #bbb;
  text-align: center;
  line-height: 1.5;
}

.fine-print a, .site-footer a {
  color: var(--gold-dark);
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.78rem;
  font-weight: 600;
}

.site-footer a { color: var(--green); }

.success-banner {
  display: none;
  background: #f0faf1;
  border: 1.5px solid var(--green-mid);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-top: 0.75rem;
}

.badge-strip {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f0f0f0;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #aaa;
}
