:root {
  color-scheme: dark;
  --bg: #101418;
  --panel: #171d22;
  --panel-strong: #1f272e;
  --text: #edf4f2;
  --muted: #aebbb6;
  --line: #334047;
  --accent: #64d5b3;
  --accent-strong: #f0c15a;
  --shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(100, 213, 179, 0.08), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(240, 193, 90, 0.06), transparent 24rem),
    var(--bg);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1060px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  align-content: center;
  gap: 26px;
}

.intro {
  display: grid;
}

.logo-mark {
  margin: 0;
  width: fit-content;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: lowercase;
  text-shadow:
    0 0 12px rgba(100, 213, 179, 0.28),
    0 0 32px rgba(100, 213, 179, 0.16);
  font:
    850 clamp(52px, 11vw, 118px)/0.9
    ui-rounded,
    "Avenir Next",
    Avenir,
    "Trebuchet MS",
    ui-sans-serif,
    system-ui,
    sans-serif;
}

.lede {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.section-title {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.link-card {
  min-height: 158px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  align-content: start;
  gap: 10px;
  text-decoration: none;
  background: rgba(23, 29, 34, 0.9);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.18);
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  border-color: var(--accent);
  background: var(--panel-strong);
  transform: translateY(-2px);
  outline: none;
}

.project-card {
  grid-column: 1 / -1;
}

.project-links {
  grid-template-columns: 1fr;
}

.muted-card {
  border-style: dashed;
}

.label {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: #08120f;
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-card .label {
  background: var(--accent-strong);
}

.link-card strong {
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.link-card span:last-child {
  color: var(--muted);
  line-height: 1.45;
}

.homey-section {
  display: grid;
  gap: 14px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
}

.app-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(23, 29, 34, 0.86);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.18);
}

.app-row {
  min-height: 88px;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.app-row:last-child {
  border-bottom: 0;
}

.app-row:hover,
.app-row:focus-visible {
  background: var(--panel-strong);
  outline: none;
}

.app-row:hover .app-icon,
.app-row:focus-visible .app-icon {
  border-color: var(--accent);
  color: #08120f;
  background: var(--accent);
}

.app-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(100, 213, 179, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.app-copy {
  display: grid;
  gap: 5px;
}

.app-copy strong {
  font-size: 18px;
  line-height: 1.2;
}

.app-copy span {
  color: var(--muted);
  line-height: 1.45;
}

.app-meta {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 560px);
    padding: 28px 0;
    align-content: start;
  }

  .logo-mark {
    font-size: clamp(48px, 17vw, 74px);
  }

  .links {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-column: auto;
  }

  .link-card {
    min-height: 132px;
  }

  .section-heading {
    display: grid;
    gap: 8px;
  }

  .section-heading p {
    text-align: left;
  }

  .app-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
  }

  .app-icon {
    width: 42px;
    height: 42px;
  }

  .app-meta {
    grid-column: 2;
    width: fit-content;
  }
}
