/* home.module */
.m-home__hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--sp-7); align-items: center; }
@media (max-width: 60rem) { .m-home__hero-grid { grid-template-columns: 1fr; } }
.m-home__accent { color: var(--accent); }
.m-home__term { background: var(--term-bg); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--term-shadow); border: var(--hairline) solid var(--term-edge); }
.m-home__term-bar { display: flex; align-items: center; gap: var(--term-gap); padding: var(--term-bar-pad); background: var(--term-bar); }
.m-home__term-bar i { width: var(--term-dot); height: var(--term-dot); border-radius: 50%; background: var(--term-dot-c); }
.m-home__term-bar span { margin-left: var(--sp-2); font-size: var(--fs-xs); color: var(--term-dim); font-family: var(--font-mono); }
.m-home__term-body { margin: 0; padding: var(--term-pad); background: transparent; border: 0; font-size: var(--fs-xs); line-height: 1.7; color: var(--term-fg); white-space: pre-wrap; }
.m-home__term-body code { background: none; color: inherit; font: inherit; }
.m-home__ln--cmd { color: var(--term-prompt); }
.m-home__ln--out { color: var(--term-muted); }
.m-home__proof { border-block: var(--hairline) solid var(--line); background: var(--surface-2); padding-block: var(--sp-6); }
.m-home__proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 48rem) { .m-home__proof-grid { grid-template-columns: 1fr; } }
.m-home__stat { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-5); border: var(--hairline) solid var(--line); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: border-color var(--dur-1) var(--ease); }
.m-home__stat:hover { border-color: var(--accent); }
.m-home__stat-num { font-size: var(--fs-h3); font-weight: 600; color: var(--ink); }
.m-home__stat-label { font-size: var(--fs-body); color: var(--ink-2); line-height: var(--lh-snug); }
.m-home__section-title { margin-bottom: var(--sp-6); max-width: 48rem; }
.m-home__under { margin-top: var(--sp-5); }
.m-home__ucs { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: var(--sp-4); }
.m-home__uc { color: inherit; text-decoration: none; }
.m-home__uc p { color: var(--ink-2); margin: 0; }
.m-home__uc:hover { border-color: var(--accent); }
.m-home__cta { text-align: center; }
.m-home__cta .lede { margin-inline: auto; }
.m-home__cta .btn-row { justify-content: center; }

/* ── the typing terminal ─────────────────────────────────────────────────── */
.m-home__demo { display: grid; gap: var(--sp-3); min-width: 0; }
.m-home__term-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-home__term-body { height: 23rem; overflow-y: auto; white-space: pre-wrap !important; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #2e3268 transparent; font-family: var(--font-mono); font-size: var(--fs-xs); line-height: 1.65; }
.m-home__term-body code { white-space: pre-wrap; }
.m-home__term-body code::after { content: "▍"; color: #ec4899; animation: m-home-blink 1s steps(1) infinite; }
@keyframes m-home-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .m-home__term-body code::after { animation: none; } }
.t-prompt { color: #22d3ee; font-weight: 600; }
.t-prompt--in { color: #f472b6; }
.t-prog { color: #c4b5fd; font-weight: 600; }
.t-arg { color: #e4e4ff; }
.t-flag { color: #67e8f9; }
.t-str { color: #fcd34d; }
.t-num { color: #fb923c; }
.t-path { color: #86efac; }
.t-url { color: #93c5fd; }
.t-op { color: #f472b6; font-weight: 600; }
.t-com { color: #7c80b3; font-style: italic; }
.t-ln--out { color: #a9abd0; }
.t-ln--ok { color: #4ade80; }
.m-home__dots { display: flex; justify-content: center; gap: var(--sp-2); }
.m-home__dot { width: 2.25rem; height: .35rem; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--line-strong); transition: background .3s; }
.m-home__dot[aria-selected="true"] { background: var(--x-grad); }

/* the session title: the topic, in violet so it reads */
.m-home__term-bar .m-home__term-title { color: #a78bfa; font-weight: 600; font-size: var(--fs-sm); letter-spacing: .01em; }

/* macOS traffic lights */
.m-home__term-bar i { width: 12px; height: 12px; }
.m-home__term-bar i:nth-child(1) { background: #ff5f57; }
.m-home__term-bar i:nth-child(2) { background: #febc2e; }
.m-home__term-bar i:nth-child(3) { background: #28c840; }

/* proof cards: no divider lines between them, so all three look the same on hover */
:root .m-home__proof .m-home__stat, :root .m-home__proof .m-home__stat:first-child { border: 0; border-inline-start: 0; border-radius: var(--radius-md); }
