
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --text: #17202a;
  --muted: #5e6875;
  --line: #dfe3e8;
  --accent: #17324d;
  --accent-2: #0e263b;
  --accent-soft: #eaf0f5;
  --success: #345a45;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 33, 45, .07);
  --shadow-soft: 0 4px 18px rgba(22, 33, 45, .05);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #7a9ab7; outline-offset: 3px; }
img, svg { max-width: 100%; }
button, input, textarea { font: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--accent); color: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid #cbd4dd; border-radius: 12px; background: var(--surface-2); color: var(--accent);
  font-weight: 800; letter-spacing: .04em;
}
.brand-copy { display: grid; line-height: 1.15; }
.brand-name { font-weight: 760; letter-spacing: -.02em; }
.brand-role { color: var(--muted); font-size: .82rem; margin-top: 3px; }

.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a, .mobile-nav a { text-decoration: none; color: #33404d; font-size: .95rem; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--accent); }
.desktop-nav .nav-cta { padding: 10px 14px; border-radius: 10px; background: var(--accent); color: white; }
.desktop-nav .nav-cta:hover { background: var(--accent-2); color: white; }

.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.mobile-nav summary::-webkit-details-marker { display:none; }
.mobile-nav-inner { position: absolute; left: 20px; right: 20px; top: 68px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; }
.mobile-nav-inner a { display: block; padding: 10px 8px; }

.hero {
  padding: 84px 0 72px;
  background: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 750; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: #8ba0b4; }
.hero h1 { margin: 16px 0 20px; font-size: clamp(2.6rem, 6vw, 5.3rem); line-height: .98; letter-spacing: -.055em; max-width: 900px; text-wrap: balance; }
.hero-lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); color: #40505f; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; border-radius: 11px; border: 1px solid transparent; padding: 12px 17px; font-weight: 720; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: white; border-color: #cdd5dd; color: var(--accent); }
.btn-secondary:hover { border-color: #aab7c3; box-shadow: var(--shadow-soft); }

.hero-note { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .92rem; }
.hero-note svg { flex: 0 0 auto; }
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.hero-panel h2 { margin-top: 0; font-size: 1.05rem; }
.hero-panel .big-stat { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1; letter-spacing: -.04em; margin: 8px 0; }
.hero-panel .small { color: var(--muted); font-size: .92rem; }
.stat-divider { height: 1px; background: var(--line); margin: 20px 0; }

.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.trustbar-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.trustbar-item { padding: 16px 18px; display: flex; gap: 10px; align-items: center; justify-content: center; color: #394754; font-size: .93rem; }
.trustbar-item + .trustbar-item { border-left: 1px solid var(--line); }

.section { padding: 78px 0; }
.section-tight { padding: 54px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-kicker { color: var(--muted); font-size: .9rem; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; line-height: 1.08; }
.section-intro { max-width: 720px; color: #4f5c68; font-size: 1.05rem; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); }
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 10px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; margin-top: 16px; color: var(--accent); font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; background: var(--surface-2); color: #485664; font-size: .78rem; font-weight: 700; }

.feature { display: grid; grid-template-columns: 1fr .86fr; gap: 30px; align-items: stretch; }
.feature-main { background: var(--accent); color: white; border-radius: 20px; padding: 34px; box-shadow: var(--shadow); }
.feature-main .tag { background: rgba(255,255,255,.12); color: #eaf1f6; }
.feature-main h3 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; margin: 16px 0 14px; }
.feature-main p { color: #d7e0e7; max-width: 720px; }
.feature-side { display: grid; gap: 16px; }
.mini { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.mini strong { display: block; margin-bottom: 5px; }
.mini span { color: var(--muted); font-size: .92rem; }

.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.article-card { min-height: 250px; }
.article-card .meta { color: #74808b; font-size: .8rem; margin-bottom: 10px; }
.article-card h3 { font-size: 1.12rem; }

.cta { padding: 32px; border-radius: 20px; background: #eef2f6; border: 1px solid #d8e0e7; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta p { margin: 0; color: #4f5d69; }

.page-hero { padding: 64px 0 42px; background: #fff; border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 10px 0 15px; font-size: clamp(2.6rem, 5vw, 4.1rem); line-height: 1.02; letter-spacing: -.05em; text-wrap: balance; }
.page-hero p { margin: 0; max-width: 760px; color: #566370; font-size: 1.08rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 38px; align-items: start; }
.article { background: white; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-soft); }
.article h2 { margin-top: 38px; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; }
.article h3 { margin-top: 30px; font-size: 1.2rem; }
.article p, .article li { color: #43515e; }
.article ul, .article ol { padding-left: 22px; }
.article strong { color: var(--text); }
.article .lead { font-size: 1.16rem; color: #30404d; }
.article-note { padding: 18px; border-left: 3px solid #7a8ea1; background: #f6f7f9; margin: 24px 0; border-radius: 0 10px 10px 0; }
.article-note p { margin: 0; font-size: .95rem; }
.source-list a { color: var(--accent); }

.sidebar { position: sticky; top: 96px; display: grid; gap: 16px; }
.sidebar-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.sidebar-card h3 { margin: 0 0 10px; font-size: 1rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li + li { margin-top: 8px; }
.sidebar-card a { text-decoration: none; color: #42515e; }
.sidebar-card a:hover { color: var(--accent); }

.timeline { display: grid; gap: 0; margin-top: 25px; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-date { font-weight: 760; color: var(--accent); }
.timeline-item h3 { margin: 0 0 4px; }
.timeline-item p { margin: 0; color: var(--muted); }

.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: start; }
.profile-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 18px; background: #e6ebef; display: grid; place-items: center; color: #65727e; font-weight: 760; margin-bottom: 18px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 20px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 650; }

.notice { border: 1px solid #d8c58a; background: #fbf6df; color: #5b4d20; padding: 16px 18px; border-radius: 12px; }
.notice strong { display: block; margin-bottom: 4px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f5f6f8; font-size: .88rem; }
tr:last-child td { border-bottom: 0; }

.site-footer { margin-top: 60px; padding: 38px 0 28px; background: #17212b; color: #d4dde5; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 30px; }
.site-footer h2, .site-footer h3 { margin-top: 0; color: #fff; }
.site-footer a { color: #dbe4eb; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #aebac5; font-size: .85rem; }

.muted { color: var(--muted); }
.stack { display: grid; gap: 14px; }
.smallcaps { text-transform: uppercase; letter-spacing: .09em; font-size: .74rem; font-weight: 800; color: #71808e; }

@media (max-width: 1050px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .feature, .profile { grid-template-columns: 1fr; }
  .hero { padding-top: 66px; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .trustbar-inner { grid-template-columns: 1fr; }
  .trustbar-item + .trustbar-item { border-left: 0; border-top: 1px solid var(--line); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section-header { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .hero { padding: 52px 0 54px; }
  .hero h1 { font-size: clamp(2.4rem, 13vw, 3.9rem); }
  .hero-panel, .feature-main, .cta, .article { padding: 22px; }
  .cards, .cards-4, .article-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .page-hero { padding: 48px 0 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .sidebar, .cta, .mobile-nav { display: none !important; }
  body { background: white; color: #000; }
  .article, .card, .profile-card { box-shadow: none; border-color: #bbb; }
  a { text-decoration: none; }
}
