.dashboard-main {
  display: block;
  min-height: calc(100vh - 56px);
  width: min(980px, calc(100% - 32px));
  padding: 64px 0 96px;
  text-align: center;
}

.dashboard-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dashboard-intro h1 {
  margin-top: 0;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.dashboard-intro > p {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--muted-foreground);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  text-wrap: balance;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dashboard-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid hsl(0 0% 100% / 0.14);
  border-radius: 8px;
  background: hsl(0 0% 8% / 0.72);
  color: var(--foreground);
  font-size: 13px;
  font-weight: 600;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.dashboard-action:hover {
  border-color: hsl(0 0% 98% / 0.42);
  background: hsl(0 0% 14% / 0.86);
  transform: translateY(-1px);
}

.dashboard-action-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.dashboard-action-primary:hover {
  border-color: hsl(0 0% 98% / 0.9);
  background: hsl(0 0% 98% / 0.9);
  color: var(--primary-foreground);
}

.dashboard-available {
  padding-top: 118px;
}

.dashboard-section-heading span {
  color: hsl(0 0% 52%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-section-heading h2 {
  margin: 10px 0 0;
  color: var(--foreground);
  font-size: 36px;
  line-height: 1.15;
}

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

.dashboard-card {
  display: grid;
  min-height: 248px;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  text-align: left;
}

.dashboard-card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid hsl(0 0% 100% / 0.16);
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.08);
}

.dashboard-card-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dashboard-card h3 {
  margin: 22px 0 0;
  color: var(--foreground);
  font-size: 20px;
  line-height: 1.25;
}

.dashboard-card p {
  margin: 9px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.6;
}

.dashboard-card > a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: hsl(0 0% 78%);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease;
}

.dashboard-card > a span {
  font-size: 18px;
  transition: transform 160ms ease;
}

.dashboard-card > a:hover {
  color: var(--foreground);
}

.dashboard-card > a:hover span {
  transform: translateX(4px);
}

.header-button[aria-current="page"] {
  border-color: hsl(0 0% 98% / 0.35);
  background: hsl(0 0% 14.9% / 0.8);
}

@media (max-width: 700px) {
  .dashboard-main {
    padding: 48px 0 70px;
  }

  .dashboard-intro h1 {
    font-size: 42px;
  }

  .dashboard-intro > p {
    font-size: 15px;
    line-height: 1.6;
  }

  .dashboard-actions {
    display: grid;
    width: min(100%, 300px);
  }

  .dashboard-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .dashboard-available {
    padding-top: 88px;
  }

  .dashboard-section-heading h2 {
    font-size: 28px;
  }
}
