/* =========================================================================
   MacSift Landing — styles.css
   Intentional choices:
   - No gradients. No blur orbs. No grid overlay. No per-element fade-ups.
   - Serif headline + sans body (Instrument Serif + Inter).
   - Warm off-white text on warm off-black background.
   - Flat accent color, never a gradient.
   - Asymmetric hero, prose-driven sections, plain lists.
   ========================================================================= */

:root {
    /* Warm off-black background; not pure #000 */
    --bg:           #0c0c0e;
    --bg-elev:      #131317;
    --bg-hi:        #1a1a1f;

    /* Warm off-white text; not pure #fff */
    --text:         #efece8;
    --text-dim:     #a09c94;
    --text-faint:   #5d5a55;

    /* Subtle border */
    --rule:         #23222a;
    --rule-soft:    rgba(239, 236, 232, 0.08);

    --accent:       #4A9EFF;
    --accent-soft:  rgba(74, 158, 255, 0.12);

    --risk-safe:    #6fe4a6;
    --risk-warn:    #ffb547;
    --risk-danger:  #ff8fb1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a       { color: inherit; text-decoration: none; }
img     { max-width: 100%; display: block; }
em      { font-style: italic; }
strong  { font-weight: 600; }

code, .mono {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.88em;
    font-variant-ligatures: none;
}

code {
    background: var(--bg-elev);
    padding: 1px 6px;
    border-radius: 4px;
    color: var(--text);
    border: 1px solid var(--rule);
}

/* ----- Serif headings --------------------------------------------------- */

.hero__title,
.how h2,
.what__intro h2,
.install__title,
.faq__title {
    font-family: 'Instrument Serif', 'New York', Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--text);
}

/* ----- Layout helpers --------------------------------------------------- */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ========================================================================
   Navigation
   ======================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 18px 0;
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: rgba(12, 12, 14, 0.7);
}

.nav__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
}

.nav__logo img { border-radius: 6px; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    color: var(--text-dim);
}

.nav__links > a { transition: color 0.15s ease; }
.nav__links > a:hover { color: var(--text); }

.nav__github {
    color: var(--text) !important;
}

/* ========================================================================
   Hero — editorial text on top, full-width app window below
   ======================================================================== */

.hero {
    padding: 160px 32px 120px;
    max-width: 1220px;
    margin: 0 auto;
}

.hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 72px;
}

.hero__text {
    max-width: 680px;
}

.hero__kicker {
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.01em;
    font-weight: 500;
    margin-bottom: 28px;
    text-transform: none;
}

.hero__title {
    font-size: clamp(2.6rem, 5.8vw, 4.8rem);
    margin-bottom: 28px;
}

.hero__lede {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 42ch;
    line-height: 1.65;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease;
    cursor: pointer;
}

.btn--primary {
    background: var(--text);
    color: var(--bg);
}

.btn--primary:hover {
    transform: translateY(-1px);
    background: #fff;
}

.btn__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn--primary:hover .btn__arrow {
    transform: translateX(3px);
}

.btn--text {
    padding: 13px 0;
    color: var(--text-dim);
    position: relative;
}

.btn--text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    height: 1px;
    background: var(--rule);
    transition: background 0.15s ease;
}

.btn--text:hover {
    color: var(--text);
}

.btn--text:hover::after {
    background: var(--text);
}

.hero__fineprint {
    font-size: 13px;
    color: var(--text-faint);
    max-width: 42ch;
    line-height: 1.5;
}

/* ----- Hero visual / fake app window ------------------------------------ */

.hero__art {
    position: relative;
    width: 100%;
}

.app-window {
    background: var(--bg-elev);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    /* Lock the window to a realistic aspect so content has room to breathe.
       The min-height on __body handled this before but constraining here
       lets the layout read as a proper app screenshot at any width. */
    margin: 0 auto;
    max-width: 1120px;
}

.app-window__chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #0d0d11;
    border-bottom: 1px solid var(--rule);
    position: relative;
}

.tl-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.tl-dot--red    { background: #ff5f56; }
.tl-dot--yellow { background: #ffbd2e; }
.tl-dot--green  { background: #27c93f; }

.app-window__title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--text-faint);
    font-weight: 500;
}

.app-window__body {
    min-height: 600px;
    display: flex;
}

.app-window__screenshot {
    width: 100%;
    display: block;
}

/* ----- Fallback mockup shown when no screenshot PNG exists --------------
   Three-column layout that mirrors the real MacSift window: sidebar with
   categories + scan button, main area with storage bar and grouped rows,
   inspector panel on the right. All SVG icons inline, no emoji.
   ------------------------------------------------------------------------ */

.mockup {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(170px, 200px) minmax(0, 1fr);
    background: #0a0b0f;
    color: var(--text);
    font-size: 12px;
    min-height: 520px;
}

/* Safety net: any SVG inside the mockup defaults to 14×14 unless a more
   specific rule sets a different size. Prevents browsers from falling back
   to the 300×150 intrinsic size when an SVG has no width/height attribute. */
.mockup svg {
    width: 14px;
    height: 14px;
    display: inline-block;
    flex-shrink: 0;
}

/* ----- Sidebar ---------------------------------------------------------- */

.mk-sidebar {
    padding: 16px 12px;
    border-right: 1px solid var(--rule);
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mk-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 12px;
    font-weight: 600;
    font-size: 13px;
}

.mk-brand__mark {
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 4px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15);
}

.mk-scan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--text);
    color: var(--bg);
    border: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    margin: 0 4px 16px;
    cursor: default;
}

.mk-scan__icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: inline-block;
    position: relative;
}

.mk-scan__icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 1.5px;
    background: currentColor;
    transform: translate(-10%, 120%) rotate(45deg);
}

.mk-section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    padding: 0 10px 8px;
}

.mk-cats {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mk-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--text-dim);
    cursor: default;
}

.mk-cat--active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.mk-cat__ico {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mk-cat__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 0;
}

.mk-cat__body span {
    font-size: 12px;
    font-weight: 500;
}

.mk-cat__body em {
    font-style: normal;
    font-size: 10px;
    color: var(--text-faint);
}

.mk-cat__size {
    font-size: 11px;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}

/* ----- Main area -------------------------------------------------------- */

.mk-main {
    padding: 18px 22px 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.mk-header {
    padding-bottom: 14px;
}

.mk-header h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
}

.mk-header p {
    font-size: 11px;
    color: var(--text-faint);
    display: flex;
    align-items: center;
    gap: 4px;
}

.mk-sep {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text-faint);
    display: inline-block;
    margin: 0 4px;
}

/* Storage bar */
.mk-bar {
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--rule-soft);
    margin-bottom: 14px;
}

.mk-bar__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mk-bar__top span {
    font-size: 12px;
    font-weight: 600;
}

.mk-bar__top em {
    font-style: normal;
    font-size: 11px;
    color: var(--text-faint);
    font-variant-numeric: tabular-nums;
}

.mk-bar__track {
    display: flex;
    gap: 2px;
    height: 14px;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mk-bar__track > span {
    display: block;
    opacity: 0.92;
}

.mk-bar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 10px;
    color: var(--text-dim);
}

.mk-bar__legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mk-bar__legend i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

/* Rows */
.mk-rows {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.mk-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
}

.mk-row--selected {
    background: var(--accent-soft);
}

.mk-row--inspected {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(74, 158, 255, 0.25);
}

.mk-check {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1.5px solid var(--text-faint);
    flex-shrink: 0;
}

.mk-check--on {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
}

.mk-row__tile {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mk-row__tile svg {
    width: 14px;
    height: 14px;
}

.mk-row__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.mk-row__body strong {
    font-size: 12px;
    font-weight: 600;
}

.mk-row__body small {
    font-size: 10px;
    color: var(--text-faint);
}

.mk-row__size {
    font-variant-numeric: tabular-nums;
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 500;
}

/* Bottom bar */
.mk-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0 16px;
    margin-top: 8px;
    border-top: 1px solid var(--rule-soft);
    padding-top: 12px;
}

.mk-bottom__info {
    font-size: 11px;
    color: var(--text-dim);
}

.mk-bottom__info strong {
    color: var(--text);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.mk-bottom__btn {
    background: #ef4d6a;
    color: white;
    border: 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 11px;
    padding: 7px 14px;
    border-radius: 7px;
    cursor: default;
    box-shadow: 0 2px 6px rgba(239, 77, 106, 0.2);
}

/* ----- Inspector -------------------------------------------------------- */

/* The inspector column is not shown in the hero mockup — the sidebar + main
   area alone carry the story without overflowing narrow hero columns. The
   real app's inspector is shown separately in the "How it works" prose. */
.mk-inspector {
    display: none;
}

.mk-inspector__icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.mk-inspector__icon svg {
    width: 18px;
    height: 18px;
}

.mk-inspector__title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.mk-inspector__sub {
    font-size: 10px;
    color: var(--text-faint);
    margin-bottom: 6px;
}

.mk-inspector__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 6px;
}

.mk-stat {
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--rule-soft);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mk-stat__label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    font-weight: 600;
}

.mk-stat__value {
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.mk-inspector__risk {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--risk-safe);
    background: rgba(111, 228, 166, 0.1);
    margin-bottom: 4px;
}

.mk-inspector__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mk-inspector__actions button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--rule-soft);
    border-radius: 8px;
    cursor: default;
    text-align: left;
}

.mk-inspector__actions svg {
    width: 13px;
    height: 13px;
    color: var(--text-dim);
}

/* ========================================================================
   How it works — numbered prose blocks
   ======================================================================== */

.how {
    padding: 60px 0 120px;
    border-top: 1px solid var(--rule-soft);
}

.prose-block {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 56px 0;
    border-bottom: 1px solid var(--rule-soft);
}

.prose-block:last-child {
    border-bottom: 0;
}

.prose-block__number {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    color: var(--text-faint);
    font-style: italic;
    line-height: 1;
    padding-top: 10px;
}

.prose-block__body {
    max-width: 64ch;
}

.prose-block h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 20px;
}

.prose-block p {
    color: var(--text-dim);
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.65;
}

.prose-block p strong {
    color: var(--text);
    font-weight: 600;
}

.prose-block__detail {
    font-size: 0.9rem !important;
    color: var(--text-faint) !important;
    padding-left: 16px;
    border-left: 2px solid var(--rule);
    margin-top: 10px !important;
}

/* ========================================================================
   What it finds — two column editorial list
   ======================================================================== */

.what {
    padding: 100px 0;
    border-top: 1px solid var(--rule-soft);
}

.what__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.what__intro h2 {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    margin-bottom: 18px;
}

.what__intro p {
    color: var(--text-dim);
    max-width: 30ch;
}

.what__list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.what__list li {
    display: grid;
    grid-template-columns: minmax(180px, 200px) 1fr auto;
    gap: 16px;
    align-items: baseline;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule-soft);
}

.what__list li:first-child {
    border-top: 1px solid var(--rule-soft);
}

.what__list strong {
    font-size: 15px;
    color: var(--text);
}

.what__list .mono {
    color: var(--text-faint);
    font-size: 12px;
}

.risk {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
}

.risk--safe     { color: var(--risk-safe);   background: rgba(111, 228, 166, 0.1); }
.risk--moderate { color: var(--risk-warn);   background: rgba(255, 181, 71, 0.1); }
.risk--danger   { color: var(--risk-danger); background: rgba(255, 143, 177, 0.1); }

/* ========================================================================
   Install
   ======================================================================== */

.install {
    padding: 100px 0;
    border-top: 1px solid var(--rule-soft);
}

.install__title {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    margin-bottom: 18px;
}

.install__lede {
    color: var(--text-dim);
    max-width: 56ch;
    margin-bottom: 32px;
}

.code-block {
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.9;
    background: var(--bg-elev);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 20px 24px;
    color: var(--text);
    white-space: pre;
    overflow-x: auto;
    max-width: 680px;
}

.code-block__prompt {
    color: var(--text-faint);
    user-select: none;
    margin-right: 10px;
}

.copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    background: var(--bg-hi);
    border: 1px solid var(--rule);
    border-radius: 6px;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.copy-btn:hover {
    color: var(--text);
    border-color: var(--text-faint);
}

.copy-btn.copied {
    color: var(--risk-safe);
    border-color: var(--risk-safe);
}

.install__note {
    margin-top: 28px;
    font-size: 13px;
    color: var(--text-faint);
    max-width: 64ch;
    line-height: 1.65;
}

.install__option {
    padding: 28px 0;
    border-top: 1px solid var(--rule-soft);
    max-width: 760px;
}

.install__option:first-of-type {
    border-top: 1px solid var(--rule);
    margin-top: 12px;
}

.install__option h3 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text);
    margin-bottom: 10px;
}

.install__detail {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.65;
    max-width: 64ch;
    margin-bottom: 14px;
}

.install__detail a {
    color: var(--text);
    border-bottom: 1px solid var(--rule);
}

.install__detail a:hover {
    border-bottom-color: var(--accent);
}

.install__detail strong {
    color: var(--text);
    font-weight: 600;
}

/* ========================================================================
   FAQ
   ======================================================================== */

.faq {
    padding: 100px 0 120px;
    border-top: 1px solid var(--rule-soft);
}

.faq__title {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
    margin-bottom: 40px;
    max-width: 20ch;
}

.faq__list {
    max-width: 720px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-top: 1px solid var(--rule);
    padding: 24px 0;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--rule);
}

.faq-item summary {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 4px 0;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: 'Instrument Serif', serif;
    font-size: 28px;
    color: var(--text-dim);
    transition: transform 0.25s ease;
    line-height: 1;
    padding-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 14px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    max-width: 62ch;
}

.faq-item p a {
    border-bottom: 1px solid var(--rule);
    color: var(--text);
    transition: border-color 0.15s ease;
}

.faq-item p a:hover {
    border-bottom-color: var(--accent);
}

/* ========================================================================
   Footer
   ======================================================================== */

.footer {
    border-top: 1px solid var(--rule-soft);
    padding: 36px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer__left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 500;
}

.footer__left img {
    border-radius: 5px;
}

.footer__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-faint);
    margin: 0 4px;
}

.footer__meta {
    color: var(--text-faint);
    font-weight: 400;
}

.footer__right {
    display: flex;
    gap: 24px;
    color: var(--text-dim);
}

.footer__right a:hover {
    color: var(--text);
}

/* ========================================================================
   Responsive
   ======================================================================== */

@media (max-width: 960px) {
    .hero__grid {
        gap: 48px;
    }
    .what__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .prose-block {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 40px 0;
    }
    .prose-block__number {
        padding-top: 0;
        margin-bottom: 12px;
    }
}

@media (max-width: 640px) {
    .nav__links > a:not(.nav__github):not(:last-child) { display: none; }
    .hero { padding-top: 130px; padding-bottom: 80px; }
    .hero__actions { flex-direction: column; align-items: flex-start; gap: 12px; }
    .btn { width: 100%; justify-content: center; }
    .btn--text { width: auto; }
    .what__list li { grid-template-columns: 1fr auto; gap: 8px; }
    .what__list .mono { grid-column: 1 / -1; }
    .footer__inner { flex-direction: column; gap: 16px; text-align: center; }
    /* On phones, hide the sidebar and show only the main area */
    .mockup { grid-template-columns: 1fr; }
    .mk-sidebar { display: none; }
}
