:root {
  color-scheme: dark;

  --page-background: #14111f;
  --surface: #1c1828;
  --surface-featured: #211b31;

  --text-primary: #f6f3ff;
  --text-secondary: #beb8cf;
  --text-muted: #817b91;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --accent: #8467ff;
  --accent-light: #a88fff;
  --success: #71e9ad;

  --page-width: 900px;
  --radius-large: 20px;
  --radius-medium: 13px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-background);
}

body {
  min-height: 100vh;
  margin: 0;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background:
    radial-gradient(
      circle at top,
      rgba(132, 103, 255, 0.06),
      transparent 34rem
    ),
    var(--page-background);

  color: var(--text-primary);
}

a {
  color: inherit;
}

.page {
  width: min(var(--page-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 0 28px;
}

.hero {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.brand-label {
  margin: 0 0 18px;

  color: var(--text-muted);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0;

  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.intro {
  max-width: 700px;
  margin: 26px auto 0;

  color: var(--text-secondary);

  font-size: 1rem;
  line-height: 1.65;
}

.projects {
  margin-top: 20px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-label,
.project-status {
  margin: 0 0 10px;

  color: var(--text-muted);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-heading h2 {
  margin: 0;

  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  margin-bottom: 16px;
  padding: 26px 28px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius-large);

  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.project-card-featured {
  background:
    linear-gradient(
      135deg,
      rgba(132, 103, 255, 0.06),
      transparent 52%
    ),
    var(--surface-featured);
}

.project-copy {
  max-width: 590px;
}

.project-status {
  color: var(--success);
}

.project-status-muted {
  color: var(--text-muted);
}

.project-card h3 {
  margin: 0 0 12px;

  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.project-card p {
  margin: 0;

  color: var(--text-secondary);

  line-height: 1.65;
}

.project-link {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 165px;
  padding: 13px 19px;

  border-radius: var(--radius-medium);

  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.project-link-primary {
  background:
    linear-gradient(
      135deg,
      var(--accent),
      var(--accent-light)
    );

  color: #ffffff;

  box-shadow:
    0 10px 28px rgba(132, 103, 255, 0.18);
}

.project-link-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 34px rgba(132, 103, 255, 0.28);
}

.project-link-disabled {
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: default;
}

.more-note {
  margin: 22px 2px 0;

  color: var(--text-muted);

  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin-top: 58px;
  padding-top: 20px;

  border-top: 1px solid var(--border);

  color: var(--text-muted);

  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .page {
    width: min(100% - 28px, var(--page-width));
  }

  .hero {
    margin-bottom: 44px;
  }

  .project-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;

    padding: 23px;
  }

  .project-link {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}