/* System fonts and same-origin files only: the page makes no request to
   another host, so it carries no third-party terms and needs no consent
   banner. */
:root {
  color-scheme: light dark;
  --bg: #faf8f5;
  --text: #1c1a18;
  --muted: #5f5852;
  --accent: #a8231b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141211;
    --text: #f3efea;
    --muted: #b3aba2;
    --accent: #f2877c;
  }
}

* { box-sizing: border-box; margin: 0; }

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

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-align: center;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* rem, not em: the two language lines differ in size but must wrap to the
   same measure. */
.lead { max-width: 36rem; margin-top: 16px; font-size: 1.125rem; text-wrap: balance; }
.lead[lang="en"] { margin-top: 4px; color: var(--muted); font-size: 1rem; }

a { color: var(--accent); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

.noyku {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.noyku-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Close to the iOS icon mask, so the app icon reads as the app. */
.noyku-link img { width: 44px; height: 44px; border-radius: 10px; }

/* Apple's badge rules: the artwork stays unmodified, at least 40px tall,
   with clear space of a quarter of its height on every side. The padding
   reserves that space inside the link, so no neighbour can crowd it. */
.store { display: block; padding: 10px; }
.store img { display: block; height: 40px; width: auto; }

.contact { margin-top: 40px; }

footer {
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 0.875rem;
  text-wrap: balance;
}
