﻿:root {
  --green-900: #0F3D2E;
  --green-500: #22C55E;
  --lime-400: #A3E635;
  --cream: #F7FAF5;
  --slate: #64748B;
  --white: #FFFFFF;
  --line: #DDE8DD;
  --soft-green: #EAF8EE;
  --soft-lime: #F0FADB;
  --shadow: 0 18px 45px rgba(15, 61, 46, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--green-900);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--green-900);
  font-weight: 700;
  text-decoration-color: var(--lime-400);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
a:hover { color: #0B2E23; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.topbar { padding: 22px 0; border-bottom: 1px solid var(--line); background: rgba(247, 250, 245, 0.98); }
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--green-900); text-decoration: none; }
.brand img { width: 58px; height: 58px; border-radius: 18px; box-shadow: 0 8px 22px rgba(15, 61, 46, 0.12); background: var(--white); }
.brand strong { display: block; font-size: 26px; line-height: 1; letter-spacing: -0.025em; color: var(--green-900); }
.brand .brand-subtitle { display: block; margin-top: 3px; color: var(--green-500); font-size: 13px; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--slate); font-size: 14px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-900); }

.hero { padding: 76px 0 58px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 54px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--green-500); font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 760px; font-size: clamp(42px, 7vw, 82px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 20px; }
.lead { max-width: 700px; margin: 22px 0 0; color: var(--slate); font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 16px; background: var(--green-500); color: var(--white); font-weight: 800; text-decoration: none; box-shadow: 0 14px 28px rgba(34, 197, 94, 0.18); }
.button:hover { color: var(--white); background: #16A34A; }
.button.secondary { background: var(--white); color: var(--green-900); border: 1px solid var(--line); box-shadow: none; }

.hero-card { background: var(--white); border: 1px solid var(--line); border-radius: 30px; padding: 30px; box-shadow: var(--shadow); }
.hero-card .app-icon { width: 148px; height: 148px; border-radius: 36px; display: block; margin-bottom: 28px; box-shadow: 0 18px 30px rgba(15, 61, 46, 0.14); background: var(--white); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.stat { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: var(--cream); }
.stat strong { display: block; font-size: 22px; color: var(--green-900); }
.stat span { color: var(--slate); font-size: 13px; }

.section { padding: 56px 0; }
.section-header { max-width: 760px; margin-bottom: 26px; }
.section-header p { color: var(--slate); font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card, .legal-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 10px 30px rgba(15, 61, 46, 0.06); }
.card .icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 17px; background: var(--soft-green); color: var(--green-500); font-size: 15px; font-weight: 800; }
.card p, .legal-card p, .legal-card li { color: #334155; }
.brand-panel { padding: 34px; border-radius: 24px; background: var(--green-900); color: var(--white); }
.brand-panel p, .brand-panel h2 { color: var(--white); }
.brand-panel .tag { color: var(--lime-400); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.legal-hero { padding: 56px 0 34px; }
.legal-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 56px; }
.side-note { position: sticky; top: 24px; background: var(--green-900); color: var(--white); border-radius: 22px; padding: 22px; }
.side-note p { color: rgba(255, 255, 255, 0.84); }
.side-note a:not(.link-button) { color: var(--white); }
.legal-stack { display: grid; gap: 16px; }
.legal-card h2 { margin-bottom: 10px; font-size: 25px; }
.legal-card ul, .legal-card ol { margin: 12px 0 0; padding-left: 22px; }
.link-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.link-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 14px; background: var(--soft-green); color: var(--green-900); border: 1px solid var(--line); text-decoration: none; font-weight: 800; }
.link-button:hover { background: var(--soft-lime); }
.side-note a.link-button,
.side-note a.link-button:visited {
  background: var(--white);
  color: var(--green-900) !important;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
.side-note a.link-button:hover,
.side-note a.link-button:focus-visible {
  background: var(--soft-lime);
  color: var(--green-900) !important;
}
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--slate); }
.footer .shell { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .topbar .shell, .hero-grid, .legal-layout { grid-template-columns: 1fr; }
  .topbar .shell { align-items: flex-start; flex-direction: column; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-note { position: static; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1120px); }
  .hero { padding-top: 48px; }
  .cards, .stat-row { grid-template-columns: 1fr; }
  .brand strong { font-size: 21px; }
}


