/* =========================================================================
   bulansarkar.com — network hub styles. Shared neutral + gold "family" tokens;
   ink-slate --brand so the colourful mini-site cards lead the eye.
   LIGHT is the default theme; dark is opt-in via the toggle only (no
   prefers-color-scheme fallback — see ../BRAND-SYSTEM.md §2).
   ========================================================================= */
:root {
  --bg: #f7f8fb; --surface: #ffffff; --surface-2: #eef0f7; --border: #e2e5f0;
  --text: #14161f; --text-soft: #4b5163; --text-mute: #868da3;
  --brand: #1f2937;      /* ink slate — the neutral parent identity */
  --brand-soft: #eef1f6;
  --accent: #c9922b;     /* shared muted gold — the family thread */
  --shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px rgba(17,24,39,.06);
  --radius: 14px; --maxw: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
:root { color-scheme: light; }
:root[data-theme="dark"] {
  --bg: #0c0e15; --surface: #14171f; --surface-2: #1b1f2b; --border: #262b3a;
  --text: #eef1f6; --text-soft: #b3bccb; --text-mute: #7b8598;
  --brand: #cbd5e1; --brand-soft: #1b2130; --accent: #e0b055;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.15; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* accessibility */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 200; background: var(--brand);
  color: var(--surface); padding: 9px 14px; border-radius: 8px; font-weight: 700; transition: top .15s; }
.skip-link:focus { top: 8px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* header / nav */
.site-header { position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem;
  color: var(--text); }
.brand:hover { text-decoration: none; }
.brand small { color: var(--text-mute); font-weight: 600; }
.logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  font-family: var(--serif); font-weight: 700; font-size: .95rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent)); }
.nav-links { display: flex; gap: 18px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-soft); font-weight: 600; font-size: .93rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--text);
  cursor: pointer; margin-left: auto; }
.theme-toggle { background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  width: 38px; height: 38px; cursor: pointer; font-size: 1rem; }
.theme-toggle .sun { display: none; } .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 62px; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 6px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 20px; }
  .theme-toggle { order: 3; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  font-weight: 700; font-size: .96rem; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--surface); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }

/* hero */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(1100px 460px at 78% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--border); }
.hero-inner { position: relative; z-index: 2; padding: 78px 0 66px; max-width: 680px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); background: var(--brand-soft);
  border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 850; margin: 0 0 18px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent), #b5642a); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero .lead { font-size: 1.16rem; color: var(--text-soft); margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.6rem; font-weight: 850; }
.hero-stats .stat span { color: var(--text-mute); font-size: .85rem; }
.hero-art { position: absolute; right: -20px; bottom: -10px; width: min(46%, 560px); opacity: .9;
  z-index: 1; pointer-events: none; }
@media (max-width: 900px) { .hero-art { display: none; } }

/* sections */
.section { padding: 54px 0; }
.section-head { max-width: 720px; margin-bottom: 22px; }
.section-head h2 { font-size: 1.7rem; margin: 0 0 6px; }
.section-head p { color: var(--text-soft); margin: 0; }
.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* network grid */
.net-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.net-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 3px solid var(--hue, var(--accent)); box-shadow: var(--shadow);
  transition: transform .12s ease, border-color .2s, box-shadow .2s; color: var(--text); }
.net-card:hover { transform: translateY(-3px); text-decoration: none;
  box-shadow: 0 6px 14px rgba(17,24,39,.08), 0 18px 40px rgba(17,24,39,.10); }
.net-card .top { display: flex; align-items: center; gap: 12px; }
.net-card .glyph { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #fff; flex-shrink: 0;
  background: linear-gradient(135deg, var(--hue, var(--accent)), color-mix(in srgb, var(--hue, var(--accent)) 55%, var(--accent))); }
.net-card h3 { margin: 0; font-size: 1.2rem; }
.net-card h3 small { color: var(--text-mute); font-weight: 600; }
.net-card .tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--hue, var(--accent)); }
.net-card p { margin: 0; color: var(--text-soft); font-size: .95rem; flex-grow: 1; }
.net-card .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem;
  color: var(--hue, var(--accent)); }
.net-card.soon { border-top-color: var(--border); opacity: .85; }
.net-card.soon .glyph { background: var(--surface-2); color: var(--text-mute); border: 1px dashed var(--border); }
.net-card.soon .tag, .net-card.soon .go { color: var(--text-mute); }

/* start-here paths */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.path { padding: 20px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); }
.path:hover { text-decoration: none; border-color: var(--accent); }
.path .q { font-weight: 700; margin-bottom: 6px; }
.path .a { color: var(--text-soft); font-size: .93rem; }
.path .a b { color: var(--brand); }

/* values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.value .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.value h3 { margin: 0 0 6px; font-size: 1.05rem; }
.value p { margin: 0; color: var(--text-soft); font-size: .93rem; }

/* about */
.about { max-width: 760px; }
.about p { color: var(--text-soft); }
.notice { background: var(--brand-soft); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 14px 16px; color: var(--text-soft); font-size: .92rem; }

/* footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; padding: 46px 0 26px; }
.footer-brand p { color: var(--text-soft); font-size: .92rem; max-width: 36ch; }
.site-footer h5 { margin: 0 0 10px; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-mute); }
.site-footer .footer-grid > div a { display: block; color: var(--text-soft); padding: 3px 0; font-size: .92rem; }
.site-footer .footer-grid > div a:hover { color: var(--brand); text-decoration: none; }
.footer-disclaimer { border-top: 1px solid var(--border); }
.footer-disclaimer .wrap { padding: 16px 20px; font-size: .8rem; color: var(--text-mute); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 0 26px; color: var(--text-mute); font-size: .85rem; border-top: 1px solid var(--border); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
