/* Wazirly's web pages in Jamun Zari: jamun purple on ivory, zari gold only inside the logo (never text or thin
   lines). Marcellus for the wordmark and headings of 20 px and up; Figtree for text, at least 16 px. The same file
   ships in site/assets/ (GitHub Pages) and hosting/public/assets/ (Firebase Hosting); keep the two identical. */

@font-face {
  font-family: "Marcellus";
  src: url("fonts/Marcellus-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #fff7ea;
  --fg: #26112c;
  --muted: #6b5470;
  --line: #e3d3e1;
  --link: #5e1a63;
  --surface: #ffffff;
  --button: #5e1a63;
  --on-button: #fff7ea;
  --button-edge: transparent;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #170c1a;
    --fg: #f7eef5;
    --muted: #c4aec6;
    --line: #3d2b42;
    --link: #d99ad0;
    --surface: #221526;
    --button-edge: rgba(255, 247, 234, 0.18);
  }
}

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word;
}

main { max-width: 42rem; margin: 0 auto; padding: 24px 16px 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin: 0 0 24px;
  color: var(--fg);
  text-decoration: none;
  font: 1.5rem/1.2 "Marcellus", Georgia, serif;
}

.brand img { width: 44px; height: 44px; border-radius: 13px; }

h1 { font: 2rem/1.25 "Marcellus", Georgia, serif; margin: 0 0 8px; }

h2 {
  font: 1.375rem/1.3 "Marcellus", Georgia, serif;
  margin: 36px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

h3 { font-size: 1.0625rem; font-weight: 700; margin: 24px 0 4px; }

p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 1.5em; }
li { margin: 0 0 6px; }
li > ul, li > p { margin-top: 6px; }
strong { font-weight: 700; }

.meta, .note { color: var(--muted); }
.meta { margin: 0 0 24px; }

a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 4px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 0 0 16px;
}

.card > :last-child { margin-bottom: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--button-edge);
  border-radius: 24px;
  background: var(--button);
  color: var(--on-button);
  font: 700 1rem/1.25 "Figtree", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.hero { text-align: center; padding-top: 48px; }
.hero .mark { display: block; width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 20px; }

[hidden] { display: none !important; }
