/* Approved Moffer home: 8px rhythm, 14/16 body, 24/32 section heads,
   56px hero. Existing tokens, logo assets and animation runtime are reused. */
.workspace-home .wrap.wb { max-width:1440px; padding-top:0; }
.home-entry { min-width:0; }
.home-entry svg,.home-explainer svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; vertical-align:middle; }
.home-entry .home-entry-hero { display:block; min-height:0; overflow:hidden; padding:0; background:transparent; }
.home-entry-copy { width:min(640px,100%); max-width:640px; padding:44px 16px 24px; margin:0 auto; text-align:center; }
.home-entry-copy .slogan { font-size:var(--fs-4xl); margin:8px auto 26px; }
.home-entry .home-entry-copy h1 { font-size:clamp(38px,4.2vw,56px); line-height:1.18; letter-spacing:-.045em; font-weight:calc(600 - var(--polish-weight-adjust)); margin:0 0 18px; text-wrap:balance; }
.home-entry-copy h1 > span { color:var(--accent); }
.home-entry-lead { color:var(--ink-2); font-size:var(--fs-lg); line-height:1.8; text-wrap:pretty; }
.home-upload { width:min(420px,100%); margin:30px auto 0; }
.home-upload-main { display:grid; justify-items:center; gap:12px; }
.home-upload-main p { margin:0; color:var(--muted); font-size:var(--fs-xs); }
html .workspace-home .home-entry .btn-primary,html .workspace-home .home-explainer .btn-primary { --glass:0; border-color:transparent; background:var(--accent); color:var(--accent-ink); box-shadow:0 3px 8px color-mix(in srgb,var(--accent) 12%,transparent); font-weight:calc(550 - var(--polish-weight-adjust)); }
html .workspace-home .home-entry .btn-primary:hover,html .workspace-home .home-explainer .btn-primary:hover { background:var(--accent-2); box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 16%,transparent); }
.home-upload-main .btn { display:inline-flex; justify-content:center; align-items:center; gap:10px; width:min(280px,100%); min-height:56px; padding:14px 28px; border-radius:14px; font-size:var(--fs-lg); }
.home-upload-main .btn svg { width:20px; height:20px; }
.home-upload-alternative { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:0 4px; margin-top:14px; font-size:var(--fs-sm); color:var(--muted); }
.home-paste { display:inline-flex; min-height:44px; align-items:center; justify-content:center; gap:6px; padding:8px 4px; border-radius:8px; color:var(--ink-2); font-size:var(--fs-sm); font-weight:calc(500 - var(--polish-weight-adjust)); text-underline-offset:4px; }
.home-paste:hover { color:var(--accent); text-decoration:underline; }
.home-paste svg { width:15px; height:15px; }
.home-start-hint { margin:8px 0 0; color:var(--muted); font-size:var(--fs-sm); line-height:1.7; text-wrap:pretty; }
.home-entry-steps { display:grid; grid-template-columns:1fr 24px 1fr 24px 1fr; gap:12px; max-width:560px; margin:26px auto 0; padding:0; list-style:none; }
.home-entry-steps li:not(.home-step-arrow) { display:grid; justify-items:center; gap:7px; }
.home-entry-steps li > svg { width:38px; height:38px; padding:8px; color:var(--accent); background:var(--accent-soft); border-radius:50%; }
.home-entry-steps strong { font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-entry-steps li > span { font-size:var(--fs-xs); color:var(--muted); text-wrap:pretty; }
.home-step-arrow { padding-top:8px; color:var(--accent); }
.home-entry-links { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; padding:8px 20px 0; max-width:1200px; margin:0 auto; }
.home-entry-links a { display:flex; align-items:center; gap:12px; min-height:84px; padding:16px; border-radius:var(--r-card); background:var(--surface); color:var(--ink); transition:background 160ms ease,box-shadow 160ms ease; }
.home-entry-links a:hover { background:color-mix(in srgb,var(--accent) 4%,var(--surface)); box-shadow:0 4px 16px color-mix(in srgb,var(--ink) 3%,transparent); text-decoration:none; }
.home-entry-links a > svg:first-child { color:var(--accent); width:28px; height:28px; }
.home-entry-links a > svg:last-child { width:14px; height:14px; color:var(--muted); margin-left:auto; }
.home-entry-links a > span { display:grid; gap:6px; min-width:0; }
.home-entry-links strong { font-size:var(--fs-sm); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-entry-links small { font-size:var(--fs-xs); line-height:1.5; color:var(--muted); text-wrap:pretty; }
.home-question { max-width:640px; margin:18px auto 0; }
.home-question summary { padding:10px 16px; min-height:44px; text-align:center; cursor:pointer; font-size:var(--fs-sm); color:var(--muted); }
.home-question .workspace-entry-form { display:grid; gap:10px; border:0; padding:18px; box-shadow:none; border-radius:calc(var(--r-control) + 18px); }
.home-question label { font-size:var(--fs-sm); color:var(--ink-2); }
.home-question textarea { width:100%; min-height:100px; padding:12px; border:1px solid var(--control-line); border-radius:var(--r-control); background:var(--polish-field); color:var(--ink); font:inherit; line-height:1.7; resize:vertical; }
.home-question .workspace-entry-actions { margin:0; align-items:center; }
.home-question .workspace-entry-actions > span { font-size:var(--fs-xs); color:var(--muted); text-wrap:pretty; }
.home-question .btn svg { width:16px; height:16px; }
.home-entry > .home-privacy,.home-entry > .msg { max-width:640px; margin:10px auto; font-size:var(--fs-xs); color:var(--muted); text-align:center; }
.home-entry > .msg.err { color:var(--danger-text); }
.home-entry .home-privacy:empty { display:none; }

.home-explainer { max-width:1200px; padding:0 20px; margin:0 auto; }
.home-section { padding-block:64px; }
.home-section-head { text-align:center; max-width:760px; margin:0 auto 30px; display:grid; gap:12px; }
.home-section-head h2 { font-size:clamp(25px,3vw,32px); font-weight:calc(600 - var(--polish-weight-adjust)); line-height:1.35; letter-spacing:-.035em; text-wrap:balance; }
.home-section-head p { color:var(--ink-2); font-size:var(--fs-lg); line-height:1.8; text-wrap:pretty; }
.home-kicker { color:var(--accent); font-size:var(--fs-xs); letter-spacing:.08em; font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-preview-tabs { display:flex; padding:5px; gap:6px; background:var(--surface); border-radius:calc(var(--r-control) + 5px); margin:0 auto 16px; max-width:960px; }
.home-preview-tabs button { flex:1; min-height:48px; display:flex; justify-content:center; align-items:center; gap:10px; font:inherit; font-size:var(--fs-base); border:0; border-radius:var(--r-control); background:transparent; color:var(--ink-2); cursor:pointer; white-space:nowrap; }
.home-preview-tabs button[aria-selected='true'] { color:var(--accent); background:color-mix(in srgb,var(--accent) 5%,var(--surface)); }
.home-preview-tabs button svg { width:20px; height:20px; }
.home-preview { background:var(--surface); border-radius:var(--r-panel); padding:16px; min-width:0; }
.home-preview-bar { display:flex; align-items:center; gap:12px; padding:0 4px 14px; color:var(--muted); font-size:var(--fs-xs); }
.home-sample-badge { display:inline-flex; min-height:28px; align-items:center; padding:4px 10px; border-radius:var(--r-pill); color:var(--accent); background:var(--accent-soft); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-preview-context { display:flex; gap:14px 28px; flex-wrap:wrap; padding:14px 18px; background:color-mix(in srgb,var(--ink) 2%,var(--surface)); border-radius:var(--r-control); font-size:var(--fs-xs); color:var(--muted); margin-bottom:14px; }
.home-preview-context b { font-weight:calc(550 - var(--polish-weight-adjust)); color:var(--ink); margin-left:12px; }
.home-preview-layout { display:grid; grid-template-columns:210px minmax(0,1fr) 250px; gap:16px; align-items:stretch; }
.home-preview-layout > * { min-width:0; }
.home-preview-assistant { display:flex; flex-direction:column; gap:16px; padding:18px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.home-preview-assistant-title { display:flex; align-items:center; gap:8px; }
.home-preview-assistant-title > svg { width:25px; height:25px; padding:4px; border-radius:7px; color:var(--accent-ink); background:var(--accent); }
.home-preview-assistant-title strong { font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-file-chip { display:flex; align-items:center; gap:7px; color:var(--ink-2); font-size:var(--fs-xs); }
.home-file-chip svg { width:17px; height:17px; color:var(--accent); }
.home-preview-assistant p { font-size:var(--fs-sm); line-height:1.85; color:var(--ink-2); text-wrap:pretty; }
.home-done { color:var(--ok-text); display:flex; align-items:center; gap:5px; font-size:var(--fs-2xs); }
.home-done svg { width:15px; height:15px; }
.home-preview-assistant .home-preview-question { padding-top:8px; color:var(--ink); }
.home-preview-assistant > small { font-size:var(--fs-xs); color:var(--muted); line-height:1.7; }
.home-preview-document { display:grid; align-content:start; gap:16px; }
.home-preview-score { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.home-preview-score > div { display:grid; gap:8px; }
.home-preview-score p { font-size:var(--fs-xs); color:var(--ink-2); }
.home-preview-score strong { font-size:36px; line-height:1.1; font-weight:calc(550 - var(--polish-weight-adjust)); letter-spacing:-.025em; }
.home-preview-score strong small { font-size:var(--fs-sm); font-weight:calc(400 - var(--polish-weight-adjust)); color:var(--muted); }
.home-preview-score > div > span { color:var(--muted); font-size:var(--fs-2xs); }
.home-preview-score dl { display:flex; gap:15px; margin:0; }
.home-preview-score dl div { display:grid; gap:8px; text-align:center; }
.home-preview-score dt { font-size:var(--fs-xs); color:var(--muted); }
.home-preview-score dd { margin:0; display:grid; gap:6px; font-size:var(--fs-base); color:var(--accent); }
.home-preview-score dd small { font-size:var(--fs-2xs); color:var(--muted); }
.home-resume-sheet { padding:22px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 1%,var(--surface)); }
.home-resume-sheet h3 { font-size:var(--fs-3xl); line-height:1.4; font-weight:calc(600 - var(--polish-weight-adjust)); letter-spacing:-.035em; }
.home-resume-sheet h3 span { margin-left:10px; font-size:var(--fs-xs); font-weight:calc(400 - var(--polish-weight-adjust)); color:var(--muted); letter-spacing:normal; }
.home-resume-sheet h4 { margin:20px 0 9px; font-size:var(--fs-sm); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-resume-sheet p,.home-resume-sheet li { font-size:var(--fs-xs); color:var(--ink-2); line-height:1.8; }
.home-resume-sheet .home-resume-project { font-weight:calc(550 - var(--polish-weight-adjust)); color:var(--ink); }
.home-resume-sheet ul { padding-left:18px; margin:10px 0 0; }
.home-resume-sheet li { padding-block:4px; }
.home-resume-sheet mark { background:var(--accent-soft); color:var(--ink); padding:2px 4px; border-radius:4px; }
.home-note-number { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--accent); color:var(--accent-ink); font-size:var(--fs-xs); font-weight:calc(500 - var(--polish-weight-adjust)); vertical-align:middle; }
.home-resume-sheet .home-note-number { width:16px; height:16px; font-size:var(--fs-2xs); margin-left:4px; }
.home-preview-notes { display:grid; gap:12px; align-content:start; }
.home-preview-notes > h3 { font-size:var(--fs-base); font-weight:calc(600 - var(--polish-weight-adjust)); margin:4px 2px; }
.home-preview-notes article { padding:15px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.home-preview-notes h4 { display:inline; margin-left:6px; font-size:var(--fs-sm); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-preview-notes p { color:var(--muted); font-size:var(--fs-xs); line-height:1.75; margin-top:8px; text-wrap:pretty; }
.home-preview-notes article a { display:flex; align-items:center; gap:4px; min-height:36px; font-size:var(--fs-xs); }
.home-preview-notes article a svg { width:14px; height:14px; }
.home-wording { padding:16px; border-radius:var(--r-card); background:color-mix(in srgb,var(--accent) 3%,var(--surface)); }
.home-wording > span { font-size:var(--fs-xs); color:var(--accent); }
.home-wording p { color:var(--ink-2); }
.home-wording small { display:block; margin-top:8px; font-size:var(--fs-2xs); color:var(--muted); line-height:1.7; }
.home-wording .btn { margin-top:12px; width:100%; }
.home-wording #homePreviewNotice { color:var(--ok-text); }
.home-preview-caption { text-align:center; color:var(--muted); font-size:var(--fs-sm); line-height:1.8; margin-top:16px; text-wrap:pretty; }
.home-narrative { margin-top:16px; padding:16px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.home-narrative-head { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.home-narrative-head small,.home-narrative > p { color:var(--muted); font-size:var(--fs-xs); line-height:1.7; }
.home-narrative ol { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:0; padding:0; list-style:none; }
.home-narrative li { position:relative; display:flex; flex-direction:column; gap:10px; min-width:0; min-height:154px; padding:14px; border-radius:var(--r-control); background:var(--surface); transition:transform .35s ease,background .35s ease; }
.home-narrative li > small { margin-top:auto; color:var(--muted); font-size:var(--fs-2xs); }
.home-narrative-number { color:var(--accent); font-size:var(--fs-2xs); font-variant-numeric:tabular-nums; }
.home-narrative li strong { font-size:var(--fs-xs); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-narrative li p { margin-top:6px; color:var(--ink-2); font-size:var(--fs-2xs); line-height:1.65; overflow-wrap:anywhere; }
.home-narrative-screening { display:grid; gap:7px; }
.home-narrative-screening > span { display:flex; justify-content:space-between; gap:6px; padding:6px 8px; border-radius:var(--r-sm); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); color:var(--ink-2); font-size:var(--fs-2xs); }
.home-narrative-screening b { color:var(--muted); font-weight:calc(450 - var(--polish-weight-adjust)); white-space:nowrap; }
.home-narrative-job { display:flex; align-items:flex-start; gap:9px; }
.home-narrative-job .ws-assistant-mark { width:26px; height:26px; flex:none; }
.home-narrative-job svg { width:18px; height:18px; }
.home-narrative-edit s { color:var(--muted); }
.home-narrative-edit > span { display:block; margin-top:10px; color:var(--accent); font-size:var(--fs-2xs); }
.home-narrative > p { margin:12px 0 0; text-align:center; }
.home-narrative.is-playing li { transform:translateY(3px); }
.home-narrative.is-playing[data-phase="0"] li:nth-child(1),.home-narrative.is-playing[data-phase="1"] li:nth-child(2),.home-narrative.is-playing[data-phase="2"] li:nth-child(3),.home-narrative.is-playing[data-phase="3"] li:nth-child(4) { transform:none; background:color-mix(in srgb,var(--accent) 5%,var(--surface)); }
@media(max-width:820px){.home-narrative ol{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:420px){.home-narrative{padding:12px;}.home-narrative li{min-height:174px;padding:12px;}.home-narrative-screening>span{display:grid;}}
@media(prefers-reduced-motion:reduce){.home-narrative li{transition:none;}}
.home-preview-fit { display:grid; grid-template-columns:300px minmax(0,1fr); align-items:start; gap:36px; padding:24px; }
.home-preview-fit .home-preview-score { flex-direction:column; align-items:stretch; gap:24px; }
.home-preview-fit h3 { font-size:var(--fs-xl); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-requirements { margin:18px 0 0; list-style:none; padding:0; display:grid; gap:20px; }
.home-requirements li { display:flex; align-items:start; gap:14px; }
.home-requirements strong { font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-requirements p { margin-top:6px; font-size:var(--fs-sm); color:var(--muted); line-height:1.7; }
.home-evidence-tag { flex:none; padding:4px 8px; border-radius:var(--r-sm); background:var(--ok-soft); color:var(--ok-text); font-size:var(--fs-xs); }
.home-evidence-pending { background:var(--warn-soft); color:var(--warn-text); }
.home-score-note { color:var(--muted); font-size:var(--fs-xs); line-height:1.8; margin-top:20px; }
.home-version-preview { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:24px; }
.home-version-preview article { padding:24px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); }
.home-version-preview article:last-child { background:color-mix(in srgb,var(--accent) 4%,var(--surface)); }
.home-version-preview h3 { font-size:var(--fs-xl); font-weight:calc(550 - var(--polish-weight-adjust)); margin-top:14px; }
.home-version-preview p { margin-top:18px; line-height:1.9; color:var(--ink-2); font-size:var(--fs-base); }
.home-version-preview small { display:block; margin-top:18px; line-height:1.7; font-size:var(--fs-xs); color:var(--muted); }
.home-preview-bottom { padding:0 24px 24px; font-size:var(--fs-sm); color:var(--muted); text-wrap:pretty; }
.home-tracking-preview { padding:30px; }
.home-tracking-preview h3 { font-size:var(--fs-xl); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-tracking-preview ol { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; padding:0; margin:28px 0 0; list-style:none; }
.home-tracking-preview li { padding:24px; border-radius:var(--r-card); background:color-mix(in srgb,var(--ink) 2%,var(--surface)); display:grid; align-content:start; gap:12px; }
.home-tracking-preview li[data-current] { background:color-mix(in srgb,var(--accent) 5%,var(--surface)); }
.home-tracking-preview li > span { font-size:var(--fs-xs); color:var(--accent); font-variant-numeric:tabular-nums; }
.home-tracking-preview li strong { font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); }
.home-tracking-preview li p { font-size:var(--fs-sm); color:var(--muted); line-height:1.8; }
.home-starting-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.home-starting-grid article { display:flex; align-items:flex-start; gap:22px; padding:28px; border-radius:var(--r-card); background:color-mix(in srgb,var(--accent) 3%,var(--surface)); }
.home-starting-grid article > svg { width:48px; height:48px; padding:10px; color:var(--accent); background:var(--surface); border-radius:50%; }
.home-starting-grid h3,.home-product-grid h3 { font-size:var(--fs-lg); font-weight:calc(550 - var(--polish-weight-adjust)); line-height:1.6; }
.home-starting-grid p,.home-product-grid p { margin-top:8px; color:var(--ink-2); font-size:var(--fs-base); line-height:1.85; text-wrap:pretty; }
.home-product-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.home-product-grid > a { display:flex; align-items:flex-start; gap:16px; padding:24px; color:var(--ink); background:var(--surface); border-radius:var(--r-card); transition:background 160ms ease; }
.home-product-grid > a:hover { background:color-mix(in srgb,var(--accent) 4%,var(--surface)); text-decoration:none; }
.home-product-grid > a > svg:first-child { width:36px; height:36px; color:var(--accent); }
.home-product-grid > a > svg:last-child { width:14px; height:14px; margin:auto 0 auto auto; color:var(--muted); }
.home-product-tour { margin-top:20px; }
.home-product-tour > summary { display:flex; align-items:center; justify-content:center; gap:12px; min-height:44px; padding:12px; font-size:var(--fs-sm); color:var(--muted); cursor:pointer; }
.home-product-tour > summary::-webkit-details-marker { display:none; }
.home-product-tour > summary > span { color:var(--accent); }
.home-tour-content { background:var(--surface); border-radius:var(--r-panel); padding:0 12px; margin-top:12px; }
.home-tour-content .section { padding-block:36px; }
.home-tour-content .wrap { max-width:100%; }
.home-faq-list { display:grid; gap:10px; max-width:960px; margin:0 auto; }
.home-faq-list > details { border-radius:var(--r-control); background:var(--surface); padding:0 22px; }
.home-faq-list summary { display:flex; align-items:center; gap:16px; cursor:pointer; min-height:56px; list-style:none; color:var(--ink); font-size:var(--fs-base); font-weight:calc(550 - var(--polish-weight-adjust)); padding-block:14px; }
.home-faq-list summary::-webkit-details-marker { display:none; }
.home-faq-list summary::before { content:'＋'; display:grid; place-items:center; flex:none; width:24px; height:24px; background:var(--accent-soft); color:var(--accent); border-radius:50%; font-size:var(--fs-base); font-weight:calc(400 - var(--polish-weight-adjust)); }
.home-faq-list details[open] > summary::before { content:'−'; }
.home-faq-list details > div { padding:0 8px 18px 40px; color:var(--muted); font-size:var(--fs-sm); line-height:1.8; text-wrap:pretty; }
.home-help-more { display:flex; justify-content:center; flex-wrap:wrap; gap:10px 24px; font-size:var(--fs-sm); margin:18px 0 0; }
.home-help-more a { min-height:44px; display:flex; align-items:center; }
.home-closing { text-align:center; padding:12px 0 56px; display:grid; justify-items:center; gap:16px; }
.home-closing p { font-size:var(--fs-sm); color:var(--muted); }
.home-closing .btn { min-height:48px; padding-inline:28px; }
@media (max-width:1100px) {
  .home-entry-links { gap:10px; padding-inline:0; }
  .home-entry-links a { padding:14px 12px; gap:9px; }
  .home-entry-links a > svg:last-child { display:none; }
  .home-entry-links a > svg:first-child { width:24px; height:24px; }
  .home-preview-layout { grid-template-columns:190px minmax(0,1fr) 220px; gap:12px; }
  .home-preview-score { align-items:flex-start; flex-direction:column; gap:16px; }
  .home-preview-score dl { width:100%; justify-content:space-between; }
  .home-resume-sheet { padding:18px; }
  .home-product-grid { gap:12px; }
  .home-product-grid > a { padding:20px 16px; gap:12px; }
}
@media (max-width:820px) {
  .home-entry-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .home-entry-copy { padding-top:30px; }
  .home-entry .hero-tile { opacity:.6; }
  .home-preview-layout { grid-template-columns:minmax(0,1fr) 230px; }
  .home-preview-assistant { grid-column:1/-1; display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; }
  .home-preview-assistant-title,.home-file-chip { grid-column:auto; }
  .home-preview-assistant > p { grid-column:1/-1; }
  .home-preview-assistant .home-preview-question { padding-top:0; }
  .home-done { display:none; }
  .home-preview-assistant > small { grid-column:1/-1; }
  .home-preview-score { flex-direction:row; align-items:center; }
  .home-preview-score dl { width:auto; }
  .home-product-grid { grid-template-columns:1fr; }
  .home-product-grid > a { padding:22px; }
}
@media (max-width:640px) {
  .workspace-home .wrap.wb { padding-inline:16px; }
  .home-entry-copy { padding:24px 0 22px; }
  .home-entry-copy .slogan { font-size:var(--fs-2xl); margin-bottom:22px; }
  .home-entry .home-entry-copy h1 { font-size:36px; line-height:1.22; }
  .home-entry-lead { font-size:var(--fs-base); }
  .home-entry .hero-float { opacity:.34; }
  .home-entry .hero-copy { z-index:3; }
  .home-upload { margin-top:26px; width:100%; }
  .home-upload-main .btn { width:min(280px,100%); }
  .home-start-hint { font-size:var(--fs-xs); margin-top:6px; }
  .home-entry-steps { grid-template-columns:1fr 16px 1fr 16px 1fr; gap:3px; margin-top:24px; }
  .home-entry-steps li > span { font-size:var(--fs-2xs); }
  .home-entry-steps strong { font-size:var(--fs-sm); }
  .home-entry-links { grid-template-columns:1fr 1fr; gap:10px; }
  .home-entry-links a { min-height:76px; gap:10px; }
  .home-entry-links a:last-child { grid-column:1/-1; justify-content:center; }
  .home-entry-links a:last-child > span { display:flex; align-items:center; gap:12px; }
  .home-question { margin-top:14px; }
  .home-question .workspace-entry-actions { flex-wrap:wrap; }
  .home-question .workspace-entry-actions > span { flex:1 1 180px; }
  .home-question textarea { font-size:var(--fs-lg); background:var(--polish-field); }
  .home-explainer { padding-inline:16px; }
  .home-section { padding-block:40px; }
  .home-section-head { gap:10px; margin-bottom:24px; }
  .home-section-head h2 { font-size:var(--fs-4xl); }
  .home-section-head p { font-size:var(--fs-base); }
  .home-preview-tabs { overflow:auto; padding:4px; gap:3px; border-radius:calc(var(--r-control) + 4px); }
  .home-preview-tabs button { flex:0 0 auto; padding:10px 14px; min-height:44px; font-size:var(--fs-sm); gap:7px; }
  .home-preview-tabs button svg { width:18px; height:18px; }
  .home-preview { padding:12px; border-radius:var(--r-card); }
  .home-preview-bar { gap:8px; font-size:var(--fs-2xs); }
  .home-preview-context { padding:12px; gap:8px; }
  .home-preview-context span { display:block; flex-basis:100%; }
  .home-preview-layout { grid-template-columns:1fr; }
  .home-preview-assistant { padding:14px; }
  .home-preview-score { padding:16px; }
  .home-preview-score dl { gap:12px; }
  .home-preview-score strong { font-size:32px; }
  .home-preview-notes { grid-template-columns:1fr 1fr; gap:10px; }
  .home-preview-notes > h3,.home-wording { grid-column:1/-1; }
  .home-preview-notes article { padding:12px; }
  .home-preview-notes h4 { display:block; margin:8px 0 0; }
  .home-preview-fit,.home-version-preview { grid-template-columns:1fr; padding:12px; gap:20px; }
  .home-preview-fit .home-preview-score { flex-direction:row; }
  .home-preview-bottom { padding:0 12px 16px; }
  .home-tracking-preview { padding:14px; }
  .home-tracking-preview ol { grid-template-columns:1fr; }
  .home-tracking-preview li { padding:20px; }
  .home-starting-grid { grid-template-columns:1fr; gap:14px; }
  .home-starting-grid article { padding:22px; gap:16px; }
  .home-starting-grid p { font-size:var(--fs-sm); }
  .home-faq-list > details { padding-inline:16px; }
  .home-faq-list summary { gap:12px; font-size:var(--fs-sm); }
  .home-faq-list details > div { padding-left:36px; }
  .home-closing { padding-bottom:40px; }
}
@media (prefers-color-scheme:dark) {
  :root:not([data-theme='light']) .home-entry .home-entry-copy h1,:root:not([data-theme='light']) .home-section-head h2,:root:not([data-theme='light']) .home-resume-sheet h3 { font-weight:500; }
}
:root[data-theme='dark'] .home-entry .home-entry-copy h1,:root[data-theme='dark'] .home-section-head h2,:root[data-theme='dark'] .home-resume-sheet h3 { font-weight:500; }
@media (prefers-reduced-motion:reduce) { .home-entry-links a,.home-product-grid > a { transition:none; } }
@media (forced-colors:active) { .home-upload,.home-preview,.home-faq-list > details,.home-entry-links a { border:1px solid CanvasText; } }

.home-entry-steps strong > a { color:inherit; }
.home-entry-steps strong > a:hover { color:var(--accent); }

.home-entry-steps .home-step-arrow > svg { width:20px; height:20px; padding:0; background:none; }
@media (max-width:640px) {
  .workspace-home .fb-launch { display:none; }
  /* Give decoration the viewport edges while preserving the content's 16px inset. */
  .home-entry .home-entry-hero { width:calc(100% + 32px); margin-inline:-16px; }
  .home-entry .home-entry-copy { padding-inline:16px; }
  .home-entry .hero-float { opacity:.18; }
  .home-entry .hero-tile[data-m] { --s2:28px; }
  .home-entry .hero-tile:is([data-logo="tencent"],[data-logo="meituan"],[data-logo="bytedance"]) { left:16px; }
  .home-entry .hero-tile:is([data-logo="huawei"],[data-logo="jd"],[data-logo="xiaomi"]) { left:calc(100% - 16px); }
  .home-entry .hero-tile:is([data-logo="tencent"],[data-logo="huawei"]) { top:20px; }
  .home-entry .hero-tile:is([data-logo="meituan"],[data-logo="jd"]) { top:80px; }
  .home-entry .hero-tile:is([data-logo="bytedance"],[data-logo="xiaomi"]) { top:22%; }
}

.home-question summary { color:var(--ink-2); }
[data-home-unlock]:empty { display:none; }
.home-entry-copy:has(.wb-unlock:not([hidden])) .home-upload { margin-bottom:12px; }
