:root {
  --green-950: #003f2b;
  --green-900: #00533a;
  --green-800: #006846;
  --green-700: #007f59;
  --green-100: #dff2ec;
  --cream: #f7f2e8;
  --paper: #fbfcf8;
  --ink: #111716;
  --muted: #66706d;
  --line: #dce5e1;
  --gold: #d6ae5a;
  --red: #d92f3f;
  --shadow: 0 24px 80px rgba(0, 39, 27, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(214, 174, 90, 0.24), transparent 28rem),
    radial-gradient(circle at 92% 2%, rgba(0, 127, 89, 0.16), transparent 30rem),
    linear-gradient(180deg, #f9f5eb 0%, #f7faf7 48%, #ffffff 100%);
}

a {
  color: inherit;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(249, 245, 235, 0.82);
  border-bottom: 1px solid rgba(0, 63, 43, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--green-900);
}

.brand img {
  width: 54px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(17, 23, 22, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-800);
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--green-700), var(--green-950));
  box-shadow: 0 16px 36px rgba(0, 127, 89, 0.28);
}

.ghost-button {
  border: 1px solid rgba(0, 83, 58, 0.16);
  background: rgba(255, 255, 255, 0.64);
  color: var(--green-900);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 54px;
  align-items: center;
  padding: 72px 0 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(52px, 7.8vw, 102px);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

h2 {
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 16px;
}

h3 {
  font-size: 19px;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hero-copy {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  max-width: 620px;
}

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

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 83, 58, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--green-950);
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.phone-stack {
  position: absolute;
  inset: 0;
}

.phone-frame {
  position: absolute;
  width: min(330px, 44vw);
  overflow: hidden;
  border: 12px solid #111716;
  border-radius: 46px;
  background: #111716;
  box-shadow: var(--shadow);
}

.phone-frame.primary {
  right: 32px;
  top: 0;
  transform: rotate(2.2deg);
}

.phone-frame.secondary {
  left: 0;
  bottom: 8px;
  width: min(284px, 39vw);
  transform: rotate(-5deg);
  opacity: 0.96;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

.floating-card {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(310px, 72%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 245, 242, 0.88)),
    radial-gradient(circle at 20% 0%, rgba(214, 174, 90, 0.22), transparent 18rem);
  box-shadow: 0 22px 52px rgba(0, 39, 27, 0.18);
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  color: var(--green-900);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.section {
  padding: 72px 0;
}

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

.section-header p {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(0, 83, 58, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 44px rgba(0, 39, 27, 0.08);
}

.feature-card.big {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 24px;
  overflow: hidden;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-card img {
  width: 100%;
  align-self: end;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 39, 27, 0.13);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(135deg, #8d9aa3, #aeb8be);
  box-shadow: var(--shadow);
}

.stat {
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.stat:last-child {
  border-right: 0;
}

.stat span {
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.stat strong {
  display: block;
  margin-top: 28px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  background: var(--green-950);
  color: #ffffff;
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 58px;
  border-radius: 999px;
  color: var(--green-950);
  background: var(--gold);
  font-weight: 900;
}

.step p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.legal-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 6% 0%, rgba(214, 174, 90, 0.34), transparent 20rem),
    linear-gradient(135deg, var(--green-900), var(--green-950));
  color: #ffffff;
}

.legal-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.footer {
  padding: 44px 0;
  border-top: 1px solid rgba(0, 63, 43, 0.08);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a {
  text-decoration: none;
  font-weight: 800;
  color: var(--green-900);
}

.page-hero {
  padding: 72px 0 36px;
}

.page-hero h1 {
  max-width: 820px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 38px;
  padding-bottom: 82px;
}

.legal-aside {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(0, 83, 58, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.legal-aside a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.legal-aside a:hover {
  color: var(--green-900);
  background: var(--green-100);
}

.legal-card {
  padding: 34px;
  border: 1px solid rgba(0, 83, 58, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 56px rgba(0, 39, 27, 0.08);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #4d5855;
  line-height: 1.7;
}

.legal-card li {
  margin-bottom: 8px;
}

.notice {
  padding: 16px 18px;
  border: 1px solid rgba(214, 174, 90, 0.35);
  border-radius: 18px;
  background: rgba(214, 174, 90, 0.12);
  color: #5a461b;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .phone-frame {
    width: min(310px, 76vw);
  }

  .phone-frame.primary {
    right: 0;
  }

  .phone-frame.secondary {
    width: min(250px, 60vw);
  }

  .feature-grid,
  .how-grid,
  .stat-strip,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .feature-card.big {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .legal-cta,
  .section-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 22px, 1180px);
  }

  .hero {
    gap: 24px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .floating-card {
    width: 78%;
    bottom: 26px;
  }

  .section {
    padding: 52px 0;
  }

  .stat {
    min-height: 118px;
  }

  .legal-card {
    padding: 24px;
  }
}
