:root {
  --page:#fff7fb;--paper:#fff;--soft:#fff0f7;--violet-soft:#f6eeff;
  --ink:#2d1934;--text:#3e2c43;--muted:#71647a;--quiet:#8a7b92;
  --rose:#f70b78;--rose-deep:#c70b63;--rose-light:#ff5baa;--blush:#ffd4ea;
  --violet:#a36bea;--warm:#f0ae57;--night:#2c1736;
  --border:rgba(145,47,104,.14);--shadow:0 14px 34px rgba(104,22,83,.10);
  --button-gradient:linear-gradient(135deg,#f70b78 0%,#ff3d9b 60%,#e746a5 100%);
  --container:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:142px}
body{margin:0;min-width:0;background:var(--page);font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-size:16px;line-height:1.75;color:var(--text);-webkit-font-smoothing:antialiased}
body.overlay-open{overflow:hidden}
button,input{font:inherit}
button{cursor:pointer}
img,svg{max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:var(--rose-deep)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--violet);outline-offset:3px}
[hidden]{display:none!important}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto;min-width:0}
.skip-link{position:fixed;z-index:600;top:-100px;left:16px;padding:10px 16px;color:white;background:var(--night);border-radius:12px}
.skip-link:focus{top:12px}
.eyebrow{margin:0 0 12px;color:var(--rose-deep);font-size:.79rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.eyebrow--light{color:#ffe0ef}
h1,h2,h3,h4,p,figure,ul,ol{margin-top:0}
h1,h2,h3{color:var(--ink);line-height:1.3;letter-spacing:-.02em}
h1{font-size:clamp(28px,3.2vw,36px);font-weight:800}
h2{font-size:clamp(23px,2.6vw,28px);font-weight:800}
h3{font-size:clamp(18px,2vw,21px);font-weight:760}
p{margin-bottom:1em}
.lead{font-size:17px;line-height:1.93;color:#493752}
.muted{color:var(--muted)}
.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--rose-deep);font-weight:800;min-height:44px}
.text-link::after{content:'↗';font-weight:800}
.text-link:hover{gap:13px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:10px 24px;border-radius:999px;font-weight:750;font-size:15px;line-height:1.35;border:1px solid transparent;transition:background .2s,box-shadow .2s,transform .2s;color:var(--ink)}
.btn-primary{background:var(--button-gradient);color:#fff;box-shadow:0 8px 23px rgba(247,11,120,.20)}
.btn-primary:hover{color:#fff;transform:translateY(-2px);box-shadow:0 13px 26px rgba(247,11,120,.25)}
.btn-secondary{background:#fff;border-color:rgba(247,11,120,.28);color:var(--rose-deep)}
.btn-secondary:hover{background:var(--soft);color:var(--rose-deep)}
.btn-inline{background:var(--soft);border-color:rgba(145,47,104,.12);color:var(--rose-deep)}
.btn-inline:hover{background:var(--blush);color:var(--ink)}
.btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}
.section-heading{display:flex;align-items:flex-end;gap:18px;justify-content:space-between;margin-bottom:22px}
.section-heading h2{margin:0;padding-left:15px;position:relative}
.section-heading h2::before{content:'';position:absolute;left:0;top:4px;bottom:4px;width:5px;border-radius:5px;background:var(--button-gradient)}
.section-heading>p{margin:0;max-width:560px;color:var(--muted);font-size:14px}
.section-heading .text-link{flex-shrink:0;font-size:14px}
.section-block{margin-block:68px}
.section-block--soft{background:var(--soft);padding-block:62px}
.section-block--violet{background:var(--violet-soft);padding-block:62px}
.section-block--white{background:var(--paper);padding-block:62px}
.section-block--soft .container,.section-block--violet .container{isolation:isolate}

/* Full-viewport header; inner width is independent of its background. */
.site-header{position:fixed;z-index:80;top:0;left:0;right:0;width:100%;background:#fff;box-shadow:0 3px 16px rgba(52,25,50,.045)}
.topbar{background:#fff;border-bottom:1px solid var(--border);height:70px;width:100%}
.topbar__inner{height:100%;width:min(var(--container),calc(100% - 40px));margin-inline:auto;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:18px;min-width:0}
.icon-button{display:inline-grid;place-items:center;background:transparent;border:1px solid transparent;color:var(--ink);width:46px;height:46px;border-radius:14px;flex:0 0 auto;transition:background .2s,border-color .2s}
.icon-button:hover{background:var(--soft);border-color:var(--border)}
.icon-button svg{width:22px;height:22px}
.hamburger{display:block;width:21px;height:18px;background:linear-gradient(currentColor,currentColor) 0 2px/21px 2px no-repeat,linear-gradient(currentColor,currentColor) 0 8px/21px 2px no-repeat,linear-gradient(currentColor,currentColor) 0 14px/21px 2px no-repeat;color:var(--rose-deep);border-radius:1px}
.brand-link{justify-self:start;display:flex;align-items:center;min-width:0;max-width:100%}
.brand-mark{display:inline-flex;align-items:center;justify-content:flex-start;max-width:100%;min-width:0}
.brand-mark img{display:block;max-height:38px;max-width:235px;width:auto;height:auto;object-fit:contain;object-position:left center}
.brand-mark__fallback{font-weight:900;font-size:24px;line-height:1.2;letter-spacing:.03em;color:var(--rose-deep);white-space:nowrap}
.brand-mark__fallback>span{color:#9d3271}
.topbar__actions{display:flex;align-items:center;gap:6px;justify-self:end}
.app-top-link{display:inline-flex;justify-content:center;align-items:center;background:var(--button-gradient);min-height:44px;border-radius:999px;padding:0 21px;color:#fff;font-weight:780;font-size:14px;white-space:nowrap}
.app-top-link:hover,.app-top-link.is-current{color:white;box-shadow:0 8px 18px rgba(247,11,120,.20)}
.desktop-tabs{background:#fff5fa;height:44px;border-bottom:1px solid var(--border);overflow:hidden}
.desktop-tabs__inner{width:min(var(--container),calc(100% - 40px));margin:auto;height:100%;display:flex;align-items:stretch;gap:30px;white-space:nowrap}
.desktop-tabs a{min-width:max-content;display:inline-flex;align-items:center;padding:0 3px;position:relative;font-weight:680;font-size:14px;color:#594962}
.desktop-tabs a::after{content:'';position:absolute;left:3px;right:3px;bottom:0;height:3px;transform:scaleX(0);transform-origin:left;background:var(--rose);border-radius:4px;transition:transform .2s}
.desktop-tabs a:hover,.desktop-tabs a.is-current{color:var(--rose-deep)}
.desktop-tabs a:hover::after,.desktop-tabs a.is-current::after{transform:scaleX(1)}
.site-main{padding-top:138px}
.site-main>:first-child{margin-top:0}

/* Images: never crop, never stretch. */
.visual{margin:0;min-width:0;width:100%;border-radius:20px;background:linear-gradient(140deg,#ffe1ef,#f5e7ff);border:1px solid rgba(145,47,104,.10);overflow:visible;position:relative}
.visual img{width:auto;height:auto;max-width:100%;max-height:500px;display:block;margin-inline:auto;object-fit:contain;object-position:center;border-radius:inherit}
.visual--banner img{max-height:470px}
.visual--feature img{max-height:430px}
.visual--card img{max-height:320px}
.visual--portrait img{max-height:460px}
.visual--icon{width:84px;min-width:84px;max-width:84px;border-radius:22px}
.visual--icon img{max-height:82px;border-radius:18px}
.visual__empty{aspect-ratio:16/9;position:relative;min-height:140px;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:clamp(18px,3.5vw,36px);overflow:hidden;border-radius:inherit;isolation:isolate}
.visual--card .visual__empty{aspect-ratio:16/10}
.visual--portrait .visual__empty{aspect-ratio:3/4}
.visual--icon .visual__empty{min-height:82px;aspect-ratio:1;padding:6px;align-items:center;justify-content:center}
.visual__glow{position:absolute;z-index:-1;width:64%;height:112%;right:-5%;top:-24%;background:radial-gradient(ellipse at center,rgba(247,11,120,.30),rgba(163,107,234,.11) 50%,transparent 72%);transform:rotate(-25deg);border-radius:50%}
.visual__empty::after{content:'';position:absolute;z-index:-1;right:12%;top:16%;width:24%;aspect-ratio:1;border:clamp(8px,1.5vw,19px) solid rgba(255,255,255,.52);border-radius:50%;box-shadow:0 0 0 clamp(13px,3vw,38px) rgba(255,255,255,.18)}
.visual__spark{font-size:clamp(32px,6vw,74px);line-height:1;color:rgba(185,51,130,.55)}
.visual__wordmark{margin-top:22px;letter-spacing:.22em;font-size:11px;color:#8a3471;font-weight:800}
.visual--icon .visual__wordmark{display:none}
.visual--icon .visual__spark{font-size:32px}
.visual figcaption{padding:9px 14px;color:var(--muted);background:#fff;border-radius:0 0 20px 20px;font-size:12px}

/* Home */
.home-hero{margin-bottom:60px}
.home-hero__surface{border:1px solid var(--border);background:linear-gradient(120deg,#ffeff7 0%,#faf1ff 48%,#fff9fc 100%);border-radius:26px;padding:clamp(15px,2.6vw,32px);box-shadow:var(--shadow);display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:clamp(22px,4vw,53px);align-items:center;overflow:hidden}
.home-hero .visual{background:linear-gradient(140deg,#ffe0f0,#f2ddff);box-shadow:0 16px 38px rgba(104,22,83,.09)}
.home-hero__copy{padding:16px 6px 16px 0;min-width:0}
.home-hero__copy h1{margin-bottom:17px;font-size:clamp(29px,3.6vw,43px);line-height:1.22}
.home-hero__copy .lead{margin-bottom:0;font-size:16px}
.hero-mini{display:inline-flex;gap:7px;align-items:center;color:var(--rose-deep);font-size:12px;font-weight:850;letter-spacing:.1em;margin-bottom:16px}
.hero-mini::before{content:'';width:24px;height:3px;border-radius:10px;background:var(--rose)}
.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.category-card{background:var(--paper);border:1px solid var(--border);border-radius:18px;padding:20px 19px;min-width:0;display:flex;flex-direction:column;min-height:168px;transition:transform .2s,box-shadow .2s,border-color .2s}
.category-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(247,11,120,.27)}
.category-card__symbol{width:34px;height:34px;border-radius:12px;background:linear-gradient(145deg,#ffe3f0,#f5e4ff);display:grid;place-items:center;color:var(--rose-deep);font-weight:850;margin-bottom:14px;font-size:20px}
.category-card h3{margin-bottom:7px;font-size:17px}
.category-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.split-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}
.feature-copy,.feature-card{min-width:0}
.feature-copy h2{margin-bottom:18px}
.feature-copy>p{line-height:1.9}
.number-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.number-links a{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 15px;background:#fff;border:1px solid var(--border);border-radius:15px;font-weight:740}
.number-links b{font-size:21px;line-height:1;color:var(--rose);font-variant-numeric:tabular-nums}
.number-links a:hover{border-color:var(--rose)}
.three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.feature-card{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:visible;box-shadow:0 8px 25px rgba(104,22,83,.05)}
.feature-card .visual{border-radius:20px 20px 0 0;border:0;border-bottom:1px solid var(--border)}
.feature-card__copy{padding:22px}
.feature-card__copy h3{margin-bottom:10px}
.feature-card__copy p{color:#514159;margin-bottom:13px;line-height:1.85;font-size:15px}
.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.theme-tile{padding:18px;background:#fff;border:1px solid var(--border);border-radius:15px;min-width:0}
.theme-tile span{display:inline-flex;min-width:22px;color:var(--rose-deep);font-weight:900;font-size:13px;margin-bottom:9px}
.theme-tile h3{font-size:16px;margin-bottom:7px}
.theme-tile p{color:var(--muted);font-size:14px;line-height:1.72;margin-bottom:0}
.route-list{margin:18px 0 0;padding:0;list-style:none;border-top:1px solid var(--border)}
.route-list li{margin:0;border-bottom:1px solid var(--border)}
.route-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;min-height:52px;font-weight:710}
.route-list a span{display:inline-block;padding:3px 11px;border-radius:99px;background:var(--soft);color:var(--rose-deep);font-size:12px;white-space:nowrap}
.double-feature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.editor-picks{background:#fff;border:1px solid var(--border);border-radius:21px;padding:22px;min-width:0}
.editor-picks .visual img{max-height:290px}
.editor-picks h3{margin-top:18px}
.editor-picks ol,.editor-picks ul{list-style:none;padding:0;margin:8px 0 0}
.editor-picks li{border-top:1px solid var(--border);padding:13px 0;line-height:1.7}
.editor-picks li b{color:var(--rose-deep);margin-right:9px;font-weight:900}
.editor-picks li small{color:var(--muted)}
.service-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.service-tile{padding:22px 22px 25px;background:#fff;border:1px solid var(--border);border-radius:20px;min-width:0}
.service-tile .visual img{max-height:275px}
.service-tile h3{margin-top:20px;margin-bottom:8px}
.service-tile p{font-size:15px;color:#55425d;line-height:1.85;min-height:155px}
.app-spotlight{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);gap:26px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:22px;padding:clamp(20px,3vw,35px)}
.app-spotlight__media{display:flex;align-items:center;gap:14px;min-width:0}
.app-spotlight__media .visual--feature{min-width:0}
.app-spotlight__content p{line-height:1.85}
.app-spotlight__content h2{margin:10px 0 12px}
.end-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.end-card{border:1px solid var(--border);border-radius:18px;padding:24px;background:#fff;min-width:0}
.end-card h3{font-size:20px}
.end-card p{font-size:14px;line-height:1.9;color:#57445c}
.end-card .text-link{font-size:14px}

/* Inner page editorial structures */
.inner-hero{padding-block:14px 24px}
.inner-hero__layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(28px,4vw,56px);align-items:center;padding:clamp(22px,4vw,48px);border:1px solid var(--border);border-radius:23px;background:linear-gradient(118deg,#fff,#fff1f8 72%,#f9f0ff);min-width:0}
.inner-hero--plain .inner-hero__layout{grid-template-columns:minmax(0,1fr);background:#fff}
.inner-hero__copy{min-width:0}
.inner-hero__copy h1{margin-bottom:16px}
.inner-hero__copy .lead{font-size:16px;line-height:1.95}
.inner-hero__meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.inner-hero__meta a,.mini-tag{background:#fff;border:1px solid rgba(247,11,120,.20);border-radius:999px;padding:5px 12px;display:inline-flex;align-items:center;min-height:32px;color:var(--rose-deep);font-size:13px;font-weight:700}
.inner-hero__meta a:hover{background:var(--soft)}
.inner-main{margin-block:28px 70px}
.inner-main__grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:30px;align-items:start}
.inner-aside{position:sticky;top:143px;background:#fff;border-radius:18px;border:1px solid var(--border);padding:21px;min-width:0}
.inner-aside h2{font-size:17px;margin-bottom:12px}
.inner-aside a{display:flex;align-items:center;justify-content:space-between;min-height:43px;padding:7px 0;border-bottom:1px solid var(--border);font-size:14px;color:#5b465e}
.inner-aside a:hover{color:var(--rose-deep)}
.inner-aside p{font-size:13px;margin:16px 0 0;color:var(--muted)}
.content-surface{background:#fff;border:1px solid var(--border);border-radius:20px;min-width:0;padding:clamp(20px,3.3vw,39px)}
.content-intro{padding-bottom:21px;margin-bottom:18px;border-bottom:1px solid var(--border)}
.content-intro h2{font-size:22px;margin-bottom:12px}
.content-intro p{line-height:1.95;color:#4b3650}
.chapter-list{list-style:none;counter-reset:chapters;margin:0;padding:0}
.chapter-list>li{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;counter-increment:chapters;padding:22px 0;border-bottom:1px solid var(--border)}
.chapter-list>li:last-child{border:0}
.chapter-list>li::before{content:counter(chapters,decimal-leading-zero);font-weight:900;font-size:30px;line-height:1.2;color:var(--rose)}
.chapter-list h2{font-size:20px;margin:2px 0 11px}
.chapter-list p{margin-bottom:0;line-height:1.98}
.tile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tile-list article{background:#fffafc;border:1px solid var(--border);border-radius:17px;padding:22px;min-width:0}
.tile-list article .mini-index{display:block;color:var(--rose-deep);font-weight:900;font-size:12px;letter-spacing:.1em;margin-bottom:8px}
.tile-list h2{font-size:19px;margin-bottom:11px}
.tile-list p{margin:0;font-size:15px;line-height:1.93}
.line-list{display:grid;gap:0}
.line-list article{display:grid;grid-template-columns:170px minmax(0,1fr);gap:27px;align-items:start;padding:23px 0;border-bottom:1px solid var(--border)}
.line-list article:first-child{padding-top:8px}
.line-list article:last-child{border:0}
.line-list h2{font-size:19px;padding-top:3px}
.line-list p{margin:0;line-height:1.99}
.timeline{position:relative;padding:0 0 0 32px;border-left:2px solid #f5b9d9;margin-left:9px}
.timeline article{padding:0 0 30px 24px;position:relative}
.timeline article::before{content:'';width:15px;height:15px;position:absolute;left:-41px;top:5px;border-radius:50%;background:#fff;border:4px solid var(--rose);box-shadow:0 0 0 5px #ffeaf3}
.timeline h2{font-size:20px}
.timeline p{margin-bottom:0;line-height:1.95}
.policy-stack section{padding:24px 0;border-bottom:1px solid var(--border)}
.policy-stack section:first-child{padding-top:0}
.policy-stack section:last-child{border-bottom:0}
.policy-stack h2{font-size:20px;margin-bottom:13px}
.policy-stack p{line-height:2;margin-bottom:0}
.editorial-stack article{padding:25px 0;border-bottom:1px solid var(--border)}
.editorial-stack article:first-child{padding-top:0}
.editorial-stack article:last-child{border:0}
.editorial-stack h2{font-size:21px;margin-bottom:12px}
.editorial-stack p{line-height:2.03;margin-bottom:0}
.editorial-note{background:var(--soft);border-left:4px solid var(--rose);padding:19px 23px;margin:18px 0 26px;border-radius:0 14px 14px 0;color:#633e60;font-size:15px}
.content-outro{margin-top:23px;padding:20px 23px;background:var(--violet-soft);border-radius:15px;border:1px solid var(--border);line-height:1.95}
.content-outro p{margin:0}
.related-strip{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:22px}
.related-strip span{font-size:13px;color:var(--muted);font-weight:750}
.related-strip a{display:inline-flex;align-items:center;min-height:38px;padding:5px 13px;border:1px solid rgba(247,11,120,.22);background:#fff;border-radius:999px;color:var(--rose-deep);font-size:13px;font-weight:720}
.related-strip a:hover{background:var(--soft)}
.faq-list{display:grid;gap:14px}
.faq-item{background:#fff;border:1px solid var(--border);border-radius:16px;padding:23px 27px}
.faq-item h2{font-size:19px;margin-bottom:12px}
.faq-item p{margin:0;color:#4d3b54;line-height:1.96}
.faq-item h2 span{display:inline-block;min-width:42px;color:var(--rose-deep);font-weight:900}
.link-panel{margin-top:30px;background:linear-gradient(120deg,var(--soft),var(--violet-soft));border:1px solid var(--border);border-radius:18px;padding:23px}
.link-panel h2{font-size:21px;margin-bottom:8px}
.link-panel p{font-size:14px;color:var(--muted)}
.link-panel__items{display:flex;gap:12px;flex-wrap:wrap}
.link-panel__items a{display:flex;align-items:center;min-height:44px;padding:8px 15px;background:#fff;border:1px solid var(--border);border-radius:13px;color:var(--rose-deep);font-weight:700;font-size:14px}
.link-panel__items a:hover{border-color:var(--rose)}

/* Footer */
.site-footer{background:var(--night);border-top:4px solid var(--rose-deep);color:#fff4fa;margin-top:60px}
.site-footer__inner{padding-top:46px;padding-bottom:31px}
.site-footer__brand{display:flex;align-items:center;gap:18px;margin-bottom:32px}
.footer-brand-link{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:9px 12px;border-radius:13px;background:#fff6fc}
.brand-mark--footer img{max-height:38px;max-width:180px}
.brand-mark--footer .brand-mark__fallback{font-size:20px}
.site-footer__brand div{display:flex;flex-direction:column;line-height:1.4}
.site-footer__brand strong{color:#fff;font-size:20px}
.site-footer__brand div span{font-size:11px;letter-spacing:.18em;color:#e6c9db;margin-top:4px}
.footer-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;padding-bottom:34px}
.footer-column{display:flex;flex-direction:column;min-width:0;align-items:flex-start;gap:7px}
.footer-column h2{font-size:15px;color:#ffc3df;letter-spacing:.06em;margin-bottom:9px}
.footer-column a{color:#eee1ee;font-size:14px;line-height:1.6;min-height:30px}
.footer-column a:hover{color:#ff8fc6}
.site-footer__bottom{border-top:1px solid rgba(255,255,255,.18);padding-top:22px;display:flex;gap:16px;align-items:center;justify-content:space-between;color:#e7d3e7}
.site-footer__bottom p{font-size:12px;margin:0;line-height:1.8}
.bottom-nav{display:none}

/* Directory, search and overlay */
.overlay-backdrop{position:fixed;z-index:180;inset:0;background:rgba(37,13,46,.62);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s,visibility .22s}
.overlay-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
.overlay-panel{z-index:200;position:fixed;top:50%;left:50%;width:min(860px,calc(100% - 32px));max-height:min(88dvh,860px);overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid rgba(247,11,120,.24);border-radius:23px;box-shadow:0 34px 95px rgba(23,9,34,.3);transform:translate(-50%,-45%) scale(.985);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s,transform .22s,visibility .22s}
.overlay-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}
.overlay-panel__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;background:linear-gradient(105deg,#ffebf5,#f9eeff);border-bottom:1px solid var(--border)}
.overlay-panel__header h2{font-size:22px;margin:0}
.overlay-panel__header .eyebrow{margin-bottom:4px}
.directory-heading-wrap{display:flex;align-items:center;gap:16px;min-width:0}
.brand-mark--panel img{max-width:130px;max-height:34px}
.brand-mark--panel .brand-mark__fallback{font-size:17px}
.directory-heading-wrap h2{font-size:20px}
.directory-heading-wrap p{font-size:12px;color:var(--muted);line-height:1.45;margin:4px 0 0}
.close-button{background:#fff;border:1px solid var(--border);font-size:29px;font-weight:300;line-height:1;color:var(--rose-deep)}
.directory-panel__content{padding:22px 26px 27px}
.directory-quick-actions{display:flex;align-items:center;gap:15px;margin-bottom:23px}
.directory-quick-actions button,.directory-quick-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:7px 18px;border:1px solid rgba(247,11,120,.22);border-radius:999px;background:var(--soft);color:var(--rose-deep);font-weight:750;font-size:14px}
.directory-quick-actions>a{background:#fff}
.directory-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.directory-group{min-width:0}
.directory-group h3{font-size:14px;letter-spacing:.14em;color:var(--rose-deep);border-bottom:2px solid #f5c3df;padding-bottom:9px;margin-bottom:11px}
.directory-links{display:grid;gap:4px}
.directory-entry{display:flex;flex-direction:column;gap:1px;padding:9px 12px;border-radius:12px;min-width:0}
.directory-entry:hover,.directory-entry.is-current{background:var(--soft)}
.directory-entry__title{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:800;color:var(--ink);line-height:1.5;font-size:15px}
.directory-entry__title span{color:var(--rose)}
.directory-entry__desc{font-size:12px;line-height:1.62;color:var(--muted)}
.search-panel{width:min(630px,calc(100% - 32px))}
.search-panel__content{padding:24px 26px 30px}
.search-panel__content label{display:block;font-size:13px;color:var(--ink);font-weight:800;margin-bottom:9px}
.search-panel__content input{width:100%;max-width:100%;height:52px;border:1px solid rgba(247,11,120,.22);border-radius:15px;background:#fff7fb;padding:0 16px;font-size:15px;color:var(--ink)}
.search-panel__content input::placeholder{color:#6e546f;opacity:1}
.search-hint{margin:8px 0 16px;font-size:12px;color:var(--muted)}
.search-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.search-links a{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:69px;padding:10px 14px;border:1px solid var(--border);border-radius:13px;background:#fff;color:var(--ink);font-size:14px;font-weight:790}
.search-links a:hover{border-color:var(--rose);background:var(--soft)}
.search-links a span{font-size:11px;color:var(--muted);font-weight:500}
.search-empty{padding:14px;font-size:14px;background:var(--soft);border-radius:10px;color:var(--ink)}

@media (max-width:1000px){
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .inner-main__grid{grid-template-columns:minmax(0,1fr) 210px;gap:20px}
  .service-tiles{gap:12px}
  .service-tile{padding:17px}
  .home-hero__surface{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media (max-width:760px){
  html{scroll-padding-top:80px}
  .container{width:calc(100% - 32px)}
  .topbar{height:64px}
  .topbar__inner{height:64px;width:100%;padding-inline:16px;grid-template-columns:44px minmax(0,1fr) 78px;gap:8px}
  .menu-trigger{width:44px;height:44px}
  .brand-link{justify-self:center;justify-content:center;overflow:visible;min-width:0;max-width:100%}
  .brand-mark img{max-height:33px;max-width:100%;width:auto;height:auto}
  .brand-mark__fallback{font-size:20px}
  .topbar__actions{width:78px;justify-content:flex-end}
  .desktop-search,.desktop-tabs{display:none}
  .app-top-link{min-height:44px;padding:0 11px;font-size:13px}
  .site-main{padding-top:82px}
  .section-block{margin-block:49px}
  .section-block--soft,.section-block--violet,.section-block--white{padding-block:43px}
  .home-hero__surface{grid-template-columns:minmax(0,1fr);gap:12px;padding:15px;border-radius:20px}
  .home-hero__copy{padding:16px 6px 11px}
  .home-hero__copy h1{font-size:clamp(27px,6.5vw,32px)}
  .home-hero .visual img{max-height:310px}
  .split-feature,.app-spotlight{grid-template-columns:minmax(0,1fr);gap:18px}
  .feature-copy{padding:5px 0}
  .inner-hero__layout{grid-template-columns:minmax(0,1fr);padding:24px;gap:19px}
  .inner-hero .visual img{max-height:340px}
  .inner-main__grid{grid-template-columns:minmax(0,1fr)}
  .inner-aside{position:static}
  .three-grid,.service-tiles,.end-cards{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .double-feature{grid-template-columns:minmax(0,1fr)}
  .footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  .site-footer{margin-top:35px}
  .site-footer__inner{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .site-footer__bottom{flex-direction:column;align-items:flex-start;gap:9px}
  .bottom-nav{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:100;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(54px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(255,251,253,.97);border-top:1px solid var(--border);box-shadow:0 -6px 25px rgba(54,14,52,.07);backdrop-filter:blur(12px)}
  .bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:#5f5266;font-size:11px;font-weight:700;min-width:0;min-height:54px;position:relative;white-space:nowrap}
  .bottom-nav a.is-current{color:var(--rose-deep)}
  .bottom-nav a.is-current::before{content:'';position:absolute;top:0;left:35%;right:35%;height:3px;background:var(--rose);border-radius:0 0 5px 5px}
  .mobile-glyph{position:relative;display:block;width:17px;height:17px;color:currentColor}
  .mobile-glyph--home::before{content:'⌂';font-size:25px;line-height:17px;position:absolute;left:0;top:-3px}
  .mobile-glyph--channel::before{content:'';display:block;position:absolute;left:1px;right:1px;top:2px;bottom:2px;border:2px solid currentColor;border-radius:3px}
  .mobile-glyph--channel::after{content:'';position:absolute;top:6px;left:5px;width:6px;height:2px;background:currentColor}
  .mobile-glyph--playlist::before{content:'';position:absolute;left:0;right:0;top:2px;bottom:1px;border:2px solid currentColor;border-radius:3px}
  .mobile-glyph--playlist::after{content:'';position:absolute;left:4px;right:4px;top:6px;height:2px;background:currentColor;box-shadow:0 4px currentColor}
  .mobile-glyph--tv::before{content:'';position:absolute;left:0;right:0;top:1px;bottom:4px;border:2px solid currentColor;border-radius:3px}
  .mobile-glyph--tv::after{content:'';position:absolute;left:5px;right:5px;bottom:0;height:2px;background:currentColor}
  .mobile-glyph--app::before{content:'';position:absolute;left:3px;right:3px;top:0;bottom:0;border:2px solid currentColor;border-radius:3px}
  .mobile-glyph--app::after{content:'';position:absolute;bottom:2px;width:3px;height:3px;border-radius:50%;background:currentColor;left:7px}
  .directory-groups{grid-template-columns:minmax(0,1fr);gap:16px}
  .overlay-panel__header{padding:16px 18px}
  .directory-panel__content{padding:18px}
  .overlay-panel{max-height:calc(100dvh - 24px)}
}
@media (max-width:540px){
  .section-heading{align-items:flex-start;flex-direction:column;gap:7px}
  .category-grid{gap:10px}
  .category-card{min-height:162px;padding:16px 13px}
  .category-card h3{font-size:16px}
  .category-card p{font-size:13px}
  .number-links{gap:8px}
  .number-links a{padding:9px 10px;gap:7px;font-size:13px}
  .number-links b{font-size:20px}
  .three-grid,.service-tiles,.end-cards{grid-template-columns:minmax(0,1fr)}
  .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .theme-tile{padding:13px}
  .app-spotlight{padding:18px}
  .inner-hero__layout{padding:18px}
  .inner-hero__copy h1{font-size:29px}
  .inner-hero__copy .lead{font-size:15px}
  .inner-main{margin-block:17px 50px}
  .content-surface{padding:20px 17px}
  .chapter-list>li{grid-template-columns:40px minmax(0,1fr);gap:8px;padding:19px 0}
  .chapter-list>li::before{font-size:23px}
  .chapter-list h2{font-size:18px}
  .tile-list{grid-template-columns:minmax(0,1fr)}
  .line-list article{grid-template-columns:minmax(0,1fr);gap:7px}
  .line-list h2{margin-bottom:0}
  .search-links{grid-template-columns:minmax(0,1fr)}
  .faq-item{padding:20px 17px}
}
@media (max-width:350px){
  .topbar__inner{grid-template-columns:44px minmax(0,1fr) 74px;gap:5px;padding-inline:16px}
  .topbar__actions{width:74px}
  .brand-mark__fallback{font-size:18px}
  .app-top-link{font-size:12px;padding-inline:9px}
  .directory-heading-wrap{gap:9px}
  .brand-mark--panel img{max-width:90px}
  .brand-mark--panel .brand-mark__fallback{font-size:14px}
  .directory-heading-wrap h2{font-size:18px}
  .directory-heading-wrap p{font-size:11px}
  .btn-row .btn{flex:1 1 130px;padding-inline:12px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Keep the rose gradient; a translucent plum glaze raises white text contrast. */
.btn-primary,.app-top-link{background-image:linear-gradient(rgba(40,0,30,.20),rgba(40,0,30,.20)),var(--button-gradient)}
.inner-app-badge{width:84px;margin-top:16px}
