/* The app's look (constants/theme.ts and the sign-in screen): pure black, white bold titles,
   zinc-grey secondary text, white 56 pt buttons with 16 pt corners, hairline borders. */
:root {
  --background: #000000;
  --text: #ffffff;
  --text-secondary: #a1a1aa;
  --border: #27272a;
  --spacing: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo {
  width: 88px;
  height: 88px;
  margin-bottom: 32px;
}

h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  text-wrap: pretty;
}

.actions {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--text);
  color: #000000;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}

.button svg { width: 22px; height: 22px; flex: none; }

.button.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button:active { opacity: 0.7; }
.button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.note {
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 15px;
  text-wrap: pretty;
}

footer {
  padding: 24px 24px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

footer a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
