:root {
  --ink: #0b1f33;
  --muted: #5a7183;
  --line: #dfeaed;
  --teal: #1c9aac;
  --teal-dark: #0e7f91;
  --bg: #f6fafb;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  width: min(900px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
}

.brand:hover { text-decoration: none; }

.brand img {
  width: auto;
  height: 44px;
  max-width: min(180px, 52vw);
  display: block;
}

@media (max-width: 520px) {
  .brand img { height: 36px; }
  .header-inner { min-height: 64px; }
  .back-home { font-size: 0.82rem; }
}

.back-home {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-dark);
  white-space: nowrap;
}

.page {
  padding: 3.5rem 0 4.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: #e6f7f9;
  border: 1px solid #c9ecef;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 2rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  box-shadow: 0 18px 40px rgba(11, 31, 51, 0.05);
}

h2 {
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  margin: 2rem 0 0.6rem;
}

h2:first-child { margin-top: 0; }

p { margin: 0 0 1rem; color: #334a5c; }

ul { margin: 0 0 1rem; padding-left: 1.3rem; color: #334a5c; }

li { margin-bottom: 0.45rem; }

.note {
  background: #eefafb;
  border: 1px solid #d5eef1;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1.5rem 0;
}

.note p:last-child { margin-bottom: 0; }

.contact-block {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
}

.contact-block strong { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 1.6rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--teal-dark); }

@media (max-width: 540px) {
  .page { padding: 2.25rem 0 3rem; }
  .back-home { font-size: 0.82rem; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: #0b1f33;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #5ec8d4;
  outline-offset: 2px;
}
#main:focus { outline: none; }
