/* The request in other languages (owner #369, Vega #371), one page per language in site/prompt/, made by
   tools/build_languages.py. The site's own styles.css does most of the work; this is only what a page in one
   language needs. */

.prompt-page__main {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(1.75rem, 1rem + 3vw, 3.5rem));
  padding-bottom: var(--section-space);
}
.prompt-page .site-header__inner { justify-content: space-between; }
.prompt-page__lang { font-family: var(--sans); font-size: 1rem; color: var(--brass-hi); }
.prompt-page__note {
  max-width: 34rem;
  margin: -0.25rem auto 1.75rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
  color: var(--dust);
}
.prompt-page__note a,
.prompt-page__how a,
.prompt-page .footer__care a { color: var(--brass-hi); }

/* The first yes, in this language, then on to the English page that takes it. */
.prompt-page__yes { max-width: 36rem; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; text-align: center; }
.prompt-page__yes-title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--star);
}
.prompt-page__pledge {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
}
.prompt-page__pledge p { margin: 0; }
.prompt-page__yes .btn--main { margin: 0 auto; }
.prompt-page__help { margin: 0.9rem 0 0; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; color: var(--dust); }

.prompt-page__how {
  max-width: 34rem;
  margin: 3rem auto 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: center;
  color: var(--dust);
}
.prompt-page__langs { max-width: 40rem; margin: 2.25rem auto 0; text-align: center; }
.prompt-page__langs-title {
  margin: 0 0 0.75rem;
  font-family: var(--sans);
  font-size: var(--micro);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.prompt-page__langs ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.1rem; margin: 0; padding: 0; list-style: none; }
.prompt-page__langs a { display: inline-block; padding: 0.35rem 0.1rem; font-family: var(--sans); font-size: 1.0625rem; color: var(--ink); }
.prompt-page__langs a:hover { color: var(--brass-hi); }

/* Scripts the site's own fonts don't cover: Latin letters (the address, the site's name) still come from the site's
   fonts, and the rest from the reader's system. Upright, because a slanted copy of a script with no italics reads
   badly, and with no letter spacing, which breaks the joined letters of Arabic and Urdu. */
.script-zh { --serif: "Spectral", "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif; --sans: "Jost", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --display: "Lexend", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; }
.script-hi { --serif: "Spectral", "Noto Serif Devanagari", "Nirmala UI", "Mangal", serif; --sans: "Jost", "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif; --display: "Lexend", "Noto Sans Devanagari", "Nirmala UI", sans-serif; }
.script-bn { --serif: "Spectral", "Noto Serif Bengali", "Nirmala UI", "Vrinda", serif; --sans: "Jost", "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif; --display: "Lexend", "Noto Sans Bengali", "Nirmala UI", sans-serif; }
.script-ar { --serif: "Spectral", "Noto Naskh Arabic", "Amiri", "Traditional Arabic", "Times New Roman", serif; --sans: "Jost", "Noto Sans Arabic", "Segoe UI", "Tahoma", sans-serif; --display: "Lexend", "Noto Sans Arabic", "Segoe UI", sans-serif; }
.script-ur { --serif: "Spectral", "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Noto Naskh Arabic", serif; --sans: "Jost", "Noto Sans Arabic", "Segoe UI", "Tahoma", sans-serif; --display: "Lexend", "Noto Sans Arabic", "Segoe UI", sans-serif; }
.is-script .plaque__salutation,
.is-script .plaque__close,
.is-script .prompt-page__pledge { font-style: normal; }
.is-script .eyebrow,
.is-script .plaque__meta,
.is-script .prompt-page__langs-title { letter-spacing: 0; text-transform: none; }
.is-script .eyebrow { font-size: 0.9375rem; }
.script-ur .plaque__text,
.script-ur .prompt-page__pledge { line-height: 2.2; } /* Nastaliq letters reach well above and below the line */
.script-ar .plaque__text,
.script-ar .prompt-page__pledge { line-height: 1.85; }
/* Urdu: iPhones draw all of it in Nastaliq (Macs the plaque), whose letters climb well above the line and reach well
   below it, so everything else that can take two lines gets that room too, and no line touches the next (checked
   11 Nov with Noto Nastaliq Urdu on phones). In a Naskh font the lines are only a little more open. */
.script-ur .eyebrow,
.script-ur .plaque__meta { line-height: 2; }
.script-ur .prompt-page__note,
.script-ur .prompt-page__help,
.script-ur .prompt-page__how,
.script-ur .footer__care { line-height: 2.2; }
.script-ur .prompt-page__yes-title { line-height: 1.9; }
/* Arabic and Urdu: Windows' fallback monospace font (Courier New) draws their letters spaced apart, so the plaque's
   small print keeps the site's mono font for its digits and takes the page's own Arabic letters for the rest. */
.script-ar,
.script-ur { --mono: "IBM Plex Mono", "Noto Sans Arabic", "Segoe UI", "Tahoma", monospace; }
