/* app.ildieci.eu (D-086): the app's colours — Verde Stadio in dark, Carta Sportiva
   in light, Petrolio for the button (packages/ui/src/tokens/color.ts). System
   fonts only, no external resources. Mobile first. */
:root {
  --bg: #cbd3dc;
  --surface: #e1e6ec;
  --border: #a5b2c0;
  --text: #0e1511;
  --muted: #3c493f;
  --accent: #0d5c56;
  --on-accent: #ffffff;
  --focus: #0b5bd3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070d09;
    --surface: #0f1912;
    --border: #2f3e48;
    --text: #f3f7ef;
    --muted: #a9c0b0;
    --accent: #2a9d8f;
    --on-accent: #04101f;
    --focus: #7cb7ff;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.logo {
  width: 128px;
  height: 128px;
  margin-top: 16px;
}
.brand {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}
.card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}
p {
  margin: 0;
  font-size: 17px;
}
.muted {
  color: var(--muted);
  font-size: 16px;
}
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}
.button:focus-visible,
.lang button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.lang {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.lang button {
  min-width: 48px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}
.lang button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  border-color: var(--accent);
}
footer {
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}
@media (min-width: 768px) {
  main {
    padding-top: 72px;
  }
  .logo {
    width: 160px;
    height: 160px;
  }
}
