:root {
  --bg: #020818;
  --ink: #f4f1ea;
  --muted: #d6d3d1;
  --dim: #a8a29e;
  --saffron: #ff9933;
  --paper: #fffaf3;
  --green: #7dffb3;
  --green-deep: #138808;
  --chakra: #8eb4ff;
  --teal: #5eead4;
  --violet: #c4b5fd;
  --line: rgba(255, 250, 243, 0.16);
  --glass: rgba(6, 12, 28, 0.9);
  --font: "Inter", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
  --header: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
:lang(hi) body, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { font-family: "Noto Sans Devanagari", var(--font); }
:lang(pa) body, :lang(pa) h1, :lang(pa) h2, :lang(pa) h3 { font-family: "Noto Sans Gurmukhi", var(--font); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--saffron); }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  color: var(--bg);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.aurora, .grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.aurora {
  z-index: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(255, 153, 51, 0.28), transparent 46%),
    radial-gradient(ellipse at 80% 18%, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(ellipse at 70% 80%, rgba(19, 136, 8, 0.28), transparent 48%),
    radial-gradient(ellipse at 30% 70%, rgba(94, 234, 212, 0.12), transparent 40%),
    radial-gradient(ellipse at 55% 40%, rgba(196, 181, 253, 0.14), transparent 42%);
  animation: drift 32s ease-in-out infinite alternate;
}
.grain {
  z-index: 4;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
html.lite .aurora { animation: none; }
html.lite .grain { display: none; }
html.lite .glass { backdrop-filter: none; background: rgba(6, 12, 28, 0.94); }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -2%, 0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .aurora { animation: none; }
  html { scroll-behavior: auto; }
}

#webgl-root {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
#webgl-root canvas { display: block; width: 100%; height: 100%; }
.site { position: relative; z-index: 2; }

.tri {
  height: 4px;
  background: linear-gradient(90deg, #ff9933 0 33.33%, #fff 33.33% 66.66%, #138808 66.66% 100%);
}
.announce {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: rgba(2, 8, 24, 0.88);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  text-align: center;
}
.announce a { font-weight: 600; }
.topbar { position: sticky; top: 0; z-index: 30; }

nav.bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(2, 8, 24, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  font-size: 18px;
}
.logo span { color: var(--saffron); }
.nav-links {
  display: none;
  list-style: none;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bar .langs { display: none; }
.langs { display: flex; gap: 4px; }
.lang-btn, .icon-btn, .btn, .btn-ghost {
  font: inherit;
  cursor: pointer;
}
.lang-btn, .icon-btn {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 36px;
  min-height: 36px;
  padding: 6px 8px;
}
.lang-btn[aria-pressed="true"] {
  color: var(--bg);
  background: var(--saffron);
  border-color: var(--saffron);
}
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
.nav-cta { display: none; }

.menu {
  display: none;
  padding: 8px 16px 16px;
  background: rgba(2, 8, 24, 0.96);
  border-bottom: 1px solid var(--line);
}
.menu.open { display: grid; gap: 4px; }
.menu a {
  color: var(--ink);
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
}

.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}
.bar .nav-cta { display: none; }
.btn { background: var(--saffron); color: #1a1208; }
.btn:hover { background: #ffb25a; color: #1a1208; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--saffron); color: var(--ink); }

.hero {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 16px 32px;
  gap: 16px;
}
.kicker {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 12px; }
h1 { font-size: clamp(40px, 11vw, 88px); max-width: 11em; }
h2 { font-size: clamp(32px, 8vw, 60px); max-width: 14em; }
.lede { max-width: 38rem; color: var(--muted); font-size: 17px; margin: 0 0 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.india-fallback { width: min(100%, 420px); margin-top: 8px; }
.india-fallback .land { fill: rgba(255, 250, 243, 0.03); stroke: #ff9933; stroke-width: 1.4; }
.india-fallback .origin { fill: #fff; }
.india-fallback .live,
.india-fallback .ride { fill: #7dffb3; }
.india-fallback .soon { fill: rgba(255, 250, 243, 0.45); }
html:not(.lite) .india-fallback .land {
  stroke-dasharray: 8 6;
  animation: march 18s linear infinite;
}
@keyframes march { to { stroke-dashoffset: -280; } }
html.webgl-on .india-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.flight-intro, .section {
  padding: 72px 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.holo {
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 16px 16px 28px;
}
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 153, 51, 0.08), 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}
.holo-card {
  width: min(100%, 460px);
  padding: 22px 20px 20px;
  transform-style: preserve-3d;
}
.holo-card p { color: var(--muted); margin: 0 0 12px; }
.cov { color: var(--ink) !important; font-size: 15px; }
.cov-note { display: block; color: var(--dim); font-size: 13px; margin-top: 6px; }
.tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 4px 8px;
  color: var(--teal);
  margin-bottom: 10px;
}
.tag.soon { color: var(--saffron); }
.product-logo { width: 48px; height: 48px; border-radius: 12px; display: block; margin-bottom: 12px; background: #fbbf24; }

.band { background: rgba(2, 8, 24, 0.78); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3, .grid-2, .pulse-list, .blog-grid { display: grid; gap: 12px; }
.card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.03);
  color: inherit;
  text-decoration: none;
  display: block;
}
.card h3 { color: var(--ink); font-size: 22px; }
.card p, .card span { color: var(--muted); }

.quote { font-size: clamp(26px, 6vw, 44px); max-width: 18ch; }
.quote em { font-style: normal; color: var(--saffron); }

.eco-grid {
  display: grid;
  gap: 12px;
}
.eco-node {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 16, 36, 0.65);
  padding: 4px 14px 12px;
}
.eco-node summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  padding: 12px 0;
  color: var(--ink);
}
.eco-node p { color: var(--muted); margin: 0 0 8px; }
.eco-node a { font-weight: 600; }
.eco-node.is-hot { border-color: var(--saffron); box-shadow: 0 0 24px rgba(255, 153, 51, 0.25); }

.pulse-list { list-style: none; padding: 0; margin: 20px 0 0; }
.pulse-list li {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.03);
}
.pulse-value {
  display: block;
  font-family: var(--display);
  font-size: 42px;
  color: var(--paper);
  text-shadow: 0 0 24px rgba(255, 153, 51, 0.45);
}

.timeline { list-style: none; margin: 28px 0 0; padding: 0 0 0 22px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(#ff9933, #fff, #138808);
  transform: scaleY(1);
  transform-origin: top;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html:not(.lite) .timeline::before {
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
  }
}
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tl-item { position: relative; padding: 0 0 28px 12px; }
.tl-dot {
  position: absolute;
  left: -20px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 12px var(--saffron);
}
.tl-date { margin: 0; color: var(--saffron); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.founder {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  color: #1a1208;
  background: linear-gradient(160deg, #ff9933, #fff 50%, #138808);
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}

details.faq {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  color: var(--ink);
}
details.faq p { margin: 0 0 14px; color: var(--muted); }

.contact-form, .field { display: grid; gap: 8px; }
.contact-form { gap: 12px; max-width: 640px; }
label { font-size: 14px; color: var(--muted); }
input, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 44px;
}
textarea { min-height: 120px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.04);
}
.form-note { min-height: 1.4em; color: var(--green); }
.pending { color: var(--muted); }

.blog-card {
  display: block;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.blog-card h3 { font-size: 20px; color: var(--ink); }
.blog-card p, .blog-card time { color: var(--muted); }

footer.foot {
  padding: 28px 16px 48px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #ff9933 33%, #fff 33% 66%, #138808 66%) 1;
  color: var(--dim);
  font-size: 14px;
}
.foot a { color: var(--saffron); }
.foot-grid { display: grid; gap: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

.palette-fab, .sound-btn {
  position: fixed;
  z-index: 40;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(2, 8, 24, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}
.palette-fab { right: 16px; bottom: 16px; }
.sound-btn { right: 16px; bottom: 74px; font-size: 12px; padding: 0 10px; }
dialog#palette {
  width: min(560px, calc(100vw - 24px));
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #071226;
  color: var(--ink);
  padding: 12px;
}
dialog#palette::backdrop { background: rgba(2, 8, 24, 0.72); }
#palette-input { margin-bottom: 8px; }
#palette-list { list-style: none; margin: 0; padding: 0; max-height: 50vh; overflow: auto; }
#palette-list a, #palette-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  padding: 12px 8px;
  border-radius: 8px;
}
#palette-list a:hover, #palette-list button:hover, #palette-list a:focus-visible, #palette-list button:focus-visible {
  background: rgba(255, 153, 51, 0.15);
}
.cursor {
  position: fixed;
  z-index: 60;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  display: none;
}
html.has-cursor .cursor { display: block; }
html.has-cursor a, html.has-cursor button, html.has-cursor summary { cursor: none; }
html.has-cursor input, html.has-cursor textarea { cursor: text; }

@media (min-width: 800px) {
  .nav-links { display: flex; }
  .bar .langs { display: flex; }
  .bar .nav-cta { display: inline-flex; }
  .nav-toggle, .menu { display: none !important; }
  .nav-cta { display: inline-flex; }
  .hero { padding: 48px 8vw 64px; justify-content: center; }
  .holo { align-items: center; justify-content: flex-end; padding-right: 8vw; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .pulse-list { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 120px 1fr; align-items: center; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .flight-intro, .section { padding: 96px 8vw; }
  .palette-fab { display: none; }
}
@media (min-width: 800px) and (prefers-reduced-motion: no-preference) {
  html:not(.lite) .type {
    border-right: 2px solid var(--saffron);
    animation: caret 0.7s step-end 6;
  }
}
@keyframes caret { 50% { border-right-color: transparent; } }
