/* Home page. Colours, font and the dark header are the welcome and privacy pages' (welcome.css,
   privacy.css), so the site looks like one site. Theme — prefers-color-scheme, system fonts. */
:root {
  color-scheme: light dark;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #1c2127;
  --muted: #59626c;
  --line: #e3e7ed;
  --link: #0a62d0;
  --button: #0a62d0;
  --button-hover: #0852b0;
  --shot-border: #dfe3e8;
  --hero: radial-gradient(120% 160% at 0% 0%, #22427f 0%, #0f1d3a 60%, #0a1428 100%);
  --shadow: 0 20px 50px rgba(10, 20, 40, 0.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1320;
    --card: #151c2b;
    --text: #e7e9ec;
    --muted: #a6afb9;
    --line: #273042;
    --link: #8dbbff;
    --shot-border: #2c3445;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }
}

* {
  box-sizing: border-box;
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
}

.hero {
  background: var(--hero);
  color: #fff;
  padding: 52px 24px 112px;
  text-align: center;
}
.hero img {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto 16px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.hero .lead {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 20px;
  color: #c9d6ee;
}
.hero .facts {
  margin-top: 14px;
  font-size: 15px;
  color: #a9bbdc;
}

/* The store button: the panel's blue "Copy URLs" button, on the dark header and under the FAQ. */
.cta {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 28px;
  border-radius: 12px;
  background: var(--button);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(10, 98, 208, 0.35);
}
.cta:hover {
  background: var(--button-hover);
}
.cta:focus-visible {
  outline: 3px solid #ff7a1a;
  outline-offset: 3px;
}

.card {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  background: var(--card);
  border-radius: 20px;
  padding: 36px 48px;
  box-shadow: var(--shadow);
}
main > .card:first-child {
  margin-top: -72px;
}
main > .card + .card {
  margin-top: 24px;
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.about {
  margin-top: 24px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}
.shots figure {
  margin: 0;
  text-align: center;
}
.shots img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--shot-border);
  border-radius: 14px;
}
.shots figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.faq h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.faq h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 26px 0 6px;
}
.faq b {
  font-weight: 600;
}
.faq code {
  font:
    0.9em ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.again {
  text-align: center;
  margin-top: 12px;
}

.foot {
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.foot p + p {
  margin-top: 4px;
}

/* For the section heading the eye does not need: the screenshot says it. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  .hero {
    padding: 36px 20px 96px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .lead {
    font-size: 18px;
  }
  .card {
    width: auto;
    margin: 0 12px;
    padding: 24px 20px;
  }
  main > .card:first-child {
    margin-top: -64px;
  }
  main > .card + .card {
    margin-top: 16px;
  }
  .shots {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq h2 {
    font-size: 24px;
  }
}

/* "What it can do" and "Guides": short lists above the FAQ. */
.can {
  margin-top: 12px;
  padding-left: 1.3em;
}
.can li + li {
  margin-top: 6px;
}
.faq .guides-title {
  margin-top: 30px;
}

/* The footer's list of languages (scripts/site-languages.ts writes it). */
.foot .langs {
  max-width: 760px;
  margin: 14px auto 0;
  line-height: 1.9;
}
.foot .langs span {
  color: var(--text);
  font-weight: 600;
}
