:root {
  --brand-green: #22C55E;
  --brand-green-dark: #16A34A;
  --brand-green-light: #4ADE80;
  --brand-violet: #8B5CF6;
  --brand: var(--brand-green);
  --brand-suffix: #22C55E;
  --brand-soft: #ECFDF5;
  --brand-muted: rgba(34, 197, 94, 0.12);
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f8fafb;
  --border: #e2e8f0;
  --text: #1a2332;
  --text-secondary: #5c6b7a;
  --text-muted: #8b97a6;
  --friend: #22C55E;
  --accent: #f59e0b;
  --saffron: #FF9933;
  --india-green: #138808;
  --chakra: #000080;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --elev-2: 0 4px 16px rgba(26, 35, 50, 0.08);
  --elev-3: 0 12px 32px rgba(26, 35, 50, 0.12);
  --focus-ring: 0 0 0 3px var(--brand-muted);
  --nav-h: 64px;
  color-scheme: light;
}

[data-theme="dark"] {
  --brand-soft: rgba(34, 197, 94, 0.14);
  --brand-muted: rgba(34, 197, 94, 0.22);
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c2330;
  --border: #2d3640;
  --text: #e6edf3;
  --text-secondary: #9aa5b1;
  --text-muted: #6b7785;
  --brand-suffix: #22C55E;
  --elev-2: 0 4px 16px rgba(0, 0, 0, 0.35);
  --elev-3: 0 12px 32px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-green-dark); text-decoration: none; }
a:hover { color: var(--brand-green); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 80;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
}
.skip:focus { left: 12px; top: 12px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-transform: none;
}
.brand em { color: var(--brand); font-style: normal; }
.brand img { width: 36px; height: 36px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--nav-h);
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  padding-left: max(16px, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  overflow: visible;
}
.nav-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--text); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-actions [role="group"] { display: flex; gap: 4px; }
.icon-btn, .menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.icon-btn svg, .menu-btn svg, .lang-toggle svg { width: 18px; height: 18px; display: block; }
.icon-btn.is-active {
  border-color: var(--brand);
  color: var(--brand-green-dark);
  background: var(--brand-soft);
}
.menu-btn { display: none; }

.lang { position: relative; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  max-width: 190px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  font-size: 0.86rem;
}
.lang-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-toggle svg.chevron { width: 14px; height: 14px; flex-shrink: 0; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, 86vw);
  max-height: min(70vh, 440px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--elev-3);
  padding: 6px;
  z-index: 90;
}
.lang-menu[hidden] { display: none !important; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: start;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
}
.lang-menu button:hover,
.lang-menu button:focus-visible,
.lang-menu button[aria-selected="true"] {
  background: var(--brand-soft);
  color: var(--text);
}
.drawer {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.drawer a { color: var(--text); font-weight: 600; }
.drawer[hidden] { display: none !important; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 40px;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--brand-green-dark);
  margin: 0 0 10px;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; }
.cycle {
  display: block;
  min-height: 1.2em;
  color: var(--brand);
  margin-top: 8px;
}
.cycle.is-out { opacity: 0; transform: translateY(8px); }
.cycle.is-in { opacity: 1; transform: translateY(0); transition: opacity 0.45s ease, transform 0.45s ease; }
.lead {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 38rem;
  margin: 16px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #052e16;
  margin-top: 22px;
}
.btn-primary:hover { background: var(--brand-green-light); color: #052e16; }

.device {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--elev-3);
  overflow: hidden;
  transform: rotate(-2deg);
}
.device-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  background: #111827;
  color: #fff;
  font-weight: 700;
}
.device-bar em { color: var(--brand); font-style: normal; }
.pill {
  font-size: 0.72rem;
  background: var(--brand);
  color: #052e16;
  border-radius: 999px;
  padding: 4px 8px;
}
.rail { display: flex; gap: 8px; padding: 12px; }
.announce {
  width: 48px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #d1d5db;
}
.bulletin { padding: 0 14px 16px; }
.bulletin p { margin: 8px 0; color: var(--text-secondary); }
.media {
  height: 120px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #d1d5db;
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #86efac;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  object-fit: cover;
}
.avatar.on { box-shadow: 0 0 0 3px #bbf7d0; }

.section { padding: 72px 0; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.section-head h2, .copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-head p, .copy p { color: var(--text-secondary); }

.quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.4;
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--brand);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split.flip > :first-child { order: 2; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--elev-2);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 0.94rem; }
.card.wide { grid-column: span 2; }
.icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-green-dark);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.icon svg { width: 18px; height: 18px; }

.radar {
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
  background: radial-gradient(circle, var(--brand-soft), transparent 70%);
  overflow: hidden;
}
.sweep {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 78%, rgba(34, 197, 94, 0.35) 100%);
  animation: spin 7s linear infinite;
}
.ring {
  position: absolute;
  inset: 18%;
  border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  border-radius: 50%;
}
.center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  background: var(--brand);
  border-radius: 50%;
}
.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.legend { display: flex; gap: 16px; justify-content: center; margin-top: 12px; color: var(--text-secondary); font-size: 0.85rem; }
.swatch { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }

.chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.chat-head { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.chat-head small { display: block; color: var(--friend); font-size: 0.75rem; }
.chat-body { padding: 14px; display: grid; gap: 8px; }
.bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 14px;
  margin: 0;
  font-size: 0.9rem;
}
.bubble.in { background: var(--surface-2); }
.bubble.out { background: var(--brand-soft); margin-left: auto; }
.bubble.media {
  height: auto;
  width: 52%;
  padding: 0;
  overflow: hidden;
  background: #d1d5db;
}
.bubble.media img {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: cover;
}
.read { margin: 0; text-align: right; color: var(--text-muted); font-size: 0.75rem; }

.phone {
  width: min(220px, 70%);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: #111827;
  position: relative;
  overflow: hidden;
  box-shadow: var(--elev-3);
}
.phone-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.progress { position: relative; z-index: 1; height: 3px; background: rgba(255,255,255,.25); margin: 12px; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: #fff; animation: grow 5s linear infinite; }
.creator { position: absolute; z-index: 1; left: 12px; bottom: 16px; color: #fff; display: flex; align-items: center; gap: 8px; }
.creator .avatar { margin-right: 0; }
.actions { position: absolute; z-index: 1; right: 12px; bottom: 24px; color: #fff; display: grid; gap: 12px; }

.briefly-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.briefly-card {
  position: relative;
  aspect-ratio: 9 / 14;
  border-radius: 18px;
  display: grid;
  align-content: end;
  padding: 12px;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}
.briefly-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.briefly-card figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.briefly-card figcaption .avatar {
  position: static;
  width: 28px;
  height: 28px;
  inset: auto;
  margin-right: 8px;
  flex-shrink: 0;
}
.briefly-card.photo,
.briefly-card.video { background: #111827; }
.briefly-card.photo::after,
.briefly-card.video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5));
}
.briefly-card.text {
  background: linear-gradient(180deg, #a78bfa, #6d28d9);
  align-content: space-between;
}
.briefly-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.bond-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bond-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}
.bond-list em { margin-left: auto; font-style: normal; font-size: 0.78rem; color: var(--brand-green-dark); }

.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.opening {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0;
  background: #111;
  color: #111;
}
.india-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  background: #111;
}
.opening-copy {
  position: absolute;
  top: calc(var(--nav-h) + 4.5rem);
  right: 6%;
  left: auto;
  z-index: 1;
  width: min(28rem, 34%);
  max-width: none;
}
.opening .eyebrow,
.opening h1,
.opening p {
  color: #111;
}
.opening .eyebrow { font-size: 1rem; }
.opening h1 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.2;
}
.opening p {
  max-width: none;
  font-size: 1.08rem;
}
.opening .btn-primary {
  background: var(--brand);
  color: #052e16;
  margin-top: 20px;
}
.opening .btn-primary:hover {
  background: var(--brand-green-dark);
  color: #fff;
}
.bridge {
  padding: 72px 0;
  text-align: center;
}
.bridge .quote { border: 0; padding: 0; }
.particles {
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  opacity: 0.55;
  animation: rise 9s linear infinite;
}
.particle.s { background: var(--saffron); }
.particle.w { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.particle.g { background: var(--india-green); }

.glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: glow 8s ease-in-out infinite;
}
.glow.a { background: var(--saffron); top: 10%; left: 8%; }
.glow.b { background: var(--india-green); bottom: 8%; right: 10%; animation-delay: -3s; }

.vision-line {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-align: center;
  margin: 0;
}

.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.footer a { color: var(--text-secondary); }
.footer a:hover { color: var(--text); }
.foot-copy { margin-top: 24px; font-size: 0.82rem; }

.legal-page { padding: 48px 0 80px; max-width: 40rem; }
.legal-page h1 { margin-bottom: 16px; }

.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { from { width: 0; } to { width: 100%; } }
@keyframes rise {
  0% { transform: translateY(20px); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: translateY(-180px); opacity: 0; }
}
@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.28; }
  50% { transform: scale(1.15); opacity: 0.45; }
}

@media (max-width: 900px) {
  .hero, .split, .footer-grid, .grid, .privacy-grid { grid-template-columns: 1fr; }
  .opening-copy {
    top: calc(var(--nav-h) + 1.5rem);
    right: 5%;
    left: auto;
    bottom: auto;
    width: min(28rem, 88%);
  }
  .card.wide { grid-column: auto; }
  .split.flip > :first-child { order: 0; }
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .drawer:not([hidden]) { display: flex; }
  .hero { padding-top: 28px; }
  .device { transform: none; }
}

@media (max-width: 640px) {
  .briefly-row { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

.hero .bz-slogan { margin-bottom: 8px; }
.hero .bz-slogan--secondary { margin: 18px 0 8px; }
.hero .lead { margin-top: 18px; }

.bz-slogan { margin: 0; }
.bz-slogan-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28em;
  font-family: var(--font-display);
}
.bz-slogan-brand {
  display: block;
  font-weight: 700;
  font-size: clamp(2.35rem, 6.4vw, 4.35rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text);
  text-transform: none;
}
.bz-slogan-brand em { font-style: normal; color: var(--brand-suffix); }
.bz-slogan-rest {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.42em;
  row-gap: 0.12em;
  max-width: 22em;
  font-size: clamp(1.2rem, 3.1vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--text);
}
.bz-phrase { display: inline-block; }
.bz-slogan-brand,
.bz-phrase {
  opacity: 0;
  transform: translateY(0.38em);
}
.bz-slogan.is-playing .bz-slogan-brand,
.bz-slogan.is-playing .bz-phrase,
.bz-slogan.is-reduced .bz-slogan-brand,
.bz-slogan.is-reduced .bz-phrase {
  animation: bz-slogan-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.bz-slogan.is-playing .bz-slogan-brand { animation-delay: 0.06s; }
.bz-slogan.is-playing .bz-phrase { animation-delay: calc(0.52s + (var(--i, 0) * 0.52s)); }
.bz-slogan--secondary .bz-slogan-brand { font-size: clamp(1.45rem, 3.4vw, 2.15rem); }
.bz-slogan--secondary .bz-slogan-rest {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 550;
  max-width: 24em;
  color: var(--text-secondary);
}
.bz-slogan--secondary.is-playing .bz-slogan-brand { animation-delay: 2.35s; }
.bz-slogan--secondary.is-playing .bz-phrase { animation-delay: calc(2.78s + (var(--i, 0) * 0.48s)); }
.bz-slogan.is-reduced .bz-slogan-brand,
.bz-slogan.is-reduced .bz-phrase {
  animation: none;
  opacity: 1;
  transform: none;
}
@keyframes bz-slogan-in {
  from { opacity: 0; transform: translateY(0.38em); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .bz-slogan-brand { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .bz-slogan-rest { font-size: clamp(1.05rem, 4.6vw, 1.28rem); }
  .bz-slogan--secondary .bz-slogan-brand { font-size: 1.28rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sweep, .progress i, .particle, .glow, .cycle { animation: none !important; }
  .reveal, .cycle { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bz-slogan-brand,
  .bz-phrase {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
