:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #606a7c;
  --primary: #5b4bf5;
  --primary-dark: #3f32d9;
  --accent: #18b985;
  --border: #e3e8f2;
  --shadow: 0 22px 65px rgba(24, 32, 51, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: #fff;
  background: var(--primary);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(227, 232, 242, 0.85);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-wrap {
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  border-radius: 12px;
  place-items: center;
  box-shadow: 0 8px 22px rgba(91, 75, 245, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
  background:
    radial-gradient(circle at 14% 20%, rgba(91, 75, 245, 0.17), transparent 30%),
    radial-gradient(circle at 88% 15%, rgba(24, 185, 133, 0.14), transparent 26%),
    linear-gradient(180deg, #fff, var(--bg));
}

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.hero-copy,
.section-heading p,
.split-grid > div > p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 32px 0 18px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(91, 75, 245, 0.27);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--border);
}

.small-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-card {
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(227, 232, 242, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  color: #fff;
  background: var(--accent);
  border-radius: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  place-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: #fff;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.info-card p,
.tips p,
.faq-wrap details p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--primary);
}

.article-label {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.article-page {
  padding: 62px 0 92px;
  background:
    radial-gradient(circle at 12% 4%, rgba(91, 75, 245, 0.11), transparent 25%),
    linear-gradient(180deg, #fff, var(--bg) 28%);
}

.article-shell {
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.86rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.article-header {
  margin-bottom: 36px;
}

.article-header h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
}

.article-lead {
  max-width: 790px;
  color: var(--muted);
  font-size: 1.13rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.84rem;
}

.article-body {
  padding: clamp(25px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(24, 32, 51, 0.08);
}

.article-body h2 {
  margin-top: 44px;
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin-top: 30px;
}

.article-body p,
.article-body li {
  color: #4d586b;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-left: 23px;
}

.article-body a {
  color: var(--primary);
  font-weight: 600;
}

.notice {
  margin: 28px 0;
  padding: 19px 21px;
  background: #f0f7ff;
  border-left: 4px solid var(--primary);
  border-radius: 5px 13px 13px 5px;
}

.notice p {
  margin-bottom: 0;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.article-nav a {
  padding: 19px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
}

.article-nav span {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.tips {
  display: grid;
  gap: 14px;
}

.tips article {
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 15px;
}

.faq-wrap {
  max-width: 850px;
}

.faq-wrap .section-heading {
  margin-bottom: 28px;
}

details {
  margin-bottom: 13px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  padding-top: 14px;
}

.cta-section {
  padding: 0 0 92px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px;
  color: #fff;
  background: linear-gradient(135deg, #4638dc, #7655f6);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(64, 50, 217, 0.24);
}

.cta-box h2 {
  margin-bottom: 8px;
}

.cta-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow-light {
  color: #cfc8ff;
}

.button-light {
  flex: 0 0 auto;
  color: var(--primary-dark);
  background: #fff;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    padding: 74px 0 70px;
  }

  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    display: none;
  }

  .hero-actions,
  .hero-actions .button,
  .button-light {
    width: 100%;
  }

  .hero-card,
  .info-card,
  .cta-box {
    padding: 25px;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
