:root {
  color-scheme: light;
  --ink: #241a3d;
  --muted: #665a86;
  --paper: #f2eefb;
  --panel: #fffdff;
  --line: #ded3f2;
  --violet: #6d3fc4;
  --violet-dark: #3b2077;
  --gold: #f0a92e;
  --rose: #e0489b;
  --mint: #2bb3a3;
  --cream: #fff3e3;
  --shadow: 0 20px 50px rgba(45, 25, 90, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 6% 4%, rgba(240, 169, 46, 0.2), transparent 30rem),
    radial-gradient(circle at 96% 12%, rgba(224, 72, 155, 0.16), transparent 28rem),
    linear-gradient(180deg, #fffdff 0%, var(--paper) 54%, #eef2fb 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(240, 169, 46, 0.75);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(222, 211, 242, 0.85);
  background: rgba(255, 253, 255, 0.88);
  backdrop-filter: blur(18px);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.brand img,
.hero-badge img {
  border-radius: 22%;
  box-shadow: 0 10px 24px rgba(45, 25, 90, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 780;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  border-bottom: 2px solid var(--rose);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: center;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 38px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--rose);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--violet-dark);
  line-height: 1.12;
}

h1 {
  max-width: 740px;
  font-size: clamp(2.8rem, 6.4vw, 4.6rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.updated {
  margin: 18px 0 0;
  color: #7c72a0;
  font-size: 0.93rem;
}

.platform-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 255, 0.88);
  padding: 6px;
}

.platform-switcher span {
  padding: 4px 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.platform-switcher a {
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  text-decoration: none;
}

.platform-switcher a[aria-current="page"] {
  background: var(--violet);
  color: white;
}

.document-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.document-nav a {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
}

.document-nav a[aria-current="page"] {
  border-bottom-color: var(--rose);
  color: var(--ink);
}

.hero-badge {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 20px;
  background: rgba(255, 253, 255, 0.92);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-badge::after {
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 130px;
  height: 130px;
  border: 20px solid rgba(109, 63, 196, 0.09);
  border-radius: 50%;
  content: "";
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  margin-bottom: 7px;
  font-size: 1.04rem;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.94rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto 24px;
}

.summary-grid article,
.policy-section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 255, 0.93);
  box-shadow: 0 12px 30px rgba(45, 25, 90, 0.07);
}

.summary-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.summary-grid article:nth-child(1) {
  border-top: 5px solid var(--violet);
}

.summary-grid article:nth-child(2) {
  border-top: 5px solid var(--rose);
}

.summary-grid article:nth-child(3) {
  border-top: 5px solid var(--mint);
}

.card-number {
  position: absolute;
  top: 12px;
  right: 18px;
  color: rgba(59, 32, 119, 0.1);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.summary-grid p,
.policy-section p {
  margin: 12px 0 0;
  color: var(--muted);
}

.policy {
  display: grid;
  gap: 16px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 70px;
}

.policy-section {
  padding: 30px;
}

.policy-section p:first-of-type {
  margin-top: 14px;
}

.policy-list {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.policy-list li + li {
  margin-top: 8px;
}

.policy-list strong {
  color: var(--ink);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-color: rgba(109, 63, 196, 0.35);
  background:
    linear-gradient(115deg, rgba(109, 63, 196, 0.09), rgba(255, 253, 255, 0.96) 48%),
    var(--panel);
}

.contact-panel > div {
  max-width: 720px;
}

.contact-button {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--violet);
  padding: 13px 20px;
  color: white;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(109, 63, 196, 0.26);
}

.contact-button:hover {
  background: var(--violet-dark);
  color: white;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  white-space: nowrap;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  background: var(--violet);
  padding: 0 19px;
  color: white;
  font-weight: 850;
  text-decoration: none;
}

.button-link:hover {
  background: var(--violet-dark);
  color: white;
  text-decoration: none;
}

.button-link--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 253, 255, 0.78);
  color: var(--violet);
}

.button-link--ghost:hover {
  background: var(--cream);
  color: var(--violet-dark);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.section-block {
  width: min(1080px, calc(100% - 32px));
  margin: 42px auto 0;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-intro {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-bottom: 70px;
}

.doc-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 255, 0.93);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(45, 25, 90, 0.07);
}

.doc-grid h2 {
  font-size: 1.15rem;
}

.doc-grid p {
  margin: 10px 0 16px;
  color: var(--muted);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero-badge {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .hero-badge img {
    width: 94px;
    height: 94px;
  }

  .summary-grid,
  .doc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    gap: 4px;
    padding: 10px 0 12px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.88rem;
  }

  .nav-links a,
  .brand span {
    white-space: nowrap;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .hero {
    gap: 28px;
    padding: 42px 0 28px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .lead {
    font-size: 1.02rem;
  }

  .hero-badge {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 26px;
    text-align: center;
  }

  .summary-grid article,
  .policy-section {
    border-radius: 14px;
    padding: 22px;
  }

  .contact-panel,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

code {
  border-radius: 5px;
  background: rgba(109, 63, 196, 0.09);
  padding: 1px 6px;
  color: var(--violet-dark);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.copy-block {
  overflow-x: auto;
  max-width: 100%;
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 18px;
  color: var(--ink);
  font: inherit;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-note {
  margin-top: 8px;
  color: #7c72a0;
  font-size: 0.9rem;
}
