/* Pashut Book's look (task S.3b, docs/brand.md), shared by the website
   (pashutbook.com) and the bot's own pages (album preview, examples, terms,
   privacy). The bot serves it at /brand.css; deploy/make_site.py copies it to
   the site. Change the colours here only. */

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

:root {
  --plum: #5B2A6E;      /* main colour, the name, headings */
  --green: #2E5E3E;     /* buttons and links */
  --sun: #FFC94D;       /* small touches only, never text */
  --lilac: #F4F1F4;     /* soft backgrounds */
  --ink: #2B2230;       /* body text */
  --soft: #5E5363;      /* quieter text */
}

body {
  margin: 0;
  background: var(--lilac);
  color: var(--ink);
  font-family: "Rubik", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: right;
}

h1, h2, h3 { color: var(--plum); line-height: 1.3; font-weight: 700; }
a { color: var(--green); font-weight: 600; }

/* The logo at the top of every page. */
.brand-top { text-align: center; padding: 18px 12px 4px; }
.brand-top img { height: 54px; width: auto; }
.brand-top a { display: inline-block; }

/* A white box with rounded corners, for facts and short summaries. */
.box {
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 1px 4px rgba(91, 42, 110, 0.12);
}

/* The big green button ("start in WhatsApp"). */
.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(46, 94, 62, 0.3);
}
.button:hover, .button:focus { background: #244B31; }

/* Text pages: terms and privacy. */
.doc { max-width: 42em; margin: 0 auto; padding: 0.5em 1.1em 2.5em; }
.doc h1 { font-size: 1.6em; margin-top: 0.4em; }
.doc h2 { font-size: 1.2em; margin-top: 1.6em; }
.doc h2::before {
  content: ""; display: inline-block; width: 0.5em; height: 0.5em;
  background: var(--sun); border-radius: 50%; margin-left: 0.4em; vertical-align: middle;
}
.doc .en { direction: ltr; text-align: left; border-top: 1px solid #D9D0DC;
           margin-top: 3em; padding-top: 1em; }

.brand-bottom {
  text-align: center; color: var(--soft); font-size: 15px;
  padding: 26px 12px 34px; border-top: 1px solid #E2DAE5; margin-top: 30px;
}
.brand-bottom a { color: var(--soft); }
