/* Naad Kriya: the four small public pages (privacy, terms, support, delete account).
   One look: the night stage. Indigo and purple surfaces, soft off-white text,
   lilac as the only accent. No gold, no yellow, no scripts, no pictures.
   Phone first: 16 px gutters, 17 px text, lines of about 68 characters. */

:root {
  --night: #0A0920;        /* the page */
  --night-glow: #1B1550;   /* the soft light at the top of the page */
  --surface: #14113A;      /* cards */
  --surface-hi: #1A1647;   /* the note box */
  --line: #2F2A6B;         /* hairlines */
  --ink: #F3F0FB;          /* headings */
  --body: #DCD8EE;         /* running text */
  --soft: #B7B2D6;         /* small labels, the footer */
  --lilac: #B9A3E3;        /* the only accent */
  --lilac-soft: #D3C5F1;   /* links in running text */
  --lilac-wash: rgba(185, 163, 227, .10);

  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --text: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;

  --gutter: 16px;
  --measure: 28rem;        /* about 68 characters of Mukta at 17 px */
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 34rem at 50% -8rem, var(--night-glow) 0%, rgba(27, 21, 80, 0) 70%),
    var(--night);
  background-repeat: no-repeat;
  color: var(--body);
  font-family: var(--text);
  font-size: 1.0625rem;    /* 17 px */
  line-height: 1.65;
  overflow-wrap: break-word;
}

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

/* ---------- header ---------- */

.top {
  padding-top: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-block;
  padding: 8px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.2;
  text-decoration: none;
}

.brand:hover { color: var(--lilac-soft); }

/* ---------- text ---------- */

main { padding-top: 34px; padding-bottom: 56px; }

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 7.4vw, 2.9rem);
  letter-spacing: .005em;
}

h2 {
  font-size: clamp(1.55rem, 5.4vw, 1.9rem);
  margin-top: 2.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

h3 {
  font-family: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

p { margin: 1rem 0 0; }

.updated {
  margin-top: .7rem;
  color: var(--soft);
  font-size: .9375rem;
}

.lead {
  margin-top: 1.3rem;
  color: var(--ink);
  font-size: 1.125rem;
}

strong { color: var(--ink); font-weight: 600; }

a {
  color: var(--lilac-soft);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lilac);
  outline-offset: 3px;
  border-radius: 4px;
}

ul,
ol { margin: 1rem 0 0; padding-left: 1.3rem; }

li { margin-top: .5rem; padding-left: .15rem; }

li::marker { color: var(--lilac); }

ol > li::marker { font-weight: 600; }

/* ---------- the note box (contact, the short version) ---------- */

.note {
  margin-top: 1.5rem;
  padding: 16px 16px 18px;
  background: var(--surface-hi);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lilac);
  border-radius: 10px;
}

.note > :first-child { margin-top: 0; }

.note h2,
.note h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.2;
}

.mail {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- cards: one thing we collect, one company, one answer ---------- */

.cards {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cards > li {
  margin: 0;
  padding: 14px 16px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.cards p { margin-top: .45rem; }

.cards ul,
.cards ol { margin-top: .5rem; }

.k {
  display: block;
  margin-bottom: .05rem;
  color: var(--lilac);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .07em;
  line-height: 1.5;
  text-transform: uppercase;
}

/* numbered steps */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 1.2rem 0 0;
  padding: 0;
}

.steps > li {
  counter-increment: step;
  position: relative;
  margin-top: .8rem;
  padding-left: 2.6rem;
  min-height: 1.9rem;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .02rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--lilac);
  border-radius: 50%;
  background: var(--lilac-wash);
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.7rem;
  text-align: center;
}

.word {
  padding: .05em .4em .1em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  padding-bottom: 40px;
  color: var(--soft);
  font-size: .9375rem;
}

.foot p { margin: 0; }

.foot nav { margin-top: 6px; }

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
}

.foot li { margin: 0; padding: 0; }

.foot a {
  display: inline-block;
  padding: 11px 0;         /* a finger-sized row on a phone */
  color: var(--lilac-soft);
}

.foot a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

/* ---------- wider screens ---------- */

@media (min-width: 720px) {
  :root { --gutter: 24px; --measure: 29.75rem; }   /* the same 68 characters at 18 px */
  body { font-size: 1.125rem; }      /* 18 px */
  h3 { font-size: 1.125rem; }
  .lead { font-size: 1.1875rem; }
  .top { padding-top: 28px; }
  main { padding-top: 52px; padding-bottom: 80px; }
  .cards > li { padding: 16px 20px 18px; }
  .note { padding: 20px 22px 22px; }
}

@media print {
  html, body { background: #fff; color: #111; }
  h1, h2, h3, strong, .brand, .lead, .mail, .word { color: #111; }
  a, .foot a, .k { color: #2b1a66; }
  .cards > li, .note, .word { background: #fff; border-color: #bbb; }
}
