:root {
  --navy: #0b2545;
  --blue: #1769aa;
  --cyan: #1aa6b7;
  --sky: #eaf6fb;
  --ice: #f6fafc;
  --ink: #172235;
  --muted: #5e6c7c;
  --line: #d9e6ed;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 37, 69, 0.10);
  --radius: 18px;
  --page: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--cyan); }
.wrap { width: min(var(--page), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: rgba(11, 37, 69, 0.96);
  box-shadow: 0 8px 24px rgba(4, 20, 38, 0.18);
  backdrop-filter: blur(12px);
}
.header-row { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--white); text-decoration: none; min-width: 0; }
.brand img { width: 50px; height: 50px; object-fit: cover; object-position: top; border-radius: 50%; background: #1d3245; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(145deg, #5de0e6, #1776d2); color: #06192c; font-size: 18px; font-weight: 900; letter-spacing: -1px; }
.brand-text strong { display: block; font-size: 19px; letter-spacing: .04em; }
.brand-text span { display: block; color: #b9d8e6; font-size: 12px; white-space: nowrap; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 12px; border-radius: 10px; color: #d7e7f0; text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.12); }
.nav-toggle { display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; padding: 8px 12px; color: var(--white); background: transparent; font: inherit; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 24%, rgba(93,224,230,.25), transparent 26%),
    linear-gradient(125deg, #081f3b 0%, #0d4775 58%, #137a8c 100%);
}
.hero::after { content: ""; position: absolute; right: -150px; bottom: -260px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .75fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: #7de5e8; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.04em; }
.hero .subtitle { max-width: 790px; margin: 22px 0 0; color: #d7ecf3; font-size: clamp(18px, 2.3vw, 25px); line-height: 1.38; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #07213b; background: #70e2e5; box-shadow: 0 10px 25px rgba(0,0,0,.18); }
.button-primary:hover { color: #07213b; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.button-ghost:hover { color: var(--white); background: rgba(255,255,255,.12); }
.hero-badge { justify-self: end; width: 270px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 22px rgba(255,255,255,.035); }
.hero-badge strong { display: block; font-size: 48px; line-height: .95; letter-spacing: -.06em; }
.hero-badge span { display: block; margin-top: 10px; color: #bfe5ef; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.metric-strip { position: relative; z-index: 4; margin-top: -34px; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.metric { padding: 24px 20px; text-align: center; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { display: block; color: var(--blue); font-size: 29px; line-height: 1.1; }
.metric span { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }

main { min-height: 56vh; }
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-white { background: var(--white); }
.section-blue { background: var(--sky); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { margin: 0 0 8px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(28px, 4vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
h3 { color: var(--navy); line-height: 1.25; }
.lead { color: var(--muted); font-size: 18px; }
.prose { max-width: 920px; }
.prose p { margin: 0 0 18px; }
.prose strong { color: var(--navy); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(16,48,74,.06); }
.card .number { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--cyan)); font-weight: 900; }
.card h3 { margin: 16px 0 9px; }
.card p { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 22px; border-radius: 15px; background: var(--white); border: 1px solid var(--line); }
.feature strong { display: block; margin-bottom: 6px; color: var(--navy); }
.feature span { color: var(--muted); font-size: 14px; }

.figure-card { margin: 0; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.figure-card img { display: block; width: 100%; max-height: 720px; object-fit: contain; background: #fff; border-radius: 12px; }
.figure-card figcaption { padding: 16px 8px 2px; color: var(--muted); font-size: 14px; }
.figure-card figcaption strong { color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery .figure-card { height: 100%; display: flex; flex-direction: column; }
.gallery .figure-card img { aspect-ratio: 16/10; }

.page-hero { padding: 62px 0 50px; color: var(--white); background: linear-gradient(130deg, #0b2545, #145b87); }
.page-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.1; }
.page-hero p { max-width: 780px; margin: 13px 0 0; color: #d1e8f1; font-size: 18px; }
.breadcrumb { margin-bottom: 12px; color: #9fc9d8; font-size: 13px; font-weight: 700; }
.breadcrumb a { color: #b9e9ed; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--navy); background: var(--sky); font-size: 13px; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
td strong { color: var(--blue); }

.download-list { display: grid; gap: 18px; }
.download-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.file-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--cyan)); font-size: 12px; font-weight: 900; }
.download-item h3 { margin: 0 0 5px; }
.download-item p { margin: 0; color: var(--muted); font-size: 14px; }
.download-meta { color: var(--muted); font-size: 12px; }
.notice { padding: 18px 20px; border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; background: var(--sky); color: #375064; }
.citation-box { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 12px 34px rgba(11,37,69,.07); }
.citation-box pre { margin: 0; white-space: pre-wrap; word-break: break-word; color: #293b4f; font: 14px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; }
.author-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.author-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.author-card h3 { margin: 0 0 5px; }
.author-card p { margin: 0; color: var(--muted); }

.site-footer { padding: 34px 0; color: #c8dce6; background: #071b31; }
.footer-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 46px; height: 46px; object-fit: cover; object-position: top; border-radius: 50%; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer a { color: #7de5e8; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .card-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 70px; padding: 10px; flex-direction: column; align-items: stretch; background: #0b2545; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 24px, var(--page)); }
  .hero { padding: 66px 0 62px; }
  .brand-text span { display: none; }
  .metrics, .card-grid, .feature-grid, .author-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .download-item { grid-template-columns: 48px 1fr; }
  .download-item .button { grid-column: 1 / -1; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
