:root {
  --paper: #fdf6e2;
  --paper-deep: #f4ecd8;
  --paper-line: #e3d5b8;
  --ink: #422817;
  --ink-soft: #76543a;
  --copper: #8b5a2b;
  --copper-deep: #5c3a21;
  --sage: #87a987;
  --sage-deep: #48694e;
  --violet: #a020f0;
  --violet-soft: #d8b6ec;
  --white: #fffdf7;
  --shadow: 0 20px 60px rgba(73, 43, 25, .1);
  --shell: min(1180px, calc(100% - 48px));
  --radius: 3px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif; line-height: 1.75; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
body.screenshot-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-150%); padding: 8px 14px; color: var(--paper); background: var(--copper-deep); border-radius: var(--radius); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(227, 213, 184, .9); background: rgba(253, 246, 226, .96); backdrop-filter: blur(16px); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(73, 43, 25, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: var(--shell); min-height: 84px; margin: 0 auto; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-width: 0; gap: 12px; }
.brand img { width: 47px; height: 47px; object-fit: cover; object-position: center; border: 1px solid var(--paper-line); border-radius: 50%; }
.brand-copy { display: grid; line-height: 1.2; gap: 4px; }
.brand-copy strong { max-width: 220px; font-size: 15px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-copy small { color: var(--copper); font-family: "Noto Sans SC", sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-family: "Noto Sans SC", sans-serif; font-size: 13px; }
.primary-nav > a:not(.nav-cta) { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; color: var(--ink-soft); white-space: nowrap; }
.primary-nav > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; content: ""; background: var(--violet); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-nav > a:not(.nav-cta):hover::after, .primary-nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--white); background: var(--copper-deep); border: 1px solid var(--copper-deep); border-radius: var(--radius); transition: background .2s ease, transform .2s ease; }
.nav-cta:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-2px); }
.nav-cta span, .button span, .text-link span { line-height: 1.2; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; cursor: pointer; background: transparent; border: 1px solid var(--paper-line); border-radius: var(--radius); }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--copper-deep); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: min(780px, calc(100vh - 84px)); overflow: hidden; isolation: isolate; color: var(--white); background: #241b22; }
.hero::before { position: absolute; z-index: 1; inset: 0; content: ""; background: rgba(25, 17, 22, .58); pointer-events: none; }
.hero-visual { position: absolute; z-index: -1; inset: 0; background: #241b22; }
.hero-visual picture, .hero-visual img { width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; object-position: center 38%; filter: saturate(.85) contrast(1.05); }
.hero-stamp { position: absolute; right: clamp(24px, 8vw, 120px); top: 17%; display: grid; place-items: center; width: 86px; height: 86px; color: var(--violet-soft); border: 1px solid rgba(216, 182, 236, .7); border-radius: 50%; font-family: "Noto Sans SC", sans-serif; font-size: 10px; letter-spacing: 2px; line-height: 1.2; text-align: center; transform: rotate(12deg); }
.hero-stamp b { color: var(--white); font-size: 17px; font-weight: 600; letter-spacing: 0; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: min(780px, calc(100vh - 84px)); padding-top: 54px; padding-bottom: 120px; }
.eyebrow, .kicker { margin: 0; color: var(--violet-soft); font-family: "Noto Sans SC", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; margin-right: 8px; color: var(--violet); }
.hero h1 { max-width: 780px; margin: 22px 0 18px; font-size: clamp(40px, 5.4vw, 68px); font-weight: 600; letter-spacing: 0; line-height: 1.08; }
h1 em, h2 em { color: var(--violet-soft); font-style: normal; }
.hero-lede { max-width: 580px; margin: 0; color: rgba(255, 253, 247, .82); font-family: "Noto Sans SC", sans-serif; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; border: 1px solid transparent; border-radius: var(--radius); font-family: "Noto Sans SC", sans-serif; font-size: 13px; font-weight: 600; line-height: 1.2; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { gap: 10px; color: var(--white); background: var(--violet); border-color: var(--violet); box-shadow: 0 9px 22px rgba(160, 32, 240, .26); }
.button-primary:hover { background: #8715cc; border-color: #8715cc; }
.button-quiet { gap: 10px; color: var(--white); border-color: rgba(255, 253, 247, .46); }
.button-quiet:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.hero-facts { display: flex; gap: 28px; margin: 58px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 253, 247, .24); }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts dt { color: rgba(255, 253, 247, .58); font-family: "Noto Sans SC", sans-serif; font-size: 11px; }
.hero-facts dd { margin: 0; color: var(--white); font-size: 14px; }
.hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 22px; left: 0; display: flex; align-items: center; gap: 14px; color: rgba(255, 253, 247, .55); font-family: "Noto Sans SC", sans-serif; font-size: 10px; letter-spacing: 2px; }
.hero-bottom i { display: block; width: 52px; height: 1px; background: rgba(255, 253, 247, .48); }
.hero-bottom span:last-child { margin-left: auto; }

.section { padding: 108px 0; scroll-margin-top: 90px; overflow: clip; }
.intro-section, .guide-section, .faq-section { background: var(--paper); }
.content-section, .update-section { background: var(--paper-deep); border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.feature-section { color: var(--paper); background: #3b2619; }
.section-heading h2 { margin: 13px 0 0; color: var(--copper-deep); font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.section-heading h2 em { color: var(--violet); }
.module-heading { display: grid; justify-items: center; max-width: 850px; margin: 0 auto 58px; text-align: center; }
.module-heading .kicker { color: var(--copper); }
.heading-rule { width: 58px; height: 3px; margin-top: 20px; background: var(--violet); border-radius: 999px; }
.section-summary { max-width: 670px; margin: 22px auto 0; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 14px; line-height: 1.85; }

.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(42px, 6vw, 78px); align-items: center; }
.intro-media { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--copper-deep); border-radius: 26px; box-shadow: 0 24px 54px rgba(73, 43, 25, .2); }
.intro-media picture, .intro-media img { width: 100%; height: 100%; }
.intro-media img { object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.intro-media:hover img { transform: scale(1.045); }
.intro-copy { color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 14px; }
.intro-copy > p { margin: 0 0 13px; }
.intro-copy .lead-paragraph { color: var(--ink); font-size: 17px; line-height: 1.9; }
.intro-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin: 25px 0 27px; padding: 22px 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); list-style: none; }
.intro-points li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.intro-points .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--violet); }
.intro-points span, .intro-points strong { display: block; }
.intro-points strong { margin-bottom: 2px; color: var(--copper-deep); font-size: 13px; }
.intro-button { gap: 9px; color: var(--white); background: var(--copper-deep); border-color: var(--copper-deep); border-radius: 6px; }
.intro-button:hover { background: var(--violet); border-color: var(--violet); }

.content-stories { display: grid; gap: 72px; }
.content-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(38px, 6vw, 76px); align-items: center; }
.story-media { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--copper-deep); border-radius: 12px; box-shadow: 0 18px 40px rgba(73, 43, 25, .12); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.story-media:hover img { transform: scale(1.035); }
.content-story:nth-child(even) .story-media { order: 2; }
.content-story:nth-child(even) .story-copy { order: 1; }
.story-copy { padding: 12px 0; }
.story-number { display: inline-block; margin-bottom: 13px; color: var(--violet); font-family: "Noto Sans SC", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.story-copy h3 { margin: 0 0 14px; color: var(--copper-deep); font-size: clamp(23px, 2.3vw, 31px); font-weight: 600; line-height: 1.3; }
.story-copy p { margin: 0; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 14px; line-height: 2; }

.guide-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 13px; }
.filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 82px; min-height: 40px; padding: 8px 15px; color: var(--ink-soft); cursor: pointer; background: var(--white); border: 1px solid var(--paper-line); border-radius: 8px; font-family: "Noto Sans SC", sans-serif; font-size: 13px; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.filter-button .icon { width: 14px; height: 14px; }
.filter-button:hover { color: var(--violet); border-color: var(--violet-soft); transform: translateY(-2px); }
.filter-button.is-active { color: var(--white); background: var(--copper-deep); border-color: var(--copper-deep); }
.guide-filter-status { margin: 0 0 24px; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 12px; text-align: center; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { position: relative; display: flex; flex-direction: column; min-height: 310px; padding: 25px; background: rgba(255, 253, 247, .9); border: 1px solid var(--paper-line); border-radius: 12px; box-shadow: 0 10px 24px rgba(73, 43, 25, .06); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.guide-card:hover { border-color: rgba(160, 32, 240, .55); box-shadow: 0 18px 38px rgba(160, 32, 240, .13); transform: translateY(-7px); }
.guide-card[hidden] { display: none; }
.guide-tag { align-self: flex-start; padding: 5px 9px; color: var(--violet); background: rgba(160, 32, 240, .08); border: 1px solid rgba(160, 32, 240, .2); border-radius: 999px; font-family: "Noto Sans SC", sans-serif; font-size: 11px; font-weight: 700; }
.guide-card h3 { margin: 17px 0 10px; color: var(--copper-deep); font-size: 20px; font-weight: 600; line-height: 1.4; }
.guide-card > p, .guide-card details p { margin: 0; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 13px; line-height: 1.8; }
.guide-card details { margin-top: 16px; }
.guide-card details summary { display: inline-flex; align-items: center; color: var(--violet); cursor: pointer; font-family: "Noto Sans SC", sans-serif; font-size: 12px; font-weight: 700; list-style: none; }
.guide-card details summary::-webkit-details-marker { display: none; }
.guide-card details summary::after { margin-left: 7px; content: "+"; font-size: 17px; font-weight: 400; }
.guide-card details[open] summary::after { content: "−"; }
.guide-card details p { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--paper-line); }
.guide-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 10px; }
.guide-empty { max-width: 650px; margin: 30px auto 0; padding: 32px; text-align: center; background: var(--white); border: 1px dashed var(--violet-soft); border-radius: 12px; }
.guide-empty[hidden] { display: none; }
.guide-empty .icon { width: 28px; height: 28px; margin-bottom: 9px; color: var(--violet); }
.guide-empty strong { display: block; color: var(--copper-deep); }
.guide-empty p { margin: 8px 0 0; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 13px; }

.feature-section .kicker { color: var(--violet-soft); }
.feature-section .section-heading h2 { color: var(--paper); }
.feature-section .heading-rule { background: var(--violet-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid article { min-height: 235px; padding: 27px; background: rgba(253, 246, 226, .075); border: 1px solid rgba(253, 246, 226, .16); border-radius: 12px; backdrop-filter: blur(8px); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.feature-grid article:hover { background: rgba(253, 246, 226, .11); border-color: rgba(190, 147, 228, .65); box-shadow: 0 16px 36px rgba(160, 32, 240, .18); transform: translateY(-7px); }
.feature-icon { width: 35px; height: 35px; margin-bottom: 26px; color: var(--violet-soft); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; transition: transform .3s ease; }
.feature-grid article:hover .feature-icon { transform: translateY(-3px) rotate(5deg) scale(1.08); }
.feature-grid h3 { margin: 0 0 9px; color: var(--paper); font-size: 18px; font-weight: 600; line-height: 1.4; }
.feature-grid p { margin: 0; color: rgba(253, 246, 226, .7); font-family: "Noto Sans SC", sans-serif; font-size: 13px; line-height: 1.85; }

.screenshot-section { color: var(--paper); background: #291d1a; border-top: 1px solid rgba(253, 246, 226, .12); }
.screenshot-section .section-heading h2 { color: var(--paper); }
.screenshot-section .heading-rule { background: var(--violet-soft); }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.screenshot-link { display: block; min-width: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #171213; box-shadow: 0 12px 28px rgba(0, 0, 0, .2); cursor: zoom-in; }
.screenshot-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.screenshot-link:hover img, .screenshot-link:focus-visible img { transform: scale(1.05); }
.screenshot-dialog { width: min(1200px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 32px); padding: 16px; overflow: auto; color: var(--paper); background: #171213; border: 1px solid rgba(216, 182, 236, .3); border-radius: 16px; box-shadow: 0 24px 90px rgba(0, 0, 0, .6); }
.screenshot-dialog::backdrop { background: rgba(10, 7, 12, .9); backdrop-filter: blur(5px); }
.screenshot-dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.screenshot-dialog-toolbar h2 { margin: 0; font-size: 17px; font-weight: 500; }
.screenshot-control { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; padding: 0; color: var(--paper); background: rgba(41, 29, 26, .92); border: 1px solid rgba(216, 182, 236, .4); border-radius: 50%; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.screenshot-control:hover { background: var(--violet); border-color: var(--violet-soft); }
.screenshot-control .icon { width: 22px; height: 22px; }
.screenshot-stage { position: relative; display: grid; place-items: center; min-width: 0; }
.screenshot-full { width: 100%; height: min(70dvh, 720px); object-fit: contain; border-radius: 12px; }
.screenshot-prev, .screenshot-next { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); }
.screenshot-prev { left: 10px; }
.screenshot-next { right: 10px; }
.screenshot-dialog-caption { margin: 14px 0 0; color: var(--violet-soft); font-family: "Noto Sans SC", sans-serif; font-size: 13px; text-align: center; }
@media (max-width: 900px) {
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 540px) {
  .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-dialog { width: calc(100% - 20px); padding: 12px; }
  .screenshot-full { height: min(60dvh, 500px); }
  .screenshot-prev { left: 3px; }
  .screenshot-next { right: 3px; }
  .screenshot-dialog-caption { font-size: 12px; }
}

.update-list { display: grid; gap: 18px; }
.update-card { width: 100%; padding: 28px 30px; background: rgba(255, 253, 247, .82); border: 1px solid var(--paper-line); border-radius: 12px; box-shadow: 0 10px 26px rgba(73, 43, 25, .06); }
.update-card-head { display: grid; grid-template-columns: 95px 1fr; gap: 24px; align-items: start; }
.version-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 10px; color: var(--white); background: var(--copper-deep); border-radius: 7px; font-family: "Noto Sans SC", sans-serif; font-size: 12px; font-weight: 700; }
.update-card h3 { margin: 0 0 6px; color: var(--copper-deep); font-size: 21px; font-weight: 600; }
.update-card-head p { margin: 0; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 13px; line-height: 1.8; }
.update-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; margin: 22px 0 0 119px; padding: 20px 0 0 18px; border-top: 1px solid var(--paper-line); color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 12px; line-height: 1.7; }
.update-card li::marker { color: var(--violet); }

.faq-list { display: grid; width: 100%; gap: 12px; }
.faq-list details { width: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--paper-line); border-radius: 12px; box-shadow: 0 8px 20px rgba(73, 43, 25, .05); }
.faq-list summary { display: grid; grid-template-columns: 38px 1fr 24px; gap: 14px; align-items: center; min-height: 72px; padding: 18px 22px; cursor: pointer; list-style: none; color: var(--copper-deep); font-size: 16px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--violet); font-family: "Noto Sans SC", sans-serif; font-size: 10px; }
.faq-list summary b { color: var(--copper); font-family: "Noto Sans SC", sans-serif; font-size: 21px; font-weight: 400; text-align: right; transition: transform .2s ease; }
.faq-list details[open] { border-color: rgba(160, 32, 240, .3); }
.faq-list details[open] summary b { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 76px 22px; color: var(--ink-soft); font-family: "Noto Sans SC", sans-serif; font-size: 13px; line-height: 1.9; }

.reveal-pending { opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-from-left.reveal-pending { transform: translateX(-38px); }
.reveal-from-right.reveal-pending { transform: translateX(38px); }
.reveal-up.reveal-pending { transform: translateY(28px); }
.reveal-pending.is-visible { opacity: 1; transform: translate(0, 0); }

.floating-cta { position: fixed; z-index: 18; right: 26px; bottom: calc(18px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 11px 15px; color: var(--white); background: var(--violet); border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; box-shadow: 0 12px 28px rgba(96, 27, 117, .3); font-family: "Noto Sans SC", sans-serif; font-size: 13px; font-weight: 700; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.floating-cta:hover { background: #8715cc; box-shadow: 0 15px 30px rgba(96, 27, 117, .38); transform: translateY(-3px); }
.floating-cta .icon { width: 17px; height: 17px; }

.site-footer { padding: 38px 0 26px; color: var(--paper); background: #3b2619; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: cover; object-position: center; border: 1px solid rgba(253, 246, 226, .35); border-radius: 50%; }
.footer-brand div { display: grid; gap: 2px; }
.footer-brand strong { font-size: 14px; font-weight: 500; }
.footer-brand span { color: rgba(253, 246, 226, .6); font-family: "Noto Sans SC", sans-serif; font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px 18px; font-family: "Noto Sans SC", sans-serif; font-size: 12px; }
.footer-links a { color: rgba(253, 246, 226, .72); }
.footer-links a:hover { color: var(--violet-soft); }
.copyright { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 18px; color: rgba(253, 246, 226, .46); border-top: 1px solid rgba(253, 246, 226, .16); font-family: "Noto Sans SC", sans-serif; font-size: 11px; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 36px, 760px); }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; z-index: 30; top: 74px; right: 18px; left: 18px; display: grid; gap: 0; padding: 10px; background: var(--paper); border: 1px solid var(--paper-line); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav > a:not(.nav-cta) { padding: 13px 12px; border-bottom: 1px solid var(--paper-line); }
  .primary-nav .nav-cta { justify-content: center; margin-top: 10px; }
  .hero, .hero-content { min-height: 690px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .update-card ul { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
  .copyright { grid-column: auto; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); }
  .brand-copy strong { max-width: 170px; font-size: 13px; }
  .hero { min-height: 720px; }
  .hero-content { min-height: 720px; padding-top: 32px; padding-bottom: 120px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-lede { font-size: 14px; }
  .hero-stamp { top: 12%; right: 18px; width: 66px; height: 66px; font-size: 8px; }
  .hero-facts { gap: 17px; margin-top: 42px; }
  .hero-facts dd { font-size: 12px; }
  .hero-bottom { font-size: 8px; letter-spacing: 1px; }
  .section { padding: 76px 0; }
  .section-heading h2 { font-size: clamp(25px, 7.5vw, 34px); }
  .module-heading { margin-bottom: 38px; }
  .intro-layout, .content-story { grid-template-columns: 1fr; gap: 25px; }
  .content-story:nth-child(even) .story-media, .content-story:nth-child(even) .story-copy { order: initial; }
  .intro-copy .lead-paragraph { font-size: 16px; }
  .intro-points { grid-template-columns: 1fr; }
  .intro-button { width: 100%; }
  .content-stories { gap: 48px; }
  .story-copy { padding: 0; }
  .story-copy h3 { font-size: 23px; }
  .story-copy p { font-size: 13px; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 285px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
  .update-card { padding: 22px 20px; }
  .update-card-head { grid-template-columns: 1fr; gap: 13px; }
  .version-badge { justify-self: start; }
  .update-card ul { margin-left: 0; padding-left: 18px; }
  .faq-list summary { grid-template-columns: 26px 1fr 18px; gap: 8px; min-height: 66px; padding: 16px 15px; font-size: 14px; }
  .faq-list details p { padding: 0 15px 18px 49px; font-size: 12px; }
  .floating-cta { right: 16px; min-height: 44px; padding: 10px 13px; font-size: 12px; }
}

@media (max-width: 390px) {
  :root { --shell: calc(100% - 24px); }
  .brand-copy { display: none; }
  .guide-filters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .filter-button { min-width: 0; padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal-pending { opacity: 1 !important; transform: none !important; }
}
/* Unified corner system: cards/modules 16px, images 12px, tags 4px, actions pill-shaped. */
:where(section, .section, .section-inner, .section-panel, .module, .panel,
  .hero-card, .intro-layout, .intro-panel, .content-item, .content-block,
  .guide-card, .feature-card, .update-card, .faq-item, .gallery,
  .gallery-grid, .screenshot-card, dialog, .modal, .lightbox,
  [class*="card"], [class*="panel"],
  [class*="module"], [class*="item"] ) {
  border-radius: 16px !important;
}

:where(img, picture, .image-frame, .content-media, .intro-media,
  .gallery-item, .screenshot-card img) {
  border-radius: 12px !important;
}

:where(button, input[type="button"], input[type="submit"], a[role="button"],
  a.button, a.btn, button.button, button.btn, .button, .btn,
  .cta, .cta-button, .detail-button, .more-button, .floating-detail,
  .hero-actions a, .section-actions a, .filter-button, .filter-btn) {
  border-radius: 999px !important;
}

:where(.tag, .badge, .label, .category-tag, .guide-tag, .meta-tag,
  [class*="tag"], [class*="badge"], [class*="label"]) {
  border-radius: 4px !important;
}
/* Hover interactions: CSS-only, 0.3s transitions. */
:where(.guide-card, .feature-card, .update-card, .faq-item, .content-item,
  .content-block, .card, [class*="card"], [class*="panel"]) {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

:where(.guide-card, .feature-card, .update-card, .faq-item, .content-item,
  .content-block, .card, [class*="card"], [class*="panel"]):hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(160, 32, 240, 0.22), 0 0 0 1px rgba(190, 147, 228, 0.25);
}

:where(button, input[type="button"], input[type="submit"], a[role="button"],
  a.button, a.btn, button.button, button.btn, .button, .btn,
  .cta, .cta-button, .detail-button, .more-button, .floating-detail,
  .hero-actions a, .section-actions a, .filter-button, .filter-btn) {
  transition: transform 0.3s ease, background-color 0.3s ease,
    color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

:where(button, input[type="button"], input[type="submit"], a[role="button"],
  a.button, a.btn, button.button, button.btn, .button, .btn,
  .cta, .cta-button, .detail-button, .more-button, .floating-detail,
  .hero-actions a, .section-actions a, .filter-button, .filter-btn):hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(160, 32, 240, 0.28);
}

:where(img, .image-frame, .content-media, .intro-media, .gallery-item,
  .screenshot-card img) {
  transition: transform 0.3s ease;
}

:where(.image-frame, .content-media, .intro-media, .gallery-item,
  .screenshot-card):hover img,
:where(img, .image-frame, .content-media, .intro-media, .gallery-item,
  .screenshot-card):hover {
  transform: scale(1.05);
}

:where(nav a, .main-nav a, .site-nav a, .nav-link) {
  position: relative;
  transition: color 0.3s ease;
}

:where(nav a, .main-nav a, .site-nav a, .nav-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

:where(nav a, .main-nav a, .site-nav a, .nav-link):hover::after,
:where(nav a, .main-nav a, .site-nav a, .nav-link):focus-visible::after,
:where(nav a, .main-nav a, .site-nav a, .nav-link).active::after,
:where(nav a, .main-nav a, .site-nav a, .nav-link)[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  :where(.guide-card, .feature-card, .update-card, .faq-item, .content-item,
    .content-block, .card, [class*="card"], [class*="panel"],
    button, input[type="button"], input[type="submit"], a,
    img, .image-frame, .content-media, .intro-media, .gallery-item,
    .screenshot-card, .screenshot-card img) {
    transition: none !important;
  }

  :where(.guide-card, .feature-card, .update-card, .faq-item, .content-item,
    .content-block, .card, [class*="card"], [class*="panel"]):hover,
  :where(button, input[type="button"], input[type="submit"], a[role="button"],
    a.button, a.btn, button.button, button.btn, .button, .btn,
    .cta, .cta-button, .detail-button, .more-button, .floating-detail,
    .hero-actions a, .section-actions a, .filter-button, .filter-btn):hover,
  :where(.image-frame, .content-media, .intro-media, .gallery-item,
    .screenshot-card):hover img,
  :where(img, .image-frame, .content-media, .intro-media, .gallery-item,
    .screenshot-card):hover {
    transform: none;
  }
}
/* Friendly links footer band. */
.friendly-links {
  padding: 52px 24px 58px;
  background: #5C3A21;
  color: #FDF6E2;
  text-align: center;
}

.friendly-links__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.friendly-links__eyebrow {
  margin: 0 0 8px;
  color: #BE93E4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
}

.friendly-links h2 {
  margin: 0 0 24px;
  color: #FDF6E2;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.friendly-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.friendly-links__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid rgba(253, 246, 226, 0.2);
  border-radius: 999px;
  background: rgba(135, 169, 135, 0.18);
  color: #FDF6E2;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    color 0.3s ease, transform 0.3s ease;
}

.friendly-links__list a:hover,
.friendly-links__list a:focus-visible {
  border-color: #BE93E4;
  background: #87A987;
  color: #5C3A21;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .friendly-links__list a {
    transition: none;
  }

  .friendly-links__list a:hover,
  .friendly-links__list a:focus-visible {
    transform: none;
  }
}

@media (max-width: 680px) {
  .friendly-links {
    padding: 42px 16px 48px;
  }

  .friendly-links__list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .friendly-links__list a {
    width: 100%;
  }
}
