:root {
  --bg: #f7f8fa;
  --text: #101418;
  --muted: #4b5563;
  --accent: #123047;
  --accent-dark: #0b2233;
  --accent-contrast: #ffffff;
  --border: #d7dce2;
  --card-bg: #f1f4f7;
  --shadow: 0 16px 40px rgba(12, 18, 26, 0.08);
  --max-width: 1120px;
  --content-width: 800px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

/* Content links should be visually identifiable (policy-heavy pages) */
.content a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 0.08em;
}

/* Keep nav + brand + buttons un-underlined */
.site-nav a,
.brand,
.btn {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #64748b;
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 250, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-size: 0.95rem;
}

.site-nav a:not(.btn) {
  color: var(--text);
}

.site-nav a:not(.btn):hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn--primary:hover {
  background: var(--accent-dark);
  color: var(--accent-contrast);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
}

.btn--outline:hover {
  background: rgba(18, 48, 71, 0.08);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

main {
  padding-bottom: 80px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 1;
}

.hero-graphic {
  max-width: 416px;
  margin-left: auto;
}

.hero-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #e9edf2;
  z-index: 0;
}

.hero::before {
  width: 440px;
  height: 440px;
  top: -180px;
  right: -120px;
}

.hero::after {
  width: 280px;
  height: 280px;
  bottom: -140px;
  left: -90px;
  background: #eef2f6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.card-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--accent);
}

.card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(12, 18, 26, 0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.card li {
  margin-bottom: 6px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.two-column h3 {
  margin-top: 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card h3 {
  margin: 0;
}

.article-card p {
  margin: 0;
  color: var(--muted);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.article-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #e3e8ef;
  color: #3b4754;
  border-radius: 999px;
  padding: 4px 8px;
}

.article-cta {
  margin-top: 24px;
}

.article-hero {
  margin: 24px 0;
}

.article-hero img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(12, 18, 26, 0.08);
}

.callout {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(12, 18, 26, 0.06);
}

.callout ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.callout li {
  margin-bottom: 8px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #e3e8ef;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b4754;
}

.page-header {
  padding: 48px 0 12px;
}

.page-header h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.page-header p {
  color: var(--muted);
  max-width: var(--content-width);
}

.content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.content h2 {
  margin-top: 32px;
  font-size: 1.4rem;
  scroll-margin-top: 96px;
}

.content h3 {
  margin-top: 24px;
  font-size: 1.1rem;
  scroll-margin-top: 96px;
}

.content ul {
  padding-left: 20px;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.diagram {
  margin: 20px 0 24px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.diagram img {
  display: block;
  width: 100%;
  height: auto;
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 16px;
}

.process-step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(12, 18, 26, 0.03);
}

.process-step__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.process-step__num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  background: #e3e8ef;
  color: #3b4754;
  flex: 0 0 32px;
}

.process-step__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.process-step__media {
  margin: 0;
  max-width: 320px;
}

.process-step__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f7f8fa;
}

.process-step__body p {
  margin-top: 0;
}

.process-step__body ul {
  margin: 10px 0 0;
}

@media (max-width: 760px) {
  .process-step__grid {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.notice {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: #edf2f6;
  border-radius: 8px;
  color: #1f2937;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  background: #f3f5f8;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-small {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 18px;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.site-nav a.btn[aria-current="page"] {
  color: var(--accent-contrast);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  left: 12px;
}

.reveal {
  animation: rise 700ms ease forwards;
  opacity: 0;
  transform: translateY(12px);
}

.reveal.delay-1 {
  animation-delay: 120ms;
}

.reveal.delay-2 {
  animation-delay: 240ms;
}

.reveal.delay-3 {
  animation-delay: 360ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
