
:root {
  --teal: #5EA5B9;
  --teal-dark: #4795AB;
  --slate: #60717A;
  --yellow: #fc0;
  --bg: #F5F6F6;
  --bg-alt: #E8EAEB;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PT Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.brand {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--white);
}
.brand-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.85);
}
.hero {
  background: var(--white);
  border-bottom: 4px solid var(--yellow);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 36px;
  text-align: center;
}
h1 {
  font-family: "PT Sans Caption", "PT Sans", Arial, sans-serif;
  color: var(--slate);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}
main {
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}
article {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 40px;
  box-shadow: 0 4px 18px rgba(96,113,122,0.12);
  overflow-wrap: break-word;
}
article h2 {
  color: var(--teal-dark);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  margin: 1.6em 0 0.6em;
}
article h3 {
  font-family: "PT Sans Caption", "PT Sans", Arial, sans-serif;
  font-weight: 400;
  color: var(--slate);
  font-size: 1.25rem;
  letter-spacing: 1px;
  margin: 1.5em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
}
article h4, article h5, article h6 {
  color: var(--teal-dark);
  margin: 1.2em 0 0.5em;
}
article > :first-child { margin-top: 0; }
article p { margin-bottom: 1.1em; }
article ul, article ol { margin: 0 0 1.1em 1.5em; }
article li { margin-bottom: 0.4em; }
article a { color: var(--teal-dark); text-decoration: underline; }
article a:hover { color: var(--slate); text-decoration: none; }
article img { max-width: 100%; height: auto; border-radius: 6px; }
article table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; display: block; overflow-x: auto; }
article th, article td { padding: 8px 12px; border: 1px solid var(--bg-alt); text-align: left; }
article blockquote {
  border-left: 4px solid var(--yellow);
  background: var(--bg);
  padding: 12px 20px;
  margin: 0 0 1.2em;
  font-style: italic;
}
.transition {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--bg-alt);
  border-left: 5px solid var(--teal);
  border-radius: 0 10px 10px 0;
  overflow-wrap: break-word;
}
.transition p { margin-bottom: 0.9em; }
.transition p:last-child { margin-bottom: 0; }
.links-block {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--bg-alt);
  border-top: 4px solid var(--teal);
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 4px 18px rgba(96,113,122,0.10);
}
.links-block h3 {
  font-family: "PT Sans Caption", "PT Sans", Arial, sans-serif;
  font-weight: 400;
  color: var(--slate);
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin: 1.4em 0 0.8em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yellow);
}
.links-block h3:first-child { margin-top: 0; }
.links-block ul {
  list-style: none;
  columns: 2;
  column-gap: 40px;
  margin: 0 0 1em;
  padding: 0;
}
.links-block li {
  break-inside: avoid;
  padding: 6px 0 6px 18px;
  position: relative;
  overflow-wrap: anywhere;
}
.links-block li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}
.links-block a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.links-block a:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--yellow);
}
.site-footer {
  background: var(--teal);
  color: var(--white);
  font-family: Georgia, serif;
  font-style: italic;
  text-align: center;
  padding: 22px 20px;
  font-size: 0.95rem;
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .hero-inner { padding: 32px 16px 26px; }
  main { padding: 20px 14px 36px; }
  article { padding: 24px 20px; }
  .links-block { padding: 22px 20px; }
  .links-block ul { columns: 1; }
  .transition { padding: 20px; }
  .site-header-inner { justify-content: center; text-align: center; }
}
