/* Shared chrome for every inner page (legal docs + status pages) on
   raahmitr.com - lifted verbatim from privacy.html, the first page built
   this way, so every later page (terms/cookies/refund/404/etc.) matches
   pixel-for-pixel instead of hand-copying the <style> block each time. */
:root {
  --brand: #673AB7; --brand-dark: #4A2E93; --brand-light: #F1EAFB;
  --accent: #F7B500;
  --ink: #17162B; --body: #55516D; --bg: #F6F4FA; --panel: #FFFFFF; --line: #DCD5EC;
  --footer-bg: #14101F; --footer-text: #B9B4CC;
  --go: #0CA30C; --stop: #D03B3B;
  --max: 780px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; font-family: 'Inter', system-ui, sans-serif; color: var(--body); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: var(--ink); line-height: 1.2; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(246,244,250,0.9);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.brand .mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-mitr { color: var(--accent); }
.nav a.back { font-size: 14.5px; font-weight: 600; color: var(--body); text-decoration: none; }
.nav a.back:hover { color: var(--brand); }

main { padding: 56px 0 90px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); display: block; margin-bottom: 12px;
}
h1 { font-size: 34px; letter-spacing: -0.01em; margin-bottom: 8px; }
.updated { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--body); margin-bottom: 40px; }
h2 { font-size: 21px; margin: 44px 0 12px; }
h3 { font-size: 16px; margin: 24px 0 8px; }
p { margin: 0 0 14px; font-size: 15.5px; }
ul { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; font-size: 15.5px; }
strong { color: var(--ink); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin: 0 0 14px;
}
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px 28px; margin-bottom: 40px; }
.toc-label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--body); display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.toc li { font-size: 14px; margin-bottom: 6px; break-inside: avoid; }
.deletion-box {
  background: var(--brand-light); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin: 16px 0 14px;
}
code { font-family: 'IBM Plex Mono', monospace; font-size: 0.92em; background: var(--brand-light); padding: 2px 6px; border-radius: 4px; }

footer.site { background: var(--footer-bg); color: var(--footer-text); padding: 40px 0; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
footer.site a { color: var(--footer-text); }
footer.site a:hover { color: #fff; }
.footer-wrap.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Status pages (404, maintenance, payment-status, auth-action, access-denied) ----
   A short centered card instead of a long article - main content is a
   single message + one or two actions, not something to scroll through. */
.status-main { min-height: calc(100vh - 78px - 121px); display: flex; align-items: center; }
.status-card {
  max-width: 520px; margin: 0 auto; text-align: center; padding: 0 24px;
}
.status-icon {
  width: 72px; height: 72px; border-radius: 20px; background: var(--brand-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 28px;
}
.status-icon.warn { background: #FEF3D6; }
.status-icon.danger { background: #FBE4E4; }
.status-icon.go { background: #E3F6E3; }
.status-code {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.status-card h1 { font-size: 30px; margin-bottom: 12px; }
.status-card p.lead { font-size: 16px; color: var(--body); margin-bottom: 32px; }
.status-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(103,58,183,0.28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ---- Cookie consent banner (assets/cookie-consent.js) ---- */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--footer-bg); color: var(--footer-text);
  padding: 18px 24px; display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}
#cookie-banner p { margin: 0; font-size: 13.5px; color: var(--footer-text); max-width: 560px; }
#cookie-banner a { color: #fff; text-decoration: underline; }
#cookie-banner .actions { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-banner button {
  font-family: inherit; font-size: 13.5px; font-weight: 600; border-radius: 999px; padding: 9px 18px;
  border: 1.5px solid transparent; cursor: pointer;
}
#cookie-banner .accept { background: var(--accent); color: var(--ink); }
#cookie-banner .essential { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--footer-text); }
#cookie-banner .essential:hover { border-color: #fff; color: #fff; }

@media (max-width: 620px) {
  h1 { font-size: 27px; }
  .toc ol { columns: 1; }
  .card, .deletion-box { padding: 20px; }
  #cookie-banner { flex-direction: column; text-align: center; }
}
