:root {
  --page-bg: #f2f2f2;
  --ink: #011627;
  --muted-ink: rgba(1, 22, 39, 0.5);
  --accent: #e53b07;
  --line: #d0d5dd;
  --white: #ffffff;
  --panel-width: 660px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: Inter, "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.site-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 50px 24px;
}

.link-panel {
  display: flex;
  width: min(100%, var(--panel-width));
  flex-direction: column;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 210px;
  height: auto;
}

.primary-links {
  width: 100%;
  margin-top: 75px;
  border-top: 1px solid var(--line);
}

.link-row {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 0 58px 0 40px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.link-row:hover,
.link-row:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.link-row:focus-visible,
.social-link:focus-visible,
.domain-link:focus-visible {
  outline: 3px solid rgba(229, 59, 7, 0.35);
  outline-offset: 4px;
}

.link-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.link-index {
  flex: 0 0 auto;
  color: var(--muted-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 180ms ease;
}

.link-row:hover .link-index,
.link-row:focus-visible .link-index {
  color: rgba(255, 255, 255, 0.72);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 115px 0 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--ink);
  color: var(--white);
  transition: background-color 180ms ease, transform 180ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--accent);
  transform: translateY(-2px);
}

.social-link img,
.social-link svg {
  display: block;
  width: 16px;
  height: 16px;
}

.social-link img {
  filter: brightness(0) invert(1);
}

.social-link svg {
  fill: currentColor;
}

.domain-link {
  margin-top: 25px;
  border-bottom: 1px solid transparent;
  color: var(--accent);
  font-size: 16px;
  line-height: 1.2;
  transition: border-color 180ms ease, color 180ms ease;
}

.domain-link:hover,
.domain-link:focus-visible {
  border-color: currentColor;
  color: var(--ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .site-shell {
    padding: 75px 30px;
  }

  .brand-logo {
    width: 220px;
  }

  .primary-links {
    margin-top: 60px;
  }

  .link-row {
    min-height: 88px;
  }

  .link-title {
    font-size: 28px;
  }

  .link-index {
    font-size: 18px;
  }

  .social-list {
    margin-top: 95px;
  }
}

@media (max-width: 767px) {
  .site-shell {
    align-items: start;
    padding: 60px 20px 40px;
  }

  .brand-logo {
    width: 170px;
  }

  .primary-links {
    margin-top: 60px;
  }

  .link-row {
    min-height: 96px;
    gap: 18px;
    padding: 0 28px 0 30px;
  }

  .link-title {
    font-size: 26px;
  }

  .social-list {
    margin-top: 80px;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
