/* Éclaire pages: the app's own colours and fonts, loaded after site.css.
   Colours come from the app's asset catalog (App/Resources/Assets.xcassets). */
@font-face {
  font-family: "Gabarito";
  src: url("/eclaire/fonts/Gabarito-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Gabarito";
  src: url("/eclaire/fonts/Gabarito-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/eclaire/fonts/DMSans-Medium.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/eclaire/fonts/DMSans-Bold.woff2") format("woff2");
  font-weight: 600 700;
  font-display: swap;
}

:root {
  --bg: #eef5fc;
  --surface: #ffffff;
  --ink: #14294a;
  --ink-muted: #4c5f7e;
  --hairline: #d6e5f7;
  --accent: #ffb547;
  --on-accent: #14294a;
  --link: #2a5baa;
  --tile-peach: #ffd3cd;
  --tile-lilac: #e6ddfb;
  --tile-mint: #c8f2dd;
  --tile-butter: #ffe08a;
  --tile-sky: #cfe3f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1b2e;
    --surface: #1a2a45;
    --ink: #eef5fc;
    --ink-muted: #a8bbd6;
    --hairline: #2a3d5e;
    --accent: #ffb547;
    --on-accent: #14294a;
    --link: #9cc2ff;
    --tile-peach: #5a3530;
    --tile-lilac: #3a3260;
    --tile-mint: #1f4a3a;
    --tile-butter: #5a4a16;
    --tile-sky: #213e60;
  }
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
}

h1,
h2,
h3 {
  font-family: "Gabarito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 800;
}

h2,
h3 {
  font-weight: 700;
}

strong {
  font-weight: 700;
}

.app-nav {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  font-weight: 700;
}

.app-nav a {
  color: var(--ink);
  text-decoration: none;
}

main {
  padding-top: 2.5rem;
}

.updated {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.note {
  background: var(--surface);
  border: 2px solid var(--hairline);
  border-radius: 20px;
  padding: 1.25rem;
  margin: 2rem 0;
}

.note--accent {
  border-color: var(--accent);
}

.note p {
  margin: 0.25rem 0 0;
}

.note h2 {
  margin: 0;
}

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.625rem 1.125rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.faq h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.25rem;
}

.faq p {
  margin: 0;
}

.shots {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
}

.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 2px solid var(--hairline);
}

.shots li:nth-child(1) { background: var(--tile-peach); }
.shots li:nth-child(2) { background: var(--tile-mint); }
.shots li:nth-child(3) { background: var(--tile-lilac); }

.shots li {
  border-radius: 24px;
  padding: 0.5rem;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 1rem;
}
