.home-page{background:linear-gradient(180deg,#f8f3eb 0%,#f6f1e9 42%,#f4efe7 100%)}
.home-page .masthead{background:rgba(255,253,250,.86);backdrop-filter:blur(8px)}
.home-main{width:min(760px,100%);max-width:760px;margin:0 auto;padding:54px 28px 72px}
.home-intro{margin-bottom:30px}
.home-intro h1{font-size:38px}
.home-section{margin-top:24px;padding:24px 26px;background:rgba(255,253,250,.9);border:1px solid var(--line);border-radius:18px}
.home-section h2{font-size:18px;margin:0 0 4px}
.home-section-note{font-size:13px;color:var(--muted);margin:0 0 14px}
.home-resume{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.home-resume-main{min-width:0}
.home-resume-label{font-size:12px;color:var(--accent-ink);font-weight:600;letter-spacing:.04em;margin:0 0 5px}
.home-resume-name{font-size:19px;font-weight:600;color:var(--ink);margin:0;overflow-wrap:anywhere}
.home-resume-note{font-size:13px;color:var(--muted);margin:5px 0 0}
.home-action{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 17px;border:1px solid var(--accent);border-radius:999px;background:var(--accent);color:#fffdfa;text-decoration:none;font-weight:600;white-space:nowrap}
.home-action:hover{background:var(--accent-ink);border-color:var(--accent-ink)}
.home-action.secondary{background:transparent;color:var(--accent-ink);border-color:var(--line)}
.home-action.secondary:hover{background:#fbf6ef;border-color:#cbbfb1}
/* Home continuity controls share one compact, touch-safe visual size.
   The ::after hit area extends the 38px visual button to ~44px without
   changing card layout, button width or the surrounding typography. */
.home-page .home-action:not(.secondary){position:relative;display:inline-flex;align-items:center;justify-content:center;height:38px;min-height:38px;padding:0 17px;border-radius:19px;font-size:14px;font-weight:500;line-height:1;white-space:nowrap;max-width:100%}
.home-page .home-action:not(.secondary)::after{content:"";position:absolute;left:0;right:0;top:-3px;bottom:-3px;pointer-events:auto}
.home-page .home-action:not(.secondary):focus-visible{outline:2px solid var(--accent-ink);outline-offset:3px}
.home-page .home-next-section .home-section-note,
.home-page .home-new-section .home-section-note,
.home-page .home-empty-section .home-section-note{margin-bottom:0}
.home-page .home-section>.home-action:not(.secondary){margin-top:22px}
.home-project-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.home-project-list li{border-bottom:1px solid var(--line-soft)}
.home-project-list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 2px;color:var(--ink);text-decoration:none}
.home-project-list a:hover{color:var(--accent-ink)}
.home-project-name{min-width:0;overflow-wrap:anywhere}
.home-project-arrow{color:var(--muted);flex:none}
.home-empty{text-align:left}
.home-empty p{max-width:520px}
.home-error{color:var(--muted)}
.home-error h2{color:var(--ink)}
.home-fineprint{font-size:12px;color:var(--muted);margin:18px 2px 0}
.home-signin{margin-top:14px}
.home-project-row{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.home-project-state{font-size:12px;color:var(--accent-ink);border:1px solid var(--line);border-radius:999px;padding:2px 8px;white-space:nowrap}
.home-help{margin:24px 2px 0;font-size:13px;color:var(--muted)}
.home-help summary{cursor:pointer;color:var(--ink);font-weight:600}
.home-help-note{max-width:620px;line-height:1.65;margin:8px 0 0}
@media (max-width:620px){
  .home-main{padding:34px 18px 52px}
  .home-intro h1{font-size:31px}
  .home-section{padding:20px 18px;border-radius:15px}
  .home-resume{align-items:flex-start;flex-direction:column}
  .home-action{width:100%}
  .home-page .home-action:not(.secondary){width:auto;max-width:100%}
  .home-resume .home-action:not(.secondary){margin-top:22px}
  .home-project-list a{padding:14px 0}
}
