/* Vivek Chhikara — Products Shop & Storefront Brand System
   Matches vivekchhikara.com / role.css tokens */
:root {
  --ink: #05070a;
  --graphite: #0c1017;
  --graphite-2: #111722;
  --frost: #e8eff5;
  --muted: #7d8c99;
  --line: rgba(220, 235, 245, 0.12);
  --line-strong: rgba(220, 235, 245, 0.22);
  --blue-light: #60a5fa;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --red: #ef4444;
  --accent: var(--emerald);
  --display: "Instrument Serif", Georgia, serif;
  --body: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); scroll-behavior: smooth; }
body {
  background:
    radial-gradient(1100px 560px at 85% -8%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%),
    radial-gradient(900px 480px at -10% 105%, rgba(59, 130, 246, 0.06), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--frost);
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a.link:hover { color: var(--frost); }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px var(--pad);
  background: rgba(5, 7, 10, 0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .mark { display: flex; align-items: center; gap: 10px; color: var(--frost); }
.top .mark::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 10px var(--emerald);
}
.top nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--muted); transition: color .2s; }
.top nav a:hover, .top nav a.active { color: var(--frost); }
.top nav .cta {
  color: var(--frost); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; transition: border-color .2s, background .2s;
}
.top nav .cta:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.03); }

/* Typography */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -0.015em; }
h1 { font-size: clamp(44px, 6.4vw, 84px); text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 24px; line-height: 1.2; }
h1 em, h2 em { color: var(--accent); font-style: italic; }

.eyebrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); margin-bottom: 20px; }
.tag {
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding: 3px 9px; border-radius: 2px;
}
.crumbs { color: var(--muted); margin-bottom: 32px; }
.crumbs a:hover { color: var(--frost); }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: rgba(232, 239, 245, 0.84); max-width: 60ch; }
.lede strong { color: var(--frost); font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 6px; border: 1px solid transparent;
  background: var(--accent); color: #05070a;
  font-family: var(--body); font-weight: 500; font-size: 15px;
  cursor: pointer; transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--frost);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(255, 255, 255, 0.03); filter: none; }

/* Delivery Banner */
.delivery-banner {
  display: none; background: rgba(16, 185, 129, 0.12);
  border-bottom: 1px solid rgba(16, 185, 129, 0.35);
  padding: 18px 0;
}
.delivery-banner.show { display: block; }
.delivery-banner .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.delivery-banner strong { font-family: var(--display); font-size: 24px; font-weight: 400; color: var(--frost); }
.delivery-banner p { font-size: 14px; color: rgba(232, 239, 245, 0.82); }

/* Code */
pre, code { font-family: var(--mono); text-transform: none; letter-spacing: 0; }
pre {
  background: var(--graphite); border: 1px solid var(--line); border-radius: 6px;
  padding: 18px 20px; overflow-x: auto; font-size: 13px; line-height: 1.65; color: #cfe0ee;
}

/* Footer */
.foot {
  margin-top: 96px; padding: 36px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot a:hover { color: var(--frost); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
