@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --max-width: 1160px;
  --color-primary: #0F5C97;
  --color-primary-dark: #0B3F66;
  --color-primary-light: #E8F1F8;
  --color-accent: #FF7A30;
  --color-accent-dark: #E0631D;
  --color-text: #1A2433;
  --color-text-soft: #4B5768;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F4F7FA;
  --color-border: #E1E7ED;
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }

p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.3rem; margin: 0 0 1rem; }
li { margin-bottom: 0.4rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

img { max-width: 100%; display: block; }

svg.icon { width: 22px; height: 22px; flex-shrink: 0; stroke: currentColor; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}
.site-logo__mark { height: 36px; width: 36px; display: block; border-radius: 8px; }
.site-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.75rem;
}
.site-nav__list a {
  color: var(--color-text-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav__list a:hover { color: var(--color-primary); text-decoration: none; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle__bar { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; }

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .site-nav__list { display: flex; }
}
@media (max-width: 767px) {
  .site-nav__list {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .site-nav__list.is-open { display: flex; }
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #C9D9E8;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.site-footer__inner { display: flex; flex-direction: column; gap: 1rem; }
.site-footer__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: #fff; }
.site-footer__note { font-size: 0.9rem; max-width: 720px; color: #A9C0D6; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-footer__links a { color: #C9D9E8; font-size: 0.9rem; }
.site-footer__copy { font-size: 0.85rem; color: #7E9AB4; margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
