:root {
  --ink: #28213a;
  --muted: #6a6178;
  --purple: #7048d9;
  --line: #eeeaf4;
  --bg: #fbfaff;
  --panel: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font:
    15px "DM Sans",
    sans-serif;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--purple);
}
.page-wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.page-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}
.page-brand {
  display: flex;
  align-items: center;
}
.page-brand img {
  display: block;
  width: 168px;
  height: auto;
}
.top-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #625b70;
}
.theme-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: #625b70;
  cursor: pointer;
  font-size: 17px;
}
main {
  flex: 1;
}
.page-hero {
  padding: 54px 0 30px;
}
.hero-card {
  border-radius: 24px;
  background: radial-gradient(ellipse at 82% 8%, #193d88 0%, #112553 38%, #08132d 80%);
  color: #fff;
  padding: 42px 48px;
  position: relative;
  overflow: hidden;
}
.hero-card:before {
  content: "";
  position: absolute;
  right: -100px;
  top: -290px;
  width: 510px;
  height: 510px;
  border: 1px solid #ffffff24;
  border-radius: 50%;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
}
.hero-card .eyebrow {
  color: #c7b7ff;
}
.hero-card h1 {
  position: relative;
  font:
    800 clamp(32px, 5vw, 50px)/1.1 Manrope,
    sans-serif;
  letter-spacing: -1.8px;
  margin: 13px 0 10px;
}
.hero-card p {
  position: relative;
  max-width: 680px;
  color: #e4e0f3;
  font-size: 14px;
  margin: 0;
}
.page-body {
  padding: 0 0 58px;
}
.content {
  max-width: 850px;
  margin: auto;
}
.content.wide {
  max-width: 1000px;
}
.intro {
  font-size: 16px;
  color: #5d566d;
  margin: 0 0 28px;
}
.section {
  margin: 27px 0;
}
.section h2 {
  font:
    800 22px Manrope,
    sans-serif;
  letter-spacing: -0.5px;
  margin: 0 0 9px;
}
.section h3 {
  font:
    700 16px Manrope,
    sans-serif;
  margin: 18px 0 6px;
}
.section p {
  margin: 0 0 12px;
  color: #5d566d;
}
.section ul,
.section ol {
  margin: 9px 0 0;
  padding-left: 22px;
  color: #5d566d;
}
.section li {
  padding: 3px 0;
}
.notice {
  margin: 20px 0;
  padding: 16px 18px;
  border: 1px solid #e6def5;
  border-radius: 14px;
  background: #f6f2ff;
  color: #50466c;
}
.notice strong {
  color: #493286;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.info-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 20px;
  box-shadow: 0 10px 28px #24154408;
}
.info-card h2,
.info-card h3 {
  font: 800 17px Manrope;
  margin: 0 0 8px;
}
.info-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.info-card .step {
  display: block;
  color: var(--purple);
  font: 800 12px Manrope;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 24px;
  margin: 16px 0;
}
.article h2 {
  font: 800 22px Manrope;
  margin: 0 0 8px;
}
.article p {
  color: #5d566d;
  margin: 8px 0;
}
.article .eyebrow {
  margin-bottom: 8px;
}
.article-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.article-list .info-card {
  min-height: 190px;
}
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--purple);
  color: #fff;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 800;
}
.button-link:hover {
  color: #fff;
  background: #5f37c5;
}
.button-link.secondary {
  background: #f1ecfb;
  color: var(--purple);
  border: 1px solid #e2d8f6;
}
footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 24px 0 16px;
  color: var(--muted);
  font-size: 12px;
}
.footer-main {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 190px;
}
.footer-mark {
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: linear-gradient(145deg, #885fe9, #6135c8);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 20px Manrope;
  box-shadow: 0 7px 18px #7048d926;
}
.footer-brand-copy strong {
  display: block;
  font: 800 15px Manrope;
}
.footer-brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footerlink-columns {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
}
.footerlink-group {
  display: grid;
  align-content: start;
  gap: 6px;
}
.footerlink-group strong {
  font: 800 12px Manrope;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 13px;
}
html[data-theme="dark"] {
  --ink: #f7f2ff;
  --muted: #aaa0b8;
  --purple: #a78bfa;
  --line: #30273d;
  --bg: #251a38;
  --panel: #2d2446;
  background: #251a38;
}
html[data-theme="dark"] body {
  background: radial-gradient(ellipse at 50% -15%, #3e2d66 0, #251a38 58%);
  color: var(--ink);
}
html[data-theme="dark"] .page-header {
  background: #291d3fed;
}
html[data-theme="dark"] .top-links {
  color: #c8bfd4;
}
html[data-theme="dark"] .theme-toggle {
  background: #2f2549;
  color: #f5c56b;
  border-color: #3b3049;
}
html[data-theme="dark"] .content .intro,
html[data-theme="dark"] .section p,
html[data-theme="dark"] .section ul,
html[data-theme="dark"] .section ol,
html[data-theme="dark"] .article p {
  color: #b9aec6;
}
html[data-theme="dark"] .notice {
  background: #342a50;
  border-color: #3c304f;
  color: #d8cce8;
}
html[data-theme="dark"] .notice strong {
  color: #d5c3ff;
}
html[data-theme="dark"] footer {
  background: #291d3f;
}
html[data-theme="dark"] .footer-main {
  border-color: var(--line);
}
html[data-theme="dark"] .footer-brand,
html[data-theme="dark"] .footerlink-group strong {
  color: var(--ink);
}
@media (max-width: 760px) {
  .top-links {
    gap: 12px;
  }
  .top-links a:nth-child(2),
  .top-links a:nth-child(3) {
    display: none;
  }
  .page-hero {
    padding: 30px 0 22px;
  }
  .hero-card {
    padding: 30px 25px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .article-list {
    grid-template-columns: 1fr;
  }
  .footer-main {
    gap: 18px;
  }
  .footerlink-columns {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}
@media (max-width: 480px) {
  .page-wrap {
    width: calc(100% - 28px);
  }
  .page-header {
    height: 64px;
  }
  .page-brand img {
    width: 145px;
  }
  .nav {
    gap: 10px;
  }
  .top-links {
    font-size: 12px;
  }
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
  .hero-card {
    border-radius: 19px;
    padding: 27px 21px;
  }
  .hero-card h1 {
    letter-spacing: -1.1px;
  }
  .content .intro {
    font-size: 14px;
  }
  .section h2 {
    font-size: 20px;
  }
  .footerlink-columns {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .footer-brand {
    min-width: 150px;
  }
}
