:root {
  --ink: #0a1633;
  --ink-soft: #34405f;
  --muted: #66718c;
  --blue: #1f4bff;
  --line: #dde3ee;
  --bg: #f5f8ff;
  --white: #fff;
  --radius: 18px;
  --wrap: 1140px;
  --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 0; background: var(--blue); z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto;
  border: 1.5px solid var(--blue); border-radius: 12px; color: var(--blue);
  font-size: 15px; font-weight: 800; letter-spacing: -0.06em; line-height: 1;
}
.brand-mark span { font-size: 9px; margin-left: 1px; }
.brand-text { display: flex; flex-direction: column; font-size: 16px; letter-spacing: -0.02em; }
.brand-text strong { color: var(--blue); }
.brand-text small { font-size: 10px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; }
.nav a { color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav-cta { background: var(--ink); color: #fff !important; padding: 10px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.nav-cta:hover { background: var(--blue); color: #fff !important; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 11px 9px; cursor: pointer; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background: url("assets/uac.jpg") center 40% / cover no-repeat; opacity: .2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,19,45,.97) 0%, rgba(8,19,45,.88) 48%, rgba(31,75,255,.3) 100%); }
.hero-inner { padding: 96px 0 100px; max-width: 860px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #9cb4ff; }
.eyebrow span { width: 30px; height: 1px; background: #9cb4ff; }
.hero h1 { margin-top: 24px; font-size: clamp(2.3rem, 6.2vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: #9cb4ff; }
.lead { margin-top: 26px; max-width: 660px; font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 26px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.btn { min-height: 48px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1740e0; }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--ink); }

/* Stats */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 28px 20px; border-right: 1px solid var(--line); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong { display: block; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.03em; }
.stats-grid span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.section-head h2, .intro h2, .faq h2, .cta h2 { margin-top: 12px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section-desc { margin-top: 14px; max-width: 640px; color: var(--muted); font-size: 15px; }
.section-index { font-size: 12px; letter-spacing: .14em; color: var(--muted); }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.intro-grid > p { color: var(--ink-soft); font-size: 15px; border-left: 2px solid var(--blue); padding-left: 24px; }

/* Ranking */
.ranking { display: grid; gap: 16px; }
.rank-card {
  display: grid; grid-template-columns: 260px 1fr; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.rank-card:hover { transform: translateY(-3px); border-color: #b8c8ff; box-shadow: 0 16px 36px rgba(10,22,51,.07); }
.rank-media { min-height: 190px; background: var(--bg); }
.rank-media img { width: 100%; height: 100%; object-fit: cover; }
.rank-body { padding: 26px 30px; display: flex; gap: 24px; align-items: flex-start; }
.rank-num { font-size: 30px; font-weight: 800; letter-spacing: -0.05em; color: #b9c8ff; line-height: 1; min-width: 52px; }
.rank-title { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rank-title h3 { font-size: 20px; }
.badge { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; border: 1px solid var(--line); color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.badge.public { color: var(--blue); border-color: #b9c8ff; background: #f0f4ff; }
.place { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .02em; }
.rank-body p:not(.place):not(.force) { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.force { margin-top: 12px !important; font-size: 13.5px; color: var(--ink) !important; }
.force strong { color: var(--blue); }
.ranking-note { margin-top: 20px; font-size: 12px; color: var(--muted); font-style: italic; }

/* Public */
.public-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.public-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.public-card span { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--blue); }
.public-card h3 { margin-top: 14px; font-size: 18px; }
.public-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* Criteria */
.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.criterion { display: flex; gap: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.criterion .ico { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
.criterion h3 { font-size: 17px; }
.criterion p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 17px; }
.faq-item p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* Sources */
.sources { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; border-top: 1px solid var(--line); }
.sources li { border-bottom: 1px solid var(--line); }
.sources a { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; font-size: 14px; font-weight: 600; transition: color .2s; }
.sources a:hover { color: var(--blue); }
.sources span { color: var(--blue); }

/* CTA + Footer */
.cta { background: var(--blue); color: #fff; padding: 76px 0; }
.cta .kicker { color: rgba(255,255,255,.75); }
.cta-inner { max-width: 780px; }
.cta p:not(.kicker) { margin-top: 18px; color: rgba(255,255,255,.83); font-size: 16px; }
.cta .btn { margin-top: 28px; }
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 36px; }
.footer-brand { color: #fff; font-size: 18px; }
.footer-brand strong { color: #9cb4ff; }
.footer-inner p { margin-top: 10px; max-width: 380px; font-size: 14px; }
.footer-credit { text-align: right; }
.footer-credit > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.footer-credit a { display: inline-flex; flex-direction: column; margin-top: 8px; color: #fff; }
.footer-credit strong { letter-spacing: .04em; }
.footer-credit small { color: #9cb4ff; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .intro-grid, .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .public-grid { grid-template-columns: repeat(2, 1fr); }
  .rank-card { grid-template-columns: 200px 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 16px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(10,22,51,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { justify-content: center; margin-top: 14px; border: 0 !important; }
  .hero-inner { padding: 70px 0 76px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2) { border-right: 0; }
  .stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 62px 0; }
  .rank-card { grid-template-columns: 1fr; }
  .rank-media { min-height: 170px; max-height: 200px; }
  .rank-body { padding: 22px; gap: 16px; }
  .rank-num { font-size: 24px; min-width: 42px; }
  .rank-title h3 { font-size: 18px; }
  .criteria, .sources, .public-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-credit { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
