:root {
  color-scheme: light;
  --canvas: #f8f8fd;
  --white: #fff;
  --ink: #17162b;
  --muted: #505166;
  --accent: #503bd3;
  --accent-hover: #3c2ab2;
  --line: #e5e3ee;
  --wash: #efecff;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: var(--accent); text-underline-offset: .23em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
p, h1, h2, dl, dd { margin: 0; }
p { color: var(--muted); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 10px 15px; background: var(--white); z-index: 5; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; min-height: 74px; }
.brand { display: inline-flex; gap: 11px; align-items: center; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 750; }
.brand > span:last-child { overflow-wrap: anywhere; }
.brand-mark { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #8b75fa, #5338db 85%); color: #fff; font-size: 24px; line-height: 1; box-shadow: inset 0 1px 1px #ffffff66; }
.brand-mark::before, .art-tile::before { content: ""; width: .53em; aspect-ratio: .88; margin-left: .09em; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.header-inner nav, .footer-inner nav { display: flex; gap: 8px; flex-shrink: 0; }
.header-inner nav a, .footer-inner nav a { border-radius: 9px; color: var(--muted); font-size: .875rem; text-decoration: none; white-space: nowrap; padding: 8px 12px; }
.header-inner nav a:hover, .footer-inner nav a:hover { background: var(--wash); color: var(--accent); }
.header-inner nav [aria-current] { background: var(--wash); color: var(--accent); font-weight: 680; }

.hero { display: grid; grid-template-columns: 46% 54%; overflow: hidden; margin-top: 45px; min-height: 438px; border: 1px solid var(--line); border-radius: 30px; background: var(--white); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 65px); }
.eyebrow { color: var(--accent); margin-bottom: 13px; letter-spacing: .11em; font-size: .875rem; font-weight: 700; }
h1 { font-size: clamp(2.55rem, 5.7vw, 4.15rem); letter-spacing: -.05em; line-height: 1.14; font-weight: 780; overflow-wrap: anywhere; }
.hero-description { margin-top: 20px; max-width: 29ch; font-size: 1.06rem; line-height: 1.85; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; min-height: 48px; padding: 10px 20px; text-decoration: none; font-size: .9375rem; text-align: center; font-weight: 680; }
.button--primary { background: var(--accent); color: #fff; }
.button--primary:hover { background: var(--accent-hover); }
.button--secondary { background: var(--wash); color: var(--accent); }
.button--secondary:hover { background: #e6e1ff; }
.hero-art { position: relative; isolation: isolate; min-width: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 28% 15%, #f4efff, #ddd4ff 40%, #a692fa 100%); }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-tile { display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 29%; transform: rotate(-17deg); border: 1px solid #f2edff; background: linear-gradient(150deg, #f2edff, #9982f3 87%); font-size: clamp(3rem, 12vw, 8rem); box-shadow: 8px 18px 34px #5942b548, inset 0 2px 0 #fff; }
.resources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; margin-bottom: 48px; }
.resource-card { display: flex; align-items: center; min-width: 0; gap: 18px; min-height: 132px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; }
.resource-card:hover { border-color: #b3a4fd; background: #fdfcff; }
.resource-card h2 { font-size: 1.1rem; letter-spacing: -.02em; }
.resource-card p { margin-top: 4px; }
.icon { width: 47px; height: 47px; display: inline-block; flex: 0 0 47px; position: relative; border-radius: 14px; background: var(--wash); color: var(--accent); }
.icon::before, .icon::after { content: ""; position: absolute; }
.icon--chat::before { width: 20px; height: 15px; top: 14px; left: 13px; border: 1.7px solid currentColor; border-radius: 5px; }
.icon--chat::after { width: 7px; height: 6px; top: 25px; left: 18px; border-left: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; border-radius: 0 0 0 1px; transform: skewY(-38deg); background: var(--wash); }
.icon--lock::before { width: 18px; height: 14px; top: 21px; left: 14px; border: 1.7px solid currentColor; border-radius: 4px; }
.icon--lock::after { width: 10px; height: 10px; top: 12px; left: 18px; border: 1.7px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 75px; padding-block: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: .875rem; color: var(--muted); }
.footer-identity { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-identity > span:first-child { color: var(--ink); font-weight: 650; }
.preview-state { color: var(--muted); }

.inner-page { margin-block: 56px 62px; }
.page-heading { margin-bottom: 32px; }
.page-heading .icon { display: block; margin-bottom: 18px; }
.page-heading h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
.page-heading p { margin-top: 13px; font-size: 1.0625rem; }
.support-grid, .policy-grid { display: grid; gap: 18px; align-items: start; }
.support-grid { grid-template-columns: 1fr 1.35fr; }
.policy-grid { grid-template-columns: minmax(240px, .65fr) 2fr; }
.panel { padding: clamp(22px, 4vw, 33px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-width: 0; }
.panel h2 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 14px; letter-spacing: -.015em; }
.contact-panel > p { margin-bottom: 4px; }
.contact-panel .notice { padding: 12px 14px; border-radius: 10px; background: var(--wash); color: #463980; margin: 9px 0 0; }
.email-link { display: inline-block; padding-block: 4px; font-weight: 660; overflow-wrap: anywhere; }
.contact-list { margin-top: 16px; }
.contact-list div { border-top: 1px solid var(--line); padding-block: 10px; }
.contact-list dt { color: var(--muted); font-size: .875rem; }
.contact-list dd { white-space: pre-line; overflow-wrap: anywhere; }
details { border-top: 1px solid var(--line); }
summary { position: relative; cursor: pointer; min-height: 49px; padding: 13px 32px 13px 0; list-style: none; line-height: 1.45; font-weight: 650; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 3px; top: 11px; color: var(--accent); font-size: 1.1rem; line-height: 1.5; }
details[open] summary::after { content: "−"; }
details p { margin: 0 20px 16px 0; }
.policy-nav ul { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.policy-nav li + li { margin-top: 10px; }
.policy-nav--mobile { display: none; }
.policy-article { line-height: 1.85; }
.policy-article section + section { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.policy-article > section:first-of-type { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 24px; }
.policy-article p { white-space: pre-line; overflow-wrap: anywhere; }
.policy-article p + p { margin-top: 10px; }
.policy-article ul { color: var(--muted); padding-inline-start: 1.45em; margin-block: .65em; }
.policy-article li + li { margin-top: .25em; }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 25px; border-radius: 24px; }
  .hero-copy { padding: 34px 27px 33px; }
  .hero-art { aspect-ratio: 16 / 10; }
  .hero-description { margin-top: 14px; }
  .actions { margin-top: 20px; }
  .resources { margin-bottom: 34px; }
  .resource-card { gap: 12px; min-height: 114px; padding: 16px; }
  .support-grid, .policy-grid { grid-template-columns: 1fr; }
  .policy-nav--desktop { display: none; }
  .policy-nav--mobile { display: block; padding-block: 8px; }
  .policy-nav--mobile ul { margin-bottom: 14px; }
  .inner-page { margin-block: 36px 40px; }
}
@media (max-width: 540px) {
  .header-inner { min-height: 66px; gap: 8px; }
  .header-inner nav { gap: 2px; }
  .header-inner nav a { padding: 9px 6px; }
  .brand { gap: 7px; }
  .brand-mark { width: 29px; height: 29px; flex-basis: 29px; border-radius: 9px; font-size: 20px; }
  .resources { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .resource-card { min-height: 91px; border-radius: 18px; }
  .footer-inner { flex-wrap: wrap; gap: 2px 12px; }
  .footer-inner nav { margin-inline-start: -10px; }
}
