:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --text: #14171f;
  --muted: #697183;
  --line: #dfe5ee;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-strong: #ffffff;
  --accent: #2854d8;
  --accent-2: #0f9f8f;
  --shadow: 0 18px 50px rgba(35, 48, 76, 0.09);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 18%, rgba(40, 84, 216, 0.11), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(15, 159, 143, 0.1), transparent 26%),
    linear-gradient(rgba(20, 23, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 23, 31, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.shell {
  width: min(100% - 48px, 1080px);
  margin: 0 auto;
}

.topbar {
  padding: 28px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 17px;
  font-weight: 650;
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

main {
  flex: 1;
  padding: 44px 0 74px;
}

.home-main {
  display: grid;
  align-items: center;
  padding: 54px 0 72px;
}

.home-hero,
.page-hero {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: center;
}

.page-hero {
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 0.92;
}

.page-title {
  font-size: clamp(42px, 8vw, 84px);
}

.summary {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: var(--panel-strong);
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: #bac7da;
  box-shadow: 0 10px 26px rgba(35, 48, 76, 0.08);
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(20, 23, 31, 0.16);
}

.status {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(223, 229, 238, 0.9);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 14px;
  backdrop-filter: blur(14px);
}

.note {
  margin-top: 52px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.mark-card,
.stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 229, 238, 0.86);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.66)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.mark-card {
  min-height: 420px;
}

.mark-card::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(40, 84, 216, 0.12);
  border-radius: 12px;
  content: "";
}

.mark-card::after,
.stat-card::after {
  position: absolute;
  right: -64px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(15, 159, 143, 0.14);
  content: "";
}

.mark-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.mark-top,
.stat-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.monogram {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border: 1px solid rgba(40, 84, 216, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(40, 84, 216, 0.12), rgba(15, 159, 143, 0.12)),
    #ffffff;
  color: var(--text);
  font-size: 44px;
  font-weight: 760;
  line-height: 1;
}

.panel-lines {
  display: grid;
  gap: 12px;
}

.panel-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(223, 229, 238, 0.86);
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.panel-line strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.stat-card {
  min-width: 220px;
  padding: 22px;
}

.stat-number {
  display: block;
  margin-top: 34px;
  font-size: 54px;
  font-weight: 720;
  line-height: 0.9;
}

.stat-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 34px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.section-note {
  color: var(--muted);
  font-size: 13px;
}

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

.category-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(35, 48, 76, 0.055);
  padding: 18px;
  backdrop-filter: blur(14px);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.card:hover,
.card:focus-visible {
  border-color: rgba(40, 84, 216, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-card {
  min-height: 150px;
}

.tool-card {
  min-height: 196px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(40, 84, 216, 0.18);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(40, 84, 216, 0.07);
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.tag.alt {
  border-color: rgba(15, 159, 143, 0.2);
  background: rgba(15, 159, 143, 0.08);
  color: #087d72;
}

.tag.gray {
  border-color: rgba(105, 113, 131, 0.2);
  background: rgba(105, 113, 131, 0.08);
  color: var(--muted);
}

h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid rgba(223, 229, 238, 0.85);
  padding-top: 13px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.open span {
  color: var(--muted);
  font-size: 15px;
}

.detail-panel {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 280px;
  margin-top: 34px;
}

.detail-card {
  border: 1px solid rgba(223, 229, 238, 0.92);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.detail-card h2 {
  margin-bottom: 14px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(223, 229, 238, 0.86);
  padding-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.meta-item strong {
  color: var(--text);
  font-weight: 650;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .home-hero,
  .page-hero,
  .detail-panel {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mark-card,
  .mark-inner {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .topbar {
    padding: 22px 0;
  }

  main,
  .home-main {
    padding: 34px 0 54px;
  }

  .nav-links {
    gap: 14px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .status {
    width: 100%;
  }

  .grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
