@font-face {
  font-family: "Treekeeper Display";
  src: url("assets/treekeeper-display.ttf") format("truetype");
  font-display: swap;
}

:root {
  --ink: #344329;
  --ink-soft: #65705c;
  --forest: #435b31;
  --forest-dark: #2b3b22;
  --leaf: #87ad2e;
  --leaf-bright: #a7d53c;
  --cream: #fff6df;
  --paper: #fae9c7;
  --paper-deep: #efd19b;
  --line: rgba(74, 91, 52, 0.14);
  --blue: #36aee8;
  --shadow: 0 26px 70px rgba(73, 55, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbefd7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 22px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 178px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 750;
}

nav a {
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

nav a:hover {
  color: var(--leaf);
}

.nav-cta {
  padding: 10px 17px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--forest);
  box-shadow: 0 7px 16px rgba(50, 72, 34, 0.18);
}

nav .nav-cta:hover {
  color: white;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 790px;
  padding: 158px 0 110px;
  background:
    linear-gradient(90deg, rgba(255, 245, 221, 0.96) 0%, rgba(255, 241, 211, 0.91) 54%, rgba(250, 224, 179, 0.76) 100%),
    url("assets/forest-background.png") center bottom / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 145px;
  background: linear-gradient(to bottom, transparent, rgba(82, 98, 43, 0.18));
}

.hero-light {
  position: absolute;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-light-one {
  top: -210px;
  left: 25%;
  background: radial-gradient(circle, rgba(255,255,255,0.9), transparent 68%);
}

.hero-light-two {
  right: -120px;
  bottom: 0;
  background: radial-gradient(circle, rgba(171, 209, 56, 0.2), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(44px, 7vw, 105px);
}

.eyebrow {
  margin: 0 0 18px;
  color: #758d46;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 8px;
  color: var(--leaf);
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--forest-dark);
  font-family: "Treekeeper Display", Inter, sans-serif;
  line-height: 1.05;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(50px, 5.7vw, 78px);
  letter-spacing: -0.045em;
}

h1 em {
  color: #739a25;
  font-style: normal;
}

.hero-lead {
  max-width: 630px;
  margin: 0;
  color: #5e6955;
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 22px;
  border-radius: 15px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  border: 1px solid #709422;
  background: linear-gradient(#a9d83d, #78a822);
  box-shadow: 0 9px 0 #597f19, 0 16px 28px rgba(70, 99, 24, 0.22), inset 0 1px rgba(255,255,255,0.6);
}

.button-primary:hover {
  box-shadow: 0 7px 0 #597f19, 0 15px 25px rgba(70, 99, 24, 0.22), inset 0 1px rgba(255,255,255,0.6);
}

.button-secondary {
  color: var(--forest);
  border: 1px solid rgba(69, 90, 44, 0.15);
  background: rgba(255, 250, 236, 0.78);
  box-shadow: 0 8px 24px rgba(88, 67, 30, 0.08);
  backdrop-filter: blur(8px);
}

.button-secondary span {
  margin-left: 8px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  color: #68735d;
  font-size: 13px;
  font-weight: 700;
}

.trust-line span::before {
  content: "✓";
  margin-right: 7px;
  color: #76a325;
}

.hero-art {
  position: relative;
  width: min(100%, 490px);
  margin: 0 auto;
}

.art-glow {
  position: absolute;
  inset: 5% -8% -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 251, 228, 0.88), rgba(185, 211, 89, 0.14) 47%, transparent 72%);
  filter: blur(5px);
}

.app-icon-card {
  position: relative;
  z-index: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 25%;
  background: rgba(255, 250, 232, 0.46);
  box-shadow: 0 45px 75px rgba(67, 61, 29, 0.3), inset 0 1px white;
  transform: rotate(1.5deg);
}

.app-icon-card img {
  width: 100%;
  border-radius: 22%;
}

.floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 176px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 17px;
  background: rgba(255, 248, 227, 0.93);
  box-shadow: 0 16px 35px rgba(66, 55, 26, 0.16);
  backdrop-filter: blur(12px);
}

.floating-note img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.floating-note span {
  display: flex;
  flex-direction: column;
}

.floating-note strong {
  color: var(--forest);
  font-size: 13px;
}

.floating-note small {
  color: #777565;
  font-size: 11px;
}

.note-water {
  top: 9%;
  left: -18%;
}

.note-tree {
  right: -18%;
  bottom: 9%;
}

.section {
  padding: clamp(88px, 10vw, 140px) 0;
}

.journey {
  background: var(--cream);
}

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

.section-heading h2,
.purpose-copy h2,
.cta-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.035em;
}

.section-heading > p:last-child {
  max-width: 590px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 18px;
}

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

.step-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 20px 55px rgba(95, 76, 37, 0.08);
}

.featured-step {
  border-color: rgba(128, 167, 46, 0.34);
  background: linear-gradient(145deg, #fffcef, #f1f6d9);
  transform: translateY(-12px);
}

.step-number {
  position: absolute;
  top: 26px;
  right: 27px;
  color: rgba(67, 91, 49, 0.18);
  font-family: "Treekeeper Display", sans-serif;
  font-size: 32px;
}

.step-icon {
  display: grid;
  width: 116px;
  height: 116px;
  margin-bottom: 25px;
  place-items: center;
  border-radius: 30px;
  background: #f4e8c9;
}

.step-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.water-icon img {
  width: 72px;
  height: 72px;
}

.step-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
}

.purpose {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(44, 59, 34, 0.93), rgba(44, 59, 34, 0.96)),
    url("assets/forest-background.png") center bottom / cover no-repeat;
  color: #f9f2dc;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: center;
  gap: clamp(55px, 9vw, 125px);
}

.purpose-visual {
  position: relative;
}

.purpose-icon-wrap {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 38%;
  background: radial-gradient(circle at 50% 35%, rgba(255, 247, 199, 0.33), rgba(165, 195, 75, 0.09) 60%, transparent 70%);
}

.purpose-icon-wrap img {
  width: 84%;
  filter: drop-shadow(0 28px 30px rgba(15, 22, 11, 0.42));
}

.impact-stamp {
  position: absolute;
  right: -24px;
  bottom: 10px;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border: 1px solid rgba(249, 237, 185, 0.4);
  border-radius: 50%;
  color: #dceba3;
  background: #385025;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  transform: rotate(7deg);
}

.impact-stamp strong {
  font-size: 15px;
}

.purpose-copy .eyebrow {
  color: #bdd76f;
}

.purpose-copy h2 {
  color: white;
}

.purpose-lead {
  margin: 0 0 34px;
  color: rgba(255,255,255,0.75);
  font-size: 18px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(210, 232, 140, 0.28);
  border-radius: 50%;
  color: #d9ec9d;
  background: rgba(178, 211, 82, 0.12);
  font-weight: 900;
}

.feature-list div {
  display: flex;
  flex-direction: column;
}

.feature-list strong {
  color: white;
  font-size: 17px;
}

.feature-list small {
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}

.coming-soon {
  background: #f8e8c8;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(42px, 7vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 38px;
  color: white;
  background: linear-gradient(135deg, #789e2f, #46652c);
  box-shadow: var(--shadow), inset 0 1px rgba(255,255,255,0.38);
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(199, 230, 98, 0.14);
}

.cta-panel::before {
  width: 320px;
  height: 320px;
  top: -180px;
  right: 20%;
}

.cta-panel::after {
  width: 230px;
  height: 230px;
  right: -90px;
  bottom: -120px;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.cta-panel .eyebrow {
  color: #dcf2a1;
}

.cta-panel h2 {
  color: white;
}

.cta-panel p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.76);
  font-size: 18px;
}

.store-badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  padding: 15px 22px;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 18px;
  color: white;
  background: rgba(35, 46, 28, 0.75);
  box-shadow: 0 12px 25px rgba(25, 33, 21, 0.2);
}

.apple-mark {
  display: inline-block;
  font-size: 34px;
  line-height: 1;
}

.store-badge > span:last-child {
  display: flex;
  flex-direction: column;
}

.store-badge small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.store-badge strong {
  font-size: 24px;
  line-height: 1.1;
}

footer {
  padding: 45px 0 35px;
  color: #8b8b77;
  background: #293820;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 9px;
}

.footer-brand p,
.copyright {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: #e8e2cc;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #cbe083;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .hero {
    padding-top: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(76vw, 470px);
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }

  .step-card {
    min-height: 0;
  }

  .featured-step {
    transform: none;
  }

  .purpose-grid {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 55px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 30px, 620px);
  }

  .site-header {
    padding-top: 15px;
  }

  .nav-wrap {
    align-items: flex-start;
  }

  .brand {
    width: 148px;
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 122px 0 92px;
  }

  h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    width: min(82vw, 410px);
  }

  .floating-note {
    min-width: 154px;
    padding: 8px 10px 8px 8px;
  }

  .floating-note img {
    width: 37px;
    height: 37px;
  }

  .note-water {
    left: -8%;
  }

  .note-tree {
    right: -8%;
  }

  .section {
    padding: 82px 0;
  }

  .step-card {
    padding: 25px;
    border-radius: 23px;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .purpose-visual {
    width: min(76vw, 380px);
    margin: 0 auto;
  }

  .impact-stamp {
    right: -6px;
    width: 112px;
    height: 112px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 42px 28px;
    border-radius: 28px;
  }

  .store-badge {
    width: fit-content;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-art {
    width: 84vw;
  }

  .floating-note {
    position: relative;
    inset: auto;
    width: 90%;
    margin: -8px auto 18px;
  }

  .note-tree {
    margin-top: 14px;
  }

  .app-icon-card {
    margin-bottom: 18px;
  }

  .trust-line {
    display: grid;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
