:root{
  --bg:#f6fbf6;
  --surface:#ffffff;
  --surface-2:#eef7ef;
  --text:#1f2b24;
  --muted:#5d6c62;
  --line:#dbe8dd;
  --primary:#2e6a4f;
  --primary-2:#4f996d;
  --danger:#a53c3c;
  --sky:#dcefff;
  --shadow:0 14px 34px rgba(26,53,39,.08);
  --radius:22px;
  --max:1120px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

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

.container{
  width:min(var(--max),calc(100% - 32px));
  margin:0 auto;
}

.narrow{
  max-width:780px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(12px);
  background:rgba(246,251,246,.9);
  border-bottom:1px solid rgba(219,232,221,.85);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:16px 0;
}

.brand{
  display:flex;
  gap:14px;
  align-items:center;
}

.brand strong{
  display:block;
}

.brand span{
  display:block;
  color:var(--muted);
  font-size:.92rem;
}

.brand-logo{
  width:48px;
  height:48px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:linear-gradient(160deg,var(--primary),var(--primary-2));
  color:#fff;
  font-weight:800;
  box-shadow:var(--shadow);
}

.brand-with-image{
  display:flex;
  align-items:center;
}

.site-logo{
  height:44px;
  width:auto;
  display:block;
}

.menu{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}

.menu a{
  font-weight:600;
  color:var(--muted);
}

.menu-toggle{
  display:none;
  background:none;
  border:none;
  padding:8px;
  cursor:pointer;
  border-radius:10px;
}

.menu-toggle span{
  display:block;
  width:24px;
  height:2px;
  background:var(--text);
  margin:5px 0;
  border-radius:2px;
  transition:all .2s ease;
}

.menu-toggle.open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2){
  opacity:0;
}

.menu-toggle.open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

.hero{
  padding:76px 0 38px;
  background:
    radial-gradient(circle at 80% 0%, rgba(220,239,255,.7), transparent 24%),
    linear-gradient(180deg,#fbfffb 0%,#f1f8f2 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:28px;
  align-items:center;
}

.hero-logo{
  max-width:360px;
  width:100%;
  height:auto;
  margin:0 auto 20px;
  display:block;
}

.eyebrow,
.section-label{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
  font-weight:800;
  color:var(--primary);
}

h1,h2,h3{
  margin:0 0 14px;
  line-height:1.1;
}

h1{
  font-size:clamp(2.3rem,4.4vw,4.1rem);
}

h2{
  font-size:clamp(1.6rem,3vw,2.6rem);
}

.lead{
  font-size:1.08rem;
  color:var(--muted);
}

.hero-actions,
.stack{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-weight:700;
  font:inherit;
}

.btn.primary{
  background:var(--primary);
  color:#fff;
}

.btn.secondary{
  background:#fff;
  color:var(--primary);
  border:1px solid var(--line);
}

.btn.danger{
  background:var(--danger);
  color:#fff;
}

.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:24px;
}

.stat,
.hero-card,
.panel,
.form-card,
.story-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.stat{
  padding:18px;
  text-align:center;
}

.stat strong{
  display:block;
  font-size:1.6rem;
  color:var(--primary);
}

.hero-card,
.panel,
.form-card,
.story-card{
  padding:22px;
}

.logo-art{
  height:240px;
  border-radius:18px;
  margin-bottom:16px;
  overflow:hidden;
  background:linear-gradient(180deg,var(--sky),#f8fdf8 68%);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:10px;
  position:relative;
}

.logo-art::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:36%;
  background:linear-gradient(180deg,#92d17c,#4f9f56);
}

.peak{
  position:relative;
  z-index:1;
  width:27%;
  min-width:90px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
  font-size:84px;
  line-height:1;
  background:linear-gradient(180deg,#70c164 0%,#2f7c46 100%);
  clip-path:polygon(50% 0%,100% 100%,0% 100%);
  padding-top:44px;
  padding-bottom:24px;
}

.peak-1,.peak-3{height:68%}
.peak-2{height:84%}

.check-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
}

.section,
.page{
  padding:64px 0;
}

.alt{
  background:#eef7ef;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px;
  margin-bottom:18px;
}

.text-link{
  color:var(--primary);
  font-weight:700;
}

.cards.stories{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.tag{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:var(--surface-2);
  color:var(--primary);
  font-size:.82rem;
  font-weight:700;
  margin-bottom:10px;
}

.story-body{
  white-space:pre-wrap;
}

.two-col,
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

label{
  display:block;
  font-weight:600;
  margin-bottom:14px;
}

input,
select,
textarea{
  width:100%;
  margin-top:8px;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid var(--line);
  font:inherit;
  background:#fff;
  color:var(--text);
}

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

.checkbox-line{
  display:flex;
  gap:10px;
  align-items:center;
}

.checkbox-line input{
  width:auto;
  margin:0;
}

/* ===============================
   Terms / Privacy Checkbox
================================ */

.tos-line{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin:20px 0 24px;
}

.tos-line input{
  margin-top:4px;
  width:16px;
  height:16px;
  accent-color:var(--primary);
  cursor:pointer;
}

.tos-line span{
  font-weight:500;
  color:var(--muted);
  line-height:1.5;
  font-size:0.95rem;
}

.tos-line a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}

.tos-line a:hover{
  text-decoration:underline;
}

/* Subtle interaction polish */
.tos-line:hover span{
  color:var(--text);
}

.table-list{
  display:grid;
  gap:12px;
}

.table-row{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:12px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}

.muted-row{
  opacity:.8;
}

.flash-wrap{
  padding-top:16px;
}

.flash{
  padding:14px 16px;
  border-radius:16px;
  margin-bottom:12px;
  border:1px solid var(--line);
  background:#fff;
}

.flash.success{
  border-color:#b7dfc1;
  background:#f2fbf4;
}

.flash.error{
  border-color:#e5b2b2;
  background:#fff4f4;
}

.site-footer{
  border-top:1px solid var(--line);
  padding:26px 0 42px;
  color:var(--muted);
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.owner-blurb{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:.95rem;
  color:#3b4a41;
}

code{
  background:#eef2f0;
  padding:2px 6px;
  border-radius:8px;
}

.center{
  text-align:center;
}

.tagline{
  text-align:center;
  font-weight:700;
  font-size:1.25rem;
  letter-spacing:0.5px;
  margin:24px 0 10px;
}

.subtle{
  text-align:center;
  font-weight:500;
  font-size:.95rem;
  color:var(--muted);
  margin-top:16px;
}

.subtle a{
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
}

.subtle a:hover{
  text-decoration:underline;
}

.signature-line{
  text-align:center;
  font-weight:600;
  font-size:1.05rem;
  margin:10px 0 18px;
  color:var(--primary);
}

.signature-line.subtle{
  font-size:.95rem;
  color:var(--muted);
}

.signature-line.small{
  font-size:.95rem;
  margin-bottom:10px;
}

.progress-steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin:24px 0 28px;
}

.progress-step{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  text-align:center;
  box-shadow:var(--shadow);
}

.progress-step span{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:var(--surface-2);
  color:var(--primary);
  font-weight:700;
  margin-bottom:10px;
}

.progress-step p{
  margin:0;
  font-size:.95rem;
  color:var(--muted);
  font-weight:600;
}

.progress-step.active{
  border-color:var(--primary);
}

.progress-step.active span{
  background:var(--primary);
  color:#fff;
}

.progress-step.complete{
  border-color:#b9d8c2;
}

.progress-step.complete span{
  background:#dff1e4;
  color:var(--primary);
}

.form-section{
  margin-bottom:28px;
  padding-bottom:18px;
  border-bottom:1px solid var(--line);
}

.form-section:last-of-type{
  border-bottom:none;
  margin-bottom:20px;
  padding-bottom:0;
}

.high-five-form{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0 10px;
  flex-wrap:wrap;
}

.high-five-btn{
  background:#eef7ef;
  color:var(--primary);
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.high-five-btn:hover{
  background:#e3f3e5;
}

.high-five-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
}

.high-five-count{
  color:var(--muted);
  font-size:.95rem;
}

#full_name_container{
  margin-top:6px;
}

@media (max-width:900px){
  .hero-grid,
  .two-col,
  .grid-2,
  .cards.stories,
  .footer-grid,
  .stats,
  .table-row{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){
  .nav{
    position:relative;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
  }

  .site-logo{
    height:40px;
  }

  .menu-toggle{
    display:block;
    margin-left:auto;
  }

  .menu{
    display:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding-top:14px;
  }

  .menu.open{
    display:flex;
    background:rgba(246,251,246,.98);
    border-top:1px solid var(--line);
    margin-top:12px;
    padding:14px 0 4px;
  }

  .menu a{
    width:100%;
    padding:6px 0;
  }
}

@media (max-width:700px){
  .progress-steps{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .section,
  .page{
    padding:40px 0;
  }

  h1{
    font-size:clamp(2rem,8vw,2.6rem);
  }

  h2{
    font-size:clamp(1.4rem,6vw,2rem);
  }

  .hero-actions,
  .stack{
    flex-direction:column;
  }

  .btn{
    width:100%;
  }

  .container{
    width:min(var(--max),calc(100% - 24px));
  }

  .hero-logo{
    max-width:280px;
    margin:0 auto 16px;
  }

  .panel,
  .form-card,
  .story-card,
  .hero-card{
    padding:18px;
  }
}
