:root {
  color-scheme: light;
  --page: #ffffff;
  --text: #111111;
  --muted: #6e6e73;
  --line: #d8d8de;
  --surface: #fbfbfd;
  --surface-hover: #f5f5f7;
  --accent: #0066cc;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page);
}

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

.site-header {
  width: min(100% - 40px, 940px);
  margin: 0 auto;
  padding: 28px 0 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
}

.brand-link:focus-visible,
.website-link:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.28);
  outline-offset: 5px;
}

.brand-icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.brand-name {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

.page {
  width: min(100% - 40px, 940px);
  margin: 0 auto;
  padding: 112px 0 72px;
}

.intro {
  max-width: 640px;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.intro p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.45;
}

.website-list {
  display: grid;
  gap: 14px;
  margin-top: 56px;
}

.website-link {
  display: block;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.website-link:hover,
.website-link:focus-visible {
  border-color: #b9b9c0;
  background: var(--surface-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.website-name {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 650;
}

.website-description {
  display: block;
  max-width: 62ch;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .site-header,
  .page {
    width: min(100% - 28px, 940px);
  }

  .site-header {
    padding-top: 20px;
  }

  .page {
    padding: 84px 0 48px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .website-list {
    margin-top: 42px;
  }

  .website-link {
    padding: 22px;
  }
}
