/* Homepage only (index.html). Light editorial design: slate ink, emerald brand,
   hairline borders, a faint cell grid behind the hero. Plain CSS, no framework. */
:root {
  --ink: #0f172a; --ink-2: #475569; --ink-3: #64748b;
  --line: #e2e8f0; --subtle: #f8fafc; --muted: #f1f5f9; --white: #fff;
  --brand: #047857; --brand-hover: #065f46; --brand-bright: #059669;
  --brand-50: #ecfdf5; --brand-100: #d1fae5; --brand-200: #a7f3d0;
  --teal: #0f766e; --indigo: #4f46e5; --amber-50: #fffbeb; --amber-200: #fde68a; --amber-700: #b45309; --amber-900: #78350f;
  --excel: #107c41; --ai: #0f766e; --py: #6d4ae0;
  --head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}
body.hm { background: var(--white); color: var(--ink); font-family: "Inter", system-ui, -apple-system, sans-serif; line-height: 1.55; }
.hm a { color: inherit; }
.hm-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.hm h1, .hm h2, .hm h3 { font-family: var(--head); color: var(--ink); letter-spacing: -0.02em; }
.hm :focus-visible { outline: 3px solid var(--brand-200); outline-offset: 2px; border-radius: 6px; }
.hm code { font-family: var(--mono); }

/* buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font: 600 0.95rem/1.2 "Inter", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.hm-btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(4, 120, 87, 0.25); }
/* links styled as buttons: beat `.hm a { color: inherit }` so the text stays white */
.hm .hm-btn-primary, .hm .hm-btn-dark, .hm .hm-btn-teal, .hm .hm-btn-violet { color: #fff; }
.hm-btn-primary:hover { background: var(--brand-hover); }
.hm-btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.hm-btn-ghost:hover { background: var(--subtle); }
.hm-btn-dark { background: var(--ink); color: #fff; }
.hm-btn-dark:hover { background: #1e293b; }
.hm-btn-lg { padding: 15px 24px; font-size: 1rem; }
.hm-btn-block { width: 100%; }

/* header */
.hm-nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hm-nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.hm-logo { display: flex; align-items: center; gap: 10px; font: 800 1.12rem var(--head); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.hm-logo-mark { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--subtle); display: inline-flex; align-items: flex-end; justify-content: center; gap: 3px; padding-bottom: 7px; }
.hm-logo-mark i { width: 4px; background: var(--brand-bright); border-radius: 1px; }
.hm-logo b { color: var(--brand); font-weight: 800; }
nav.hm-links { display: flex; gap: 26px; margin-left: 8px; padding: 0; border: 0; background: none; position: static; backdrop-filter: none; } /* undo styles.css nav{} */
.hm-links a { color: var(--ink-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.hm-links a:hover { color: var(--ink); }
.hm-nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hm-nav-right .hm-btn { padding: 10px 16px; font-size: 0.88rem; white-space: nowrap; }
#nav-auth-slot { display: flex; align-items: center; gap: 8px; }
#nav-auth-slot .btn { white-space: nowrap; }
.hm-menu { display: none; position: relative; }
.hm-menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 0.9rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.hm-menu summary::-webkit-details-marker { display: none; }
.hm-menu-panel { position: absolute; right: 0; top: 46px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); padding: 8px; display: flex; flex-direction: column; min-width: 210px; }
.hm-menu-panel a { padding: 10px 12px; text-decoration: none; border-radius: 8px; font-size: 0.92rem; }
.hm-menu-panel a:hover { background: var(--subtle); }

/* hero */
.hm-grid-bg { background-size: 24px 24px; background-image: linear-gradient(to right, rgba(226, 232, 240, 0.5) 1px, transparent 1px), linear-gradient(to bottom, rgba(226, 232, 240, 0.5) 1px, transparent 1px); }
.hm-hero { padding: 72px 0 96px; }
.hm-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hm-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--subtle); font-size: 0.78rem; font-weight: 500; color: var(--ink-2); }
.hm-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }
.hm-badge .sep { color: var(--line); }
.hm-badge b { color: var(--brand); font-weight: 600; }
.hm-hero h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1; margin: 22px 0 18px; }
.hm-lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 640px; margin: 0 0 28px; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hm-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); list-style: none; padding-left: 0; }
.hm-trust li { display: flex; align-items: center; gap: 6px; }
.hm-trust li::before { content: "✓"; color: var(--brand); font-weight: 700; }

.hm-daily { margin: 16px 0 0; font-size: 0.9rem; }
.hm-daily a { color: var(--brand); font-weight: 600; }
.hm-continue { margin-top: 14px; padding: 10px 14px; border: 1px solid var(--brand-200); background: var(--brand-50); border-radius: 10px; font-size: 0.88rem; color: var(--ink-2); }
.hm-continue a { color: var(--brand-hover); font-weight: 700; }

/* sample scorecard */
.hm-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.hm-score { padding: 24px; box-shadow: 0 24px 50px rgba(148, 163, 184, 0.25); }
.hm-score-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.hm-score-head .who { display: flex; align-items: center; gap: 12px; }
.hm-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); display: grid; place-items: center; color: var(--brand); font: 700 0.85rem var(--mono); flex: none; }
.hm-score-head h3 { font-size: 0.92rem; margin: 0; }
.hm-score-head p { font-size: 0.76rem; color: var(--ink-3); margin: 0; }
.hm-chip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; background: var(--amber-50); color: var(--amber-700); border: 1px solid var(--amber-200); white-space: nowrap; }
.hm-overall { margin: 18px 0; padding: 16px; border-radius: 14px; background: var(--subtle); border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hm-overall small { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.hm-overall strong { font: 800 2.4rem var(--head); }
.hm-overall strong span { font-size: 1.05rem; color: var(--ink-3); font-weight: 500; }
.hm-overall p { margin: 0; font-size: 0.78rem; color: var(--ink-2); text-align: right; max-width: 150px; }
.hm-bar { margin-top: 14px; }
.hm-bar-top { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 500; margin-bottom: 6px; }
.hm-bar-top b { font: 600 0.78rem var(--mono); color: var(--brand); }
.hm-track { height: 8px; border-radius: 999px; background: var(--muted); overflow: hidden; }
.hm-track span { display: block; height: 100%; border-radius: 999px; background: var(--brand-bright); }
.hm-gap { margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--amber-50); border: 1px solid var(--amber-200); }
.hm-gap .hm-bar-top { color: var(--amber-900); font-weight: 600; }
.hm-gap .hm-bar-top b { color: var(--amber-700); }
.hm-gap .hm-track { background: #fde9b6; }
.hm-gap .hm-track span { background: #d97706; }
.hm-gap-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 0.74rem; color: var(--amber-900); }
.hm-gap-foot a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.hm-gap-foot a:hover { text-decoration: underline; }
.hm-score-note { margin: 16px 0 0; text-align: center; font-size: 0.74rem; color: var(--ink-3); }

/* sections */
.hm-section { padding: 88px 0; }
.hm-alt { background: var(--subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.hm-kicker { display: inline-block; font: 600 0.72rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.hm-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 700; margin: 10px 0 12px; }
.hm-head p { color: var(--ink-2); margin: 0; }

/* quick answers */
.hm-qa { max-width: 860px; margin: 0 auto; padding: clamp(20px, 3vw, 32px); }
.hm-qa-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hm-qa-head h2 { font-size: 1.15rem; margin: 0; }
.hm-qa-head p { margin: 2px 0 0; font-size: 0.88rem; color: var(--ink-2); }
.hm-qa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.hm-qa-chips button { font: 500 0.8rem "Inter", sans-serif; color: var(--ink-2); background: var(--subtle); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; text-align: left; }
.hm-qa-chips button:hover { background: var(--muted); color: var(--ink); }
.hm-qa-chips button[aria-pressed="true"] { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-hover); }
.hm-qa-answer { background: var(--subtle); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-height: 86px; font-size: 0.92rem; }
.hm-qa-answer b { display: block; font-family: var(--head); margin-bottom: 4px; }
.hm-qa-answer p { margin: 0; color: var(--ink-2); }
.hm-qa-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); }
.hm-qa-foot a { color: var(--brand); font-weight: 600; text-decoration: none; }
.hm-qa-foot a:hover { text-decoration: underline; }

/* live sandbox */
.hm-sandbox { max-width: 900px; margin: 0 auto; overflow: hidden; box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18); }
.hm-tabs { display: flex; gap: 4px; padding: 0 14px; background: var(--subtle); border-bottom: 1px solid var(--line); overflow-x: auto; }
.hm-tabs button { flex: none; padding: 14px 14px 12px; font: 600 0.86rem "Inter", sans-serif; color: var(--ink-2); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.hm-tabs button:hover { color: var(--ink); }
.hm-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
.hm-tabs button[data-tab="ai"][aria-selected="true"] { color: var(--ai); border-bottom-color: var(--ai); }
.hm-tabs button[data-tab="py"][aria-selected="true"] { color: var(--py); border-bottom-color: var(--py); }
.hm-panel { padding: clamp(18px, 3vw, 28px); }
.hm-panel[hidden] { display: none; }
.hm-scn { font: 600 0.72rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.hm-panel h3 { font-size: 1.15rem; margin: 6px 0 6px; }
.hm-panel > p { margin: 0 0 18px; color: var(--ink-2); font-size: 0.92rem; }
.hm-sheet-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.hm-sheet { width: 100%; border-collapse: collapse; font: 0.8rem var(--mono); }
.hm-sheet th { background: var(--muted); color: var(--ink-3); font-weight: 600; font-size: 0.72rem; padding: 8px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.hm-sheet td { padding: 8px 10px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); cursor: cell; }
.hm-sheet tr:last-child td { border-bottom: 0; }
.hm-sheet td.rn { background: var(--subtle); color: var(--ink-3); text-align: center; font-weight: 600; cursor: default; width: 34px; }
.hm-sheet td.hd { font-weight: 600; color: var(--ink-2); }
.hm-sheet td.num { text-align: right; }
.hm-sheet td.target { outline: 2px solid var(--brand); outline-offset: -2px; font-weight: 700; color: var(--brand-hover); background: var(--brand-50); }
.hm-fbar { display: flex; gap: 10px; margin-top: 16px; }
.hm-fbar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hm-fx { flex: 1; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--subtle); padding-left: 12px; }
.hm-fx span { font: 700 0.78rem var(--mono); color: var(--ink-3); white-space: nowrap; }
.hm-fx input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 12px; font: 500 0.92rem var(--mono); color: var(--ink); }
.hm-fx:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.hm-fx input:focus { outline: none; }
.hm-help { font-size: 0.76rem; color: var(--ink-3); margin: 8px 0 0; }
.hm-fb { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--subtle); font-size: 0.86rem; }
.hm-fb.ok { background: var(--brand-50); border-color: var(--brand-200); }
.hm-fb.warn { background: var(--amber-50); border-color: var(--amber-200); }
.hm-fb-title { margin: 0 0 6px; font-weight: 700; font-family: var(--head); }
.hm-fb-value { margin: 0 0 8px; font: 500 0.8rem var(--mono); color: var(--ink-2); }
.hm-fb-item { display: flex; gap: 10px; margin-top: 8px; color: var(--ink-2); }
.hm-fb-item b { display: block; color: var(--ink); }
.hm-fb-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--ink-3); margin-top: 1px; }
.hm-fb-dot.ok { background: var(--brand); }
.hm-fb-dot.warn { background: #d97706; }
.hm-fb-dot.bad { background: #b91c1c; }
.hm-fb-next { margin: 12px 0 0; font-size: 0.84rem; }
.hm-fb-next a { color: var(--brand); font-weight: 600; }
.hm-prompt { width: 100%; min-height: 96px; resize: vertical; border: 1px solid var(--line); border-radius: 12px; background: var(--subtle); padding: 12px 14px; font: 0.92rem/1.5 "Inter", sans-serif; color: var(--ink); box-sizing: border-box; }
.hm-prompt:focus { outline: none; border-color: var(--ai); box-shadow: 0 0 0 3px #ccfbf1; }
.hm-row-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.hm-btn-teal { background: var(--ai); color: #fff; }
.hm-btn-teal:hover { background: #115e59; }
.hm-rubric { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.hm-rubric div { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 10px; text-align: center; font-size: 0.8rem; }
.hm-rubric small { display: block; font: 600 0.62rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.hm-rubric .yes { color: var(--brand); font-weight: 700; }
.hm-rubric .no { color: #b91c1c; font-weight: 700; }
.hm-code { background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 16px 18px; font: 0.82rem/1.7 var(--mono); overflow-x: auto; white-space: pre; margin: 0; }
.hm-code .c { color: #94a3b8; }
.hm-code .k { color: #c4b5fd; }
.hm-code .o { color: #fca5a5; }
.hm-py-out { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; font: 0.82rem var(--mono); color: var(--ink-2); }
.hm-py-out b { color: #b91c1c; }
.hm-btn-violet { background: var(--py); color: #fff; }
.hm-btn-violet:hover { background: #5b3cc4; }

/* three steps, tracks, audiences */
.hm-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-step { padding: 30px; }
.hm-step-num { display: block; font: 800 2.2rem var(--mono); color: rgba(4, 120, 87, 0.35); }
.hm-step:nth-child(2) .hm-step-num { color: rgba(15, 118, 110, 0.35); }
.hm-step:nth-child(3) .hm-step-num { color: rgba(79, 70, 229, 0.35); }
.hm-step h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.hm-step p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.hm-ticks { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-3); display: grid; gap: 8px; }
.hm-ticks li { display: flex; gap: 8px; }
.hm-ticks li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.hm-track-card { padding: 26px; display: flex; flex-direction: column; border-top: 3px solid var(--acc); border-radius: 0 0 18px 18px; }
.hm-track-card.excel { --acc: var(--excel); } .hm-track-card.ai { --acc: var(--ai); } .hm-track-card.py { --acc: var(--py); }
.hm-track-card .hm-cell { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--subtle); font: 500 0.78rem var(--mono); margin-bottom: 16px; overflow-wrap: anywhere; }
.hm-track-card .hm-cell b { color: var(--acc); font-style: italic; }
.hm-track-card h3 { font-size: 1.2rem; margin: 0 0 6px; }
.hm-track-card p { margin: 0 0 12px; color: var(--ink-2); font-size: 0.92rem; }
.hm-track-card .topics { font: 0.76rem var(--mono); color: var(--ink-3); margin-bottom: 18px; }
.hm-track-card .go { margin-top: auto; font-weight: 700; color: var(--acc); text-decoration: none; }
.hm-track-card .go:hover { text-decoration: underline; }
.hm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin: 0 auto; }
.hm-aud { padding: 32px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.hm-aud.soft { background: var(--subtle); }
.hm-tag { align-self: flex-start; padding: 4px 10px; border-radius: 6px; font: 600 0.7rem var(--mono); letter-spacing: 0.04em; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.hm-tag.green { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-hover); }
.hm-aud h3 { font-size: 1.5rem; margin: 0; }
.hm-aud > p { margin: 0; color: var(--ink-2); font-size: 0.92rem; }
.hm-aud ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 0.84rem; color: var(--ink-2); flex: 1; }
.hm-aud li { display: flex; gap: 10px; }
.hm-aud li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.hm-aud li b { color: var(--ink); }

/* pricing */
.hm-bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; margin-bottom: 20px; border: 1px solid var(--brand-200); background: var(--brand-50); border-radius: 14px; }
.hm-bundle b { display: block; font-family: var(--head); }
.hm-bundle span { font-size: 0.86rem; color: var(--ink-2); }
.hm-price { padding: 28px; display: flex; flex-direction: column; }
.hm-price.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.hm-price h3 { margin: 0; font-size: 1.1rem; }
.hm-amt { font: 800 2rem var(--head); margin: 10px 0 14px; }
.hm-amt small { font: 500 0.9rem "Inter", sans-serif; color: var(--ink-3); }
.hm-price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: 0.86rem; color: var(--ink-2); flex: 1; }
.hm-price li { display: flex; gap: 8px; }
.hm-price li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.hm-price-links { display: grid; margin: 4px 0 22px; flex: 1; }
.hm-price-links a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.9rem; }
.hm-price-links a span { font: 0.82rem var(--mono); color: var(--ink-3); }

/* final cta + footer */
.hm-final { text-align: center; }
.hm-final h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 12px; }
.hm-final p { color: var(--ink-2); max-width: 560px; margin: 0 auto 24px; }
.hm-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 0.8rem; color: var(--ink-3); }
.hm-footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hm-footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hm-footer-links a { color: var(--ink-2); text-decoration: none; }
.hm-footer-links a:hover { color: var(--ink); }
.hm-footer-bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }

/* responsive */
@media (max-width: 1080px) {
  nav.hm-links { display: none; }
  .hm-menu { display: block; }
}
@media (max-width: 960px) {
  .hm-hero-grid, .hm-two { grid-template-columns: 1fr; }
  .hm-three { grid-template-columns: 1fr; }
  .hm-hero { padding: 48px 0 64px; }
  .hm-section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .hm-nav-right .hm-nav-cta { display: none; }
  .hm-nav-inner { gap: 12px; }
  #nav-auth-slot .nav-username, #nav-auth-slot .streak-badge, #nav-auth-slot button[onclick="logout()"] { display: none; }
  .hm-ctas .hm-btn { width: 100%; }
  .hm-rubric { grid-template-columns: 1fr 1fr; }
  .hm-sheet th, .hm-sheet td { padding: 7px 6px; font-size: 0.72rem; }
  .hm-sheet td.rn { width: 22px; }
  .hm-fbar { flex-direction: column; }
  .hm-overall { flex-direction: column; align-items: flex-start; }
  .hm-overall p { text-align: left; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm * { transition: none !important; scroll-behavior: auto !important; }
}
