:root {
  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --fg: #14261B;
  --fg-muted: #5B6B61;
  --border: #E3E9E4;
  --accent: #1F5C3B;
  --accent-soft: #E7F3EA;
  --accent-strong: #153F29;
  --accent-light: #2E7D46;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1712; --surface: #152019; --fg: #E8EFE9; --fg-muted: #94A89C;
    --border: #26332B; --accent: #7BC696; --accent-soft: #1C2A21; --accent-strong: #9BDBB0; --accent-light: #7BC696;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1712; --surface: #152019; --fg: #E8EFE9; --fg-muted: #94A89C;
  --border: #26332B; --accent: #7BC696; --accent-soft: #1C2A21; --accent-strong: #9BDBB0; --accent-light: #7BC696;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px; line-height: 1.65;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; text-wrap: balance; margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
section { padding-block: 72px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }

/* Top bar */
.top-bar { background: var(--accent-strong); color: rgba(255,255,255,0.88); font-size: 12.5px; text-align: center; padding-block: 7px; letter-spacing: 0.02em; }
.top-bar .mono { font-family: "JetBrains Mono", monospace; color: #fff; }

/* Nav */
header.site {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.brand-text { line-height: 1.15; }
.brand-text .name { font-weight: 800; letter-spacing: 0.06em; font-size: 16.5px; display: block; }
.brand-text .tag { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); font-weight: 600; }
nav.links { display: flex; gap: 28px; }
nav.links a { position: relative; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--fg-muted); padding-block: 4px; }
nav.links a:hover { color: var(--accent); }
nav.links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent);
  transition: right 0.18s ease;
}
nav.links a:hover::after { right: 0; }
.nav-toggle {
  display: none; align-items: center; justify-content: center; background: none; border: 1px solid var(--border);
  border-radius: 8px; width: 38px; height: 38px; cursor: pointer; color: var(--fg); padding: 0;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero { padding-block: 56px 56px; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { color: var(--fg-muted); font-size: 18px; max-width: 48ch; margin-bottom: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 10px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-outline { border-color: var(--border); color: var(--fg); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-muted); font-weight: 600; }
.trust-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.hero-panel {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/3;
  background: radial-gradient(120% 140% at 15% 0%, var(--accent-light) 0%, var(--accent) 48%, var(--accent-strong) 100%);
  box-shadow: 0 24px 56px -26px rgba(21,63,41,0.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-panel .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); }
.hero-panel .ring-1 { width: 420px; height: 420px; top: -140px; right: -140px; }
.hero-panel .ring-2 { width: 300px; height: 300px; bottom: -120px; left: -100px; border-color: rgba(255,255,255,0.1); }
.hero-panel .mark {
  position: relative; width: 56%; max-width: 230px; background: #fff; border-radius: 20px; padding: 10% 8% 7%;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.35);
}
.hero-panel .mark img { width: 100%; }
.hero-panel .mark-label {
  position: relative; margin-top: 18px; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; text-align: center; opacity: 0.88;
}

/* Story + mission */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.story-grid p { color: var(--fg-muted); max-width: 56ch; font-size: 16.5px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.stat b { font-family: "Fraunces", serif; font-size: 26px; display: block; color: var(--accent-strong); }
.stat span { font-size: 12.5px; color: var(--fg-muted); }

section.mission { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.mission-card { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.mission-card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong);
  display: grid; place-items: center; margin-bottom: 14px;
}
.mission-card .icon svg { width: 22px; height: 22px; }
.mission-card h3 { font-size: 17px; margin-bottom: 8px; }
.mission-card p { color: var(--fg-muted); font-size: 14.5px; margin: 0; }

/* Apps */
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.app-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; }
.app-card .app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.app-icon {
  width: 48px; height: 48px; border-radius: 12px; color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--accent-light), var(--accent-strong));
}
.app-card h3 { font-size: 20px; }
.badge-soon { display: inline-block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--accent-strong); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.app-card ul { margin: 0; padding-left: 20px; color: var(--fg-muted); font-size: 14.5px; }
.app-card li { margin-bottom: 7px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 32px; }
.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); margin-bottom: 12px; }
.team-card h3 { font-size: 15.5px; font-weight: 700; font-family: "Source Sans 3", sans-serif; }
.team-card .role { font-size: 12.5px; color: var(--accent); font-weight: 700; margin: 2px 0 8px; }
.team-card p.bio { font-size: 13px; color: var(--fg-muted); margin: 0; }

/* Contact */
section.contact { background: var(--accent-strong); color: #fff; border-radius: 28px; margin-inline: 20px; max-width: 1080px; margin-left: auto; margin-right: auto; }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
section.contact h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
section.contact p.lede-c { color: rgba(255,255,255,0.78); max-width: 46ch; margin-bottom: 0; }
.contact-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 10px 24px; }
.contact-row { display: flex; align-items: center; gap: 12px; padding-block: 15px; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 14.5px; }
.contact-row:last-child { border-bottom: none; }
.contact-row svg { width: 18px; height: 18px; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.contact-row .label { color: rgba(255,255,255,0.65); min-width: 72px; }
.contact-row .value { margin-left: auto; text-align: right; }
.contact-row a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }

footer.site { padding-block: 32px; color: var(--fg-muted); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--fg-muted); }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 860px) {
  nav.links { position: fixed; inset: 60px 16px auto 16px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; flex-direction: column; padding: 14px; gap: 4px; box-shadow: 0 16px 40px -20px rgba(0,0,0,0.35);
    display: none; }
  nav.links.open { display: flex; }
  nav.links a { padding: 10px 8px; border-radius: 8px; }
  nav.links a:hover { background: var(--accent-soft); }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { order: -1; max-width: 360px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .mission-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  section.contact { margin-inline: 12px; }
}
