/* Geist, the typeface shadcn/ui uses. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/vendor/geist-5.3.0-latin-wght.woff2") format("woff2");
}

/* Neutrals follow shadcn/ui's zinc palette; the primary is our own. */
:root {
  color-scheme: light dark;
  --primary: #433eb5;
  --on-primary: #fff;
  --bg: #fff;
  --fg: #09090b;
  --card: #fff;
  --subtle: #f4f4f5;
  --muted: #71717a;
  --border: #e4e4e7;
  --input: #e4e4e7;
  --input-bg: transparent;
  --accent: var(--primary);
  --error: #dc2626;
  --on-error: #fff;
  --ring: color-mix(in srgb, var(--primary) 35%, transparent);
  --radius: 0.625rem;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  font-family: Geist, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --fg: #fafafa;
    --card: #18181b;
    --subtle: #27272a;
    --muted: #a1a1aa;
    --border: rgb(255 255 255 / 0.1);
    --input: rgb(255 255 255 / 0.15);
    --input-bg: rgb(255 255 255 / 0.045);
    /* The primary color is too dark to read as text on a dark background. */
    --accent: #a9a4ff;
    --error: #f87171;
    --on-error: #09090b;
    --ring: color-mix(in srgb, var(--accent) 45%, transparent);
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  background: var(--bg);
  color: var(--fg);
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 1.875rem;
  font-weight: 700;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem 1rem;
  background: var(--primary);
  color: var(--on-primary);
}

.sidebar a,
.sidebar button.link {
  color: inherit;
  text-decoration: none;
}

.sidebar a:hover,
.sidebar button.link:hover {
  text-decoration: underline;
}

.sidebar :focus-visible {
  outline: 2px solid var(--on-primary);
  outline-offset: 2px;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.search {
  position: relative;
  margin: 0;
}

.sidebar .search input {
  /* Light browser controls (like the clear button) on the dark sidebar. */
  color-scheme: dark;
  border-color: rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.12);
  color: var(--on-primary);
  box-shadow: none;
}

.sidebar .search input:focus-visible {
  outline: none;
  border-color: rgb(255 255 255 / 0.6);
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.25);
}

.sidebar .search input::placeholder {
  color: rgb(255 255 255 / 0.75);
}

/* Typeahead dropdown. It's wider than the sidebar and overlaps the page. */
.search-suggestions {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 10;
  box-sizing: border-box;
  width: 22rem;
  max-width: calc(100vw - 2rem);
  max-height: 70dvh;
  overflow-y: auto;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  background: var(--card);
  color: var(--fg);
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.search-suggestions:empty {
  display: none;
}

.search-group-label {
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.search-suggestions [role="option"] {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.375rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
}

.search-suggestions [role="option"]:hover,
.search-suggestions [role="option"][aria-selected="true"] {
  background: var(--subtle);
}

.search-detail,
.search-empty {
  color: var(--muted);
}

.search-empty {
  margin: 0;
  padding: 0.375rem 0.5rem;
}

.search-suggestions .search-all {
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
  border-radius: 0 0 calc(var(--radius) - 4px) calc(var(--radius) - 4px);
  color: var(--accent);
}

.main-nav {
  display: grid;
  gap: 0.125rem;
  margin: 0 -0.5rem;
}

.main-nav a {
  padding: 0.375rem 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
}

.main-nav a:hover {
  text-decoration: none;
  background: rgb(255 255 255 / 0.15);
}

.main-nav a[aria-current] {
  background: rgb(255 255 255 / 0.2);
}

.user-nav {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.user-nav form {
  margin: 0;
}

.username {
  font-weight: 600;
}

/* The page's content is centered in the space beside the sidebar. */
main {
  box-sizing: border-box;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding: 2rem;
  /* Layouts like .card-grid adapt to the content's width, not the window's. */
  container-type: inline-size;
}

/* On narrow screens the sidebar becomes a bar across the top. */
@media (max-width: 48rem) {
  body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    padding: 0.75rem 1rem;
  }

  .search {
    order: 1;
    flex-basis: 100%;
  }

  .search-suggestions {
    width: 100%;
  }

  .main-nav {
    display: flex;
    margin: 0;
  }

  .user-nav {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
  }

  main {
    padding: 1.5rem 1rem;
  }
}

/* Cards */

.card,
.form-card {
  box-sizing: border-box;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.form-card {
  max-width: 28rem;
  margin: 1rem auto 2rem;
}

/* A card's title, with anything beside it pushed to the right. */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-header > h2 {
  margin: 0;
  font-size: 1rem;
}

/* A smaller button, as shadcn uses in card headers. */
.card-header > .button,
.card-header > .actions > a {
  height: 2rem;
  padding-inline: 0.75rem;
}

/* Sections within a card. */
.card h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 0.875rem;
}

.card-header + h3 {
  margin-top: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
}

.card li + li {
  margin-top: 0.25rem;
}

.card p {
  margin: 0;
  font-size: 0.875rem;
}

.card > .inline-form {
  margin-bottom: 1.5rem;
}

.card > :last-child {
  margin-bottom: 0;
}

.card-header > .muted {
  font-size: 0.875rem;
}

.card .details {
  margin: 0;
  font-size: 0.875rem;
}

.card .details dt {
  color: var(--muted);
}

.card .form-error {
  margin-top: 1rem;
}

.card .data-table tr:last-child td {
  border-bottom: 0;
}

.form-card > h1 {
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* The card's description, under its heading. */
.form-card > h1 + p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-card > form {
  margin-top: 1.5rem;
}

/* Links after the form, like "Already have an account?". */
.form-card > form ~ p {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  text-align: center;
  color: var(--muted);
}

/* Forms */

.auth-form,
.stacked-form {
  display: grid;
  gap: 1.25rem;
  max-width: 22rem;
}

.form-card .auth-form,
.form-card .stacked-form {
  max-width: none;
}

.auth-form button[type="submit"] {
  width: 100%;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label,
fieldset legend {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

input:not([type="checkbox"], [type="radio"]),
select,
textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 2.25rem;
  padding: 0.25rem 0.75rem;
  font: inherit;
  /* At least 16px on phones, so iOS doesn't zoom in on focus. */
  font-size: 1rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--input-bg);
  color: inherit;
  box-shadow: var(--shadow-xs);
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

@media (min-width: 48rem) {
  input:not([type="checkbox"], [type="radio"]),
  select,
  textarea {
    font-size: 0.875rem;
  }
}

textarea {
  height: auto;
  min-height: 4rem;
  padding: 0.5rem 0.75rem;
  resize: vertical;
}

select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

select option {
  background: var(--card);
  color: var(--fg);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input[type="file"] {
  padding-block: 0.1875rem;
}

input[type="file"]::file-selector-button {
  height: 1.75rem;
  margin-right: 0.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--primary);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--error);
}

input[aria-invalid="true"]:focus-visible,
select[aria-invalid="true"]:focus-visible,
textarea[aria-invalid="true"]:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 25%, transparent);
}

.field-hint,
.field-error,
.form-error {
  margin: 0;
  font-size: 0.875rem;
}

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

.field-error,
.form-error {
  color: var(--error);
}

/* Buttons. Links among actions, like Cancel or Edit, look like outline
   buttons, unless they're marked as buttons. */

button,
a.button,
.actions > a,
.form-actions > a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  justify-self: start;
  height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-xs);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}

button:hover,
a.button:hover {
  background: color-mix(in srgb, var(--primary) 90%, var(--bg));
}

button:focus-visible,
a.button:focus-visible,
.actions > a:focus-visible,
.form-actions > a:focus-visible {
  box-shadow: 0 0 0 3px var(--ring);
}

.actions > a:not(.button),
.form-actions > a:not(.button) {
  border-color: var(--input);
  background: var(--input-bg);
  color: var(--fg);
}

.actions > a:not(.button):hover,
.form-actions > a:not(.button):hover {
  background: var(--subtle);
}

/* Text buttons among other buttons match their size. */
.race-actions button.link,
.players-field > button.link {
  justify-self: start;
  font-size: 0.875rem;
}

button.danger {
  background: var(--error);
  color: var(--on-error);
}

button.danger:hover {
  background: color-mix(in srgb, var(--error) 90%, var(--bg));
}

button.danger:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 25%, transparent);
}

button.link {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  box-shadow: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

button.link:hover {
  background: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

button.link:focus-visible {
  border-radius: 2px;
  box-shadow: 0 0 0 3px var(--ring);
}

button.link.danger {
  color: var(--error);
}

/* Layout pieces */

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

/* A section heading with a button beside it, like Categories. */
.page-header:has(> h2) {
  margin: 2rem 0 0.75rem;
}

.page-header > h2 {
  margin: 0;
}

.actions,
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.25rem 1rem;
}

.details dt {
  font-weight: 500;
}

.details dd {
  margin: 0;
}

/* Hidden visually but still read by screen readers. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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

.badge {
  display: inline-block;
  padding: 0.0625rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  vertical-align: middle;
}

.badge-admin {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.badge-live {
  border-color: var(--accent);
  color: var(--accent);
}

/* Races */

.players-field {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.players-field legend {
  padding: 0;
  margin-bottom: 0.5rem;
}

.player-boxes {
  display: grid;
  gap: 0.5rem;
}

/* A username box, with its suggestions dropping down over the page. */
.player-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-box input {
  flex: 1;
}

.player-box button.link {
  font-size: 0.875rem;
  color: var(--muted);
}

/* The race and its players, with chat beside them on wide screens. */
/* Cards in two columns, with wide ones taking a whole row. */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.card-grid > .wide {
  grid-column: 1 / -1;
}

@container (max-width: 44rem) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.race-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

#race-live {
  display: grid;
  align-content: start;
  gap: 1.5rem;
}

.race-chat {
  min-height: 20rem;
}

@container (max-width: 44rem) {
  .race-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .race-chat {
    min-height: 12rem;
  }
}

/* Current and finished races, with their columns lined up. */
.race-list {
  table-layout: fixed;
}

.race-list th:nth-child(2) {
  /* Fits an upcoming race's start time on one line. */
  width: 12rem;
}

@container (max-width: 44rem) {
  .race-list th:nth-child(2) {
    width: 7rem;
  }
}

.race-list th:nth-child(3) {
  width: 4rem;
}

/* A named race's game and category, under its name. */
.race-list-category {
  display: block;
  font-size: 0.8125rem;
}

.card .series-list {
  padding-left: 0;
  list-style: none;
}

.series-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

/* Members and banned members, with their columns lined up. */
.member-table {
  table-layout: fixed;
}

.member-table th:first-child {
  width: 35%;
}

.member-table th:nth-child(2) {
  width: 25%;
}

/* Narrow screens need the space for the role menus. */
@container (max-width: 44rem) {
  .member-table {
    table-layout: auto;
  }
}

.race-clock {
  display: block;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.race-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

/* Thumbnails, and same-sized placeholders where there's no image. */
.thumbnail-small,
.thumbnail-medium,
.thumbnail-large {
  display: block;
  object-fit: contain;
  border-radius: calc(var(--radius) - 4px);
}

.thumbnail-small {
  width: 3rem;
  height: 3rem;
}

.thumbnail-medium {
  width: 5rem;
  height: 5rem;
}

.thumbnail-large {
  width: 12rem;
  max-width: 100%;
  height: auto;
}

.thumbnail-placeholder {
  background: var(--subtle);
}

.thumbnail-cell {
  width: 3rem;
}

.game-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
}

.current-thumbnail {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hub-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.hub-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.hub-card p {
  margin: 0 0 0.25rem;
}

.hub-card-title {
  font-weight: 600;
}

.hub-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hub-title h1 {
  margin: 0;
}

.hub-title p {
  margin: 0.25rem 0 0;
}

.description {
  white-space: pre-line;
}

/* Controls side by side, like a hub member's role and its Save button. */
.inline-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.inline-form select {
  width: auto;
}

/* A field and its button: the button lines up with the input, and the
   field's hint or error goes underneath both. */
.inline-form:has(> .field) {
  display: grid;
  grid-template-columns: minmax(0, 20rem) auto;
  justify-content: start;
  column-gap: 0.5rem;
}

.inline-form > .field {
  display: contents;
}

.inline-form > .field > label {
  grid-column: 1 / -1;
  margin-bottom: 0.5rem;
}

.inline-form > .field > :is(input, select) {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
}

.inline-form > .field > p {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 0.5rem;
}

.inline-form:has(> .field) > button {
  grid-column: 2;
  grid-row: 2;
}

.data-table form {
  margin: 0;
}

/* Home page calendar */

/* The calendar's seven days need the room. */
main:has(.calendar) {
  max-width: 84rem;
}

.calendar-week {
  margin: 0.25rem 0 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.calendar-day {
  min-height: 14rem;
  padding: 0.75rem 0.5rem;
  border-left: 1px solid var(--border);
}

.calendar-day:first-child {
  border-left: 0;
}

.calendar-day h3 {
  margin: 0 0 0.75rem;
  padding-inline: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

.calendar-day-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
}

.calendar-today {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.calendar-today .calendar-day-number {
  color: var(--accent);
}

.calendar-empty {
  margin: 0;
  padding-inline: 0.25rem;
  font-size: 0.8125rem;
}

.calendar-races {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.calendar-race {
  padding: 0.375rem 0.5rem;
  border-radius: calc(var(--radius) - 4px);
  background: var(--subtle);
  font-size: 0.8125rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.calendar-race-time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.calendar-race a {
  display: block;
  font-weight: 500;
}

.calendar-race .muted {
  display: block;
  font-size: 0.75rem;
}

/* Narrow, the days go down the page. */
@container (max-width: 44rem) {
  .calendar {
    grid-template-columns: minmax(0, 1fr);
  }

  .calendar-day {
    min-height: 0;
    padding: 0.75rem 1rem;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .calendar-day:first-child {
    border-top: 0;
  }

  .calendar-day h3 {
    margin-bottom: 0.5rem;
    padding: 0;
  }

  .calendar-empty {
    padding: 0;
  }
}

/* What the site is, above the calendar. */
.intro {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: calc(var(--radius) + 4px);
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
}

.intro p {
  max-width: 44rem;
  margin: 0 0 0.75rem;
}

.intro-lead {
  font-size: 1.125rem;
  font-weight: 500;
}

.intro .actions {
  margin-top: 1.25rem;
}
