:root {
  --pink: #D96B9A;
  --pink-deep: #B9507F;
  --purple: #B89ACB;
  --ink: #2B2530;
  --text: #322D34;
  --muted: #756D78;
  --bg: #FFF9FC;
  --soft: #F5EDF3;
  --warm: #E88A62;
  --white: #FFFFFF;
  --line: rgba(43, 37, 48, .12);
  --line-strong: rgba(43, 37, 48, .2);
  --shadow: 0 18px 55px rgba(84, 55, 75, .10);
  --shadow-small: 0 8px 24px rgba(84, 55, 75, .08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shell: min(1180px, calc(100% - 40px));
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 0%, rgba(184,154,203,.10), transparent 28rem),
    linear-gradient(180deg, #fffafd 0, var(--bg) 32rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 1000;
  transform: translateY(-160%); padding: 10px 14px; border-radius: 9px;
  background: var(--ink); color: white; transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(232,138,98,.6); outline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(43,37,48,.08);
  background: rgba(255,249,252,.90);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 13px; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { color: var(--ink); font-size: 18px; letter-spacing: .02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(245,237,243,.72); }
.site-nav a { position: relative; padding: 9px 13px; border-radius: 999px; color: #5f5662; font-size: 14px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.site-nav a:hover { background: rgba(255,255,255,.8); color: var(--ink); transform: translateY(-1px); }
.site-nav a[aria-current="page"] { background: var(--white); color: var(--pink-deep); box-shadow: 0 3px 12px rgba(84,55,75,.08); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 13px; cursor: pointer; }

.eyebrow { margin: 0 0 10px; color: var(--pink-deep); font-weight: 760; font-size: 13px; letter-spacing: .11em; text-transform: uppercase; }
.lead { max-width: 760px; color: #5e5661; font-size: clamp(17px, 2vw, 20px); line-height: 1.8; }
h1, h2, h3 { color: var(--ink); margin-top: 0; line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 4vw, 43px); letter-spacing: -.025em; }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin-top: 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 11px 19px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 760; font-size: 14px; transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--pink); color: white; box-shadow: 0 12px 26px rgba(217,107,154,.22); }
.button.primary:hover { background: var(--pink-deep); box-shadow: 0 15px 30px rgba(217,107,154,.28); }
.button.ghost { background: rgba(255,255,255,.75); color: var(--ink); border-color: var(--line); }
.button.ghost:hover { background: white; box-shadow: var(--shadow-small); }
.inline-cta { display: inline-flex; margin-top: 28px; color: var(--pink-deep); font-weight: 760; border-bottom: 1px solid rgba(185,80,127,.3); }

.hero { padding-top: clamp(46px, 8vw, 104px); padding-bottom: clamp(58px, 9vw, 118px); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(350px,.9fr); gap: clamp(32px, 6vw, 78px); align-items: center; }
.hero-copy h1 { margin-bottom: 24px; max-width: 840px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { padding: 7px 11px; border-radius: 999px; background: rgba(184,154,203,.13); color: #675c6c; font-size: 12px; }
.hero-media { margin: 0; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 8% 7% -7% -7%; border-radius: 35px; background: rgba(184,154,203,.15); z-index: -1; transform: rotate(-4deg); }
.hero-media img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }

.section-block { padding-top: clamp(58px, 8vw, 105px); padding-bottom: clamp(58px, 8vw, 105px); }
.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading.narrow { max-width: 690px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p:last-child { color: var(--muted); font-size: 17px; }
.soft-band { background: linear-gradient(180deg, rgba(245,237,243,.84), rgba(245,237,243,.56)); border-block: 1px solid rgba(43,37,48,.06); }

.editorial-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; align-items: stretch; }
.editorial-item { min-height: 250px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.68); }
.editorial-item.featured-item { grid-row: span 2; min-height: 516px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, rgba(217,107,154,.14), rgba(255,255,255,.84)); }
.editorial-item .index { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center; background: var(--soft); color: var(--pink-deep); font-size: 12px; font-weight: 800; margin-bottom: 24px; }
.editorial-item h3 { margin-bottom: 12px; }
.editorial-item p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.featured-item h3 { font-size: 28px; }
.featured-item p { font-size: 16px; }

.split-feature { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: 1fr .9fr; gap: clamp(32px, 7vw, 86px); align-items: center; }
.split-feature.reverse { grid-template-columns: .9fr 1fr; }
.split-feature figure { margin: 0; }
.split-feature figure img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-small); }
.split-feature h2 { margin-bottom: 18px; }
.split-feature > div > p { color: var(--muted); }
.mini-list { margin-top: 30px; border-top: 1px solid var(--line); }
.mini-list > div { display: grid; gap: 4px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.mini-list strong { font-size: 15px; color: var(--ink); }
.mini-list span { color: var(--muted); font-size: 13px; }

.flow-rail { display: grid; grid-template-columns: 1.15fr 1fr .85fr; gap: 14px; }
.flow-rail a { min-height: 250px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease; }
.flow-rail a:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); border-color: rgba(217,107,154,.28); }
.flow-rail b { color: var(--pink); font-size: 13px; }
.flow-rail strong { margin-top: auto; margin-bottom: 8px; color: var(--ink); font-size: 21px; }
.flow-rail span { color: var(--muted); font-size: 14px; }

.compact-topic { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: 52px; padding-bottom: 52px; }
.compact-topic > div { max-width: 760px; }
.compact-topic h2 { margin-bottom: 12px; }
.compact-topic p:last-child { margin-bottom: 0; color: var(--muted); }

.route-list, .text-links { list-style: none; padding: 0; margin: 0; }
.route-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.route-list li, .text-links li { border-top: 1px solid var(--line); }
.route-list li:last-child, .text-links li:last-child { border-bottom: 1px solid var(--line); }
.route-list a, .text-links a { display: block; padding: 18px 0 5px; color: var(--ink); font-weight: 760; }
.route-list span, .text-links span { display: block; padding-bottom: 17px; color: var(--muted); font-size: 13px; }
.route-list li { padding-inline: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.62); }
.route-list li:last-child { border-bottom: 1px solid var(--line); }

.page-main { min-height: 70vh; }
.breadcrumbs { padding-top: 25px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #bbb0bb; }
.breadcrumbs a:hover { color: var(--pink-deep); }
.page-hero { padding-top: clamp(42px, 7vw, 86px); padding-bottom: clamp(54px, 8vw, 100px); display: grid; grid-template-columns: minmax(0,1.05fr) minmax(330px,.75fr); gap: clamp(30px, 6vw, 74px); align-items: center; }
.page-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 22px; }
.page-hero img { width: 100%; aspect-ratio: 1.3 / 1; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-small); }
.watch-hero img { transform: rotate(1.2deg); }
.web-hero img { transform: rotate(-1deg); }
.official-hero img { border-bottom-left-radius: 70px; }
.download-hero img { border-top-right-radius: 70px; }
.vip-hero img { filter: saturate(.92); }

.longform-list { border-top: 1px solid var(--line-strong); }
.longform-list article { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.longform-list article > span { color: var(--pink); font-size: 14px; font-weight: 800; }
.longform-list h3 { margin-bottom: 9px; }
.longform-list p { max-width: 850px; margin-bottom: 0; color: var(--muted); }

.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.poster-grid article { padding-bottom: 18px; }
.poster-grid img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; border-radius: 18px; margin-bottom: 16px; }
.poster-grid span { color: var(--pink-deep); font-size: 12px; font-weight: 780; }
.poster-grid h3 { margin: 7px 0 9px; font-size: 19px; }
.poster-grid p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

.two-column-text { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.44fr); gap: clamp(30px,6vw,80px); align-items: start; }
.two-column-text > div > p { max-width: 790px; color: var(--muted); }
.note-card { padding: 25px; border-radius: var(--radius-lg); background: var(--soft); border: 1px solid rgba(184,154,203,.2); }
.note-card h3 { margin-bottom: 11px; }
.note-card p { color: var(--muted); font-size: 14px; }
.note-card a { color: var(--pink-deep); font-weight: 760; font-size: 13px; }
.note-card.warning { background: #fff4ef; border-color: rgba(232,138,98,.24); }
.note-card.warning h3 { color: #a64f31; }

.step-ladder { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step-ladder article { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.step-ladder article > span { color: var(--purple); font-weight: 850; font-size: 26px; letter-spacing: -.03em; }
.step-ladder h3 { margin-bottom: 8px; }
.step-ladder p { max-width: 820px; margin-bottom: 0; color: var(--muted); }
.device-layout { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
.device-layout > div > p { color: var(--muted); }
.device-layout img { border-radius: var(--radius-xl); width: 100%; aspect-ratio: 1.4/1; object-fit: cover; }

.official-notes { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.official-notes article { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.65); }
.official-notes article:first-child { grid-column: span 2; background: linear-gradient(120deg, rgba(217,107,154,.08), rgba(184,154,203,.08)); }
.official-notes h3 { margin-bottom: 10px; }
.official-notes p { margin-bottom: 0; color: var(--muted); }

.download-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.download-list article { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 25px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); }
.download-list article > span { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(232,138,98,.12); color: #b85d3d; font-weight: 800; }
.download-list article:last-child { grid-column: span 2; }
.download-list h3 { margin-bottom: 9px; }
.download-list p { color: var(--muted); margin-bottom: 0; }

.vip-stack { max-width: 850px; margin: 0 auto; }
.vip-stack article { padding: 34px 0; border-bottom: 1px solid var(--line); }
.vip-stack article:first-child { border-top: 1px solid var(--line); }
.vip-stack h2 { font-size: 28px; margin-bottom: 12px; }
.vip-stack p { color: var(--muted); margin-bottom: 0; }

.faq-list { max-width: 900px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 21px 42px 21px 0; position: relative; color: var(--ink); font-weight: 760; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--pink-deep); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -2px 48px 21px 0; color: var(--muted); }

.not-found { padding: 100px 0 130px; max-width: 780px; }
.not-found h1 { font-size: clamp(40px, 7vw, 72px); margin-bottom: 18px; }
.not-found > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.not-found .text-links { margin-top: 40px; }

.site-footer { margin-top: 20px; padding: 58px 0 28px; color: #e9e0e8; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-grid strong { color: white; font-size: 20px; }
.footer-grid p { max-width: 560px; margin: 9px 0 0; color: #c4b9c5; font-size: 14px; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 8px 22px; }
.footer-grid nav a { color: #d8cdd9; font-size: 13px; }
.footer-grid nav a:hover { color: white; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.11); display: flex; justify-content: space-between; gap: 20px; color: #9f93a1; font-size: 11px; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 32px, 930px); }
  .hero, .page-hero { grid-template-columns: 1fr; }
  .hero-media { max-width: 760px; }
  .page-hero img { max-width: 760px; }
  .editorial-grid { grid-template-columns: 1fr 1fr; }
  .editorial-item.featured-item { grid-row: auto; min-height: 300px; grid-column: span 2; }
  .flow-rail { grid-template-columns: 1fr 1fr; }
  .flow-rail a:first-child { grid-column: span 2; }
  .split-feature, .split-feature.reverse, .device-layout { grid-template-columns: 1fr; gap: 38px; }
  .poster-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .header-inner { min-height: 68px; }
  .brand small { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; padding: 10px; border-radius: 18px; background: rgba(255,249,252,.98); border: 1px solid var(--line); box-shadow: var(--shadow-small); }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-radius: 12px; padding: 11px 13px; }
  .two-column-text { grid-template-columns: 1fr; }
  .official-notes { grid-template-columns: 1fr; }
  .official-notes article:first-child { grid-column: auto; }
  .download-list { grid-template-columns: 1fr; }
  .download-list article:last-child { grid-column: auto; }
  .compact-topic { align-items: flex-start; flex-direction: column; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 24px); }
  body { font-size: 15px; }
  h1 { font-size: clamp(34px, 12vw, 48px); }
  h2 { font-size: 30px; }
  .hero { padding-top: 42px; }
  .hero-actions .button { width: 100%; }
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-item.featured-item { grid-column: auto; min-height: 280px; }
  .flow-rail { grid-template-columns: 1fr; }
  .flow-rail a:first-child { grid-column: auto; }
  .flow-rail a { min-height: 210px; }
  .poster-grid { grid-template-columns: 1fr; }
  .route-list { grid-template-columns: 1fr; }
  .longform-list article { grid-template-columns: 42px 1fr; gap: 13px; padding: 24px 0; }
  .step-ladder article { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-ladder article > span { font-size: 20px; }
  .page-hero { padding-top: 34px; }
  .page-hero h1 { font-size: 40px; }
  .footer-grid nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .brand strong { font-size: 16px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { padding: 7px 11px; }
  .hero-points { gap: 7px; }
  .hero-points li { font-size: 11px; }
  .editorial-item, .official-notes article, .download-list article, .note-card { padding: 20px; }
  .faq-list summary { padding-right: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .menu-toggle { display: none !important; }
  body { background: white; color: black; }
  .shell { width: 100%; }
  a { text-decoration: underline; }
  .soft-band { background: white; }
}

/* Server-rendered site search */
.search-shell { padding-top: 52px; padding-bottom: 110px; }
.search-intro { max-width: 850px; }
.search-intro h1 { margin-bottom: 20px; }
.search-form { margin-top: 40px; max-width: 820px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-small); }
.search-form > label { display: block; margin-bottom: 9px; color: var(--ink); font-size: 13px; font-weight: 780; }
.search-form > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-form input { min-width: 0; width: 100%; height: 50px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 13px; background: #fffdfd; color: var(--ink); }
.search-form input::placeholder { color: #a497a4; }
.search-form button { min-height: 50px; padding: 0 20px; border: 0; border-radius: 13px; background: var(--pink); color: white; font-weight: 780; cursor: pointer; }
.search-form button:hover { background: var(--pink-deep); }
.search-empty, .search-results { margin-top: 62px; max-width: 940px; }
.search-empty h2, .search-result-head h2 { font-size: 30px; }
.search-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line-strong); }
.search-result-head h2 { margin-bottom: 0; }
.search-result-head span { color: var(--muted); font-size: 13px; }
.result-list article { border-bottom: 1px solid var(--line); }
.result-list a { display: block; padding: 25px 6px; }
.result-list h3 { margin-bottom: 8px; }
.result-list p { margin-bottom: 10px; color: var(--muted); }
.result-list a > span { color: var(--pink-deep); font-size: 12px; font-weight: 760; }
.result-list a:hover h3 { color: var(--pink-deep); }
.no-results { padding: 30px; border-radius: var(--radius-lg); background: var(--soft); }
.no-results h3 { margin-bottom: 8px; }
.no-results p { color: var(--muted); }
@media (max-width: 640px) {
  .search-form { padding: 14px; }
  .search-form > div { grid-template-columns: 1fr; }
  .search-form button { width: 100%; }
  .search-result-head { align-items: flex-start; flex-direction: column; gap: 4px; }
}
