:root{
  --bg: #eef6f1;
  --card: #f4fbf7;
  --border: rgba(31, 122, 92, 0.22);
  --shadow: rgba(9, 30, 21, 0.16);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.72);

  --green-900: #0b1f17;
  --green-700: #0f3d2e;
  --green-500: #1f7a5c;
  --green-300: rgba(31,122,92,0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(920px 520px at 50% -10%, rgba(31,122,92,0.18), transparent 62%),
    radial-gradient(700px 420px at 8% 92%, rgba(47,165,110,0.10), transparent 62%),
    radial-gradient(700px 420px at 92% 88%, rgba(15,61,46,0.08), transparent 64%),
    var(--bg);
  color: var(--text);
  padding: 22px;
}

.shell{
  min-height: calc(100vh - 44px);
  display: grid;
  place-items: center;
  gap: 16px;
}

/* Top nav */
.topbar{
  width: min(820px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 2px;
}

.brandlink{
  font-weight: 900;
  color: rgba(15, 61, 46, 0.86);
  text-decoration: none;
}

.brandlink:hover{ text-decoration: underline; }

.nav{
  display: flex;
  align-items: center;
  gap: 12px;
}

.navlink{
  color: rgba(15, 23, 42, 0.70);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
}

.navlink:hover{
  text-decoration: underline;
}

.navlink--active{
  color: rgba(15, 61, 46, 0.88);
  background: rgba(31,122,92,0.08);
  text-decoration: none;
}

.navcta{
  border: 1px solid rgba(31,122,92,0.30);
  background: linear-gradient(180deg, rgba(31,122,92,0.12), rgba(31,122,92,0.06));
  color: var(--green-700);
  font-weight: 900;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.navcta:hover{
  background: linear-gradient(180deg, rgba(31,122,92,0.18), rgba(31,122,92,0.10));
}

.card{
  width: min(820px, 100%);
  background: linear-gradient(165deg, #f5fcf8 0%, #eaf6f0 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 22px 55px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,0.70);

  /* tighter vertical padding, same horizontal */
  padding: 26px 32px 28px 32px;

  text-align: center;
}


.card--left{
  text-align: left;
}

.logo{
  width: min(760px, 100%);
  height: auto;
  transform: scale(1.1);
  transform-origin: center;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.14));
}

.logo-wrap{
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: -8px auto 8px auto;
}

.rule{
  height: 10px;
  margin: 10px auto 12px auto;   /* tighter above & below */
  width: min(560px, 100%);
  border-radius: 999px;
  background: linear-gradient(90deg,
    transparent,
    var(--green-300),
    rgba(31,122,92,0.45),
    var(--green-300),
    transparent
  );
}


.rule--left{
  margin-left: 0;
  margin-right: auto;
}

.tagline{
  margin: 0;
  font-size: 1.10rem;
  line-height: 1.55;
  color: var(--green-700);
  font-weight: 900;
}

.meta{
  margin: 14px auto 0 auto;
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Actions */
.actions{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  text-decoration: underline;
}

.button{
  display: inline-block;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(31,122,92,0.30);
  background: transparent;
  color: var(--green-700);
  font-weight: 900;
  cursor: pointer;
}

.button--primary{
  background: linear-gradient(
    180deg,
    #2fa56e,
    #1f7a5c
  );
  color: #ffffff;
  border-color: #1f7a5c;
  box-shadow:
    0 10px 24px rgba(31, 122, 92, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.button--primary:hover{
  background: linear-gradient(
    180deg,
    #36b37a,
    #248f69
  );
  box-shadow:
    0 14px 32px rgba(31, 122, 92, 0.45);
}

.button--ghost{
  background: transparent;
}

.footer{
  width: min(820px, 100%);
  padding: 14px 6px 0 6px;
  color: rgba(15, 23, 42, 0.62);
  text-align: center;
}

.foot{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 61, 46, 0.12);
}

.foot-left{
  text-align: left;
}

.foot-name{
  font-weight: 900;
  color: rgba(15, 61, 46, 0.82);
}

.foot-sub{
  margin-top: 4px;
  font-size: 0.92rem;
}

.foot-right{
  text-align: right;
  font-size: 0.92rem;
  white-space: nowrap;
}

.foot-right a{
  color: rgba(15, 61, 46, 0.86);
  font-weight: 800;
}

.dot{
  padding: 0 8px;
  color: rgba(15, 23, 42, 0.35);
}

.foot-copy{
  margin-top: 10px;
  font-size: 0.88rem;
}

/* About page typography */
.page-title{
  margin: 0 0 10px 0;
  font-size: clamp(1.6rem, 3vw, 2.0rem);
  color: rgba(15, 61, 46, 0.90);
  letter-spacing: 0.01em;
}

.lead{
  margin: 0;
  max-width: 70ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.80);
}

.section-title{
  margin: 18px 0 8px 0;
  font-size: 1.05rem;
  color: rgba(15, 61, 46, 0.88);
}

.body{
  margin: 0;
  max-width: 74ch;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.74);
}

.bullets{
  margin: 10px 0 0 18px;
  padding: 0;
  max-width: 76ch;
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.75;
}

.offer{
  margin-top: 14px;
  padding: 14px 14px;
  border: 1px solid rgba(15, 61, 46, 0.10);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31,122,92,0.06), rgba(31,122,92,0.03));
}

.offer-title{
  margin: 0 0 8px 0;
  color: rgba(15, 61, 46, 0.88);
}

.cta-row{
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
  overflow-y: auto;
  padding: 24px 0;
}

.modal.is-open{
  display: block;
}

.modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 6, 0.45);
}

.modal__panel{
  position: relative;
  width: min(640px, calc(100% - 28px));
  margin: 0 auto;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: linear-gradient(160deg, #f7fdf9 0%, #ecf7f1 100%);
  border: 1px solid rgba(31, 122, 92, 0.28);
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.78);
  padding: 16px 16px 14px 16px;
}

.modal__header{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  padding-right: 36px;
}

.modal__title{
  margin: 0;
  font-size: 1.15rem;
  color: rgba(15, 61, 46, 0.92);
  text-align: center;
}

.modal__close{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 23, 42, 0.55);
}

.modal__close:hover{
  color: rgba(15, 23, 42, 0.80);
}

.modal__blurb{
  margin: 10px 0 14px 0;
  color: rgba(15, 23, 42, 0.70);
  line-height: 1.6;
}

/* Form shim */
.form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field{
  display: grid;
  gap: 6px;
}

.field--full{
  grid-column: 1 / -1;
}

.field__label{
  font-weight: 800;
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.92rem;
}

.field__input{
  border: 1px solid rgba(15, 61, 46, 0.18);
  border-radius: 12px;
  padding: 10px 10px;
  font: inherit;
  outline: none;
}

.field__input:focus{
  border-color: rgba(31,122,92,0.55);
  box-shadow: 0 0 0 4px rgba(31,122,92,0.14);
}

.field__textarea{
  resize: vertical;
  min-height: 110px;
}

.form__actions{
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.form__fineprint{
  margin: 10px 0 0 0;
  color: #7a271a;
  background: #fff5f2;
  border: 1px solid #f7c9bf;
  border-left: 4px solid #d54b2a;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

.field--trap{
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__success{
  display: none;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 122, 92, 0.28);
  border-left: 4px solid #1f7a5c;
  border-radius: 12px;
  background: #f1fbf6;
}

.form__success-title{
  margin: 0;
  color: rgba(15, 61, 46, 0.92);
  font-size: 1rem;
}

.form__success-copy{
  margin: 8px 0 12px 0;
  color: rgba(15, 23, 42, 0.74);
  line-height: 1.55;
}

.form.form--submitted .form__grid,
.form.form--submitted .form__status,
.form.form--submitted .form__actions,
.form.form--submitted .form__fineprint{
  display: none;
}

.form.form--submitted .form__success{
  display: block;
}

/* Screen-reader only */
.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;
}

/* Mobile */
@media (max-width: 720px){
  body{ padding: 16px; }
  .topbar{
    flex-direction: column;
    align-items: center;
  }
  .nav{
    flex-wrap: wrap;
    justify-content: center;
  }
  .card{ padding: 28px 18px 22px 18px; }
  .foot{
    flex-direction: column;
    align-items: center;
  }
  .foot-left, .foot-right{
    text-align: center;
    white-space: normal;
  }
  .form__grid{
    grid-template-columns: 1fr;
  }
}

.fieldset{
  border: 1px solid rgba(15, 61, 46, 0.12);
  border-radius: 12px;
  padding: 10px;
}

.choice-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.choice{
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 600;
  font-size: 0.95rem;
}

.field__error{
  min-height: 1.1em;
  color: #b42318;
  font-size: 0.84rem;
  line-height: 1.4;
}

.field__hint{
  margin: 2px 0 0 0;
  color: rgba(15, 23, 42, 0.65);
  font-size: 0.88rem;
  line-height: 1.5;
}

.field__input.is-invalid{
  border-color: rgba(180, 35, 24, 0.7);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.form__status{
  margin: 8px 0 0 0;
  min-height: 1.2em;
  color: rgba(15, 23, 42, 0.68);
  font-size: 0.9rem;
}

@media (max-width: 720px){
  .choice-grid{
    grid-template-columns: 1fr;
  }
}
