
:root {
  --navy: #08203a;
  --navy-2: #0d3158;
  --blue: #38b6ff;
  --blue-light: #7dd3fc;
  --cyan: #7ae6ff;
  --light: #f4f8fc;
  --card: #ffffff;
  --text: #16324a;
  --muted: #5e7c96;
  --line: #d9e1ec;
  --success: #128f72;
  --shadow: 0 14px 40px rgba(13,34,66,0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top right, rgba(56,182,255,0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(125,211,252,0.18), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}
a { color: var(--navy-2); }
a:hover { color: var(--blue); }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.site-header {
  color: white;
  padding-top: 18px;
  background:
    linear-gradient(135deg, rgba(8,32,58,0.98) 0%, rgba(13,49,88,0.98) 100%),
    url('background-grid.svg') center/cover no-repeat;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0 16px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: white; flex-shrink: 0; }
.brand-mark { width: 78px; height: 78px; min-width: 78px; object-fit: contain; background: transparent; border-radius: 0; box-shadow: none; }
.brand-name { font-size: 28px; font-weight: 700; letter-spacing: 0.01em; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: rgba(255,255,255,0.92); text-decoration: none; font-size: 15px; margin-left: 0; }
.nav a:hover { color: white; }
.hero {
  padding: 34px 0 78px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: 48px; line-height: 1.05; margin: 0 0 14px; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,0.88); margin: 0 0 24px; max-width: 760px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 15px;
  border-radius: 12px; padding: 13px 18px; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: white; color: var(--navy); }
.btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.35); }
.btn-card { background: var(--navy); color: white; font-size: 14px; padding: 10px 16px; border-radius: 10px; }
.btn-card:hover { background: var(--navy-2); transform: translateY(-1px); }
.hero-panel {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px; padding: 22px; backdrop-filter: blur(3px);
}
.hero-panel h3 { margin: 0 0 10px; font-size: 18px; }
.hero-panel .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.hero-panel .meta div { background: rgba(255,255,255,0.06); padding: 12px; border-radius: 12px; }
.hero-panel strong { color: var(--cyan); display: block; margin-bottom: 3px; }
main { padding: 56px 0 82px; }
section { margin-bottom: 64px; }
.section-title { font-size: 34px; color: var(--navy); margin: 0 0 14px; }
.section-intro { max-width: 920px; color: var(--muted); font-size: 17px; margin: 0 0 20px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow);
}
.pub-card { display: flex; flex-direction: column; gap: 0; }
.pub-card h3 { font-size: 20px; line-height: 1.4; margin: 8px 0 10px; flex: 1; }
.pub-authors { font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.pub-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.pub-doi { font-size: 12px; color: var(--muted); font-family: monospace; }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 24px; }
.card h4 { margin: 0 0 8px; color: var(--navy); font-size: 18px; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px;
  background: #eaf6ff; color: var(--navy-2); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.kpi { font-size: 29px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.small, .muted { color: var(--muted); font-size: 15px; }
.clean { margin: 0; padding-left: 20px; }
.clean li { margin-bottom: 6px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.stat {
  background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
}
.spec-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px;
}
.spec-pill { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.spec-pill strong { display: block; color: var(--navy); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.spec-pill span { font-size: 22px; font-weight: 700; color: var(--navy-2); }
.comparison table, table {
  width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
}
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #e8edf5; }
th { background: var(--navy); color: white; font-size: 15px; }
tr:last-child td { border-bottom: none; }
.callout {
  background: linear-gradient(135deg, #edf8ff 0%, #f7fcff 100%);
  border: 1px solid #cde7f9; border-left: 6px solid var(--blue); border-radius: 16px; padding: 18px 20px;
}
.note { font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.banner {
  background: linear-gradient(135deg, #0a2749 0%, #123d68 100%); color: white; padding: 34px; border-radius: 22px; box-shadow: var(--shadow);
}
.banner h2, .banner h3 { color: white; margin-top: 0; }
.page-hero { padding: 24px 0 42px; color: white; }
.page-hero h1 { font-size: 42px; margin: 0 0 8px; }
.page-hero p { color: rgba(255,255,255,0.86); font-size: 18px; max-width: 880px; margin: 0; }
.breadcrumbs { padding-top: 12px; font-size: 14px; color: rgba(255,255,255,0.75); }
.breadcrumbs a { color: rgba(255,255,255,0.88); text-decoration: none; }
.footer {
  background: #081b31; color: #d7e8f6; padding: 26px 0 34px; margin-top: 80px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 24px; }
.footer h4 { color: white; margin: 0 0 10px; }
.footer a { color: #d7e8f6; text-decoration: none; }
.footer a:hover { color: white; }
.tag { display:inline-block; background:#eaf6ff; border:1px solid #d1e7f7; color:var(--navy-2); border-radius:999px; padding:6px 10px; font-size:13px; font-weight:700; margin:4px 6px 0 0; }
.code { font-family: Consolas, monospace; background: #f5f7fb; padding: 12px; border-left: 4px solid var(--blue); overflow-x:auto; }
@media (max-width: 980px) {
  .hero, .split, .grid-3, .grid-4, .stats, .spec-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar, .hero, .grid-2, .grid-3, .grid-4, .stats, .spec-strip, .footer-grid, .split { grid-template-columns: 1fr; display: grid; }
  .nav { gap: 12px; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .section-title { font-size: 28px; }
}


.hero-figure,
.diagram-card,
.info-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 22px;
  backdrop-filter: blur(3px);
}
.hero-figure img,
.diagram-card img { width: 100%; height: auto; border-radius: 14px; display:block; background: rgba(255,255,255,0.94); padding: 12px; }
.metric-grid {
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:18px;
}
.metric {
  background: white;
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.workflow {
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:24px;
}
.workflow-step {
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:24px;
  box-shadow: var(--shadow);
}
.step-no {
  width:38px;
  height:38px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:#fff;
  font-weight:700;
  margin-bottom:12px;
}
.spec-links { display:grid; gap:14px; }
.spec-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  background:white;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px 20px;
  box-shadow: var(--shadow);
  text-decoration:none;
  color:var(--text);
}
.spec-link strong { color:var(--navy); }
.kv {
  display:grid;
  grid-template-columns: 180px 1fr;
  gap:8px 18px;
}
.kv div:nth-child(odd) { color: var(--muted); }
.contact-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:24px;
}
@media (max-width: 980px) {
  .metric-grid, .workflow, .contact-grid { grid-template-columns: 1fr; }
}



@media (max-width: 980px) {
  .brand-mark { height: 58px; width: 58px; min-width: 58px; }
  .brand-name { font-size: 22px; }
}




/* ===== Mobile hamburger ===== */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  padding: 8px 11px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 10px 0 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 16px; }
  .nav a:last-child { border-bottom: none; }
  .topbar { flex-wrap: wrap; }
}

/* Spec page additions */
.spec-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: white;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
.spec-table td:first-child {
  width: 42%;
  color: var(--muted);
}
@media (max-width: 980px) {
  .spec-grid { grid-template-columns: 1fr; }
}
