@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/noto-devanagari.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/noto-devanagari-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Devanagari";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/noto-devanagari-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #6657d9;
  --primary-ink: #ffffff;
  --accent: #b8326c;
  --background: #f8f6ff;
  --surface: #ffffff;
  --surface-2: #f0edff;
  --ink: #24203d;
  --muted: #68627e;
  --border: #d8d0fa;
  --rule: #cfc6f2;
  --header-h: 68px;
  --measure: 1180px;
  --gutter: 1.25rem;
  --radius: 2px;
  --pill: 999px;
  --sticky-h: 62px;
  --shadow: 0 10px 30px rgb(36 32 61 / 0.08);
  --focus: 2px solid #24203d;
  --z-header: 40;
  --z-drawer: 50;
  --z-sticky: 45;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html:focus-within {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  isolation: isolate;
  font-family: "DM Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--background);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(236 232 255 / 0.55), transparent 18rem),
    repeating-linear-gradient(
      180deg,
      transparent,
      transparent 31px,
      rgb(216 208 250 / 0.28) 32px
    );
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-underline-offset: 0.14em;
}

a:hover {
  color: #4d40b8;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--measure), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgb(248 246 255 / 0.97);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  border-radius: var(--radius);
}

.nav-primary {
  justify-self: center;
}

.nav-primary ul {
  display: flex;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-primary a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-primary a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-cta,
.play-btn,
.chip,
.nav-toggle {
  white-space: nowrap;
}

.play-btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--pill);
  background: var(--primary);
  color: var(--primary-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.play-btn:hover,
.nav-cta:hover {
  background: #5346c4;
  color: #fff;
}

.play-btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.play-btn--ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: var(--radius);
}

.drawer-backdrop {
  display: none;
}

@media (max-width: 1023px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-primary {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: var(--z-drawer);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem var(--gutter) 1rem;
    transform: translateY(-120%);
    visibility: hidden;
  }

  .nav-primary.is-open {
    transform: none;
    visibility: visible;
  }

  .nav-primary ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-primary a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--surface-2);
  }

  .drawer-backdrop.is-open {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgb(36 32 61 / 0.28);
    z-index: 49;
  }

  body.nav-open {
    overflow: hidden;
  }
}

.hero {
  padding: 1.4rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.6rem;
  align-items: end;
}

.hero-grid > * {
  min-width: 0;
}

.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
.h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-lead {
  margin: 0 0 1rem;
  max-width: 38rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.photo-note {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.photo-note img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.note-slip {
  position: absolute;
  left: 0.8rem;
  bottom: -0.85rem;
  max-width: min(82%, 18rem);
  padding: 0.55rem 0.7rem;
  background: #fffdf8;
  border: 1px solid #e4dcc4;
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 8px 18px rgb(36 32 61 / 0.1);
}

.band {
  padding: 2.4rem 0;
}

.band + .band {
  border-top: 1px solid var(--rule);
}

.band--paper {
  background: var(--surface);
}

.band--tint {
  background: var(--surface-2);
}

.band--ink {
  background: #2c2748;
  color: #f4f1ff;
}

.band--ink h2,
.band--ink p,
.band--ink a {
  color: #f4f1ff;
}

.band--ink a {
  text-decoration-color: #c9c0ff;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1rem;
}

.lede {
  max-width: 46rem;
}

.compliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  font-size: 0.95rem;
}

.chip-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.chip {
  scroll-snap-align: start;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--pill);
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
}

.chip[aria-pressed="true"],
.chip.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.format-desk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.format-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1rem 0.85rem;
}

.format-card h3 {
  font-size: 1.05rem;
}

.format-card.is-dim {
  opacity: 0.62;
}

.crumbs {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.page-hero {
  padding: 1.2rem 0 0.4rem;
}

.meta-line {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--primary);
  padding: 0.9rem 1rem;
  margin: 1.1rem 0;
}

.glossary {
  display: grid;
  gap: 0.75rem;
}

.glossary div {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.two-col > * {
  min-width: 0;
}

body {
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  body {
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
  }
}

.walk {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.3rem;
}

.walk > * {
  min-width: 0;
}

.step-rail {
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule);
}

.step-index {
  font-weight: 700;
  color: var(--primary);
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.ledger th,
.ledger td {
  text-align: left;
  vertical-align: top;
  padding: 0.8rem 0.7rem;
  border-bottom: 1px solid var(--rule);
}

.ledger th {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.ticket {
  min-width: 0;
  background: var(--surface);
  border: 1px dashed var(--border);
  padding: 1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 1.4rem;
  align-items: start;
}

.split > * {
  min-width: 0;
}

.app-corridor {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.2rem;
  align-items: center;
}

.phone-frame {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.phone-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.checks {
  display: grid;
  gap: 0.65rem;
}

.check {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.check i {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.28rem;
  background: var(--primary);
}

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.register {
  display: grid;
  gap: 0;
}

.reg-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}

.reg-row time {
  color: var(--muted);
  font-size: 0.92rem;
}

.colophon {
  font-size: 0.98rem;
  color: var(--muted);
}

.figure {
  margin: 1.4rem 0;
}

.figure figcaption {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-hero img,
.page-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2rem;
}

.related-links ul,
.footer-grid ul,
.task-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-links a,
.task-list a {
  display: inline-block;
  padding: 0.35rem 0;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.4rem 0 6.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.footer-grid h2 {
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}

.footer-grid a {
  color: var(--ink);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--primary);
}

.fineprint {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .walk,
  .split,
  .app-corridor,
  .desk-grid,
  .format-desk,
  .footer-grid,
  .compliance,
  .reg-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 1rem;
  }

  h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .note-slip {
    position: static;
    max-width: none;
    margin: 0.65rem;
  }

  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky);
    padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgb(248 246 255 / 0.97);
    border-top: 1px solid var(--border);
  }

  .mobile-cta a {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: var(--pill);
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 1.05rem;
  }

  .band {
    padding: 1.8rem 0;
  }
}
