:root {
  --ink: #27303a;
  --body: #35414d;
  --muted: #68717b;
  --line: #dfe4e7;
  --paper: #ffffff;
  --canvas: #fbfcfd;
  --hero: #faf0e4;
  --lilac: #f1edff;
  --violet: #6757cd;
  --violet-dark: #4e41a8;
  --teal-line: #b8d9d5;
  --footer: #ded8ff;
  --max: 1220px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--body);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 320px; overflow-x: clip; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid #edf0f2; background: rgba(255,255,255,.97); }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 62px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; flex: 0 0 auto; color: #20272f; font-size: 16px; font-weight: 800; letter-spacing: -.05em; }
.brand em { font-size: .64em; font-style: normal; letter-spacing: -.02em; }
.brand-mark { margin-right: 4px; color: var(--violet); font-size: 16px; line-height: 1; letter-spacing: 0; }
.desktop-nav { display: flex; align-items: stretch; gap: 4px; margin-left: auto; }
.nav-group { position: relative; display: flex; align-items: stretch; }
.nav-group > button { display: flex; align-items: center; gap: 7px; border: 0; padding: 21px 11px; background: transparent; color: #4c5660; font-size: 12px; white-space: nowrap; }
.nav-group > button span { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-group > button:hover, .nav-group > button:focus-visible, .nav-group.is-open > button { color: var(--violet-dark); }
.dropdown { position: absolute; top: 100%; left: 0; display: none; min-width: 215px; padding: 10px; border: 1px solid #e5e2f3; background: #fff; box-shadow: 0 14px 28px rgba(47, 47, 72, .12); }
.nav-group:last-child .dropdown { right: 0; left: auto; }
.nav-group.is-open .dropdown { display: grid; }
.dropdown a { padding: 9px 10px; border-radius: 3px; color: #46515b; font-size: 13px; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--lilac); color: var(--violet-dark); }
.header-contact { flex: 0 0 auto; color: var(--violet-dark); font-size: 12px; font-weight: 700; }
.menu-toggle, .mobile-menu { display: none; }

main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0 13px; color: #78808a; font-size: 12px; }
.crumbs a { color: var(--violet-dark); }
.hero-panel { position: relative; overflow: hidden; min-height: 255px; padding: 37px clamp(28px, 6vw, 76px); background: var(--hero); isolation: isolate; }
.hero-panel::before, .hero-panel::after { position: absolute; z-index: -1; content: ""; pointer-events: none; }
.hero-panel::before { top: -6%; right: 18%; width: 36%; height: 112%; background: rgba(255,255,255,.62); clip-path: polygon(34% 0, 100% 0, 100% 100%, 50% 100%, 0 48%); }
.hero-panel::after { top: 0; right: 0; width: 32%; height: 100%; background: rgba(255,255,255,.39); clip-path: polygon(45% 0, 100% 0, 100% 100%, 65% 100%, 0 42%); }
.hero-copy { position: relative; max-width: 680px; min-width: 0; }
.eyebrow { margin: 0 0 12px; color: var(--violet-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
h1 { max-width: 660px; margin: 0; font-size: clamp(33px, 4.1vw, 54px); line-height: .99; letter-spacing: -.055em; overflow-wrap: anywhere; }
.hero-copy > p:not(.eyebrow) { max-width: 580px; margin: 18px 0 0; font-size: 14px; line-height: 1.55; }
.hero-cta { display: inline-flex; align-items: center; min-height: 40px; margin-top: 22px; padding: 9px 16px; background: var(--violet); color: #fff; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.hero-cta:hover { background: var(--violet-dark); transform: translateY(-1px); }

.content-layout { display: grid; grid-template-columns: minmax(190px, 225px) minmax(0, 770px); align-items: start; gap: clamp(34px, 6vw, 92px); padding: 46px clamp(0px, 3.5vw, 50px) 74px; }
.content-layout.home-layout { grid-template-columns: minmax(190px, 225px) minmax(0, 790px); }
.topic-rail { min-width: 0; }
.topic-rail > h2 { margin: 0 0 14px; font-size: 13px; letter-spacing: -.02em; }
.topic-link { display: block; padding: 13px 0; border-top: 1px solid #e5e8ea; }
.topic-link:last-of-type { border-bottom: 1px solid #e5e8ea; }
.topic-link span { display: block; color: #3d4852; font-size: 12px; font-weight: 700; line-height: 1.3; }
.topic-link small { display: inline-block; margin-top: 5px; color: #818994; font-size: 10px; }
.topic-link:hover span { color: var(--violet-dark); }
.rail-note { margin-top: 28px; padding: 18px 16px; background: var(--lilac); }
.rail-note strong { display: block; color: #373249; font-size: 13px; line-height: 1.25; }
.rail-note p { margin: 9px 0 12px; color: #5d6170; font-size: 12px; line-height: 1.45; }
.rail-note a { color: var(--violet-dark); font-size: 12px; font-weight: 700; }

.article-content { min-width: 0; }
.article-content > h2 { margin: 42px 0 13px; font-size: clamp(22px, 2.25vw, 29px); line-height: 1.08; letter-spacing: -.045em; }
.article-content > h3 { margin: 30px 0 10px; font-size: 17px; line-height: 1.18; letter-spacing: -.025em; }
.article-content > h4 { margin: 24px 0 8px; font-size: 14px; }
.article-content p, .article-content li { max-width: 760px; color: #3e4a55; font-size: 14px; line-height: 1.64; overflow-wrap: break-word; }
.article-content > p { margin: 0 0 16px; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 20px; }
.article-content li + li { margin-top: 4px; }
.article-content strong { color: #303a44; }
.article-content code { padding: 2px 4px; background: #f2f4f5; color: #3e317e; font-size: .9em; overflow-wrap: anywhere; }
.article-content pre { overflow: auto; margin: 18px 0; padding: 16px; background: #262d35; color: #f1f4f7; }
.article-content pre code { padding: 0; background: transparent; color: inherit; }
.article-content a:not(.hero-cta) { color: var(--violet-dark); text-decoration: underline; text-decoration-color: #b9b0ef; text-underline-offset: 2px; }

.on-page-index { margin: 0 0 26px; border: 1px solid #d9d5ef; background: #f5f2ff; }
.on-page-index summary { padding: 11px 15px; color: #4f4587; font-size: 12px; font-weight: 800; cursor: pointer; }
.on-page-index ol { margin: 0; padding: 0 28px 14px 33px; color: #4d5261; font-size: 12px; line-height: 1.55; }
.article-figure { margin: 28px 0 34px; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid #e2e7e8; filter: saturate(.78) contrast(.98); }
.article-figure figcaption { margin-top: 7px; color: #7e8790; font-size: 10px; }
.table-wrap { width: 100%; margin: 20px 0 28px; overflow-x: auto; border: 1px solid #e1e6e8; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { min-width: 120px; padding: 11px 12px; border-right: 1px solid #e1e6e8; border-bottom: 1px solid #e1e6e8; text-align: left; vertical-align: top; line-height: 1.45; }
th { background: #f4f5f6; color: #333d47; font-weight: 800; }
tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }

.article-cta { margin: 46px 0 0; padding: 28px; border-top: 2px solid var(--violet); background: #f7f6fd; }
.article-cta h2 { margin: 0; font-size: 22px; letter-spacing: -.04em; }
.article-cta p { margin: 9px 0 2px; }
.contact-panel { margin-top: 48px; padding: 30px; background: #fff; border-top: 2px solid var(--violet); }
.contact-panel h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1; letter-spacing: -.05em; }
.contact-panel > p:not(.eyebrow) { margin: 12px 0 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 25px; }
.form-grid label { display: grid; gap: 7px; color: #59636d; font-size: 11px; font-weight: 700; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid var(--teal-line); outline: none; color: var(--ink); background: transparent; font-size: 14px; }
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--violet); }
.contact-panel form > button { margin-top: 22px; padding: 10px 19px; border: 0; background: var(--violet); color: #fff; font-size: 12px; font-weight: 800; }
.contact-panel form > button:hover { background: var(--violet-dark); }

.faq-section { margin-top: 58px; padding-top: 35px; border-top: 1px solid #dfe3e6; }
.faq-section > h2 { margin: 0 0 21px; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.05em; }
.faq-grid { border-top: 1px solid #dfe3e6; }
.faq-grid details { border-bottom: 1px solid #dfe3e6; }
.faq-grid summary { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 2px; color: #303944; font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary span { position: relative; flex: 0 0 14px; width: 14px; height: 14px; }
.faq-grid summary span::before, .faq-grid summary span::after { position: absolute; top: 6px; left: 0; width: 14px; height: 1px; background: var(--violet); content: ""; }
.faq-grid summary span::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-grid details[open] summary span::after { transform: rotate(0); }
.faq-grid details > div { padding: 0 34px 16px 2px; }
.faq-grid details p { margin: 0; font-size: 13px; line-height: 1.58; }

.site-footer { overflow: hidden; border-top: 1px solid #d1caee; background: linear-gradient(120deg, #e9e5ff 0%, #d5ccff 54%, #ece8ff 100%); }
.footer-inner { width: min(var(--max), calc(100% - 40px)); display: grid; grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(130px, 1fr)); gap: 35px; margin: 0 auto; padding: 56px 0 39px; }
.footer-intro p { max-width: 260px; margin: 13px 0 0; color: #4e5571; font-size: 12px; line-height: 1.55; }
.footer-inner h2 { margin: 0 0 12px; color: #4b4671; font-size: 12px; }
.footer-inner > div > a { display: block; margin: 8px 0; color: #545a72; font-size: 12px; }
.footer-inner > div > a:hover { color: var(--violet-dark); }
.footer-base { width: min(var(--max), calc(100% - 40px)); display: flex; justify-content: space-between; gap: 20px; margin: 0 auto; padding: 17px 0; border-top: 1px solid rgba(91, 80, 148, .2); color: #62647b; font-size: 10px; }

@media (max-width: 980px) {
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; width: 54px; min-height: 46px; margin-left: auto; border: 0; background: transparent; color: var(--violet-dark); }
  .menu-toggle span { display: block; width: 19px; height: 1px; background: currentColor; }
  .menu-toggle i { margin-top: 1px; font-size: 10px; font-style: normal; font-weight: 800; }
  .mobile-menu { position: absolute; top: 100%; right: 20px; left: 20px; padding: 10px 17px 17px; border: 1px solid #ddd8f1; background: #fff; box-shadow: 0 16px 28px rgba(56, 48, 103, .14); }
  .mobile-menu[hidden] { display: none !important; }
  .mobile-menu:not([hidden]) { display: block; }
  .mobile-menu details { border-bottom: 1px solid #e5e5e8; }
  .mobile-menu summary { display: flex; justify-content: space-between; padding: 14px 0; color: #343d48; font-size: 13px; font-weight: 800; cursor: pointer; }
  .mobile-menu details a { display: block; padding: 8px 0 8px 12px; color: #606b75; font-size: 13px; }
  .mobile-contact { display: inline-flex; margin-top: 16px; padding: 10px 15px; background: var(--violet); color: #fff; font-size: 13px; font-weight: 700; }
  .content-layout, .content-layout.home-layout { gap: 48px; grid-template-columns: minmax(160px, 200px) minmax(0, 1fr); padding-right: 0; padding-left: 0; }
}

@media (max-width: 690px) {
  .header-inner, main, .footer-inner, .footer-base { width: min(100% - 30px, var(--max)); }
  .header-inner { min-height: 56px; }
  .hero-panel { min-height: 0; padding: 31px 23px 33px; }
  .hero-panel::before { right: -8%; width: 62%; }
  .hero-panel::after { right: -23%; width: 58%; }
  h1 { max-width: 100%; font-size: clamp(32px, 11vw, 46px); }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .content-layout, .content-layout.home-layout { display: block; padding: 34px 0 55px; }
  .topic-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-bottom: 39px; }
  .topic-rail > h2 { grid-column: 1 / -1; }
  .topic-link:last-of-type { border-bottom: 1px solid #e5e8ea; }
  .rail-note { grid-column: 1 / -1; }
  .article-content > h2 { margin-top: 34px; }
  .article-content p, .article-content li { font-size: 15px; }
  .article-figure img { aspect-ratio: 16 / 10; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .contact-panel, .article-cta { padding: 23px; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding-top: 40px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-base { flex-direction: column; gap: 7px; }
}

@media (max-width: 430px) {
  .topic-rail { grid-template-columns: 1fr; }
  .topic-link { border-bottom: 1px solid #e5e8ea; }
  .topic-link:last-of-type { border-bottom: 1px solid #e5e8ea; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
}
