@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap');

:root {
  --g900: #073D28;
  --g700: #0E6B45;
  --g500: #17A05F;
  --g300: #6FD3A2;
  --mint: #E2F5EB;
  --bg: #F3FBF7;
  --card: #ffffff;
  --ink: #0C2B1C;
  --muted: #5B7A6C;
  --line: #D7EEE1;
  --shadow: 0 10px 30px rgba(7, 61, 40, .08);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Rubik", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
a { color: var(--g700); }
p { margin-bottom: 14px; }
ul { margin: 0 0 16px 22px; }
li { margin-bottom: 7px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 251, 247, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 4px 12px rgba(7,61,40,.18); }
.brand strong { font-size: 1.25em; font-weight: 700; letter-spacing: -.2px; }
.brand small { display: block; font-size: .72em; color: var(--muted); font-weight: 400; margin-top: -3px; }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93em;
  padding: 8px 14px; border-radius: 999px; transition: background .15s;
}
nav.main a:hover { background: var(--mint); }
nav.main a.active { background: var(--g700); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--g900) 0%, var(--g700) 55%, var(--g500) 100%);
  color: #fff;
  padding: 76px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(400px 260px at 10% 90%, rgba(255,255,255,.08), transparent 60%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 12px; border-radius: 999px; font-size: .8em; font-weight: 500; margin-bottom: 18px;
}
.hero h1 { font-size: 2.7em; line-height: 1.12; font-weight: 700; letter-spacing: -.6px; margin-bottom: 16px; }
.hero p { color: #D9F0E4; font-size: 1.08em; max-width: 540px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--g700); color: #fff !important; text-decoration: none;
  font-weight: 600; padding: 13px 24px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(7,61,40,.22); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(7,61,40,.28); }
.btn.light { background: #fff; color: var(--g900) !important; }
.btn.ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.55); box-shadow: none; }

/* phone mock in hero */
.phone {
  justify-self: end; width: 300px; background: #fff; color: var(--ink);
  border-radius: 28px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.28);
  transform: rotate(-3deg);
}
.phone .ph-top { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.phone .ph-top img { width: 34px; height: 34px; border-radius: 9px; }
.phone .ph-top strong { font-size: .95em; }
.phone .ph-top span { display: block; font-size: .72em; color: var(--muted); }
.phone .big {
  background: linear-gradient(135deg, var(--g900), var(--g500)); color: #fff;
  border-radius: 16px; padding: 14px 16px; margin-bottom: 12px;
}
.phone .big small { display: block; font-size: .72em; opacity: .85; }
.phone .big b { font-size: 1.5em; font-weight: 700; }
.phone .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.phone .row div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 9px 8px; text-align: center; }
.phone .row small { display: block; font-size: .62em; color: var(--muted); }
.phone .row b { font-size: .82em; }

/* stats strip overlapping hero */
.stats { margin-top: -54px; position: relative; z-index: 2; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat b { display: block; font-size: 1.7em; color: var(--g700); font-weight: 700; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92em; }

/* ---------- sections ---------- */
main { padding: 56px 0 40px; }
section { margin-bottom: 56px; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head .kicker { color: var(--g500); font-weight: 600; font-size: .82em; letter-spacing: .6px; text-transform: uppercase; }
h2 { font-size: 1.85em; font-weight: 700; letter-spacing: -.4px; color: var(--g900); margin: 4px 0 10px; }
h3 { font-size: 1.12em; font-weight: 600; color: var(--g900); margin: 26px 0 8px; }
.section-head p { color: var(--muted); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: transform .15s;
}
.tile:hover { transform: translateY(-3px); }
.tile .ico {
  width: 44px; height: 44px; border-radius: 13px; background: var(--mint); color: var(--g700);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.tile .ico svg { width: 22px; height: 22px; }
.tile strong { display: block; font-size: 1.02em; margin-bottom: 4px; color: var(--g900); }
.tile span { font-size: .93em; color: var(--muted); }

.notice {
  background: #FFF8E6; border: 1px solid #F0DFAE; border-radius: 14px;
  padding: 16px 20px; font-size: .95em; color: #6B5A1E;
}
.kv { list-style: none; margin-left: 0; }
.kv li { margin-bottom: 9px; padding-left: 0; }
.kv strong { color: var(--g900); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- legal / prose pages ---------- */
.prose { max-width: 800px; }
.prose .meta {
  background: var(--mint); border-radius: 14px; padding: 14px 18px; font-size: .93em;
  color: var(--g900); margin-bottom: 22px;
}
.prose h3 { padding-top: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93em; margin: 10px 0 18px; }
.prose th { text-align: left; color: var(--g900); padding: 10px 10px; border-bottom: 2px solid var(--line); }
.prose td { padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- footer ---------- */
footer.site { background: var(--g900); color: #BFE3D0; margin-top: 30px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 46px 0 30px; }
footer.site h4 { color: #fff; font-size: .95em; font-weight: 600; margin-bottom: 12px; }
footer.site a { color: #DDF3E6; text-decoration: none; display: block; margin-bottom: 8px; font-size: .95em; }
footer.site a:hover { color: #fff; }
footer.site p { font-size: .92em; }
footer.site .bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0 26px; font-size: .85em; color: #9CCBB3;
}
footer.site .brand strong { color: #fff; }
footer.site .brand small { color: #9CCBB3; }

@media (max-width: 820px) {
  header.site .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
  .hero { padding: 54px 0 96px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1em; }
  .phone { justify-self: center; transform: none; width: 100%; max-width: 320px; }
  .stats .wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  footer.site .cols { grid-template-columns: 1fr; gap: 22px; }
  .card { padding: 22px 20px; }
}
