:root {
  --bg: #f5f9ff;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(37, 99, 235, 0.16);
  --accent: #2563eb;
  --accent-dark: #1e3a8a;
  --accent-soft: #dbeafe;
  --blue: #0ea5e9;
  --blue-deep: #0f2f6f;
  --blue-light: #eff6ff;
  --shadow: 0 26px 80px rgba(30, 58, 138, 0.15);
  --radius-large: 34px;
  --radius-medium: 22px;
  --radius-small: 14px;
  --article-font-size: 1.075rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.12), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 46%, #ffffff 100%);
  color: var(--text);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

strong {
  color: var(--accent-dark);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid rgba(37, 99, 235, 0.28);
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 2500;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--blue));
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 48px rgba(30, 58, 138, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent-dark);
  white-space: nowrap;
}

.brand img {
  display: block;
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.82);
}

.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.20);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #ffffff;
  border-radius: 999px;
  transition: 180ms ease;
}

.hero-section {
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 58px;
}

.hero-full {
  display: block;
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 86px);
  border: 1px solid rgba(147, 197, 253, 0.32);
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, #0f2f6f 0%, #1d4ed8 52%, #0ea5e9 100%);
  box-shadow: var(--shadow);
  color: #ffffff;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(125,211,252,.26), transparent 24rem);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 890px;
  z-index: 1;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.94);
  font-size: .94rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.pulse-dot {
  position: relative;
  display: inline-flex;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #38bdf8;
}

.pulse-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #38bdf8;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  from { transform: scale(1); opacity: .8; }
  to { transform: scale(2.25); opacity: 0; }
}

.hero-content h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.35rem, 5.6vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
  color: #ffffff;
}

.hero-summary {
  max-width: 850px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.83);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-summary strong {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.final-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button {
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.secondary-button {
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  color: #ffffff;
}

.primary-button:hover,
.secondary-button:hover,
.final-cta-button:hover {
  transform: translateY(-2px);
}

.primary-button:hover {
  background: #dbeafe;
  color: var(--accent-dark);
}

.secondary-button:hover {
  background: rgba(255,255,255,.16);
  color: #ffffff;
}


.hero-image-section {
  width: min(1180px, calc(100% - 32px));
  margin: -26px auto 58px;
}

.hero-image-wrap {
  overflow: hidden;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid rgba(147, 197, 253, 0.36);
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.9));
  box-shadow: var(--shadow);
}

.hero-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-large) - 12px);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 70px;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: .94rem;
  font-weight: 850;
}

.trust-bar div {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
}

.article-card {
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 50px rgba(30, 58, 138, 0.09);
  backdrop-filter: blur(12px);
}

.intro-card p {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.article-section {
  scroll-margin-top: 120px;
}

.article-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.article-section h3 {
  margin: 28px 0 14px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.article-section p,
.article-section li,
.article-card p {
  color: #334155;
  font-size: var(--article-font-size);
}

.article-section p,
.article-card p {
  margin: 0 0 18px;
}

.split-grid {
  display: grid;

  gap: 32px;
  align-items: center;
}

.icon-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.icon-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 950;
}

.rank-card {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, var(--surface-soft));
  box-shadow: var(--shadow);
  text-align: center;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 800;
}

.rank-number {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: clamp(3.2rem, 7vw, 5rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.highlight-card {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.94));
}

.highlight-card h2,
.center-text {
  text-align: center;
}

.mini-cta {
  margin-top: 28px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 26px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color: #ffffff;
  text-align: center;
  font-size: clamp(1.06rem, 2vw, 1.2rem);
}

.mini-cta strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.step-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 26px 0;
  list-style: none;
}

.step-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  font-weight: 750;
}

.step-list span {
  color: var(--blue);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.faq-item {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  padding: 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.faq-question::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.25rem;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 180ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 18px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 18px;
}

.final-cta {
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.final-cta p {
  margin: 0 auto 28px;
  max-width: 780px;
  color: rgba(255,255,255,.83);
  font-size: 1.22rem;
}

.final-cta-button {
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.final-cta-button:hover {
  background: #dbeafe;
  color: var(--accent-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #0f2f6f, #1e3a8a);
  color: #ffffff;
}

.site-footer p {
  max-width: 640px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.site-footer a:hover {
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.30);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: 180ms ease;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.noscript-message {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff8dd;
  color: #5d4816;
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 82px 16px auto;
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .menu-button span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .menu-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .split-grid,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .hero-image-section,
  .page-shell,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero-section,
  .hero-image-section,
  .page-shell,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    margin-top: 10px;
  }

  .hero-full,
  .hero-image-wrap,
  .article-card,
  .final-cta {
    padding: 24px;
    border-radius: 24px;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 12vw, 3.45rem);
  }

  .primary-button,
  .secondary-button,
  .final-cta-button {
    width: 100%;
  }

  .step-list li,
  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .reading-progress,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .hero-full,
  .hero-image-wrap,
  .article-card,
  .final-cta {
    box-shadow: none;
    border: 0;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }
}
