/* khatashri.com — docs/ui-directions/site-spec.md. Onyx only, light and dark by the visitor's setting.
   Depth by three tones, nothing drawn; gold on the seal, the links and the one button; weights 400/500/600. */

@font-face { font-family: "Mukta"; src: url("fonts/mukta-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("fonts/mukta-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Mukta"; src: url("fonts/mukta-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --page: #E9E7E2;
  --card: #FBFAF7;
  --raised: #E0DDD6;
  --text: #1B1A17;
  --muted: #5E5A51;
  --accent: #755A1D;
  --button: #6A4F19;
  --button-pressed: #574016;
  --on-button: #FBFAF7;

  --gutter: 20px;
  --column: 1080px;
  --section: 64px;

  --hero-name: 44px;
  --hero-line: 20px;
  --heading: 24px;
  --body: 17px;
  --label: 13px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0F0E0D;
    --card: #2A2823;
    --raised: #373329;
    --text: #EEEBE4;
    --muted: #A39E93;
    --accent: #D4BC7C;
    --button: #CDB16B;
    --button-pressed: #B89C57;
    --on-button: #1C1607;
  }
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 96px; }
}
@media (min-width: 1024px) {
  :root { --hero-name: 64px; --hero-line: 26px; --heading: 30px; --body: 18px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 var(--body)/1.55 "Mukta", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, p, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--card); color: var(--text); padding: 12px 16px; border-radius: 10px; }
.skip:focus { top: 8px; }

.column { width: 100%; max-width: calc(var(--column) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.seal { color: var(--accent); flex: none; }

/* 1. header */
.header { height: 64px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; font-size: 20px; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand .seal { width: 28px; height: 28px; }

/* 2. hero */
.hero { text-align: center; padding-top: var(--section); }
.hero .seal { width: 72px; height: 72px; margin: 0 auto 24px; display: block; }
.hero h1 { font-size: var(--hero-name); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
.hero .line { font-size: var(--hero-line); line-height: 1.35; margin: 16px auto 0; max-width: 32ch; text-wrap: balance; }
.hero .play { margin-top: 32px; color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.4; }

.shots { display: flex; justify-content: center; align-items: flex-start; gap: 12px; margin-top: 48px; }
.shot { background: var(--card); border-radius: 14px; padding: 8px; flex: 0 1 286px; }
.shot img { border-radius: 8px; width: 100%; }
@media (min-width: 768px) {
  .shots { gap: 24px; margin-top: 64px; }
  .shot { padding: 12px; flex-basis: 294px; }
}

/* 3. three facts */
.facts { display: grid; gap: 32px; padding-top: var(--section); }
.fact h2 { font-size: var(--label); font-weight: 500; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.fact p { max-width: 62ch; }
@media (min-width: 1024px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* 4. languages */
.languages { padding: var(--section) 0; text-align: center; }
.languages p { font-size: var(--heading); font-weight: 500; line-height: 1.25; }

/* text pages: privacy, terms, delete account, providers (made by site/tools/legal-to-html.py) */
.doc { padding-top: 48px; padding-bottom: var(--section); overflow-wrap: break-word; }
.doc > * { max-width: 62ch; }
.doc h1 { font-size: var(--heading); font-weight: 500; line-height: 1.25; margin-bottom: 12px; }
.doc .meta { color: var(--muted); font-size: var(--label); font-weight: 500; line-height: 1.4; margin-bottom: 2px; }
.doc .meta + :not(.meta) { margin-top: 32px; }
.doc h2 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 48px 0 12px; }
.doc h3 { font-size: var(--body); font-weight: 600; line-height: 1.4; margin: 32px 0 8px; }
.doc p, .doc ul, .doc ol { margin: 0 0 16px; }
.doc p.clause { margin-bottom: 8px; padding-left: 1.5em; text-indent: -1.5em; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--muted); }
.doc a { text-decoration: underline; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .doc { padding-top: 64px; } .doc h2 { font-size: 22px; } }

/* 5. footer: the seal, the name and the three links, nothing else (owner, 29 Oct 2026) */
.footer { background: var(--card); }
.footer .column { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand { font-size: 18px; }
.footer .brand .seal { width: 24px; height: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 16px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
