/* Parakh — shared stylesheet for the four policy pages.
 *
 * index.html and about.html each carry their own inline <style>, because each
 * is a distinct composition. The policy pages are not: they are four copies of
 * one prose document, so they share a file. Four inline copies of the same
 * layout is four chances for them to drift, and a refund policy that renders
 * differently from the terms it is quoted in is exactly the kind of small
 * inconsistency this product cannot afford.
 *
 * Tokens are the modern-grad system's, verbatim from about.html — the plum
 * accent is the only swappable layer and it is already swapped. Nothing here
 * redefines a colour.
 */

:root{
  --ink:#201D1D;
  --gray-mid:#837E7E;
  --gray-soft:#E6E6E6;
  --white:#FFFFFF;
  --accent:#6B2D5C;
  --accent-deep:#4E1F43;
  --accent-mid:#A97199;
  --accent-faint:#F0E3EC;
  --accent-paper:#FAF4F8;
  --wash:radial-gradient(120% 80% at 50% 0%, #FFFFFF 0%, var(--accent-paper) 52%, var(--accent-faint) 100%);
  --gutter:20px;
  --slab-radius:36px;
  --shadow:0 2px 12px rgba(32,29,29,.06);
  --font-sans:"Onest","Rubik","DM Sans",system-ui,-apple-system,sans-serif;
  --font-serif:"Instrument Serif","Playfair Display",Georgia,serif;
}

*{box-sizing:border-box}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:var(--font-sans);font-weight:400;font-size:1.0625rem;line-height:1.58;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img,svg{max-width:100%}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}

em{
  font-family:var(--font-serif);font-style:italic;font-weight:500;
  color:var(--accent);font-size:1.04em;letter-spacing:0;
  -webkit-text-stroke:.45px currentColor;
}

h1,h2,h3{margin:0;font-weight:500}
h1,.h1{font-size:clamp(2.4rem,5vw,3.8rem);line-height:1.06;letter-spacing:-.03em}
h2{font-size:clamp(1.4rem,2.4vw,1.85rem);line-height:1.2;letter-spacing:-.015em}
h3{font-size:1.15rem;line-height:1.3;letter-spacing:-.01em}

.wrap{max-width:1240px;margin:0 auto;padding:0 48px;position:relative;z-index:1}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:13px 26px;border-radius:9999px;border:0;cursor:pointer;
  font-family:inherit;font-size:1rem;font-weight:500;
  transition:filter .18s ease,opacity .18s ease,transform .18s ease;
}
.btn:hover{filter:brightness(1.08);opacity:.94;text-decoration:none}
.btn:active{transform:scale(.98)}
.btn--ink{background:var(--ink);color:#fff}

/* ── nav, matching index.html ─────────────────────────── */
.nav{
  position:sticky;top:0;z-index:40;height:78px;display:flex;align-items:center;
  background:rgba(255,255,255,.78);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.nav .wrap{display:flex;align-items:center;gap:2rem;width:100%}
.nav__logo{display:flex;align-items:center}
.nav__logo img{height:30px;width:auto;display:block}
.nav__links{display:flex;gap:1.9rem;margin-left:auto;align-items:center}
.nav__links a{color:var(--ink);font-size:.95rem;font-weight:500;opacity:.85;transition:opacity .18s ease}
.nav__links a:hover,.nav__links a.active{opacity:1;color:var(--accent);text-decoration:none}
.nav .btn{min-height:44px;padding:11px 22px;font-size:.95rem}

/* ── the document ─────────────────────────────────────── */
.doc-head{
  margin:0 var(--gutter) 28px;border-radius:var(--slab-radius);
  background:var(--wash);padding:76px 0 64px;
}
.doc-head .wrap{max-width:860px}
.doc-head .eyebrow{
  display:inline-block;margin:0 0 1.1rem;padding:6px 15px;border-radius:9999px;
  background:#fff;color:var(--accent-deep);font-size:.8rem;font-weight:500;
  letter-spacing:.06em;text-transform:uppercase;
}
.doc-head .updated{margin:1.4rem 0 0;color:var(--gray-mid);font-size:.95rem}

.doc{max-width:860px;margin:0 auto;padding:16px 48px 96px}
.doc section{margin:0 0 48px;scroll-margin-top:96px}
.doc h2{margin:0 0 1rem;color:var(--accent-deep)}
.doc h3{margin:2rem 0 .6rem}
.doc p{margin:0 0 1.1rem}
.doc ul,.doc ol{margin:0 0 1.1rem;padding-left:1.3rem}
.doc li{margin:0 0 .55rem}
.doc strong{font-weight:600}

/* The one thing on these pages that is not prose: a statement of fact the
   reader is meant to be able to find without reading around it. */
.callout{
  background:var(--accent-paper);border:1px solid var(--accent-faint);
  border-radius:24px;padding:28px 32px;margin:0 0 1.6rem;box-shadow:var(--shadow);
}
.callout p:last-child{margin-bottom:0}
.callout h3{margin-top:0;color:var(--accent-deep)}

.facts{
  width:100%;border-collapse:collapse;margin:0 0 1.6rem;
  background:#fff;border-radius:16px;overflow:hidden;box-shadow:var(--shadow);
}
.facts th,.facts td{text-align:left;padding:14px 18px;border-bottom:1px solid var(--gray-soft);vertical-align:top}
.facts th{width:34%;font-weight:500;color:var(--gray-mid);font-size:.95rem}
.facts tr:last-child th,.facts tr:last-child td{border-bottom:0}

.toc{
  display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 40px;padding:0;list-style:none;
}
.toc a{
  display:inline-block;padding:7px 15px;border-radius:9999px;
  background:var(--accent-faint);color:var(--accent-deep);font-size:.9rem;font-weight:500;
}
.toc a:hover{background:var(--accent);color:#fff;text-decoration:none}

/* ── footer, matching index.html ──────────────────────── */
.footer{
  margin:0 var(--gutter) 28px;border-radius:var(--slab-radius);
  background:var(--accent-paper);padding:88px 0 44px;
}
.footer__cols{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:48px}
.footer h4{margin:0 0 1.1rem;font-size:.95rem;font-weight:500;color:var(--accent)}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.footer li a,.footer li{color:var(--gray-mid);font-size:.98rem}
.footer li a:hover{color:var(--ink)}
.footer__logo img{height:34px;width:auto;display:block;margin-bottom:1.1rem}
.footer__legal{
  margin-top:64px;padding-top:28px;border-top:1px solid var(--gray-soft);
  color:#9A9698;font-size:.85rem;line-height:1.6;max-width:78ch;
}
.footer__legal p{margin:0 0 .75rem}

@media (max-width:960px){
  :root{--slab-radius:30px}
  .nav__links{display:none}
  .nav .wrap{justify-content:space-between}
  .nav .btn{margin-left:auto}
  .footer__cols{grid-template-columns:1fr 1fr;gap:40px}
}
@media (max-width:760px){
  :root{--gutter:10px;--slab-radius:26px}
  .wrap{padding:0 24px}
  .doc{padding:8px 24px 72px}
  .doc-head{padding:56px 0 48px}
  .callout{padding:22px 20px}
  /* A two-column table at 375px is a two-column table nobody can read. */
  .facts,.facts tbody,.facts tr,.facts th,.facts td{display:block;width:100%}
  .facts th{padding-bottom:0;border-bottom:0}
  .facts td{padding-top:.3rem}
}
@media (max-width:560px){
  .footer__cols{grid-template-columns:1fr}
}
@media (max-width:480px){
  :root{--gutter:6px;--slab-radius:20px}
  .wrap{padding:0 16px}
  .doc{padding:8px 16px 64px}
}
