@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Mallanna'; src: local('Mallanna'), url('fonts/Mallanna-Regular.ttf') format('truetype'); font-display: swap; unicode-range: U+0C00-0C7F, U+200C-200D; }

:root {
  --deep-900: #2F0C7E; --deep-800: #3B0F9A; --deep-700: #4A1FB0;
  --yellow: #F7BE2D; --yellow-text: #FAD36B; --violet-400: #B388FF; --accent-text: #6F2FFF;
  --paper: #F8F6FC; --card: #FFFFFF; --sunk: #F1EDF9; --ink: #171528; --muted: #6E6A7E;
  --shadow: 0 18px 40px -22px rgba(47, 12, 126, .38);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E0C18; --card: #171528; --sunk: #211E36; --ink: #F1EEF9; --muted: #9C97AD; --accent-text: #B388FF;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.5 'DM Sans', system-ui, sans-serif; }
h1, h2, h3, p, ol { margin: 0; padding: 0; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.te { font-family: 'DM Sans', 'Mallanna', 'Noto Sans Telugu', sans-serif; font-size: 16px; line-height: 1.55; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 22px 0 84px; border-radius: 0 0 36px 36px;
  background: linear-gradient(160deg, var(--deep-900), var(--deep-800) 55%, var(--deep-700)); }
.comb-bg { position: absolute; top: -34px; right: -52px; width: 270px; opacity: .22; pointer-events: none;
  -webkit-mask-image: linear-gradient(215deg, #000 20%, transparent 78%); mask-image: linear-gradient(215deg, #000 20%, transparent 78%); }
.hero .wrap { position: relative; }
.brand { display: flex; align-items: center; gap: 10px; }
.tile { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.name { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.label { margin-top: 40px; color: var(--yellow-text); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin-top: 10px; font-weight: 800; font-size: clamp(32px, 9.4vw, 46px); line-height: 1.06; letter-spacing: -.03em; max-width: 12em; }
.lead { margin-top: 14px; color: #E1D6FF; font-size: 18px; }

.primary { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 0 28px;
  border-radius: 999px; background: var(--yellow); color: #171528; font-weight: 800; font-size: 18px; text-decoration: none;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1); }
.primary:active { transform: scale(.98); }
.primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.primary[aria-disabled="true"] { background: rgba(255, 255, 255, .16); color: #E1D6FF; pointer-events: none; }
.meta { margin-top: 12px; text-align: center; color: #D5C7FA; font-size: 13px; }
.meta a { color: #fff; font-weight: 700; text-decoration: underline; }
.meta.wait { color: var(--yellow-text); font-size: 14px; }

/* Body */
.card { background: var(--card); border-radius: 26px; box-shadow: var(--shadow); }
.steps { position: relative; margin-top: -48px; padding: 22px 18px 8px; }
h2 { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
ol { list-style: none; margin-top: 8px; }
li { display: flex; gap: 14px; padding: 16px 0; }
li + li { border-top: 1px solid var(--sunk); }
.cell { position: relative; flex: none; width: 46px; height: 53px; display: grid; place-items: center; }
.cell svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--sunk); stroke: var(--violet-400); stroke-width: 2; stroke-linejoin: round; }
.cell b { position: relative; font-weight: 800; font-size: 18px; color: var(--accent-text); font-variant-numeric: tabular-nums; }
h3 { font-weight: 700; font-size: 16px; }
li p, .note p { margin-top: 4px; color: var(--muted); }
li p.te { color: var(--ink); opacity: .82; }

.notes { display: grid; gap: 14px; margin-top: 14px; }
.note { padding: 18px; box-shadow: none; background: var(--sunk); }
footer { padding: 28px 0 40px; text-align: center; color: var(--muted); font-size: 13px; }

@media (min-width: 620px) {
  .hero { padding-top: 34px; }
  .notes { grid-template-columns: 1fr 1fr; }
  .primary { display: inline-flex; }
  .meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .primary { transition: none; } }
