:root {
  --ink: #16171b;
  --ink-soft: #3a3d44;
  --paper: #fbf7ef;
  --panel: rgba(255, 255, 255, 0.68);
  --line: rgba(22, 23, 27, 0.13);
  --hot: #d14a1d;
  --cold: #0d8474;
  --mono: "Space Mono", monospace;
  --display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --gurmukhi: "Noto Sans Gurmukhi", sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1200px 500px at 10% -20%, #ffd9c0 0%, rgba(255, 217, 192, 0) 60%),
    radial-gradient(900px 400px at 90% 0%, #c3f0e6 0%, rgba(195, 240, 230, 0) 58%),
    linear-gradient(180deg, #fefaf3 0%, #f2efe7 100%);
  color: var(--ink);
  font-family: var(--display);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(#000 0.4px, transparent 0.4px);
  background-size: 4px 4px;
  z-index: 0;
}

.glow {
  position: fixed;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  filter: blur(55px);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.glow-a {
  background: #ea7f52;
  top: 16vh;
  left: -70px;
}

.glow-b {
  background: #2ca18f;
  right: -80px;
  bottom: 12vh;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 12px;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--hot), var(--cold));
}

nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.6);
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.hero {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.hero-left,
.stat-card,
.panel,
.feature-card,
.download-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.hero-left {
  padding: 30px;
  animation: rise 560ms ease-out;
}

.stat-card {
  padding: 26px;
  animation: rise 740ms ease-out;
}

.eyebrow,
.label {
  margin: 0;
  font-family: var(--mono);
  letter-spacing: 0.07em;
  font-size: 12px;
  text-transform: uppercase;
  color: #4b4f57;
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 5.5vw, 66px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.lead {
  margin: 0;
  max-width: 760px;
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.45;
  color: var(--ink-soft);
}

.gurmukhi {
  margin-top: 20px;
  font-family: var(--gurmukhi);
  font-size: clamp(20px, 2.8vw, 30px);
  color: #7f2f14;
}

.cta-row,
.actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--display);
  padding: 10px 16px;
  cursor: pointer;
}

.btn-solid {
  color: #fff;
  background: linear-gradient(130deg, var(--hot), #dc6641);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.mono {
  font-family: var(--mono);
}

.text-link {
  color: #0f7366;
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.panel {
  margin-top: 18px;
  padding: 24px;
  animation: rise 800ms ease-out;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.release-meta {
  margin: 14px 0;
  color: #2f333a;
  font-weight: 600;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.download-card {
  padding: 18px;
}

.download-card h3,
.feature-card h3 {
  margin: 0;
  font-size: 24px;
}

.download-card p,
.feature-card p,
.panel p,
.panel li {
  margin: 8px 0 0;
  line-height: 1.45;
}

.feature-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-card {
  padding: 18px;
  animation: rise 1s ease-out;
}

ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.link-row {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.muted {
  margin-top: 12px;
  color: #5f646d;
}

pre {
  margin: 14px 0 0;
  overflow-x: auto;
  border: 1px solid #262a33;
  background: #1b1e24;
  color: #e9edf6;
  border-radius: 12px;
  padding: 14px;
}

code {
  font-family: var(--mono);
}

footer {
  margin-top: 24px;
  padding-top: 10px;
  padding-bottom: 28px;
  color: #585e68;
  font-weight: 600;
}

.reveal {
  animation: rise 720ms ease-out;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(32px, 11vw, 46px);
  }
}
