:root {
  --eco-green: #22C55E;
  --eco-green-deep: #15803D;
  --eco-ink: #0B120D;
  --eco-surface: #FFFFFF;
  --eco-page: #F3F7F4;
}
/* fine dot-grid texture, applied to page background in W2 — defined now */
body { margin: 0; }
.eco-dotgrid {
  background-color: var(--eco-page);
  background-image: radial-gradient(rgba(11, 18, 13, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* visible focus rings for keyboard users on web */
:focus-visible { outline: 2px solid var(--eco-green); outline-offset: 2px; }

/* ---- Web app frame: centered column on wide viewports, full-bleed on phones ---- */
#eco-web-root { display: flex; min-height: 100dvh; box-sizing: border-box; }
#eco-web-root > div { flex: 1; }
@media (min-width: 768px) {
  #eco-web-root { justify-content: center; }
  #eco-web-root > div {
    width: 100%;
    max-width: 430px;
    min-height: 100dvh;
    background: var(--eco-surface);
  }
}
@media (min-width: 1024px) {
  #eco-web-root { align-items: center; padding: 32px 0; }
  #eco-web-root > div {
    min-height: 0;
    height: min(880px, calc(100dvh - 64px));
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(11,18,13,.06), 0 24px 64px rgba(11,18,13,.18);
  }
}

/* ---- Welcome hero (web-only route /welcome) ---- */
.eco-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: #0A0F0B;
  background-image: radial-gradient(ellipse at 50% 20%, rgba(34,197,94,.16), transparent 55%);
  overflow: hidden;
}
/* faint grain overlay */
.eco-welcome::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-conic-gradient(rgba(255,255,255,.6) 0% 25%, transparent 0% 50%);
  background-size: 3px 3px;
  pointer-events: none;
}
.eco-wm {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px;
}
.eco-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--eco-green);
}
.eco-wordmark {
  font-family: 'Bricolage Grotesque', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}
.eco-center {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  text-align: center;
}
.eco-display {
  display: block;
  margin: 0;
  font-family: 'Bricolage Grotesque', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}
.eco-display-l1, .eco-display-l2 { display: block; font-size: 44px; line-height: 50px; }
.eco-display-l3 { display: block; font-size: 28px; line-height: 36px; color: #A0A0A0; letter-spacing: -0.2px; margin-top: 12px; }
@keyframes eco-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.eco-rise {
  opacity: 0;
  animation: eco-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .eco-rise { animation: none; opacity: 1; }
}
.eco-rise-wm { animation-delay: 0ms; }
.eco-rise-1 { animation-delay: 80ms; }
.eco-rise-2 { animation-delay: 160ms; }
.eco-rise-3 { animation-delay: 240ms; }
.eco-rise-cta { animation-delay: 340ms; }
.eco-rise-foot { animation-delay: 440ms; }
.eco-cta {
  margin-top: 48px;
  background: #22C55E;
  color: #0B120D;
  border: none;
  border-radius: 999px;
  font-family: 'Bricolage Grotesque', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 24px;
  padding: 16px 36px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.eco-cta:hover {
  background: #1EB254;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(34,197,94,.28);
}
.eco-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}
.eco-footwrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 24px;
}
.eco-foot {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: #8A998D;
}
