/* The site-root chooser (public/index.html). Uses the shared palette from base.css. */

.home-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
  justify-content: center;
}

.home-header { text-align: center; }

.home-logo {
  display: block;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.home-header h1 {
  font-size: 2rem;
  line-height: 1.15;
}

.home-lead {
  margin: 8px 0 0;
  color: var(--muted);
}

.home-choices {
  display: grid;
  gap: 12px;
}

.home-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-choice:hover { border-color: var(--brand); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }
.home-choice:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.home-choice:active { transform: translateY(1px); }

.home-choice-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--brand);
}

.home-choice-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-choice-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.home-choice-sub {
  color: var(--muted);
  font-size: 0.92rem;
}

.home-choice-arrow {
  flex: none;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
}

.home-tip {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.home-version {
  margin: 0;
  font-size: 0.78rem;
  text-align: center;
  min-height: 1em;
}

.muted { color: var(--muted); }

@media (min-width: 720px) {
  .home-shell { max-width: 720px; }
  .home-choices { grid-template-columns: 1fr 1fr; }
  .home-choice { min-height: 120px; }
}
