/* awaken.org.in: the app's look (deep navy, cyan, Orbitron + Exo 2), tuned for reading. */

@font-face { font-family: 'Orbitron'; src: url('fonts/orbitron-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Orbitron'; src: url('fonts/orbitron-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('fonts/exo2-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('fonts/exo2-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #030914;
  --surface: #08142a;
  --surface-2: #0c1c38;
  --line: rgba(115, 220, 255, 0.16);
  --line-strong: rgba(115, 220, 255, 0.34);
  --text: #d8e3f5;
  --muted: #93a4c3;
  --heading: #f3f8ff;
  --accent: #73dcff;
  --accent-ink: #031424;
  --violet: #9d8cff;
  --radius: 14px;
  --display: 'Orbitron', 'Exo 2', system-ui, sans-serif;
  --body: 'Exo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(64, 120, 255, 0.16), transparent 70%),
    radial-gradient(700px 480px at -10% 10%, rgba(115, 220, 255, 0.10), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 400 17px/1.7 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #b3ecff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(3, 9, 20, 0.72); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--heading); text-decoration: none; font: 700 18px/1 var(--display); letter-spacing: 0.18em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font: 500 12px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 0; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--accent); }

/* Type */
h1, h2, h3 { color: var(--heading); font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: 0.04em; }
h1 { font-size: clamp(30px, 6vw, 46px); margin: 0 0 12px; }
h2 { font-size: clamp(19px, 3.4vw, 23px); margin: 48px 0 14px; }
h3 { font-size: 16px; letter-spacing: 0.06em; margin: 28px 0 8px; font-family: var(--body); font-weight: 600; text-transform: none; }
p, ul, ol { margin: 0 0 16px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: var(--heading); font-weight: 600; }
.eyebrow { font: 500 12px/1.6 var(--display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.muted { color: var(--muted); }

/* Legal pages */
.doc { padding: 48px 0 72px; }
.doc-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.doc-head p { color: var(--muted); margin: 0; }
.doc h2 { scroll-margin-top: 90px; padding-top: 6px; }
.doc h2 .num { color: var(--accent); margin-right: 10px; }

.card { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 24px; }
.card > :last-child { margin-bottom: 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.card.glance ul { list-style: none; padding: 0; }
.card.glance li { padding-left: 28px; position: relative; margin-bottom: 10px; }
.card.glance li::before { content: ''; position: absolute; left: 4px; top: 0.62em; width: 9px; height: 9px; transform: rotate(45deg); border: 2px solid var(--accent); }

.toc { columns: 2 220px; column-gap: 28px; list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { break-inside: avoid; counter-increment: toc; }
.toc a { text-decoration: none; color: var(--text); }
.toc a::before { content: counter(toc) '.'; color: var(--accent); font-family: var(--display); font-size: 12px; margin-right: 8px; }
.toc a:hover { color: var(--accent); }

.table-scroll { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--heading); font-weight: 600; background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 14px 52px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent); font: 700 14px/1 var(--display); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 13px/1 var(--display); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--accent); }
.btn:hover { background: #a6e9ff; color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: rgba(115, 220, 255, 0.1); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
code, .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.92em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--heading); word-break: break-word; }

/* Home */
.hero { padding: 72px 0 40px; text-align: center; }
.hero-icon { width: 140px; height: 140px; margin: 0 auto 22px; filter: drop-shadow(0 0 30px rgba(115, 220, 255, 0.3)); }
.hero h1 { font-size: clamp(42px, 11vw, 84px); letter-spacing: 0.22em; margin: 0 0 6px; padding-left: 0.22em; }
.hero .tagline { font: 600 clamp(18px, 3.6vw, 24px)/1.4 var(--body); color: var(--accent); margin: 0 0 18px; }
.hero .lede { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.hero .btn-row { justify-content: center; }
.status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font: 500 11px/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--heading); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5df2a5; box-shadow: 0 0 10px #5df2a5; }

.crests { display: flex; justify-content: center; align-items: center; gap: clamp(4px, 2vw, 18px); margin: 28px auto 8px; flex-wrap: nowrap; }
.crests img { width: clamp(42px, 11vw, 72px); height: auto; }
.crest-caption { text-align: center; color: var(--muted); font: 500 11px/1 var(--display); letter-spacing: 0.2em; text-transform: uppercase; margin: 10px 0 0; }

.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-head h2 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature { margin: 0; }
.feature h3 { margin: 0 0 6px; font-family: var(--display); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--heading); }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }
.feature .glyph { width: 30px; height: 30px; margin-bottom: 14px; color: var(--accent); }

.promise { text-align: center; }
.promise ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.promise li { margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: var(--heading); background: var(--surface); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; }
  .nav { justify-content: center; gap: 4px 14px; }
  .card { padding: 18px; }
  .doc { padding-top: 32px; }
  .hero { padding-top: 48px; }
  .site-footer .wrap { justify-content: center; text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media print {
  body { background: #fff; color: #111; font-size: 12pt; }
  .site-header, .site-footer, .btn-row, .toc-card { display: none; }
  h1, h2, h3, strong { color: #000; }
  a { color: #000; }
  .card, .table-scroll, th { background: none; border-color: #bbb; }
  th, td { border-color: #ccc; }
}
