:root {
  --ink:#17242d;
  --muted:#687782;
  --line:#dbe3e9;
  --page:#f3f6f9;
  --panel:#fff;
  --shell:#343c3e;
  --shell-deep:#172126;
  --blue:#287cff;
  --blue-light:#eaf3ff;
  --cyan:#55d7ff;
  --shadow:0 20px 60px rgba(22,39,49,.1);
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--page); color:var(--ink); font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
button, a { -webkit-tap-highlight-color:transparent; }
.site-header { height:68px; padding:0 max(28px,calc((100% - 1180px)/2)); display:flex; align-items:center; justify-content:space-between; background:var(--shell); color:#fff; }
.brand { display:flex; align-items:center; gap:10px; color:#fff; font-size:18px; font-weight:760; text-decoration:none; }
.brand-mark { width:32px; height:32px; display:grid; place-items:center; border:1px solid #35bfff; border-radius:5px; background:#0b2538; color:#62d8ff; font-size:16px; font-weight:500; }
.brand small { margin-left:1px; color:#9eadb4; font-size:11px; font-weight:500; }
.site-header nav { display:flex; align-items:center; gap:24px; }
.site-header nav > a { color:#c9d2d6; font-size:13px; text-decoration:none; }
.site-header nav > a:hover { color:#fff; }
.site-header .header-cta { padding:9px 13px; border:1px solid #66757b; border-radius:6px; color:#f5f7f8; }
.button { min-height:46px; padding:0 20px; display:inline-flex; align-items:center; justify-content:center; gap:20px; border-radius:7px; font-size:14px; font-weight:750; text-decoration:none; transition:transform .2s,box-shadow .2s; }
.button:hover { transform:translateY(-2px); }
.button--primary { background:var(--blue); color:#fff; box-shadow:0 10px 24px rgba(40,124,255,.25); }
.eyebrow { display:inline-flex; align-items:center; gap:9px; color:var(--blue); font-size:11px; font-weight:800; letter-spacing:1.45px; }
.eyebrow > span { width:24px; height:2px; background:currentColor; }
.eyebrow--on-dark { color:#65b2ff; }

.home-hero { overflow:hidden; position:relative; background:var(--shell); color:#fff; }
.home-hero::after { content:""; position:absolute; inset:auto -120px -240px auto; width:560px; height:560px; border:1px solid rgba(92,170,255,.16); border-radius:50%; box-shadow:0 0 0 80px rgba(72,133,194,.025),0 0 0 160px rgba(72,133,194,.02); }
.home-hero__inner { width:min(1180px,calc(100% - 56px)); min-height:520px; margin:auto; display:grid; grid-template-columns:1.03fr .97fr; align-items:center; gap:56px; position:relative; z-index:1; }
.hero-copy { padding:70px 0 78px; }
.hero-copy h1 { margin:19px 0 20px; color:#f6f8f9; font-size:52px; line-height:1.16; letter-spacing:-2.1px; }
.hero-copy h1 em { color:#55a8ff; font-style:normal; }
.hero-copy > p { max-width:570px; margin:0; color:#b8c3c8; font-size:16px; line-height:1.9; }
.hero-actions { margin-top:31px; display:flex; align-items:center; gap:25px; }
.text-link { font-size:14px; text-decoration:none; }
.text-link--light { color:#dce4e7; }
.hero-stats { margin:45px 0 0; display:flex; gap:0; }
.hero-stats > div { min-width:118px; padding:0 30px; border-left:1px solid #566164; }
.hero-stats > div:first-child { padding-left:0; border:0; }
.hero-stats dt { color:#fff; font-size:22px; font-weight:800; }
.hero-stats dd { margin:5px 0 0; color:#8fa0a7; font-size:11px; }
.editor-visual { position:relative; transform:rotate(1.2deg); }
.editor-window { overflow:hidden; border:1px solid #5f6b6f; border-radius:10px; background:#242c2f; box-shadow:0 30px 60px rgba(0,0,0,.32); }
.editor-window__top { height:36px; padding:0 12px; display:flex; align-items:center; gap:6px; border-bottom:1px solid #4b5659; color:#9caaaf; font-size:9px; }
.editor-window__top i { width:7px; height:7px; border-radius:50%; background:#687478; }
.editor-window__top i:first-child { background:#ff6c6c; }
.editor-window__top i:nth-child(2) { background:#f5bd52; }
.editor-window__top i:nth-child(3) { background:#5fc78d; }
.editor-window__top span { margin-left:auto; }
.editor-window__body { height:304px; display:grid; grid-template-columns:42px 1fr 112px; }
.tool-rail { padding:12px 9px; display:flex; flex-direction:column; gap:10px; border-right:1px solid #4b5659; }
.tool-rail b { width:21px; height:21px; border:1px solid #6a777a; border-radius:3px; }
.tool-rail b.is-active { border-color:#459cff; background:#287cff; box-shadow:0 0 0 3px rgba(40,124,255,.17); }
.editor-canvas { margin:22px 18px; display:grid; place-items:center; background:#e7ebee; box-shadow:inset 0 0 0 1px #101719; }
.canvas-art { width:75%; aspect-ratio:1.55; display:flex; flex-direction:column; align-items:center; justify-content:center; background:linear-gradient(135deg,#2078ff,#65d5ff); color:#fff; box-shadow:0 14px 30px rgba(37,93,144,.25); }
.canvas-art span { font-size:48px; font-weight:800; letter-spacing:-3px; }
.canvas-art small { margin-top:6px; font-size:7px; letter-spacing:3px; }
.panel-rail { padding:13px 10px; border-left:1px solid #4b5659; }
.panel-rail strong { display:block; margin:0 0 8px; color:#c7d0d3; font-size:9px; }
.panel-rail div { height:24px; margin-bottom:5px; border:1px solid #536064; background:#30393c; }
.panel-rail .color-field { height:64px; background:linear-gradient(135deg,#fff,#2d83ff 55%,#0f1d25); }
.verified-card { position:absolute; right:-20px; bottom:-25px; padding:13px 16px; display:flex; align-items:center; gap:11px; border-radius:8px; background:#fff; color:var(--ink); box-shadow:0 14px 35px rgba(0,0,0,.25); transform:rotate(-1.2deg); }
.verified-card > span { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#e8f3ff; color:var(--blue); font-weight:900; }
.verified-card b,.verified-card small { display:block; }
.verified-card b { font-size:12px; }
.verified-card small { margin-top:3px; color:#83919a; font-size:9px; }

.tutorial-section { width:min(1180px,calc(100% - 56px)); margin:auto; padding:90px 0 92px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; }
.section-heading h2 { margin:10px 0 0; font-size:34px; letter-spacing:-1px; }
.section-heading > p { max-width:390px; margin:0; color:var(--muted); font-size:14px; line-height:1.75; }
.tutorial-search { width:min(395px,42vw); height:52px; padding:0 17px; display:flex; align-items:center; gap:11px; border:1px solid #86b8ff; border-radius:9px; background:#fff; box-shadow:0 8px 24px rgba(36,92,160,.06); color:#6d88aa; }
.tutorial-search:focus-within { border-color:var(--blue); box-shadow:0 0 0 4px rgba(40,124,255,.12); }
.tutorial-search > span { font-size:26px; line-height:1; transform:rotate(-20deg); }
.tutorial-search input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); font:600 13px Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif; }
.tutorial-search input::placeholder { color:#94a4b1; font-weight:500; }
.catalogue-controls { margin:30px 0 27px; display:flex; align-items:center; justify-content:space-between; gap:25px; }
.category-pills { display:flex; gap:8px; }
.category-pills button { padding:9px 14px; border:1px solid var(--line); border-radius:99px; background:#fff; color:#65747f; cursor:pointer; font-family:inherit; font-size:12px; font-weight:600; }
.category-pills button.is-active { border-color:var(--blue); background:var(--blue); color:#fff; }
.search-summary { margin:0; flex:none; color:#72818c; font-size:13px; }
.search-summary::first-letter { color:var(--blue); font-weight:800; }
.tutorial-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.tutorial-card[hidden] { display:none; }
.tutorial-card { overflow:hidden; position:relative; border:1px solid var(--line); border-radius:11px; background:#fff; box-shadow:0 8px 30px rgba(32,52,64,.045); transition:transform .22s,border-color .22s,box-shadow .22s; }
.tutorial-card:hover { transform:translateY(-5px); border-color:#9dc6ff; box-shadow:0 20px 40px rgba(32,74,110,.11); }
.tutorial-card > a { display:block; color:inherit; text-decoration:none; }
.card-top { height:51px; padding:0 17px; display:flex; align-items:center; justify-content:space-between; }
.card-number { color:#9ba9b2; font:800 11px ui-monospace,SFMono-Regular,monospace; }
.card-category { color:var(--blue); font-size:11px; font-weight:700; }
.card-visual { height:164px; margin:0 14px; position:relative; overflow:hidden; display:grid; place-items:center; background:#edf2f6; }
.card-visual span,.card-visual i { position:absolute; border:1px solid rgba(42,79,104,.14); }
.card-visual span { width:72%; height:62%; background:#fff; box-shadow:0 10px 25px rgba(31,57,77,.09); }
.card-visual i { width:43%; height:40%; right:12%; bottom:12%; border-color:#4793ff; background:rgba(40,124,255,.08); }
.card-visual b { z-index:1; color:var(--blue); font-size:32px; }
.card-visual--text { background:linear-gradient(135deg,#f2f5f7,#dfeaff); }
.card-visual--text b { font-family:Georgia,serif; font-size:40px; }
.card-visual--blur { background:linear-gradient(135deg,#dcefff,#f4f7f9); }
.card-visual--blur b { filter:blur(2px); font-size:54px; }
.card-visual--cutout { background:linear-gradient(135deg,#e8f6f5,#edf2f6); }
.card-visual--cutout b { color:#199a8c; font-size:43px; }
.card-copy { padding:20px 19px 19px; }
.card-copy h3 { min-height:50px; margin:0; font-size:18px; line-height:1.42; }
.card-copy p { min-height:42px; margin:10px 0 19px; color:var(--muted); font-size:13px; line-height:1.65; }
.card-copy > div { padding-top:15px; display:flex; justify-content:space-between; border-top:1px solid #edf1f3; color:#85939c; font-size:10px; }
.card-copy strong { color:var(--blue); font-size:11px; }
.tutorial-pagination { margin-top:38px; display:flex; align-items:center; justify-content:center; gap:8px; }
.tutorial-pagination button { min-width:38px; height:38px; padding:0 12px; border:1px solid var(--line); border-radius:8px; background:#fff; color:#667783; cursor:pointer; font:700 12px Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif; transition:border-color .2s,background .2s,color .2s; }
.tutorial-pagination button:hover:not(:disabled) { border-color:#9ac3ff; color:var(--blue); }
.tutorial-pagination button.is-active { border-color:var(--blue); background:var(--blue); color:#fff; box-shadow:0 8px 18px rgba(40,124,255,.2); }
.tutorial-pagination button:disabled { cursor:not-allowed; opacity:.42; }
.practice-banner { width:min(1180px,calc(100% - 56px)); margin:0 auto 92px; padding:43px 48px; display:flex; align-items:center; justify-content:space-between; gap:30px; border-radius:12px; background:var(--shell-deep); color:#fff; box-shadow:var(--shadow); }
.practice-banner h2 { margin:9px 0 7px; font-size:28px; }
.practice-banner p { margin:0; color:#9eabb1; font-size:13px; }
.site-footer { min-height:106px; padding:30px max(28px,calc((100% - 1180px)/2)); display:flex; align-items:center; gap:30px; border-top:1px solid var(--line); background:#fff; }
.site-footer .brand { color:var(--ink); font-size:15px; }
.site-footer .brand-mark { width:26px; height:26px; font-size:13px; }
.site-footer p { margin:0 auto 0 0; color:#82909a; font-size:12px; }
.site-footer > a:last-child { color:var(--blue); font-size:12px; font-weight:700; text-decoration:none; }

.article-shell { width:min(1020px,calc(100% - 48px)); margin:0 auto; padding:34px 0 80px; }
.article-path { margin:0 0 18px; display:flex; align-items:center; gap:9px; color:#91a0aa; font-size:11px; }
.article-path a { text-decoration:none; }
.article-path a:hover { color:var(--blue); }
.article-path b { overflow:hidden; max-width:440px; text-overflow:ellipsis; white-space:nowrap; color:#71808b; font-weight:600; }
.article-panel { overflow:hidden; position:relative; padding:66px 82px 0; border:1px solid var(--line); border-radius:11px; background:#fff; box-shadow:var(--shadow); }
.article-accent { position:absolute; inset:0 auto auto 0; width:33%; height:5px; background:var(--blue); }
.article-header { max-width:770px; }
.article-category { padding:7px 11px; display:inline-block; border-radius:99px; background:var(--blue-light); color:var(--blue); font-size:11px; font-weight:800; }
.article-header h1 { margin:19px 0 15px; font-size:38px; line-height:1.26; letter-spacing:-1.2px; }
.article-header > p { margin:0; color:#5d6d78; font-size:15px; line-height:1.9; }
.article-meta { margin-top:22px; display:flex; align-items:center; gap:11px; color:#8c99a2; font-size:11px; }
.article-meta i { width:3px; height:3px; border-radius:50%; background:#bbc5cb; }
.outcome-box { margin:37px 0 58px; padding:25px 28px; display:grid; grid-template-columns:42px 1fr; gap:16px; border:1px solid #bcd7ff; border-radius:9px; background:#f2f7ff; }
.outcome-box > div:first-child span { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; background:var(--blue); color:#fff; font-weight:900; }
.outcome-box h2 { margin:1px 0 11px; font-size:16px; }
.outcome-box ul { margin:0; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:9px 24px; list-style:none; }
.outcome-box li { position:relative; padding-left:13px; color:#52636f; font-size:12px; line-height:1.55; }
.outcome-box li::before { content:""; position:absolute; left:0; top:.65em; width:4px; height:4px; border-radius:50%; background:var(--blue); }
.steps-heading { margin-bottom:22px; }
.steps-heading h2 { margin:8px 0 0; font-size:26px; }
.step-card { padding:0 0 35px; display:grid; grid-template-columns:54px 1fr; gap:24px; position:relative; }
.step-card:not(:last-child)::before { content:""; position:absolute; left:26px; top:50px; bottom:5px; width:1px; background:#d8e2e9; }
.step-index { width:54px; height:54px; display:grid; place-items:center; border:1px solid #bed4ee; border-radius:50%; background:#f4f8fc; color:var(--blue); font:800 12px ui-monospace,SFMono-Regular,monospace; }
.step-card h3 { margin:3px 0 9px; font-size:18px; }
.step-card p { margin:0; color:#53636e; font-size:14px; line-height:1.9; }
.step-tip { margin-top:14px; padding:13px 15px; border-left:3px solid var(--blue); background:#f4f8fd; color:#677680; font-size:12px; line-height:1.65; }
.step-tip b { margin-right:10px; color:#31434f; }
.verification-note { margin:12px 0 38px; padding:18px 20px; display:flex; align-items:flex-start; gap:13px; border:1px solid #bfe4d0; border-radius:8px; background:#f3fbf6; }
.verification-note > span { width:26px; height:26px; flex:none; display:grid; place-items:center; border-radius:50%; background:#2aa96b; color:#fff; font-size:12px; font-weight:900; }
.verification-note b { color:#28794f; font-size:13px; }
.verification-note p { margin:5px 0 0; color:#5d7468; font-size:12px; line-height:1.6; }
.verification-note--pending { border-color:#ecd7aa; background:#fff9ed; }
.verification-note--pending > span { background:#dc9a26; }
.verification-note--pending b { color:#896019; }
.verification-note--pending p { color:#796b50; }
.article-finish { margin:0 -82px; padding:38px 82px; display:flex; align-items:center; justify-content:space-between; gap:28px; background:var(--shell-deep); color:#fff; }
.article-finish > div > span { color:#60a9ff; font-size:10px; font-weight:800; letter-spacing:1.3px; }
.article-finish h2 { margin:8px 0 6px; font-size:24px; }
.article-finish p { margin:0; color:#9faeb4; font-size:12px; }
.article-next { margin:0 -82px; padding:24px 82px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.article-next > span { color:#92a0a9; font-size:10px; }
.article-next a { color:#2d3b45; font-size:13px; font-weight:700; text-decoration:none; }
.article-next b { margin-left:12px; color:var(--blue); }
.empty-state { max-width:640px; margin:80px auto; padding:60px; text-align:center; border:1px solid var(--line); border-radius:12px; background:#fff; }
.empty-state > span { color:var(--blue); font-size:13px; font-weight:800; }
.empty-state h1 { font-size:30px; }
.empty-state p { margin-bottom:28px; color:var(--muted); }

@media (max-width:900px) {
  .home-hero__inner { grid-template-columns:1fr; padding-bottom:72px; }
  .hero-copy { padding-bottom:0; }
  .editor-visual { max-width:610px; }
  .tutorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .article-panel { padding:54px 50px 0; }
  .article-finish,.article-next { margin-left:-50px; margin-right:-50px; padding-left:50px; padding-right:50px; }
}

@media (max-width:640px) {
  .site-header { height:60px; padding:0 17px; }
  .brand small,.site-header nav > a:first-child { display:none; }
  .site-header nav { gap:0; }
  .home-hero__inner,.tutorial-section,.practice-banner { width:calc(100% - 32px); }
  .home-hero__inner { gap:34px; }
  .hero-copy { padding-top:53px; }
  .hero-copy h1 { font-size:38px; letter-spacing:-1.2px; }
  .hero-copy > p { font-size:14px; }
  .hero-stats > div { min-width:auto; padding:0 16px; }
  .hero-stats dt { font-size:17px; }
  .editor-window__body { height:232px; grid-template-columns:32px 1fr 74px; }
  .tool-rail { padding:10px 6px; }
  .tool-rail b { width:18px; height:18px; }
  .panel-rail { padding:10px 6px; }
  .verified-card { right:-5px; }
  .tutorial-section { padding:68px 0; }
  .section-heading { align-items:flex-start; flex-direction:column; gap:14px; }
  .section-heading h2 { font-size:28px; }
  .tutorial-search { width:100%; }
  .catalogue-controls { margin-top:24px; align-items:flex-start; flex-direction:column; gap:14px; }
  .category-pills { max-width:100%; overflow:auto; padding-bottom:3px; }
  .category-pills button { flex:none; }
  .search-summary { font-size:12px; }
  .tutorial-grid { grid-template-columns:1fr; }
  .tutorial-pagination { margin-top:28px; gap:5px; }
  .tutorial-pagination button { min-width:34px; padding:0 9px; }
  .practice-banner { margin-bottom:62px; padding:32px 26px; align-items:flex-start; flex-direction:column; }
  .site-footer { padding:28px 17px; flex-wrap:wrap; gap:14px; }
  .site-footer p { width:100%; order:3; }
  .article-shell { width:calc(100% - 24px); padding-top:21px; }
  .article-path b { max-width:150px; }
  .article-panel { padding:39px 23px 0; }
  .article-header h1 { font-size:29px; }
  .outcome-box { grid-template-columns:1fr; }
  .outcome-box ul { grid-template-columns:1fr; }
  .step-card { grid-template-columns:42px 1fr; gap:15px; }
  .step-index { width:42px; height:42px; }
  .step-card:not(:last-child)::before { left:20px; top:42px; }
  .article-finish,.article-next { margin-left:-23px; margin-right:-23px; padding-left:23px; padding-right:23px; }
  .article-finish { align-items:flex-start; flex-direction:column; }
  .article-next { align-items:flex-start; flex-direction:column; }
}
