:root {
  --ink:         #15171C;
  --ink-mid:     #3A3D45;
  --ink-light:   #6B6F78;
  --accent:      #0E7C66;
  --accent-soft: #E3F4EF;
  --mint:        #5FD3B5;
  --surface:     #FAFAF8;
  --surface-alt: #F1F2EF;
  --white:       #FFFFFF;
  --border:      #E1E3DE;
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1100px;
  --section-pad: 96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer; transition: background 0.18s, color 0.18s, transform 0.18s; border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: #0B6654; border-color: #0B6654; transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border-color: var(--border); background: var(--white); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { padding: 8px 18px; font-size: 14px; background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-small:hover { background: var(--accent); border-color: var(--accent); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 38px; height: auto; }
.brand-word { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: -0.02em; }
.brand-word b { font-weight: 700; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(250,250,248,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 14px; font-weight: 500; color: var(--ink-mid); transition: color 0.15s; }
.nav-links a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* Shared type */
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; padding: 5px 14px; background: var(--accent-soft); border-radius: 40px; }
.section-title { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; text-align: center; margin: 0 auto 40px; max-width: 820px; }
.section-title span { color: var(--accent); }
h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

/* Hero */
.hero { padding: 96px 0 72px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5.2vw, 62px); font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; max-width: 1000px; margin-bottom: 28px; }
.hero h1 span { color: var(--accent); display: block; }
.hero-body { font-size: 19px; color: var(--ink-mid); max-width: 640px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Proof */
.proof { padding: 56px 0; background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.stats div { text-align: center; }
.stats dd { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.stats dt { font-size: 13px; font-weight: 500; color: var(--ink-light); }
.stats div { display: flex; flex-direction: column-reverse; }
.logos-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: 24px; }
.logos { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 24px 48px; }
.logos li { display: flex; align-items: center; gap: 10px; filter: grayscale(1) opacity(0.6); transition: filter 0.2s; }
.logos li:hover { filter: none; }
.logos img { height: 28px; width: auto; object-fit: contain; }
.logos span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.logos em { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.logos-more { text-align: center; font-size: 14px; color: var(--ink-light); margin-top: 28px; }

/* Why */
.why { padding: var(--section-pad) 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 24px 0 0; border-top: 2px solid var(--accent); }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--ink-mid); }

/* What we do */
.what { padding: var(--section-pad) 0; background: var(--surface-alt); }
.what-intro { font-size: 19px; color: var(--ink-mid); max-width: 700px; margin: -16px auto 40px; text-align: center; }
.what-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto 40px; }
.what-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; }
.what-card h3 { font-size: 19px; margin-bottom: 14px; }
.what-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.what-card li { font-size: 15px; color: var(--ink-mid); padding-left: 18px; position: relative; line-height: 1.6; }
.what-card li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; border: 2px solid var(--accent); }
.what-uses { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent); padding-top: 14px; border-top: 1px solid var(--border); }
.what-close { font-size: 18px; font-style: italic; color: var(--ink-mid); max-width: 680px; margin: 0 auto; text-align: center; }

/* Loops */
.loops { padding: var(--section-pad) 0; }
.loops-intro { font-size: 18px; color: var(--ink-mid); max-width: 640px; margin: -16px auto 48px; text-align: center; }
.stage { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); }
.status { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 40px; background: var(--surface-alt); color: var(--ink-mid); border: 1px solid var(--border); white-space: nowrap; }
.status-live { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.loop-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.loop-card { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.loop-card h3 { font-size: 20px; }
.loop-card p:not(.stage) { font-size: 14px; color: var(--ink-mid); line-height: 1.55; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.loop-card a, .layer a { font-size: 13px; font-weight: 600; color: var(--accent); }
.loop-card a:hover, .layer a:hover { text-decoration: underline; }
.loop-card:not(:last-child)::after { content: '\2192'; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: var(--ink-light); font-size: 18px; }
.loop-return { position: relative; height: 34px; margin: 0 12.5%; border: 1.5px solid var(--ink-light); border-top: none; border-radius: 0 0 10px 10px; opacity: 0.7; }
.loop-return::before { content: ''; position: absolute; left: -6px; top: -2px; border: 5px solid transparent; border-bottom: 8px solid var(--ink-light); transform: translateY(-8px); }
.loop-return span { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); background: var(--surface); padding: 0 12px; font-size: 13px; color: var(--ink-light); white-space: nowrap; }
.layer { display: grid; grid-template-columns: 130px 1fr auto auto; align-items: center; gap: 20px; border-radius: var(--radius-md); padding: 18px 24px; margin-top: 16px; }
.layer:first-of-type { margin-top: 40px; }
.layer h3 { font-size: 17px; }
.layer p:not(.stage) { font-size: 14px; color: var(--ink-mid); }
.layer-trust { background: var(--surface-alt); border: 1px solid var(--border); margin-top: 40px; }
.layer-foundation { background: var(--accent-soft); border: 2px solid var(--accent); }
.layer-foundation .stage { color: var(--accent); }

/* How we work */
.how { padding: var(--section-pad) 0; background: var(--ink); color: var(--white); }
.how .section-title { color: var(--white); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.how-grid li { border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 28px; }
.how-grid h3 { font-size: 22px; margin-bottom: 10px; }
.how-grid h3 span { color: var(--mint); font-size: 14px; margin-right: 6px; }
.how-grid p { font-size: 15px; color: rgba(255,255,255,0.72); }
.how-terms { max-width: 720px; margin: 0 auto; text-align: center; font-size: 17px; color: rgba(255,255,255,0.72); }

/* Founder */
.founder { padding: 80px 0 40px; }
.founder-inner { max-width: 760px; text-align: center; }
.founder-body { font-size: 18px; color: var(--ink-mid); margin-bottom: 16px; }
.text-link { font-weight: 600; color: var(--accent); }
.text-link:hover { text-decoration: underline; }

/* Name */
.name { padding: 24px 0 80px; }
.name p { max-width: 760px; margin: 0 auto; text-align: center; font-size: 15px; color: var(--ink-light); }
.name strong { color: var(--ink); }

/* CTA */
.cta { padding: var(--section-pad) 0; background: var(--ink); text-align: center; }
.cta h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; color: var(--white); max-width: 760px; margin: 0 auto 32px; }
.cta h2 span { color: var(--mint); }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.08); padding: 36px 0 24px; color: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--mint); }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; }
.footer-copy p { font-size: 13px; color: rgba(255,255,255,0.4); text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  :root { --section-pad: 72px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(2, auto); }
  .loop-row { grid-template-columns: repeat(2, 1fr); }
  .loop-card:nth-child(2)::after { display: none; }
  .loop-return { display: none; }
  .layer { grid-template-columns: 1fr; gap: 8px; }
  .layer .status { justify-self: start; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container, .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 20px 16px; gap: 16px; }
  .nav-toggle { display: block; }
  .hero { padding: 64px 0 56px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .logos { grid-template-columns: 1fr 1fr; gap: 20px 16px; justify-content: stretch; }
  .logos span { white-space: normal; font-size: 14px; }
  .why-grid, .what-grid, .loop-row { grid-template-columns: 1fr; }
  .loop-card::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
