/* Nkurish Investments · sample site · mobile-first */
@font-face { font-family: Poppins; src: url("../fonts/poppins-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --green: #007b4b; --green-strong: #00905a; --deep: #06402c; --night: #071410;
  --mint: #4fd08e; --silver: #a8a8a8; --paper: #f6f6f0; --card: #ffffff;
  --ink: #10241a; --muted: #5b6a61; --line: #e0e3dc; --night-line: #1d3428; --night-muted: #93a79b;
  --r: 16px; --r-sm: 10px;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px; --s7: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 "Avenir Next", Avenir, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.display { font-family: Poppins, "Avenir Next", sans-serif; font-weight: 500; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: auto; }

/* splash */
.splash { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--night); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s; }
.splash img { width: min(180px, 40vw); }
.splash p { margin: var(--s4) 0 0; text-align: center; color: var(--night-muted); font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
body.splashing { overflow: hidden; }
body.splashing .splash { opacity: 1; visibility: visible; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgb(246 246 240 / .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: transform .3s ease; }
body.at-bottom .top { transform: translateY(-100%); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: var(--s3); }
.brand img { width: 148px; }
.nav-links { display: none; align-items: center; gap: var(--s4); }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--green); }
.nav-links a.pill, .nav-links a.pill:hover { color: #fff; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 100px; background: var(--green); color: #fff; font-size: 13.5px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.pill:hover { background: var(--green-strong); transform: translateY(-1px); box-shadow: 0 8px 20px rgb(0 123 75 / .25); }
.pill:active { transform: translateY(0); }
.pill.ghost { background: transparent; color: var(--ink); border: 1.5px solid #c9cfc6; box-shadow: none; }
.pill.ghost:hover { border-color: var(--green); color: var(--green); background: transparent; }
.pill.light { background: #fff; color: var(--deep); }
.pill.light:hover { background: #eaf5ef; box-shadow: 0 8px 20px rgb(0 0 0 / .2); }
.top .pill { padding: 9px 16px; font-size: 12.5px; }
.burger { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; }
.burger span { position: relative; width: 20px; height: 2px; background: var(--ink); transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, top .25s ease; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 60px 0 0; z-index: 39; background: var(--paper); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s2); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
body.menu-open .sheet { opacity: 1; visibility: visible; transform: none; }
body.menu-open { overflow: hidden; }
.sheet a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-family: Poppins, sans-serif; font-size: 22px; font-weight: 500; text-decoration: none; }
.sheet a[aria-current] { color: var(--green); }
.sheet .pill { margin-top: var(--s4); justify-content: center; font-size: 15px; padding: 15px; }

/* sections */
section { padding: var(--s6) 0; }
.kicker { margin: 0 0 var(--s3); color: var(--green); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0 0 var(--s3); font-size: clamp(2.35rem, 8vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { margin: 0 0 var(--s3); font-size: clamp(1.8rem, 5.4vw, 2.9rem); letter-spacing: -.03em; line-height: 1.08; }
.sub { margin: 0; color: var(--muted); font-size: clamp(15.5px, 2.5vw, 17.5px); max-width: 46ch; }
.center { text-align: center; }
.center .sub, .sub.center { margin-inline: auto; }

/* hero */
.hero { padding: var(--s7) 0 var(--s6); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero .note { margin: var(--s3) 0 0; color: var(--muted); font-size: 12.5px; }
.hero .note b { color: var(--ink); }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 13px 0; }
.ticker-track { display: flex; gap: var(--s5); width: max-content; animation: tick 36s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-item { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tick-item small { color: var(--muted); font-weight: 500; }
.up { color: var(--green); } .down { color: #8a8a8a; }
@keyframes tick { to { transform: translateX(-50%); } }

/* cards */
.cards { display: grid; gap: var(--s3); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); }
.card .ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #e9f4ee; margin-bottom: var(--s3); }
.card .ic img { width: 22px; }
.card h3 { margin: 0 0 6px; font-size: 16.5px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

/* why band */
.why { background: #fff; border-block: 1px solid var(--line); }
.why .split { display: grid; gap: var(--s5); align-items: center; }
.why img { border-radius: var(--r); }

/* steps */
.steps { display: grid; gap: var(--s3); counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: var(--s3); font-family: Poppins, sans-serif; font-size: 30px; color: var(--green); }
.step h3 { margin: 0 0 6px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.stat { text-align: center; padding: var(--s4) var(--s2); }
.stat b { display: block; font-family: Poppins, sans-serif; font-weight: 500; font-size: clamp(1.9rem, 6vw, 2.9rem); color: var(--deep); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 12.5px; }

/* dark bands */
.band { background: var(--night); color: #fff; border-radius: 0; }
.band .sub { color: var(--night-muted); }
.band-inner { display: grid; gap: var(--s5); align-items: center; }

/* footer */
footer { background: var(--night); color: var(--night-muted); padding: var(--s6) 0 var(--s5); font-size: 13.5px; }
.foot-grid { display: grid; gap: var(--s5); }
.foot-brand img { margin-bottom: var(--s3); }
.foot-brand .logo-h { display: block; width: 210px; }
.foot-brand .logo-s { display: none; width: 170px; }
@media (min-width: 720px) { .foot-brand .logo-h { display: none; } .foot-brand .logo-s { display: block; } }
.foot-brand p { margin: 0; max-width: 34ch; }
footer h4 { margin: 0 0 var(--s3); color: #fff; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
footer a { color: var(--night-muted); text-decoration: none; }
footer a:hover { color: var(--mint); }
.legal { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--night-line); display: grid; gap: var(--s2); font-size: 12px; }

/* reveal (progressive enhancement: only hidden when JS is running) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }

/* community layout */
.comm { display: grid; gap: var(--s3); }
.rail { display: grid; gap: var(--s3); align-content: start; }
.widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s3) var(--s4); }
.widget h3 { margin: 0 0 var(--s3); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.wrow { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.wrow:first-of-type { border-top: 0; }
.wrow b { font-weight: 600; }
.wrow .delta { font-size: 12.5px; font-weight: 600; }
.meter { height: 6px; border-radius: 4px; background: #ecefe8; margin: 6px 0 12px; overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.mlabel { display: flex; justify-content: space-between; font-size: 12.5px; margin-top: 10px; }
.mlabel b { font-weight: 600; }
.sess { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.sess:first-of-type { border-top: 0; }
.sess b { display: block; font-size: 13.5px; }
.sess span { color: var(--muted); font-size: 12px; }
.sess .day { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: #e9f4ee; color: var(--deep); font-weight: 600; font-size: 11px; }
.feed { display: grid; gap: var(--s3); }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4); }
.post-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.post-head img { width: 40px; height: 40px; border-radius: 50%; }
.post-head b { display: block; font-size: 14px; }
.post-head span { color: var(--muted); font-size: 12px; }
.badge { margin-left: auto; padding: 4px 10px; border-radius: 100px; background: #e9f4ee; color: var(--deep); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge.grey { background: #eeeeea; color: var(--muted); }
.post p { margin: 0 0 var(--s3); font-size: 14.5px; }
.post .chart { border: 1px solid var(--line); border-radius: var(--r-sm); padding: var(--s3); margin-bottom: var(--s3); }
.post .chart svg { width: 100%; height: auto; display: block; }
.post .sticker { width: 120px; margin-bottom: var(--s3); }
.post-foot { display: flex; gap: var(--s3); }
.act { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--line); background: none; color: var(--muted); font: 600 12.5px "Avenir Next", sans-serif; cursor: pointer; transition: all .18s ease; }
.act:hover { border-color: var(--green); color: var(--green); }
.act.liked { background: #e9f4ee; border-color: transparent; color: var(--green); }
.pinned { border-color: #bcd9c9; background: #f2f9f5; }

/* team: horizontal snap scroll on mobile */
.team-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min(76vw, 300px); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s2); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.team-grid::-webkit-scrollbar { display: none; }
.member { scroll-snap-align: start; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.member img { aspect-ratio: 1; object-fit: cover; }
.member .info { padding: var(--s3) var(--s4) var(--s4); }
.member h3 { margin: 0; font-size: 16px; }
.member .role { margin: 2px 0 10px; color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.member p { margin: 0; color: var(--muted); font-size: 13.5px; }
.values { display: grid; gap: var(--s3); }
.value { padding: var(--s4); border-radius: var(--r); background: var(--deep); color: #fff; }
.value h3 { margin: 0 0 6px; font-size: 16px; }
.value p { margin: 0; color: #a9c6b6; font-size: 13.5px; }

/* insights */
.ins-hero { overflow: hidden; padding-bottom: 0; }
.ins-copy { padding-bottom: var(--s5); }
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; background: #e9f4ee; color: var(--deep); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s3); }
.soon i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

.dash { background: linear-gradient(160deg, #0a2e20, var(--night) 70%); border: 1px solid #1c4531; border-radius: 22px; padding: var(--s4); color: #e8f1ec; font-size: 12.5px; box-shadow: 0 30px 80px rgb(4 26 17 / .45); }
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.dash-top b { font-family: Poppins, sans-serif; font-size: 15px; font-weight: 500; }
.dash-top span { color: var(--night-muted); font-size: 11px; }
.dash-grid { display: grid; gap: 12px; }
.dcard { background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .09); border-radius: 14px; padding: 14px 16px; }
.dcard h4 { margin: 0 0 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.dnum { font-family: Poppins, sans-serif; font-size: 24px; letter-spacing: -.02em; }
.dnum small { color: var(--mint); font-size: 12px; margin-left: 8px; }
.dcard svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.sig { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgb(255 255 255 / .07); }
.sig:first-of-type { border-top: 0; }
.sig b { font-size: 12.5px; }
.sig span { color: var(--night-muted); font-size: 11px; }
.chip { margin-left: auto; flex: none; padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.chip.buy { background: rgb(79 208 142 / .18); color: var(--mint); }
.chip.wait { background: rgb(168 168 168 / .18); color: #c9c9c9; }
.riskbar { height: 7px; border-radius: 4px; background: rgb(255 255 255 / .1); overflow: hidden; margin-top: 6px; }
.riskbar i { display: block; width: 24%; height: 100%; background: var(--mint); border-radius: 4px; }
.dfoot { display: flex; justify-content: space-between; color: var(--night-muted); font-size: 10.5px; margin-top: 4px; }

/* phone mockup: mobile default */
.phone-stage { margin-top: var(--s5); display: grid; justify-items: center; height: 46vh; min-height: 330px; overflow: hidden; }
.phone { width: min(340px, 82vw); border-radius: 34px 34px 0 0; background: linear-gradient(160deg, #0a2e20, var(--night) 70%); border: 1px solid #1c4531; border-bottom: 0; padding: 14px 14px 0; }
.phone .notch { width: 96px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .18); margin: 4px auto 16px; }
.dash-desktop { display: none; }

.benefits { display: grid; gap: var(--s3); }

/* CTA band */
.cta-band { background: var(--deep); color: #fff; border-radius: var(--r); padding: var(--s6) var(--s4); text-align: center; }
.cta-band .sub { color: #a9c6b6; margin-inline: auto; }
.cta-band .pill { margin-top: var(--s4); }

/* mobile: dark CTA band runs edge to edge, flush with the footer */
@media (max-width: 719px) {
  .cta-band { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; padding-inline: var(--s4); }
  section:has(.cta-band) { padding-bottom: 0; }
}

/* ≥720px */
@media (min-width: 720px) {
  .cards, .steps, .benefits { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .why .split { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, 1fr); overflow-x: visible; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .legal { grid-template-columns: 1fr auto; }
  .band-inner { grid-template-columns: 1.1fr .9fr; }
}

/* ≥1000px: desktop nav, community rails, insights bleed */
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .burger, .sheet { display: none; }
  .cards, .steps { grid-template-columns: repeat(4, 1fr); }
  .comm { grid-template-columns: 250px 1fr 250px; align-items: start; }
  .rail { position: sticky; top: 84px; }
  .ins-hero { padding-bottom: var(--s6); }
  .ins-hero .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--s5); align-items: center; }
  .ins-copy { padding-bottom: 0; }
  .phone-stage { display: none; }
  .dash-desktop { display: block; position: relative; }
  .dash-desktop .dash { width: 680px; transform: translateX(6%); }
  .dash-grid.two { grid-template-columns: 1.2fr .8fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
