:root {
  --ink: #211d29;
  --muted: #70697b;
  --paper: #fcfaf5;
  --surface: #ffffff;
  --line: #e7dfd2;
  --indigo: #44358b;
  --indigo-soft: #eeeafd;
  --saffron: #b85815;
  --saffron-soft: #fff0dc;
  --green: #28624d;
  --shadow: 0 24px 70px rgba(51, 38, 23, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(232, 187, 83, .13), transparent 26rem),
    var(--paper);
  font-family: "Noto Sans Devanagari", "Mangal", system-ui, -apple-system, sans-serif;
}

a { color: inherit; }

.topbar {
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 245, .9);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--saffron), #d88d2b);
  border-radius: 14px;
  font-size: 1.4rem;
  box-shadow: 0 9px 25px rgba(184, 88, 21, .2);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.05rem; }
.brand small { color: var(--muted); font-size: .7rem; }

nav { display: flex; flex-wrap: wrap; gap: 5px; }
nav a {
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
}
nav a:hover { color: var(--saffron); background: var(--saffron-soft); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.hero {
  min-height: 420px;
  padding: clamp(42px, 7vw, 90px) clamp(22px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr);
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 760px;
  margin: 12px 0 20px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 1.03;
  color: var(--green);
}

.hero p {
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.english {
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif;
}

.hindi-note {
  color: var(--muted);
  font-family: "Noto Sans Devanagari", "Mangal", system-ui, sans-serif;
}

.orbit {
  position: relative;
  width: min(310px, 70vw);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid #ddcfba;
  border-radius: 50%;
}

.orbit::before, .orbit::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed #d7c5aa;
  border-radius: inherit;
}
.orbit::after { inset: 38%; background: var(--surface); border-style: solid; }

.orbit-core, .orbit-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.orbit-core {
  inset: 39%;
  color: white;
  background: var(--green);
  font-size: 2rem;
}
.orbit-node { width: 64px; height: 64px; background: white; font-size: 1.4rem; }
.node-one { top: 8%; left: 14%; color: var(--indigo); border: 2px solid #cabff7; }
.node-two { right: 3%; bottom: 19%; color: var(--saffron); border: 2px solid #f1c58c; }

.public-section, .admin-section { padding: 70px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}
.section-heading h2, .admin-section h2 { margin: 7px 0 0; font-size: clamp(1.8rem, 4vw, 3rem); color: var(--green); }
.section-heading p, .admin-section p { color: var(--muted); }

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

.app-card {
  min-height: 340px;
  padding: clamp(22px, 4vw, 38px);
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(51, 38, 23, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.app-card.indigo:hover { border-color: #c7bdf3; }
.app-card.saffron:hover { border-color: #efc084; }

.app-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.7rem;
}
.indigo .app-mark { color: var(--indigo); background: var(--indigo-soft); }
.saffron .app-mark { color: var(--saffron); background: var(--saffron-soft); }

.tag {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--muted);
  font: 700 .7rem system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.app-card h3 { margin-bottom: 0; color: var(--green); font-size: clamp(2rem, 5vw, 3.2rem); }
.app-english-title { color: var(--muted); font-size: 1.05rem; }
.app-card p { margin: 20px 0 8px; line-height: 1.65; }
.app-card p.english { margin-top: 0; font-size: .9rem; }
.open-link { display: inline-block; margin-top: 18px; color: var(--saffron); font-weight: 800; }

.admin-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 7vw, 90px);
  border-top: 1px solid var(--line);
}

.admin-links { display: grid; gap: 10px; }
.admin-links a {
  padding: 17px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  text-decoration: none;
}
.admin-links strong, .admin-links span { display: block; }
.admin-links span { margin-top: 3px; color: var(--muted); font-size: .85rem; }
.admin-links b { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--saffron); }
.admin-links a:hover { border-color: #e5b97b; }

footer {
  padding: 28px clamp(20px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

@media (max-width: 760px) {
  .topbar, .section-heading, footer { align-items: flex-start; flex-direction: column; }
  .hero, .admin-section { grid-template-columns: 1fr; }
  .orbit { width: min(250px, 70vw); }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 52px 1fr; }
  .app-mark { width: 50px; height: 50px; }
}
