:root {
  --info-ink: #182b4a;
  --info-muted: #566b89;
  --info-blue: #286cf0;
  --info-line: #e5edf7;
}
html[data-site-theme="dark"] {
  --info-ink: #edf5ff;
  --info-muted: #b9cce4;
  --info-blue: #8bb8ff;
  --info-line: #2d4767;
}

* { box-sizing: border-box; }
html[data-site-theme="light"] { background: #fff !important; }
html[data-site-theme="light"] body.site-mode { background: #fff !important; }
html[data-site-theme="dark"] body.site-mode { background: #0a1424 !important; }
body.site-mode { margin: 0; min-height: 100vh; color: var(--info-ink); font-family: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
.page-shell, .update-shell, .contact-shell { width: 100%; margin: 0; }
html[data-site-theme="light"] body.site-mode :is(.page-shell, .update-shell, .contact-shell) { background: #fff; }
html[data-site-theme="dark"] body.site-mode :is(.page-shell, .update-shell, .contact-shell) { background: #0a1424; }

html[data-site-theme] body.site-mode :is(.page-hero, .update-hero, .contact-hero) {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0;
  background: linear-gradient(105deg, #f6faff 0%, #eef6ff 55%, #deedff 100%) !important;
  box-shadow: none !important;
  text-align: left;
}
.page-hero::before, .page-hero::after, .update-hero::before, .update-hero::after, .contact-hero::before, .contact-hero::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
:is(.page-hero, .update-hero, .contact-hero)::before { width: 560px; height: 560px; right: max(-100px, calc((100vw - 1400px) / 2)); top: 40px; border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 32px rgba(255,255,255,.14), 0 0 0 90px rgba(255,255,255,.11), 0 0 0 160px rgba(255,255,255,.07); }
:is(.page-hero, .update-hero, .contact-hero)::after { width: 200px; height: 200px; left: -130px; top: 54px; border: 1px solid rgba(89,151,230,.15); box-shadow: 0 0 0 24px rgba(89,151,230,.06), 0 0 0 50px rgba(89,151,230,.05); }
.page-hero-inner { position: relative; z-index: 1; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 68px 0 72px; }
html[data-site-theme] body.site-mode :is(.page-kicker, .update-kicker, .contact-kicker) { display: block; width: fit-content; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; color: #78aaf1 !important; font-size: 14px; font-weight: 750; letter-spacing: .15em; }
:is(.page-kicker, .update-kicker, .contact-kicker) span { padding: 0 8px; color: #3479ed; }
html[data-site-theme] body.site-mode :is(.page-hero, .update-hero, .contact-hero) h1 { margin: 20px 0 0; color: #182b4a !important; font-size: clamp(40px, 5vw, 64px); font-weight: 850; letter-spacing: -.065em; line-height: 1.18; }
:is(.page-hero, .update-hero, .contact-hero) h1 em { color: #2870ed; font-style: normal; }
html[data-site-theme] body.site-mode :is(.page-hero, .update-hero, .contact-hero) p { width: min(640px, 100%); margin: 20px 0 28px; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; color: #526986 !important; font-size: 17px; font-weight: 550; line-height: 1.6; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-action { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 23px; border: 1px solid #2b70ef; border-radius: 99px; text-decoration: none; font-size: 15px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease; }
.page-action:hover { transform: translateY(-3px); }
.page-action span { font-size: 19px; line-height: 1; }
.page-action-primary { background: #286cf0; color: #fff; box-shadow: 0 9px 20px rgba(31, 102, 225, .18); }
.page-action-secondary { background: rgba(255,255,255,.78); color: #1f61dc; }

.page-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1160px, calc(100% - 48px)); margin: 0 auto 56px; padding: 24px 30px; border: 1px solid #e5edf7; border-radius: 20px; background: #fff; box-shadow: 0 12px 30px rgba(27, 59, 106, .055); }
.page-next-label { color: #6498e9; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.page-next h2 { margin: 7px 0 5px; color: #182b4a; font-size: 22px; letter-spacing: -.04em; }
.page-next p { margin: 0; color: #5e7290; font-size: 14px; }
.page-next-links { display: flex; flex-wrap: wrap; gap: 10px; }
.page-next-links a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid #b9d3fa; border-radius: 99px; background: #fff; color: #2469ee; text-decoration: none; font-size: 14px; font-weight: 750; white-space: nowrap; }
.page-next-links a:hover { border-color: #2870ed; }
.page-next-links span { font-size: 18px; line-height: 1; }
a:focus-visible { outline: 3px solid #3b82f6; outline-offset: 4px; }

html[data-site-theme="dark"] body.site-mode :is(.page-hero, .update-hero, .contact-hero) { background: linear-gradient(105deg, #11233a, #173456 65%, #1b4065) !important; }
html[data-site-theme="dark"] body.site-mode :is(.page-hero, .update-hero, .contact-hero) h1 { color: #f2f7ff !important; }
html[data-site-theme="dark"] :is(.page-hero, .update-hero, .contact-hero) h1 em { color: #89b6ff; }
html[data-site-theme="dark"] body.site-mode :is(.page-hero, .update-hero, .contact-hero) p { color: #c6d6ec !important; }
html[data-site-theme="dark"] .page-action-secondary { background: rgba(16,35,59,.9); color: #d9e9ff; border-color: #78a9fa; }
html[data-site-theme="dark"] .page-next { background: #14243c; border-color: #2a4c73; box-shadow: none; }
html[data-site-theme="dark"] .page-next h2 { color: #edf5ff; }
html[data-site-theme="dark"] .page-next p { color: #b8cbe3; }
html[data-site-theme="dark"] .page-next-links a { background: #203c61; border-color: #456d9c; color: #cce2ff; }

@media (max-width: 760px) {
  .page-hero-inner { width: min(100% - 36px, 1160px); padding: 54px 0 58px; }
  html[data-site-theme] body.site-mode :is(.page-hero, .update-hero, .contact-hero) h1 { font-size: clamp(36px, 9vw, 52px); }
  html[data-site-theme] body.site-mode :is(.page-hero, .update-hero, .contact-hero) p { font-size: 15px; }
  .page-next { width: min(100% - 36px, 1160px); flex-direction: column; align-items: flex-start; margin-bottom: 36px; padding: 22px; }
}
@media (max-width: 480px) {
  html[data-site-theme] body.site-mode :is(.page-kicker, .update-kicker, .contact-kicker) { font-size: 11px; letter-spacing: .08em; }
  :is(.page-kicker, .update-kicker, .contact-kicker) span { padding: 0 4px; }
  .page-hero-actions { display: grid; grid-template-columns: 1fr; }
  .page-action { width: 100%; }
  .page-next-links { width: 100%; }
  .page-next-links a { flex: 1; justify-content: center; padding: 10px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .page-action { transition: none; } }
