:root {
  --lime: #C8F23A;
  --lemon: #FFE45C;
  --green: #145C3B;
  --white: #F7FAF3;
  --ink: #17251C;
  --muted: #4d5f53;
  --line: #dfe7d6;
  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); color: var(--green); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7.2vw, 5.75rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font: 700 0.8rem/1.2 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 1.25em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--green); flex: none; }
.mark { background: linear-gradient(transparent 12%, var(--lime) 12%, var(--lime) 92%, transparent 92%); padding: 0 0.12em; margin: 0 -0.06em; border-radius: 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }
.lede strong { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--body); padding: 18px 30px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--ink); border-color: var(--green); box-shadow: 0 4px 0 var(--green); }
.btn-primary:hover { box-shadow: 0 6px 0 var(--green); }
.btn-ghost { border-color: var(--green); color: var(--green); }
.btn-ghost:hover { background: #fff; }
.btn-dark { background: var(--green); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(20, 92, 59, .25); }
.btn-sm { padding: 12px 20px; font-size: 0.95rem; box-shadow: 0 3px 0 var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 250, 243, .88); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font: 700 1.6rem/1 var(--head); letter-spacing: -0.04em; color: var(--green); text-decoration: none; }
.logo span { color: var(--lime); -webkit-text-stroke: 1.5px var(--green); font-size: 1.25em; }
.logo-light { color: #fff; }
.logo-light span { -webkit-text-stroke: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-weight: 500; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { border-color: var(--lime); color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2.5px; background: var(--green); border-radius: 2px; margin: 6px 0; transition: transform .2s; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.spin { transform-origin: 230px 290px; animation: spin 60s linear infinite; }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 9s ease-in-out -3s infinite; }
.draw { stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 1.8s .4s ease-out forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.page-hero { padding: clamp(50px, 8vw, 110px) 0 clamp(30px, 4vw, 50px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: var(--lemon); z-index: -1; opacity: .8; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); max-width: 14em; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: #fff; border-block: 1px solid var(--line); }
.section-dark { background: var(--green); color: #e6f2e0; }
.section-dark h2, .section-dark .eyebrow { color: #fff; }
.section-dark .eyebrow::before { box-shadow: none; }
.section-dark a { color: var(--lime); }
.section-head { max-width: 46em; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p:last-child { color: var(--muted); font-size: 1.15rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }

.contrast { list-style: none; padding: 0; margin: 0 0 1.5em; font: 600 clamp(1.3rem, 2.4vw, 1.75rem)/1.35 var(--head); color: var(--green); letter-spacing: -0.02em; }
.contrast s { text-decoration-color: var(--lemon); text-decoration-thickness: 4px; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px; text-decoration: none; color: inherit; transition: transform .25s, border-color .25s, background .25s; }
a.card:hover { transform: translateY(-4px); border-color: var(--green); background: var(--lime); }
.card p { margin: 0; color: var(--muted); }
a.card:hover p { color: var(--ink); }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lemon); font: 700 0.9rem var(--head); color: var(--green); margin-bottom: 22px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 3px solid var(--lime); padding-top: 22px; }
.stat strong { display: block; font: 700 clamp(2.6rem, 5vw, 4.25rem)/1 var(--head); letter-spacing: -0.04em; color: var(--lime); margin-bottom: 12px; }
.fineprint { margin: 40px 0 0; font-size: 0.92rem; opacity: .85; max-width: 52em; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pillar p { color: var(--muted); margin: 0; }
.dot { display: block; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 22px; }
.dot-lime { background: var(--lime); }
.dot-lemon { background: var(--lemon); }
.dot-green { background: var(--green); }
.dot-ring { border: 8px solid var(--lime); }

/* CTA */
.cta { padding: 0 0 clamp(64px, 9vw, 120px); }
.section-tint + .cta, .section-dark + .cta { padding-top: clamp(64px, 9vw, 120px); }
.cta-inner { background: var(--lime); border-radius: 40px; padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; }
.cta-inner::before { width: 260px; height: 260px; background: var(--lemon); left: -80px; bottom: -110px; }
.cta-inner::after { width: 150px; height: 150px; border: 22px solid var(--green); right: -50px; top: -50px; opacity: .9; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner .eyebrow { justify-content: center; }
.cta-inner .eyebrow::before { background: var(--green); box-shadow: none; }
.cta-inner h2 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.cta-inner p:not(.eyebrow) { max-width: 34em; margin: 0 auto 2em; font-size: 1.15rem; }

/* Services page */
.services { display: grid; gap: 0; }
.service { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 72px); padding: clamp(36px, 5vw, 60px) 0; border-top: 1.5px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.service p { color: var(--muted); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.tags li { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.95rem; font-weight: 500; }
.tags-lg li { font-size: 1.05rem; padding: 12px 22px; background: var(--white); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--white); }
.plan-featured { background: var(--green); border-color: var(--green); color: #e6f2e0; }
.plan-featured h3 { color: #fff; }
.plan-type { font: 700 0.75rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); background: var(--lemon); display: inline-block; padding: 5px 12px; border-radius: 999px; }
.plan p:last-child { margin: 0; }

/* About */
.founder-card { background: var(--green); color: #e6f2e0; border-radius: 32px; padding: 40px; position: sticky; top: 110px; }
.founder-card h2 { color: #fff; font-size: 2rem; margin-bottom: .2em; }
.founder-card .tags { margin-top: 24px; }
.founder-card .tags li { background: transparent; border-color: rgba(255,255,255,.3); color: #fff; }
.founder-badge { width: 120px; height: 120px; border-radius: 50%; background: var(--lime); color: var(--green); display: grid; place-items: center; font: 700 2.6rem var(--head); letter-spacing: -0.04em; margin-bottom: 28px; box-shadow: 14px -6px 0 var(--lemon); }

/* Contact */
.form { background: #fff; border: 1.5px solid var(--line); border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label { font-weight: 700; font-size: 0.95rem; }
input, select, textarea { font: inherit; color: inherit; width: 100%; padding: 14px 16px; border: 1.5px solid #c6d2bb; border-radius: 14px; background: var(--white); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--lime); border-color: var(--green); }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: 0.9rem; color: var(--muted); }
.contact-side { display: grid; gap: 20px; }
.contact-box { background: var(--lemon); border-radius: 32px; padding: clamp(24px, 4vw, 40px); }
.contact-box h2 { font-size: 1.5rem; }
.contact-box-plain { background: transparent; border: 1.5px solid var(--line); }
.contact-box-plain h2:not(:first-child) { margin-top: 1.4em; }
.contact-box ol { margin: 0; padding-left: 1.2em; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c7bd; padding: 72px 0 28px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer h2 { font: 700 0.8rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a:not(.logo) { display: block; color: #b9c7bd; text-decoration: none; padding: 5px 0; }
.site-footer a:not(.logo):hover { color: var(--lime); }
.footer-kicker { font: 700 0.75rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--lime); margin: 10px 0 14px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.88rem; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .split, .service { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin-inline: auto; order: -1; }
  .cards, .stats, .pillars, .plans { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-card { position: static; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 20px 28px; border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { font-size: 1.15rem; padding: 10px 0; width: 100%; }
  .nav-links .btn { margin-top: 10px; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .cards, .pillars, .plans, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; }
  .cta-inner { border-radius: 28px; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .draw { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
