/* Tokens follow src/theme/colors.ts. The app is light-only, so the site is too. */
:root {
  --bg: #ffffff;
  --surface: #f6f7f8;
  --text: #17191c;
  --text-secondary: #686d75;
  --border: #e7e9ed;
  --primary: #f15b5d;
  --primary-pressed: #d9494b;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

main {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

.app-icon {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 24px;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
}

h2 {
  margin: 32px 0 8px;
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

.secondary {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 18px;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:active {
  background: var(--primary-pressed);
}

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

.button[hidden] {
  display: none;
}

ul.links {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.links li {
  border-bottom: 1px solid var(--border);
}

ul.links a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  text-decoration: none;
}

footer {
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 12px;
}
