/* Relevio's website: one reading column, the app icon's red as the only accent
   (a little deeper in light mode and lighter in dark mode, so links and buttons stay readable).
   System fonts only — nothing is loaded from other sites, so visiting tells no one. */
:root {
  --bg: #f7f6fb;
  --surface: #ffffff;
  --ink: #1d1a28;
  --muted: #5d5872;
  --line: #e4e0ee;
  --accent: #c8231b;
  --accent-soft: #fdeceb;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system-headline, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-rounded: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121019;
    --surface: #1b1826;
    --ink: #eeebf6;
    --muted: #a49eb8;
    --line: #2e2a3c;
    --accent: #ff7b72;
    --accent-soft: #3a1d20;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

main, .site-header, .site-footer {
  max-width: 680px;
  margin: 0 auto;
}

/* Header: the icon and name, linking home. */
.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 28px 8px;
}
.site-header a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font: 600 20px/1 var(--font-rounded);
}
/* icon.png is the app icon as the system draws it, rounded corners included. */
.site-header img {
  width: 40px;
  height: 40px;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 15px;
}
.site-header nav a {
  font: 500 15px/1 var(--font);
  color: var(--muted);
}
.site-header nav a[aria-current="page"] { color: var(--accent); }

main { padding-block: 24px 48px; }

h1 {
  font: 700 clamp(32px, 6vw, 42px)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-wrap: balance;
}
h2 {
  font: 650 22px/1.25 var(--font-display);
  margin: 40px 0 10px;
  text-wrap: balance;
}
h3 {
  font: 600 17px/1.35 var(--font);
  margin: 26px 0 6px;
}
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.lead { color: var(--muted); font-size: 19px; }
.meta { color: var(--muted); font-size: 15px; }

/* The one boxed element per page: the short answer, or how to reach us. */
.callout {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* Questions and answers, in plain rows. */
.faq h3 {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

kbd {
  font: 500 0.85em var(--font);
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 1px 6px;
}

/* Home page. */
.home {
  text-align: center;
  padding-top: 40px;
}
.home .app-icon {
  width: 128px;
  height: 128px;
  filter: drop-shadow(0 10px 15px rgba(190, 30, 40, 0.25));
}
.home h1 { margin-top: 24px; }
.home .lead { max-width: 30em; margin: 0 auto 28px; }
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.links a {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.links a.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  .links a.primary { color: #1a0b0c; }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 18px 36px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.site-footer a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-header nav { gap: 14px; }
}
