:root {
  --canvas: #0B0F0D;
  --surface-soft: #11161A;
  --surface-card: #161B1E;
  --surface-elevated: #1F262A;
  --hairline: #232A2D;
  --hairline-strong: #353D40;
  --primary: #54E47A;
  --primary-active: #46C868;
  --on-primary: #0B0F0D;
  --on-dark: #EDF1ED;
  --body: #B8C5BC;
  --muted: #7A857F;
  --muted-soft: #525B56;
  --syntax-string: #D4A859;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui:      -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono:    Monaco, Menlo, "Ubuntu Mono", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--canvas); color: var(--body); font-family: var(--font-ui); font-weight: 400; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; min-height: 100dvh; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: var(--on-primary); padding: 12px 16px; font-weight: 600; z-index: 9999; text-decoration: none; }
.skip:focus { left: 16px; top: 16px; outline: 2px solid var(--on-primary); }
*:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.nav { position: sticky; top: 0; z-index: 50; height: 64px; background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.nav-inner { max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0; color: var(--on-dark); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; color: var(--body); }
.nav-links a { color: inherit; text-decoration: none; transition: color 150ms var(--ease-expo); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--on-dark); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 8px; background: rgba(84,228,122,0.06); border: 1px solid rgba(84,228,122,0.25); border-radius: 9999px; font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--body); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px var(--primary); flex-shrink: 0; }
.live-text { font-feature-settings: "tnum"; }
@media (max-width: 720px) {
  .nav { height: auto; }
  .nav-inner { min-height: 64px; padding: 0 24px 16px; flex-wrap: wrap; gap: 16px; }
  .nav-links { order: 3; width: 100%; display: flex; overflow-x: auto; gap: 20px; padding-bottom: 4px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-cta { margin-left: auto; gap: 12px; }
  .live-pill { display: none; }
  .nav-cta .btn-primary { height: 36px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
}

.btn-primary { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; background: var(--primary); color: var(--on-primary); font-family: var(--font-ui); font-size: 14px; font-weight: 600; border: 0; border-radius: 0; cursor: pointer; text-decoration: none; transition: background 150ms var(--ease-expo), transform 300ms var(--ease-expo), box-shadow 300ms var(--ease-expo); }
.btn-primary:hover { background: var(--primary-active); transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(84,228,122,0.35); }
.btn-text { display: inline-flex; align-items: center; font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--body); background: none; border: 0; padding: 0; text-decoration: none; cursor: pointer; transition: color 150ms; }
.btn-text:hover { color: var(--on-dark); }
.btn-text .arrow { display: inline-block; transition: transform 200ms var(--ease-expo); margin-left: 4px; }
.btn-text:hover .arrow { transform: translateX(3px); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: transparent; border: 1px solid var(--hairline); color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 8px var(--primary); flex-shrink: 0; }
.z0 { color: var(--primary) !important; font-family: inherit; font-style: normal; font-weight: inherit; display: inline; letter-spacing: 0; margin: 0; vertical-align: baseline; text-decoration: none; }
.z0[aria-hidden] { speak: never; }
.chip, .open-chip, .live-pill { letter-spacing: 0.06em }
.chip .z0, .live-pill .z0, .open-chip .z0, .meta .z0, .kv-k .z0, .kv-v .z0, .foot-bottom .z0, .foot-tag .z0 { letter-spacing: 0 !important; margin: 0 !important; font-size: 1em; display: inline; transform: none }
@keyframes chipDotPulse { 0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px var(--primary); } 50% { transform: scale(1.35); opacity: 0.65; box-shadow: 0 0 14px var(--primary); } }
@keyframes wordmarkGlow { 0%, 100% { text-shadow: 0 0 6px rgba(84,228,122,0.55), 0 0 14px rgba(84,228,122,0.25); } 50% { text-shadow: 0 0 14px rgba(84,228,122,0.95), 0 0 30px rgba(84,228,122,0.6); } }
@keyframes ambientPulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes scan { 0% { transform: translateY(-120%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(2400%); opacity: 0; } }
.chip-dot, .live-dot { animation: chipDotPulse 2s ease-in-out infinite !important; }
.wordmark .z0, .foot-mark .z0 { animation: wordmarkGlow 3.6s ease-in-out infinite !important; }
.z0 { animation: wordmarkGlow 5.2s ease-in-out infinite; }
.sub-hero { position: relative; isolation: isolate; }
.sub-hero::before { content: ""; position: absolute; inset: -10% -8% auto auto; width: 620px; height: 620px; pointer-events: none; z-index: -1; background: radial-gradient(circle at center, rgba(84,228,122,0.18) 0%, rgba(84,228,122,0.06) 35%, transparent 70%); filter: blur(24px); animation: ambientPulse 7s ease-in-out infinite; }
.sub-card { position: relative; overflow: hidden; }
.sub-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(84,228,122,0.10) 50%, transparent 100%); height: 70px; transform: translateY(-120%); animation: scan 11s linear infinite; }

/* Sub-route hero */
.sub-hero { max-width: 880px; margin: 0 auto; padding: 120px 32px 80px; }
@media (max-width: 720px) { .sub-hero { padding: 80px 24px 56px; } }
.sub-h1 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: 0; font-weight: 800; color: var(--on-dark); margin: 24px 0 20px; text-wrap: balance; }
.sub-h1 .accent { color: var(--primary); }
.sub-lede { font-family: var(--font-ui); font-size: 19px; line-height: 1.55; color: var(--body); max-width: 60ch; text-wrap: pretty; margin: 0 0 32px; }
.sub-lede strong { color: var(--on-dark); font-weight: 600; }
.sub-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Body content blocks */
.sub-body { max-width: 880px; margin: 0 auto; padding: 0 32px 120px; }
@media (max-width: 720px) { .sub-body { padding: 0 24px 80px; } }
.sub-body h2 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.18; letter-spacing: 0; font-weight: 700; color: var(--on-dark); margin: 56px 0 16px; text-wrap: balance; }
.sub-body h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--on-dark); margin: 32px 0 8px; }
.sub-body p { font-size: 16px; line-height: 1.65; color: var(--body); max-width: 64ch; margin: 0 0 16px; text-wrap: pretty; }
.sub-body p strong { color: var(--on-dark); font-weight: 600; }
.sub-body ul { margin: 0 0 16px; padding: 0 0 0 20px; }
.sub-body li { font-size: 16px; line-height: 1.65; color: var(--body); margin-bottom: 8px; }
.sub-body code { font-family: var(--font-mono); font-size: 13px; background: var(--surface-soft); border: 1px solid var(--hairline); padding: 1px 6px; color: var(--on-dark); }
.sub-body a { color: var(--primary); text-decoration: none; border-bottom: 1px solid rgba(84,228,122,0.35); transition: border-color 150ms; }
.sub-body a:hover { border-bottom-color: var(--primary); }

.sub-card { background: var(--surface-card); border: 1px solid var(--hairline); border-radius: 12px; padding: 32px; margin: 32px 0; }
.sub-card .meta { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.sub-card .meta strong { color: var(--primary); font-weight: 700; }

.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--hairline); margin: 24px 0; }
@media (max-width: 600px) { .kv-grid { grid-template-columns: 1fr; } }
.kv-row { display: contents; }
.kv-k, .kv-v { padding: 14px 18px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.kv-k { color: var(--muted); font-weight: 500; background: var(--surface-soft); }
.kv-v { color: var(--on-dark); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.kv-row:last-child .kv-k, .kv-row:last-child .kv-v { border-bottom: 0; }

/* Footer */
.foot { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 32px 40px; margin-top: 80px; }
@media (max-width: 800px) { .foot { padding: 48px 24px 32px; } }
.foot-inner { max-width: 1280px; margin: 0 auto; }
.foot-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 56px; }
.foot-mark { display: inline-flex; align-items: baseline; gap: 0; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0; color: var(--on-dark); text-decoration: none; }
.foot-tag { font-size: 14px; color: var(--muted); max-width: 36ch; line-height: 1.5; margin: 12px 0 0; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 32px; flex: 1 1 auto; max-width: 720px; }
@media (max-width: 800px) { .foot-cols { grid-template-columns: repeat(2, 1fr); max-width: none; width: 100%; } }
.foot-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-soft); margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: var(--body); font-size: 14px; text-decoration: none; transition: color 150ms; }
.foot-col a:hover { color: var(--on-dark); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--muted-soft); flex-wrap: wrap; gap: 16px; }
.foot-bottom .legal { display: flex; gap: 24px; }
.foot-bottom .legal a { color: inherit; text-decoration: none; transition: color 150ms; }
.foot-bottom .legal a:hover { color: var(--body); }

/* Hover micro-interactions (always on, no motion-pref gate — these are interactive feedback) */
.sub-card { transition: transform 300ms var(--ease-expo), border-color 300ms var(--ease-expo); position: relative; overflow: hidden; }
.sub-card:hover { transform: translateY(-2px); border-color: var(--primary); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent); transition: left 700ms var(--ease-expo); pointer-events: none; }
.btn-primary:hover::before { left: 160%; }
.sub-body p a { position: relative; border-bottom: 0; padding-bottom: 1px; }
.sub-body p a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--primary); transform: scaleX(0.32); transform-origin: left; transition: transform 360ms var(--ease-expo); }
.sub-body p a:hover::after { transform: scaleX(1); }

/* Motion (gated on user preference) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes chipDotPulse { 0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px var(--primary); } 50% { transform: scale(1.35); opacity: 0.65; box-shadow: 0 0 14px var(--primary); } }
  @keyframes wordmarkGlow { 0%, 100% { text-shadow: 0 0 6px rgba(84,228,122,0.55), 0 0 14px rgba(84,228,122,0.25); } 50% { text-shadow: 0 0 12px rgba(84,228,122,0.95), 0 0 28px rgba(84,228,122,0.55); } }
  @keyframes ambientPulse { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
  @keyframes scan { 0% { transform: translateY(-120%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(2400%); opacity: 0; } }
  @keyframes accentBreath { 0%, 100% { opacity: 0.92; } 50% { opacity: 1; text-shadow: 0 0 18px rgba(84,228,122,0.45); } }

  /* Sub-hero ambient halo — large, always-on, hard to miss */
  .sub-hero { position: relative; isolation: isolate; }
  .sub-hero::before { content: ""; position: absolute; inset: -10% -8% auto auto; width: 620px; height: 620px; pointer-events: none; z-index: -1; background: radial-gradient(circle at center, rgba(84,228,122,0.18) 0%, rgba(84,228,122,0.06) 35%, transparent 70%); filter: blur(24px); animation: ambientPulse 7s ease-in-out infinite; }

  /* Sub-card persistent scanline (staggered so cards don't move in unison) */
  .sub-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(84,228,122,0.10) 50%, transparent 100%); height: 70px; transform: translateY(-120%); animation: scan 11s linear infinite; }
  .sub-card:nth-of-type(2)::after { animation-delay: -2.5s; }
  .sub-card:nth-of-type(3)::after { animation-delay: -5s; }
  .sub-card:nth-of-type(4)::after { animation-delay: -7.5s; }
  .sub-card:nth-of-type(5)::after { animation-delay: -1.5s; }
  .sub-card:nth-of-type(6)::after { animation-delay: -4s; }

  /* Persistent ambient pulses */
  .wordmark .z0, .foot-mark .z0 { animation: wordmarkGlow 3.6s ease-in-out 1.2s infinite; }
  .z0 { animation: wordmarkGlow 5.2s ease-in-out infinite; }
  .sub-h1 .accent { display: inline-block; animation: accentBreath 4.2s ease-in-out infinite; }
  .chip-dot       { animation: chipDotPulse 2.4s ease-in-out infinite; }
  .live-dot       { animation: chipDotPulse 1.6s ease-in-out infinite; box-shadow: 0 0 14px var(--primary); }

  /* Entrance fadeUps */
  .chip           { animation: fadeUp 600ms var(--ease-expo) 80ms both; }
  .sub-h1         { animation: fadeUp 800ms var(--ease-expo) 200ms both; }
  .sub-lede       { animation: fadeUp 800ms var(--ease-expo) 380ms both; }
  .sub-actions    { animation: fadeUp 800ms var(--ease-expo) 540ms both; }
  .sub-card       { animation: fadeUp 800ms var(--ease-expo) both; }
  .sub-body .sub-card:nth-of-type(1) { animation-delay: 200ms; }
  .sub-body .sub-card:nth-of-type(2) { animation-delay: 320ms; }
  .sub-body .sub-card:nth-of-type(3) { animation-delay: 440ms; }
  .sub-body .sub-card:nth-of-type(4) { animation-delay: 560ms; }
  .sub-body .sub-card:nth-of-type(5) { animation-delay: 680ms; }
  .sub-body .sub-card:nth-of-type(6) { animation-delay: 800ms; }
}

.brand-dot { display: inline-block; color: var(--primary); margin-right: 0.08em; font-weight: 800; animation: none; }
.foot-mark .brand-dot { color: var(--primary); }

/* Final marketing scale pass: bigger, clearer, more share-card/readability oriented. */
body { font-size: 18px; line-height: 1.58; }
.nav { height: 76px; }
.nav-inner, .foot-inner, .hero, .tiles-band, .why-band, .climate-band, .open-band, .cta-band-outer { max-width: 1440px; }
.nav-inner { padding: 0 40px; gap: 40px; }
.wordmark, .foot-mark { font-size: 30px; }
.nav-links { gap: 32px; font-size: 16px; font-weight: 650; }
.live-pill { padding: 8px 14px 8px 12px; font-size: 13px; }
.live-dot, .chip-dot, .open-chip .dot { width: 8px; height: 8px; }
.btn-primary, .btn-on-phosphor { min-height: 54px; height: auto; padding: 0 30px; font-size: 16px; font-weight: 750; box-shadow: 0 0 0 1px rgba(84,228,122,0.2), 0 18px 42px -24px rgba(84,228,122,0.65); }
.btn-primary:hover, .btn-on-phosphor:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -18px rgba(84,228,122,0.6); }
.btn-text { font-size: 16px; font-weight: 650; }
.chip { padding: 10px 16px; font-size: 13px; border-color: var(--hairline-strong); background: rgba(84,228,122,0.035); }
.sub-hero { max-width: 1080px; padding: 150px 40px 96px; }
.sub-h1 { font-size: clamp(62px, 9vw, 116px); line-height: 0.96; font-weight: 850; margin: 30px 0 26px; }
.sub-lede { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.42; max-width: 56ch; margin-bottom: 42px; }
.sub-body { max-width: 1080px; padding: 0 40px 140px; }
.sub-body h2 { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.02; font-weight: 850; margin: 74px 0 22px; }
.sub-body h3 { font-size: 26px; margin: 42px 0 12px; }
.sub-body p, .sub-body li { font-size: 20px; line-height: 1.62; }
.sub-card { border-radius: 10px; padding: 44px; border-color: var(--hairline-strong); }
.sub-card .meta { font-size: 13px; }
.kv-k, .kv-v { padding: 18px 22px; font-size: 16px; }
.foot { padding: 86px 40px 48px; }
.foot-tag, .foot-col a { font-size: 16px; }
.foot-col-title { font-size: 13px; }
.foot-bottom { font-size: 14px; }
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav-inner { padding: 0 14px 14px; gap: 12px; }
  .wordmark { font-size: 24px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .nav-cta .btn-primary { min-height: 40px; padding: 0 12px; font-size: 12px; }
  .sub-hero { padding: 86px 18px 58px; }
  .sub-body { padding: 0 18px 88px; }
  .sub-card { padding: 28px; }
  .foot { padding: 54px 18px 34px; }
}
