:root {
  --dark: #0b1f33;
  --gray: #6b7280;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--dark);
  font-family: Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.site-main--home {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.home-card {
  width: min(100%, 420px);
  padding: 40px 20px;
  text-align: center;
}

.logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 32px;
}

.site-title,
.article-title {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.site-tagline {
  margin: 0 0 32px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.5;
}

.social-links { text-align: center; }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 32px;
  padding: 14px 22px;
  border-radius: 8px;
  background: var(--dark);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}

.social-link:hover { transform: translateY(-1px); opacity: .9; }
.social-link:focus-visible,
.article-list a:focus-visible,
.site-footer a:focus-visible { outline: 2px solid var(--dark); outline-offset: 3px; }

.about { margin: 0 0 32px; color: var(--gray); font-size: 14px; line-height: 1.5; }
.site-footer { color: var(--gray); font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer p + p { margin-top: 8px; }
.site-footer a { color: var(--gray); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.article-list {
    margin: 0 0 32px;
    font-size: 16px;
    font-weight: 400;
}
.article-list-title {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 400;
    color: var(--dark);
}
.article-list a { color: var(--dark); }

.article-page { font-family: Arial, sans-serif; line-height: 1.65; }
.article-container { width: min(100%, 960px); margin: 0 auto; padding: 32px 20px 72px; }
.site-header { text-align: center; }
.site-header .logo { margin-bottom: 32px; }
.site-header .site-title { margin-bottom: 12px; }
.site-header .site-tagline { margin-bottom: 32px; }
.article { max-width: 860px; }
.article-title { margin-bottom: 18px; overflow-wrap: anywhere; }
.article h2 { margin: 42px 0 16px; color: var(--dark); font-size: clamp(26px, 3.5vw, 34px); font-weight: 300; line-height: 1.18; }
.article p { margin: 0 0 18px; font-size: 19px; }
.article .hero-note { max-width: 780px; margin-bottom: 36px; font-size: 18px; }
.article ul { margin: 0 0 22px; padding-left: 24px; font-size: 19px; }
.article li { margin-bottom: 10px; }
.article .quote { margin: 24px 0; padding: 14px 18px; border-left: 3px solid rgb(11 31 51 / .22); background: rgb(11 31 51 / .04); font-size: 21px; line-height: 1.5; }
.article figure { margin: 28px 0 30px; }
.article figure img { display: block; width: 100%; height: auto; border: 1px solid rgb(11 31 51 / .08); border-radius: 8px; }
.article figcaption { margin-top: 10px; color: rgb(11 31 51 / .78); font-size: 15px; line-height: 1.5; }
.article .note { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgb(11 31 51 / .12); color: rgb(11 31 51 / .75); font-size: 15px; }
.article .note p { margin-bottom: 18px; font-size: inherit; }
.article .note .social-links { margin-bottom: 0; }
.article-footer { text-align: center; }
.article-footer .logo { margin-bottom: 32px; }

@media (max-width: 640px) {
  .article-container { padding: 24px 16px 56px; }
  .social-links { display: flex; flex-direction: column; align-items: center; }
  .social-link { margin-bottom: 12px; }
  .article p,
  .article ul { font-size: 18px; }
  .article .quote { font-size: 19px; }
}
