/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1C3D30;
  --ink-soft: #5A8070;
  --cream: #F0FBF7;
  --cream-deep: #E4F5EE;
  --card: #FFFFFF;
  --green: #1C3D30;
  --green-dark: #12261D;
  --green-soft: #B5E3CD;
  --terracotta: #3B96B4;
  --terracotta-dark: #2C7891;
  --mint: #C8EEDD;
  --border: rgba(59, 150, 180, 0.18);
  --shadow: 0 20px 45px -20px rgba(28, 61, 48, 0.22);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 14px;
  --font-body: 'Red Hat Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Red Hat Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

p { color: var(--ink-soft); }

.section { padding: 96px 0; }

.section-heading {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-sub {
  margin-top: 14px;
  font-size: 1.05rem;
}

.section-cta { text-align: center; margin-top: 52px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(59, 150, 180, 0.45);
}
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

.btn-secondary {
  background: var(--green);
  color: #fff;
}
.btn-secondary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-block { width: 100%; padding: 15px 24px; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-nav { padding: 11px 22px; font-size: 0.88rem; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 251, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  font-size: 0.94rem;
  font-weight: 500;
}

.main-nav a { color: var(--ink-soft); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink);
}
.nav-toggle .icon-x { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-x { display: block; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(560px 420px at 82% 8%, rgba(181, 227, 205, 0.45), transparent 70%),
    radial-gradient(480px 380px at 8% 100%, rgba(59, 150, 180, 0.14), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.hero-copy { padding-top: 24px; }

.hero-sub {
  margin-top: 20px;
  font-size: 1.12rem;
  max-width: 520px;
}

.hero-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

/* ---- Form Card ---- */
.hero-form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-form-card h2 {
  font-size: 1.5rem;
}

.form-sub {
  margin-top: 8px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}

.field input.invalid {
  border-color: var(--terracotta);
}

.field-error {
  display: block;
  min-height: 16px;
  font-size: 0.78rem;
  color: var(--terracotta-dark);
  margin-top: 4px;
}

.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.hero-form-card .btn-block { margin-top: 6px; }

.field-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-success {
  text-align: center;
  padding: 24px 8px 8px;
}
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 16px;
}
.form-success h3 { margin-bottom: 8px; }
.form-success p { font-size: 0.95rem; }

/* ============ How It Works ============ */
.how-it-works { background: var(--cream-deep); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.step {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.96rem; }

/* ---- How Visual ---- */
.how-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.visual-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  width: 240px;
  box-shadow: 0 16px 32px -18px rgba(28,61,48,0.16);
}

.visual-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 14px;
}

.visual-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.visual-list li {
  position: relative;
  padding-left: 14px;
}

.visual-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

.visual-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.visual-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.visual-row:last-child { border-bottom: none; }

.visual-arrow { flex-shrink: 0; }

/* ============ Features ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: 0 18px 34px -20px rgba(28,61,48,0.2);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 18px;
}

.feature-card h3 { margin-bottom: 6px; }
.feature-card p { font-size: 0.95rem; }

.feature-card-cta {
  background: var(--green);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.feature-card-cta p {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}
.feature-card-cta .btn-primary { background: #fff; color: var(--green-dark); box-shadow: none; }
.feature-card-cta .btn-primary:hover { background: var(--cream); }

/* ============ About ============ */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-blob {
  position: absolute;
  top: -24px;
  left: -24px;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, var(--green-soft), var(--cream-deep));
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  z-index: 0;
}

.about-shot {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-shot img {
  width: 100%;
  height: auto;
}

.about-badge {
  position: absolute;
  z-index: 2;
  bottom: -18px;
  right: -18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--card);
  color: var(--green);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-copy p { margin: 18px 0 28px; font-size: 1.02rem; }

/* ============ Final CTA ============ */
.final-cta {
  background: var(--green);
  border-radius: 0;
}

.final-cta-inner {
  text-align: center;
  max-width: 640px;
}

.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.82); margin: 16px 0 32px; font-size: 1.05rem; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  padding: 56px 0 32px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.logo-footer .logo-img { height: 32px; }

.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.92rem; }

.footer-nav {
  display: flex;
  gap: 28px;
  margin: 12px 0;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }

.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.82rem; margin-top: 8px; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .section { padding: 64px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .how-visual { flex-direction: column; }
  .visual-arrow { transform: rotate(90deg); }
  h1 { font-size: 2.2rem; }
}
