/* Kernel & Node Labs — one stylesheet for every page. Dark, quiet, one brass accent. */
:root {
  --bg: #0b0c0f;
  --bg-2: #111318;
  --card: #15181e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f3f1ec;
  --soft: #b4b7bf;
  --faint: #7d818b;
  --brass: #d3a25a;
  --brass-pale: #8f744a;
  --brass-soft: rgba(211, 162, 90, 0.12);
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 28px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--soft); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
@media (max-width: 720px) {
  .top nav { gap: 18px; font-size: 14px; }
  .top nav .hide-sm { display: none; }
  .top .logo img { height: 28px; }
}

/* Type */
.eyebrow {
  font: 600 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brass);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
.amp { font-family: var(--serif); font-weight: 400; color: var(--brass); font-style: italic; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--soft); max-width: 640px; }
p { margin: 0 0 1em; }
.soft { color: var(--soft); }
.faint { color: var(--faint); }

/* Sections */
section { padding: 96px 0; border-top: 1px solid var(--line); }
section.first { border-top: 0; padding-top: 120px; }
.head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 720px; }
@media (max-width: 720px) { section { padding: 72px 0; } section.first { padding-top: 80px; } }

.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(211, 162, 90, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-2); color: var(--ink);
}
.btn.solid { background: var(--ink); color: #111; border-color: var(--ink); }
.btn:hover { border-color: var(--brass); }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.story .big { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.35; color: var(--ink); }
.story .big em { color: var(--brass); }
.story .body p { color: var(--soft); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 28px; } }

.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline b { color: var(--brass); font-weight: 600; }
.timeline span { color: var(--soft); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .products { grid-template-columns: 1fr; } }
.product {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.product:hover { border-color: var(--line-2); transform: translateY(-2px); }
.product .shot { aspect-ratio: 1200 / 630; background: #000 center / cover no-repeat; border-bottom: 1px solid var(--line); }
.product .shot.aangan {
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 120%, rgba(211, 162, 90, 0.28), transparent 60%), #0a0a0a;
}
.product .shot.aangan img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); }
.product .txt { padding: 24px 24px 26px; display: grid; gap: 10px; flex: 1; }
.product .for { font-size: 13px; color: var(--faint); letter-spacing: 0.04em; }
.product p { color: var(--soft); margin: 0; font-size: 16px; }
.product .go { margin-top: auto; padding-top: 10px; color: var(--brass); font-weight: 600; font-size: 15px; }

/* Principles */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }
.tile { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.tile .n { font-family: var(--serif); color: var(--brass); font-size: 22px; margin-bottom: 14px; }
.tile p { color: var(--soft); font-size: 15.5px; margin: 8px 0 0; }

/* People */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.person { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.person .ini {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--brass-soft); color: var(--brass); font: 600 20px var(--sans);
}
.person .role { color: var(--faint); font-size: 14px; margin: 2px 0 10px; }
.person p { color: var(--soft); font-size: 15.5px; margin: 0; }

/* Contact / company facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.fact .k { font-size: 13px; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.fact .v { font-size: 17px; }
.fact a { color: var(--brass); text-decoration: none; }

/* Aangan page */
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px) { .phones { grid-template-columns: repeat(2, 1fr); } }
.phone { border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.phone img { width: 100%; height: auto; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--soft); font-size: 15.5px; margin: 0; }
.appicon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--soft); font-size: 14px;
}
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); display: inline-block; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 24px; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--soft); }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin: 6px 0; }
.legal a { color: var(--brass); }
.legal .box { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); margin: 20px 0; }
.legal .box p:last-child { margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--faint); font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { footer .cols { grid-template-columns: 1fr 1fr; } }
footer h4 { color: var(--ink); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
footer a { text-decoration: none; display: block; padding: 3px 0; color: var(--soft); }
footer a:hover { color: var(--ink); }
footer .mark img { height: 30px; width: auto; margin-bottom: 16px; }
footer address { font-style: normal; line-height: 1.7; }
footer .legalline { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
