:root {
    color-scheme: light;
    --dark: #10121b;
    --ink: #16182a;
    --muted: #545774;
    --accent: #5036aa;
    --line: #e2e0ef;
    --white: #fff;
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-synthesis: none;
    scroll-behavior: smooth;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: #fbfaff; font-size: 1rem; line-height: 1.68; }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible, button:focus-visible { outline: 3px solid #9273ff; outline-offset: 4px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - 88px, 1260px); margin-inline: auto; }
.narrow { max-width: 850px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 9; transform: translateY(-200%); background: white; padding: 8px 16px; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.top { background: var(--dark); color: var(--white); border-bottom: 1px solid #ffffff17; position: relative; z-index: 2; }
.top-inner { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-weight: 700; letter-spacing: .07em; }
.brand img { border-radius: 11px; object-fit: cover; }
.top nav { display: flex; gap: 34px; }
.top nav a, .top-support { color: #eceaf6; text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.top nav a:hover, .top-support:hover { color: #d4beff; }
.top-support { justify-self: end; border: 1px solid #ffffff4d; padding: 7px 16px; border-radius: 8px; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: var(--dark); }
.hero-grid { min-height: 605px; position: relative; display: grid; align-items: center; padding-block: 84px; }
.hero-copy { position: relative; width: 55%; z-index: 1; }
.eyebrow { color: var(--accent); font-size: .875rem; letter-spacing: .12em; font-weight: 700; }
.hero .eyebrow { color: #d4c5ff; }
.hero h1 { margin: 23px 0 23px; font-weight: 750; font-size: clamp(3.35rem, 5.6vw, 5.55rem); letter-spacing: -.065em; white-space: nowrap; }
.hero h1 em { color: #c4b4ff; font-style: normal; }
.lead { font-size: clamp(1.02rem,1.45vw,1.18rem); color: var(--muted); line-height: 1.85; max-width: 40em; }
.hero .lead { color: #c4c4d8; max-width: 25em; }
.hero-art { position: absolute; z-index: 0; width: 76%; height: 112%; right: -13%; top: -6%; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,var(--dark) 0%,#10121bbd 13%,transparent 37%),linear-gradient(0deg,var(--dark),transparent 20%,transparent 85%,#10121b6e); }
.disciplines { position: relative; z-index: 1; border-top: 1px solid #ffffff26; }
.disciplines ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); list-style: none; }
.disciplines li { text-align: center; padding: 17px 8px; color: #d8d5e9; font-size: .875rem; letter-spacing: .09em; }
.disciplines li + li { border-left: 1px solid #ffffff1e; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { min-height: 48px; padding: 11px 20px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--ink); background: white; font-size: .9375rem; font-weight: 700; text-decoration: none; text-align: center; }
.button.primary { color: white; background: #4c329f; }
.button.primary:hover { background: #3a2580; }
.button.secondary { border-color: #cfc6eb; color: var(--accent); }
.button.secondary:hover { background: #f0ebff; }
.hero .primary { background: #d6c9ff; color: #221544; }
.hero .primary:hover { background: #e7dfff; }
.hero .secondary { background: #11131e91; color: white; border-color: #ffffff5e; }
.hero .secondary:hover { background: #333047; }
.featured { padding-top: 88px; }
.featured-panel { display: grid; grid-template-columns: .9fr 1fr; min-height: 410px; background: linear-gradient(120deg,#f0edfa 20%,#e7e1fb 100%); border: 1px solid #ded6f2; border-radius: 23px; overflow: hidden; }
.featured-copy { padding: 55px clamp(32px,5vw,68px); align-self: center; }
.featured-copy h2 { margin: 15px 0; font-size: clamp(2.3rem,4vw,3.65rem); letter-spacing: -.055em; }
.featured-copy > p:not(.eyebrow) { color: var(--muted); max-width: 24em; }
.featured-copy .button { margin-top: 22px; }
.featured-art { align-self: stretch; position: relative; display: grid; align-items: center; justify-items: center; isolation: isolate; overflow: hidden; padding: 36px 25px; background: radial-gradient(ellipse at 50% 55%,#b6a1fc9e,transparent 72%); }
.sheet { width: min(78%,350px); height: 254px; border-radius: 18px; position: absolute; }
.sheet-back { transform: translate(20px,-13px) rotate(12deg); background: #aba0d7; }
.sheet-middle { transform: translate(-27px,7px) rotate(-8deg); background: #c4b8ec; }
.sheet-front { height: auto; min-height: 252px; z-index: 1; position: relative; background: #fff; padding: 22px 24px; border: 1px solid #e2dcf2; box-shadow: 0 18px 38px #35206434; }
.sheet-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.sheet-header img { border-radius: 12px; }
.sheet-header b, .sheet-header small { display: block; }
.sheet-header small { color: var(--muted); }
.sheet-line { padding: 8px 0; border-top: 1px solid #e5dff2; font-weight: 600; font-size: .9rem; }
.catalog { padding-block: 88px 64px; scroll-margin-top: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.section-heading h2, .support-banner h2 { font-size: clamp(2rem,3.6vw,3.1rem); letter-spacing: -.045em; }
.section-heading p { color: var(--muted); margin-top: 9px; }
.filters { display: flex; flex-wrap: wrap; gap: 4px; border: 1px solid var(--line); border-radius: 11px; padding: 4px; background: #f2eff9; }
.filters button { border: 0; padding: 7px 12px; background: transparent; color: var(--muted); font: inherit; font-size: .875rem; cursor: pointer; border-radius: 7px; }
.filters button[aria-pressed="true"] { background: white; color: var(--accent); font-weight: 700; box-shadow: 0 1px 4px #30225b21; }
.filters button:hover { color: var(--accent); }
.product-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.product-card { min-width: 0; }
.product-card a { display: flex; flex-direction: column; height: 100%; background: white; border: 1px solid var(--line); border-radius: 15px; padding: 24px; text-decoration: none; color: inherit; transition: border-color .18s ease,box-shadow .18s ease; }
.product-card a:hover { border-color: #aa96dc; box-shadow: 0 10px 28px #43307613; }
.card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 18px; gap: 8px; }
.card-top img { border-radius: 12px; }
.tag { border-radius: 6px; padding: 3px 8px; color: #51437a; background: #f1edf9; font-size: .875rem; font-weight: 650; }
.product-card h3 { font-size: 1.19rem; margin-bottom: 9px; }
.product-card p { color: var(--muted); margin-bottom: 17px; }
.product-link { font-weight: 700; font-size: .875rem; color: var(--accent); margin-top: auto; }
.support-banner { display: flex; justify-content: space-between; align-items: center; background: radial-gradient(ellipse at 90% 5%,#3e3061,transparent 75%),var(--dark); color: white; border-radius: 20px; padding: 37px 46px; margin-bottom: 65px; gap: 22px; }
.support-banner p { color: #d3cde5; margin-top: 10px; }
.support-banner .button:hover { background: #e5dbff; }
footer { background: var(--dark); color: white; padding-block: 35px; }
.foot, .foot-links { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.foot p { margin-top: 10px; }
.foot p, .foot-links a { font-size: .875rem; color: #c7c5d8; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #ded0ff; }
.inner-intro { padding: 65px 0; background: linear-gradient(125deg,#eae3fa,#f6f3fd); }
.inner-intro h1 { font-size: clamp(2.2rem,5vw,4rem); letter-spacing: -.05em; overflow-wrap: anywhere; }
.inner-intro .lead { margin-top: 14px; }
.inner-intro .eyebrow { margin-bottom: 12px; }
.detail { padding-block: 50px 65px; min-height: 45vh; }
.detail h2 { font-size: 1.33rem; margin-bottom: 9px; }
.detail p { color: var(--muted); }
.detail article, .example { margin-bottom: 25px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-grid article, .example { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.back { display: inline-block; margin-top: 22px; }
.mail { font-weight: 750; overflow-wrap: anywhere; }
@media (max-width: 960px) {
    .wrap { width: calc(100% - 54px); }
    .hero-grid { min-height: 500px; }
    .hero-art { width: 82%; right: -17%; }
    .section-heading { flex-direction: column; align-items: start; }
    .product-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
    .wrap { width: calc(100% - 36px); }
    .top-inner { min-height: auto; grid-template-columns: 1fr 1fr; padding: 12px 0; gap: 9px 12px; }
    .top nav { order: 2; grid-column: 1 / -1; gap: 20px; }
    .top-support { padding-inline: 11px; }
    .hero-grid { display: block; min-height: 0; padding: 42px 0 0; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: clamp(2.15rem,10.2vw,4.1rem); margin-block: 16px; }
    .hero-art { position: relative; width: calc(100% + 36px); height: clamp(205px,61vw,390px); right: auto; left: -18px; margin-top: 3px; }
    .hero-art img { object-position: 55% 56%; }
    .hero-art::after { background: linear-gradient(180deg,var(--dark),transparent 22%,transparent 83%,var(--dark)); }
    .disciplines li { font-size: .875rem; letter-spacing: 0; padding: 12px 1px; }
    .featured { padding-top: 47px; }
    .featured-panel { grid-template-columns: 1fr; }
    .featured-copy { padding: 28px 25px 10px; }
    .featured-art { padding: 28px 10px; min-height: 293px; }
    .sheet { width: min(82%,350px); }
    .sheet-front { padding: 18px 16px; }
    .catalog { padding-block: 53px 34px; }
    .product-grid, .detail-grid { grid-template-columns: 1fr; gap: 10px; }
    .filters button { padding-inline: 8px; }
    .support-banner { flex-direction: column; align-items: start; padding: 25px; margin-bottom: 35px; }
    .inner-intro, .detail { padding-block: 35px; }
}
@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
