@font-face {
  font-family: "Source Sans 3";
  src: url("assets/source-sans-3-latin.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/newsreader-semibold-latin.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ivory: #F4F0E7;
  --graphite: #242321;
  --wine: #742C43;
  font-family: "Source Sans 3", sans-serif;
  color: var(--graphite);
  background: var(--ivory);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.page {
  width: min(100%, 536px);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(36px, 8vh, 80px) 28px 28px;
  display: flex;
  flex-direction: column;
}
.identity { text-align: center; }
h1 { margin: 0; font-family: "Newsreader", serif; font-weight: 600; }
.logo { display: block; width: 100%; height: auto; }
.tagline { margin: 20px 0 0; font-size: 24px; line-height: 1.3; font-weight: 400; }
.byline { margin: 8px 0 0; font-size: 17px; line-height: 1.5; }
.channels { margin-top: 40px; padding-inline: 16px; }
.links { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.channel {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 82px;
  padding: 14px 24px;
  border: 1px solid rgba(36, 35, 33, .28);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--graphite);
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(116, 44, 67, .15);
}
.channel-primary { color: var(--ivory); background: var(--wine); border-color: var(--wine); }
.channel-icon { flex: 0 0 30px; width: 30px; height: 30px; }
.channel-copy { display: grid; min-width: 0; gap: 1px; }
.channel-name { font-size: 21px; font-weight: 600; line-height: 1.2; }
.channel-handle { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.channel:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
@media (hover: hover) {
  .channel:hover { border-color: var(--graphite); }
  .channel:hover .channel-name { text-decoration: underline; text-underline-offset: 4px; }
  .channel-primary:hover { background: var(--graphite); border-color: var(--graphite); }
}
.footer { padding-top: 36px; margin-top: auto; text-align: center; font-size: 14px; line-height: 1.5; }
@media (max-width: 480px) {
  .page { padding-inline: 24px; }
  .tagline { margin-top: 18px; font-size: 22px; }
  .byline { font-size: 16px; }
  .channels { margin-top: 32px; padding-inline: 0; }
  .channel { min-height: 78px; padding: 13px 20px; gap: 18px; }
  .channel-name { font-size: 20px; }
  .footer { padding-top: 32px; }
}
@media (max-height: 700px) {
  .page { padding-top: 28px; }
  .channels { margin-top: 28px; }
  .footer { padding-top: 24px; }
}
