:root {
  color-scheme: dark;
  --background: #101310;
  --surface: #191d19;
  --border: #363d34;
  --accent: #c8f060;
  --text: #f2f3ed;
  --muted: #aab1a6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 48px 24px;
  place-items: center;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 0%, #26301d 0, transparent 65%), var(--background);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(100%, 640px);
}

.card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 18%);
}

.site-label {
  font-size: 0.8125rem;
}

h1 {
  margin: 12px 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.description {
  font-size: 0.9375rem;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.choice {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
  background: #20251e;
  border: 1px solid #41493b;
  border-radius: 18px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.choice:hover {
  background: #293122;
  border-color: #829763;
  transform: translateY(-2px);
}

.choice.is-last-used {
  background: #293122;
  border-color: var(--accent);
}

.choice-top {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.choice-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  color: var(--accent);
  background: #313b28;
  border-radius: 12px;
}

.choice-icon svg {
  width: 25px;
  height: 25px;
}

.last-used-badge {
  padding: 5px 9px;
  color: var(--accent);
  background: #354329;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.choice-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.choice-description {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.choice-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.choice-action svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.usage-status {
  font-size: 0.75rem;
}

.usage-status:not(:empty) {
  margin-top: 24px;
  color: var(--text);
}

.choice:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 600px) {
  body {
    padding: 28px 16px;
  }

  .card {
    padding: 30px 24px;
    border-radius: 22px;
  }

  .choices {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .choice-top {
    margin-bottom: 16px;
  }

  .choice-description {
    margin-bottom: 18px;
  }
}

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

  .choice:hover {
    transform: none;
  }
}
