:root {
  --ink: #18342c;
  --ink-soft: #566b64;
  --ink-faint: #82918c;
  --line: #e3ece7;
  --paper: #ffffff;
  --canvas: #f7fbf9;
  --mint: #65c69d;
  --mint-dark: #319570;
  --mint-soft: #e7f7ef;
  --shadow-sm: 0 10px 32px rgba(43, 84, 67, 0.07);
  --shadow-lg: 0 28px 80px rgba(39, 88, 67, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-height: 72px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--canvas); color: var(--ink); }
body.modal-open, body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page-glow { position: fixed; z-index: -1; border-radius: 999px; pointer-events: none; filter: blur(4px); }
.page-glow-one { width: 420px; height: 420px; top: -210px; left: -120px; background: rgba(177, 235, 208, .38); }
.page-glow-two { width: 380px; height: 380px; right: -180px; top: 320px; background: rgba(202, 229, 252, .33); }

.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 4vw; border-bottom: 1px solid rgba(222, 234, 228, .82); background: rgba(247, 251, 249, .86); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: var(--mint-dark); background: var(--mint-soft); border: 1px solid rgba(72, 166, 126, .16); border-radius: 13px; }
.brand-mark svg { width: 27px; height: 27px; stroke: none; }
.brand span:last-child { display: flex; flex-direction: column; }
.brand strong { font-size: 15px; letter-spacing: .02em; }
.brand small { margin-top: 1px; color: var(--ink-faint); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-link { color: var(--ink-soft); font-size: 14px; transition: color .2s; }
.header-link:hover { color: var(--mint-dark); }
.search-trigger { width: 240px; height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 10px 0 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.9); color: var(--ink-faint); cursor: pointer; box-shadow: 0 3px 12px rgba(38, 84, 65, .03); }
.search-trigger span { flex: 1; text-align: left; font-size: 13px; }
kbd { padding: 3px 7px; color: #82938c; border: 1px solid #e1ebe6; border-bottom-width: 2px; border-radius: 6px; background: #f9fbfa; font: 10px/1.4 inherit; white-space: nowrap; }
.icon-button { display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mobile-menu-button { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: white; }

.home-page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { min-height: 520px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 48px; padding: 74px 3vw 48px; }
.eyebrow, .project-label, .article-label { display: inline-flex; align-items: center; gap: 9px; color: var(--mint-dark); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow i { width: 20px; height: 2px; border-radius: 99px; background: var(--mint); }
.hero h1 { max-width: 650px; margin: 20px 0 18px; font-size: clamp(40px, 5vw, 66px); line-height: 1.12; letter-spacing: -.045em; }
.hero-copy > p { max-width: 590px; margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.9; }
.hero-search { width: min(430px, 100%); height: 56px; margin-top: 34px; padding: 0 13px 0 17px; display: flex; align-items: center; justify-content: space-between; color: var(--ink-soft); border: 1px solid rgba(71, 147, 114, .2); border-radius: 16px; background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.hero-search:hover { transform: translateY(-2px); border-color: rgba(71, 147, 114, .42); box-shadow: var(--shadow-lg); }
.hero-search span { display: flex; align-items: center; gap: 10px; }

.hero-visual { position: relative; height: 360px; }
.visual-orbit { position: absolute; border: 1px solid rgba(81, 175, 136, .18); border-radius: 50%; transform: rotate(-12deg); }
.orbit-one { width: 350px; height: 230px; top: 56px; left: 30px; }
.orbit-two { width: 280px; height: 330px; top: 10px; left: 68px; transform: rotate(32deg); }
.visual-card { position: absolute; background: rgba(255,255,255,.94); border: 1px solid rgba(88, 163, 131, .16); box-shadow: var(--shadow-lg); }
.visual-card-main { left: 91px; top: 60px; width: 240px; height: 265px; padding: 34px; border-radius: 32px; transform: rotate(4deg); animation: float 5s ease-in-out infinite; }
.visual-logo { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 31px; color: #fff; font-size: 23px; border-radius: 18px; background: linear-gradient(145deg, #74d3aa, #42aa7e); box-shadow: 0 12px 24px rgba(65, 166, 124, .24); }
.visual-card-main i { display: block; width: 100%; height: 9px; margin: 13px 0; border-radius: 99px; background: #eaf1ed; }
.visual-card-main i:nth-of-type(2) { width: 72%; }
.visual-card-main i:nth-of-type(3) { width: 86%; }
.visual-card-main b { display: block; width: 90px; height: 28px; margin-top: 24px; border-radius: 99px; background: var(--mint-soft); }
.visual-card-small { right: 6px; top: 79px; display: grid; place-items: center; width: 80px; height: 80px; color: var(--mint-dark); font-size: 28px; border-radius: 24px; transform: rotate(-7deg); animation: float 5s ease-in-out 1s infinite; }
.visual-dot { position: absolute; display: block; border-radius: 50%; }
.dot-one { width: 14px; height: 14px; left: 54px; top: 36px; background: #f7c768; }
.dot-two { width: 11px; height: 11px; right: 66px; bottom: 25px; background: #99ccef; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-9px) rotate(2deg); } }

.projects-section { padding: 45px 0 64px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading span { color: var(--mint-dark); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.section-heading h2 { margin: 7px 0 0; font-size: 28px; letter-spacing: -.025em; }
.section-heading > p { margin: 0 0 3px; color: var(--ink-faint); font-size: 13px; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-grid-four { grid-template-columns: repeat(2, 1fr); }
.project-card { position: relative; min-height: 410px; overflow: hidden; padding: 23px 25px 27px; display: flex; flex-direction: column; border: 1px solid rgba(78, 133, 110, .1); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .28s ease, box-shadow .28s ease; animation: cardIn .55s both; animation-delay: var(--delay); }
.project-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.project-card-top { display: flex; align-items: center; justify-content: space-between; }
.project-index { color: rgba(32, 69, 57, .42); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.project-arrow { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; color: var(--theme-dark); background: var(--theme-soft); transition: transform .25s; }
.project-card:hover .project-arrow { transform: translateX(3px); }
.project-art-wrap { min-height: 206px; display: grid; place-items: center; }
.project-art { width: 150px; height: 128px; fill: var(--theme); stroke: none; filter: drop-shadow(0 18px 22px color-mix(in srgb, var(--theme) 22%, transparent)); }
.project-art .line { fill: none; stroke: var(--theme-dark); stroke-width: 3; stroke-linecap: round; }
.project-art .dot { fill: #f5c667; }
.project-card-copy h3 { margin: 0 0 9px; font-size: 21px; }
.project-card-copy p { margin: 0 0 19px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.project-card-copy > span { display: inline-flex; padding: 6px 10px; color: var(--theme-dark); border-radius: 99px; background: var(--theme-soft); font-size: 11px; font-weight: 700; }
.theme-mint { --theme: #72cda6; --theme-dark: #2e916b; --theme-soft: #e7f7ef; }
.theme-sky { --theme: #88c5e9; --theme-dark: #367fa9; --theme-soft: #e9f5fc; }
.theme-violet { --theme: #a9a4e8; --theme-dark: #6761ac; --theme-soft: #f0effc; }
.theme-sunset { --theme: #f2ae73; --theme-dark: #bd6c32; --theme-soft: #fff2e7; }
.home-tip { margin: 10px 0 85px; padding: 24px 28px; display: flex; align-items: center; gap: 16px; border: 1px dashed #cfe1d8; border-radius: 20px; background: rgba(255,255,255,.62); }
.home-tip > span { display: grid; place-items: center; width: 45px; height: 45px; color: var(--mint-dark); border-radius: 14px; background: var(--mint-soft); }
.home-tip strong { font-size: 14px; }
.home-tip p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }

.content-shell { width: min(1060px, calc(100% - 48px)); margin: 0 auto; padding: 42px 0 90px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: var(--ink-soft); font-size: 13px; }
.back-link:hover { color: var(--theme-dark); }
.project-hero { min-height: 315px; display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 20px; padding: 48px 60px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--theme) 18%, white); border-radius: 32px; background: linear-gradient(125deg, #fff 15%, var(--theme-soft)); box-shadow: var(--shadow-sm); }
.project-hero h1 { margin: 13px 0 12px; font-size: clamp(38px, 5vw, 54px); letter-spacing: -.045em; }
.project-hero-copy > p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.project-label { color: var(--theme-dark); }
.project-meta { display: flex; gap: 20px; margin-top: 28px; color: var(--ink-faint); font-size: 12px; }
.project-meta span { display: flex; align-items: center; gap: 6px; }
.project-hero-art { display: grid; place-items: center; }
.project-hero-art .project-art { width: 230px; height: 185px; }
.project-notice { display: flex; align-items: center; gap: 12px; margin: 18px 0 56px; padding: 17px 21px; color: var(--theme-dark); border: 1px solid color-mix(in srgb, var(--theme) 22%, white); border-radius: 16px; background: color-mix(in srgb, var(--theme-soft) 72%, white); }
.project-notice span { font-size: 18px; }
.project-notice p { margin: 0; font-size: 13px; }
.project-quick-links { margin: 52px 0 0; }
.project-quick-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.project-quick-heading span { color: var(--theme-dark); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.project-quick-heading h2 { margin: 6px 0 0; font-size: 25px; letter-spacing: -.025em; }
.project-quick-heading > p { margin: 0 0 3px; color: var(--ink-faint); font-size: 12px; }
.project-quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.project-quick-card { min-height: 106px; display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 15px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 5px 20px rgba(43,84,67,.04); transition: transform .22s, border-color .22s, box-shadow .22s; }
.project-quick-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--theme) 38%, white); box-shadow: var(--shadow-sm); }
.project-quick-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--theme-dark); border-radius: 15px; background: var(--theme-soft); }
.project-quick-icon svg { width: 22px; height: 22px; }
.project-quick-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.project-quick-copy small { color: var(--theme-dark); font-size: 10px; font-weight: 700; }
.project-quick-copy strong { font-size: 15px; }
.project-quick-copy > span { overflow: hidden; color: var(--ink-faint); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.project-quick-arrow { color: var(--theme-dark); }
.section-heading.compact { margin-bottom: 20px; }
.tutorial-section-spaced { margin-top: 52px; }
.tutorial-list { display: flex; flex-direction: column; gap: 12px; }
.tutorial-card { min-height: 92px; display: grid; grid-template-columns: 38px 50px 1fr auto 24px; align-items: center; gap: 17px; padding: 15px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.92); transition: transform .22s, border-color .22s, box-shadow .22s; }
.tutorial-card:hover { transform: translateX(5px); border-color: color-mix(in srgb, var(--theme) 36%, white); box-shadow: var(--shadow-sm); }
.tutorial-number { color: #a3b0ab; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.tutorial-icon { display: grid; place-items: center; width: 46px; height: 46px; color: var(--theme-dark); border-radius: 14px; background: var(--theme-soft); }
.tutorial-icon svg { width: 22px; height: 22px; }
.tutorial-copy { display: flex; flex-direction: column; gap: 5px; }
.tutorial-copy strong { font-size: 15px; }
.tutorial-copy small, .tutorial-duration { color: var(--ink-faint); font-size: 12px; }
.tutorial-duration { display: flex; align-items: center; gap: 5px; }
.tutorial-duration svg { width: 14px; }
.tutorial-arrow { color: var(--theme-dark); }

.docs-page { min-height: calc(100vh - var(--header-height)); display: grid; grid-template-columns: 265px minmax(0, 780px) 180px; justify-content: center; align-items: start; gap: 54px; padding: 42px 32px 110px; }
.docs-sidebar { position: sticky; top: calc(var(--header-height) + 28px); max-height: calc(100vh - var(--header-height) - 56px); overflow-y: auto; padding-right: 8px; }
.sidebar-head { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; padding: 4px 7px 21px; border-bottom: 1px solid var(--line); }
.sidebar-project-mark { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: var(--theme-soft); }
.sidebar-project-mark .project-art { width: 49px; height: 43px; }
.sidebar-head div { display: flex; flex-direction: column; gap: 2px; }
.sidebar-head small { color: var(--ink-faint); font-size: 10px; }
.sidebar-head strong { font-size: 14px; }
.sidebar-close { display: none; }
.sidebar-overview { margin: 14px 0 22px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; color: var(--ink-soft); border-radius: 10px; font-size: 13px; }
.sidebar-overview:hover { color: var(--theme-dark); background: var(--theme-soft); }
.sidebar-overview svg { width: 16px; }
.sidebar-title { display: block; padding: 0 12px 9px; color: #98a6a1; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.sidebar-group { display: block; margin-top: 13px; padding: 8px 12px 5px; color: var(--theme-dark); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.sidebar-title + .sidebar-group { margin-top: 0; }
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav a { position: relative; padding: 10px 12px; display: flex; gap: 10px; color: var(--ink-soft); border-radius: 10px; font-size: 13px; line-height: 1.45; }
.sidebar-nav a > span { color: #aab5b1; font-size: 9px; line-height: 20px; }
.sidebar-nav a:hover { color: var(--ink); background: rgba(255,255,255,.7); }
.sidebar-nav a.active { color: var(--theme-dark); font-weight: 700; background: var(--theme-soft); }
.sidebar-nav a.active::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 99px; background: var(--theme); }
.sidebar-all-projects { margin-top: 22px; padding: 17px 12px; display: flex; align-items: center; gap: 7px; color: var(--ink-faint); border-top: 1px solid var(--line); font-size: 12px; }
.sidebar-all-projects svg { width: 14px; }
.doc-main { min-width: 0; }
.doc-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 36px; color: var(--ink-faint); font-size: 12px; }
.doc-breadcrumb a:hover { color: var(--theme-dark); }
.doc-breadcrumb b { color: var(--ink-soft); font-weight: 500; }
.article-header { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.article-label { color: var(--theme-dark); }
.article-header h1 { margin: 15px 0 13px; font-size: clamp(36px, 4.4vw, 50px); line-height: 1.18; letter-spacing: -.04em; }
.article-header > p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 19px; margin-top: 24px; color: var(--ink-faint); font-size: 11px; }
.article-meta span, .article-meta button { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 14px; height: 14px; }
.article-meta button { padding: 0; color: var(--theme-dark); border: 0; background: none; cursor: pointer; }
.article-body { padding: 37px 0 28px; color: #365149; font-size: 15px; line-height: 1.92; }
.article-body .lead { margin: 0 0 36px; color: #405e54; font-size: 17px; line-height: 1.9; }
.article-body h2 { scroll-margin-top: 100px; margin: 48px 0 16px; color: var(--ink); font-size: 25px; line-height: 1.4; letter-spacing: -.02em; }
.article-body h3 { scroll-margin-top: 100px; margin: 32px 0 12px; color: var(--ink); font-size: 19px; }
.article-body p { margin: 0 0 19px; }
.article-body ul, .article-body ol { margin: 13px 0 24px; padding-left: 25px; }
.article-body li { margin: 8px 0; padding-left: 4px; }
.check-list { padding-left: 0 !important; list-style: none; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 4px; display: grid; place-items: center; width: 20px; height: 20px; color: var(--theme-dark); border-radius: 50%; background: var(--theme-soft); font-size: 11px; font-weight: 800; }
.callout { margin: 27px 0; padding: 20px 22px; display: flex; align-items: flex-start; gap: 14px; border: 1px solid; border-radius: 16px; }
.callout-tip { border-color: color-mix(in srgb, var(--theme) 28%, white); background: color-mix(in srgb, var(--theme-soft) 74%, white); }
.callout-warning { border-color: #f0d6a5; background: #fff9ed; }
.callout-icon { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; color: var(--theme-dark); border-radius: 8px; background: white; font-size: 12px; font-weight: 900; box-shadow: 0 3px 9px rgba(28,55,46,.07); }
.callout-warning .callout-icon { color: #a87520; }
.callout strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; }
.callout p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.step-card { margin: 12px 0; padding: 18px 20px; display: flex; align-items: flex-start; gap: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.step-card > span { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; color: var(--theme-dark); border-radius: 10px; background: var(--theme-soft); font-size: 10px; font-weight: 800; }
.step-card strong { color: var(--ink); font-size: 14px; }
.step-card p { margin: 3px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 20px 0 28px; }
.choice-grid-three { grid-template-columns: repeat(3, 1fr); }
.choice-card { padding: 21px; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: white; transition: border-color .2s, transform .2s; }
.choice-card:hover { transform: translateY(-2px); border-color: var(--theme); }
.choice-card > span { grid-row: 1 / 3; font-size: 26px; }
.choice-card strong { color: var(--ink); font-size: 14px; }
.choice-card small { color: var(--ink-faint); font-size: 11px; }
.text-link { color: var(--theme-dark); font-weight: 700; border-bottom: 1px solid color-mix(in srgb, var(--theme) 55%, transparent); }
.text-link:hover { border-bottom-color: var(--theme-dark); }
.download-links { display: flex; flex-direction: column; gap: 11px; margin: 21px 0 30px; }
.download-link { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: transform .2s, border-color .2s, box-shadow .2s; }
.download-link:hover { transform: translateX(4px); border-color: var(--theme); box-shadow: var(--shadow-sm); }
.download-link > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.download-link strong { color: var(--ink); font-size: 14px; }
.download-link small { color: var(--ink-faint); font-size: 11px; }
.download-link b { color: var(--theme-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.download-badge { display: grid; place-items: center; width: 45px; height: 45px; color: white; border-radius: 13px; background: #333f3b; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.download-badge.android { background: #4aaa78; }
.download-badge.windows { background: #4c8bc9; }
.doc-image-grid { display: grid; gap: 15px; margin: 23px 0 30px; }
.doc-image-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.doc-image-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.doc-image, .doc-image-grid figure { margin: 23px 0 30px; padding: 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; text-align: center; }
.doc-image-grid figure { margin: 0; }
.doc-image a, .doc-image-grid a { display: block; overflow: hidden; border-radius: 11px; background: #f1f7f4; }
.doc-image img, .doc-image-grid img { display: block; width: 100%; max-height: 680px; object-fit: contain; transition: transform .25s; }
.doc-image a:hover img, .doc-image-grid a:hover img { transform: scale(1.012); }
.doc-image.single { width: min(430px, 100%); }
.doc-image.wide { width: min(720px, 100%); }
.doc-image figcaption, .doc-image-grid figcaption { padding: 11px 5px 0; color: var(--ink-faint); font-size: 11px; line-height: 1.6; }
.redeem-code { margin: 18px 0 25px; padding: 19px 21px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 18px; border: 1px solid color-mix(in srgb, var(--theme) 32%, white); border-radius: 16px; background: var(--theme-soft); }
.redeem-code > span { color: var(--theme-dark); font-size: 11px; font-weight: 700; }
.redeem-code strong { grid-row: 2; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 25px; letter-spacing: .08em; }
.copy-code { grid-column: 2; grid-row: 1 / 3; padding: 9px 13px; color: white; border: 0; border-radius: 10px; background: var(--theme-dark); font-size: 11px; cursor: pointer; }
.support-card { margin: 18px 0 10px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px dashed color-mix(in srgb, var(--theme) 45%, white); border-radius: 18px; background: rgba(255,255,255,.75); }
.support-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.support-copy span { color: var(--theme-dark); font-size: 12px; font-weight: 700; }
.support-copy strong { color: var(--ink); font-size: 18px; }
.support-copy small { color: var(--ink-faint); font-size: 12px; line-height: 1.7; }
.support-qr { flex: 0 0 auto; width: 190px; padding: 9px 9px 7px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow-sm); text-align: center; transition: transform .2s, border-color .2s; }
.support-qr:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--theme) 42%, white); }
.support-qr img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 9px; }
.support-qr small { display: block; padding-top: 7px; color: var(--ink-faint); font-size: 11px; }
.data-table { overflow: hidden; margin: 22px 0 28px; border: 1px solid var(--line); border-radius: 14px; }
.table-row { display: grid; grid-template-columns: .8fr 1.2fr; border-top: 1px solid var(--line); background: white; }
.table-row:first-child { border-top: 0; }
.table-row span { padding: 12px 16px; }
.table-row span + span { border-left: 1px solid var(--line); }
.table-head { color: var(--ink); background: var(--theme-soft); font-size: 12px; font-weight: 800; }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq-list summary { padding: 17px 20px; color: var(--ink); font-weight: 700; cursor: pointer; }
.faq-list details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); font-size: 13px; }
.doc-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 34px; border-top: 1px solid var(--line); }
.doc-pagination a { min-height: 86px; padding: 17px 20px; display: flex; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.7); transition: border-color .2s, transform .2s; }
.doc-pagination a:hover { transform: translateY(-2px); border-color: var(--theme); }
.doc-pagination .next { text-align: right; }
.doc-pagination small { display: flex; align-items: center; gap: 4px; color: var(--ink-faint); font-size: 10px; }
.doc-pagination .next small { justify-content: flex-end; }
.doc-pagination svg { width: 13px; }
.doc-pagination strong { font-size: 13px; }
.page-toc { position: sticky; top: calc(var(--header-height) + 33px); display: flex; flex-direction: column; padding-left: 17px; border-left: 1px solid var(--line); }
.page-toc > span { margin-bottom: 12px; color: var(--ink); font-size: 11px; font-weight: 800; }
.page-toc a { position: relative; padding: 6px 0; color: var(--ink-faint); font-size: 11px; line-height: 1.45; transition: color .2s; }
.page-toc a:hover { color: var(--theme-dark); }
.page-toc a.h3 { padding-left: 10px; }
.page-toc .back-top { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--theme-dark); }
.mobile-drawer-backdrop { display: none; }

.site-footer { min-height: 130px; padding: 35px 4vw; display: flex; align-items: center; justify-content: space-between; color: var(--ink-faint); border-top: 1px solid var(--line); background: rgba(255,255,255,.48); font-size: 11px; }
.site-footer p { color: var(--ink-soft); font-size: 12px; }

.search-modal[hidden] { display: none; }
.search-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding-top: 12vh; }
.search-backdrop { position: absolute; inset: 0; background: rgba(22, 42, 35, .34); backdrop-filter: blur(5px); }
.search-panel { position: relative; width: min(620px, calc(100% - 32px)); max-height: 68vh; overflow: hidden; border: 1px solid rgba(255,255,255,.6); border-radius: 22px; background: white; box-shadow: 0 32px 100px rgba(21, 54, 42, .26); animation: modalIn .18s both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.search-input-wrap { height: 68px; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.search-input-wrap > svg { color: var(--mint-dark); }
.search-input-wrap input { flex: 1; min-width: 0; height: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 15px; }
.search-input-wrap input::placeholder { color: #a2aea9; }
.search-close { padding: 5px 8px; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 7px; background: #f8faf9; font-size: 9px; cursor: pointer; }
.search-results { max-height: calc(68vh - 68px); overflow-y: auto; padding: 12px; }
.search-result-label { padding: 6px 8px 9px; color: var(--ink-faint); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.search-results > a { display: grid; grid-template-columns: 43px 1fr 20px; align-items: center; gap: 12px; padding: 11px; border-radius: 13px; }
.search-results > a:hover { background: var(--canvas); }
.search-result-icon { width: 43px; height: 43px; display: grid; place-items: center; color: var(--theme-dark); border-radius: 12px; background: var(--theme-soft); }
.search-results > a > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.search-results strong { font-size: 13px; }
.search-results small { overflow: hidden; color: var(--ink-faint); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.search-results > a > svg { color: #9aaba4; width: 16px; }
.search-empty { padding: 54px 20px 60px; display: flex; align-items: center; flex-direction: column; color: var(--ink-faint); text-align: center; }
.search-empty > span { margin-bottom: 8px; font-size: 32px; }
.search-empty strong { color: var(--ink-soft); }
.search-empty p { margin: 5px 0 0; font-size: 11px; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 30px; padding: 11px 17px; color: white; border-radius: 99px; background: #22483b; box-shadow: var(--shadow-lg); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(-50%, 15px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.empty-page { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.empty-page > span { color: var(--mint); font-size: 72px; font-weight: 800; letter-spacing: -.05em; }
.empty-page h1 { margin: 8px 0; }
.empty-page p { margin: 0 0 22px; color: var(--ink-soft); }
.empty-page a { padding: 12px 18px; color: white; border-radius: 12px; background: var(--mint-dark); font-size: 13px; }

@media (max-width: 1120px) {
  .docs-page { grid-template-columns: 220px minmax(0, 720px); gap: 38px; }
  .page-toc { display: none; }
}

@media (max-width: 820px) {
  :root { --header-height: 64px; }
  .site-header { padding: 0 18px; }
  .brand small, .header-link, .search-trigger { display: none; }
  .mobile-menu-button { display: grid; }
  .home-page { width: min(100% - 32px, 650px); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 60px 0 35px; }
  .hero h1 { font-size: 43px; }
  .hero-visual { height: 300px; transform: scale(.88); transform-origin: center; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 300px; }
  .project-art-wrap { min-height: 135px; }
  .project-art { width: 125px; height: 105px; }
  .section-heading > p { display: none; }
  .content-shell { width: calc(100% - 32px); padding-top: 28px; }
  .project-hero { grid-template-columns: 1fr; padding: 38px 30px; }
  .project-hero-art { display: none; }
  .project-meta { flex-wrap: wrap; }
  .project-quick-grid { grid-template-columns: 1fr; }
  .tutorial-card { grid-template-columns: 32px 46px 1fr 20px; padding: 13px 15px; }
  .tutorial-duration { display: none; }
  .docs-page { display: block; padding: 25px 20px 80px; }
  .docs-sidebar { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); max-height: none; padding: 23px 18px; background: var(--canvas); box-shadow: 25px 0 70px rgba(19,52,40,.18); transform: translateX(-105%); transition: transform .25s ease; }
  .docs-sidebar.open { transform: translateX(0); }
  .sidebar-head { grid-template-columns: 48px 1fr 32px; }
  .sidebar-close { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 20px; cursor: pointer; }
  .mobile-drawer-backdrop { position: fixed; z-index: 75; inset: 0; background: rgba(19,44,35,.28); backdrop-filter: blur(3px); }
  .mobile-drawer-backdrop.show { display: block; }
  .doc-breadcrumb { margin-bottom: 28px; }
  .article-header h1 { font-size: 38px; }
  .site-footer { padding: 30px 20px; flex-direction: column; justify-content: center; gap: 4px; text-align: center; }
}

@media (max-width: 520px) {
  .hero { padding-top: 45px; }
  .hero h1 { font-size: 36px; }
  .hero-copy > p { font-size: 15px; }
  .hero-visual { height: 260px; margin: -12px -35px 0; transform: scale(.76); }
  .projects-section { padding-top: 20px; }
  .section-heading h2 { font-size: 24px; }
  .project-card { min-height: 285px; }
  .home-tip { align-items: flex-start; padding: 20px; }
  .project-hero { min-height: 270px; padding: 30px 24px; }
  .project-hero h1 { font-size: 37px; }
  .project-meta { gap: 10px; }
  .project-quick-heading > p { display: none; }
  .project-quick-card { min-height: 96px; grid-template-columns: 44px 1fr 20px; padding: 14px 15px; }
  .tutorial-card { grid-template-columns: 42px 1fr 18px; gap: 12px; }
  .tutorial-number { display: none; }
  .tutorial-copy small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 210px; }
  .docs-page { padding-left: 17px; padding-right: 17px; }
  .article-header h1 { font-size: 33px; }
  .article-meta { gap: 10px 15px; }
  .article-body { font-size: 14px; }
  .article-body h2 { font-size: 22px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid-three { grid-template-columns: 1fr; }
  .doc-image-grid.two-up { grid-template-columns: 1fr; }
  .doc-image-grid.three-up { grid-template-columns: 1fr; }
  .download-link { grid-template-columns: 44px 1fr; }
  .download-link b { display: none; }
  .support-card { align-items: center; flex-direction: column; gap: 18px; text-align: center; }
  .support-copy { align-items: center; }
  .support-qr { width: min(230px, 100%); }
  .doc-pagination { grid-template-columns: 1fr; }
}

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