/* NIRASTRO pages on niramltd.com - the app's colours, light and dark. */
:root {
  --bg: #F6F1E8;
  --card: #FFFCF6;
  --text: #2B2620;
  --muted: #6F6455;
  --line: #E6DCCB;
  --accent: #9A3F14;
  --accent-2: #D9822B;
  --green: #55624F;
  --hero-from: #6E2410;
  --hero-to: #E08A2E;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171512;
    --card: #221F1A;
    --text: #EFE8DD;
    --muted: #A99D8C;
    --line: #3A342C;
    --accent: #F0A060;
    --accent-2: #F5B676;
    --green: #A9B9A0;
    --hero-from: #4A1708;
    --hero-to: #9C5518;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Malayalam", "Nirmala UI", sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.bar { border-bottom: 1px solid var(--line); background: var(--card); }
.bar .wrap { display: flex; align-items: center; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: .5px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { margin-left: auto; display: flex; gap: 18px; }
.bar nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.bar nav a[aria-current="page"], .bar nav a:hover { color: var(--accent); }

/* home page hero */
.hero { background: linear-gradient(150deg, var(--hero-from), var(--hero-to)); color: #fff; }
.hero .wrap { display: flex; gap: 28px; align-items: center; padding-top: 48px; padding-bottom: 48px; flex-wrap: wrap; }
.hero img { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); background: #fff; }
.hero h1 { margin: 0 0 6px; font-size: clamp(28px, 6vw, 42px); line-height: 1.15; }
.hero p { margin: 0; font-size: 18px; color: #FFF1DD; max-width: 520px; }
.hero .ml { font-size: 20px; margin-bottom: 8px; }
.get { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.play { display: flex; flex-direction: column; padding: 12px 20px; border-radius: 14px; background: #FFF6E8;
  color: #6E2410; text-decoration: none; font-weight: 800; font-size: 17px; box-shadow: 0 8px 20px rgba(40,10,0,.25); }
.play small { font-weight: 500; font-size: 13px; color: #8A5A3A; margin-top: 2px; }
.play.pro { background: #3A1406; color: #FFE7C2; }
.play.pro small { color: #E8C39A; }
.play:hover { transform: translateY(-1px); }
.soon { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-weight: 600; }

/* content */
main { padding: 32px 0 48px; }
h1.page { font-size: 30px; margin: 0 0 4px; color: var(--accent); }
h2 { font-size: 20px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 0 0 6px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card p:last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 14px; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.tick { color: var(--green); font-weight: 700; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; }
.contact { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent-2); border-radius: 12px; padding: 16px 18px; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
