/* ReforgeDigital — public marketing pages.
   Extracted from index.php once Services, Reviews and FAQ became their own
   pages: five copies of the same inline <style> block would drift apart. */
/* Marketing layout — built on the portal design system */
        .wrap { width: 92%; max-width: 1140px; margin: 0 auto; }
        .mkt-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg-body) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
        .mkt-nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
                        .s-links { display: flex; gap: 28px; align-items: center; }
        .s-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
        .s-links a:hover { color: var(--text); }
        .s-right { display: flex; align-items: center; gap: 12px; }
        .burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); align-items: center; justify-content: center; cursor: pointer; }
        .mkt-mobile { display: none; }

        .mkt-section { padding: 78px 0; }
        .sec-head { text-align: center; max-width: 600px; margin: 0 auto 46px; }
        .sec-head .code-tag { margin-bottom: 10px; }
        .sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -0.02em; }
        .sec-head p { color: var(--text-muted); margin-top: 10px; font-size: 1rem; }

        /* Hero — echoes the login split */
        .hero { padding: 60px 0 72px; }
        .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
        .hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0; }
        .hero .lead { color: var(--text-muted); font-size: 1.06rem; max-width: 480px; }
        .hero-cta { display: flex; gap: 12px; margin: 28px 0 22px; flex-wrap: wrap; }
        .hero-proof { display: inline-flex; align-items: center; gap: 9px; font-size: 0.84rem; color: var(--text-muted); }
        .hero-proof .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
        .hero-visual { position: relative; overflow: hidden; border-radius: var(--radius); padding: 44px; display: flex; align-items: center; justify-content: center; min-height: 340px; background: linear-gradient(155deg, #ff8a4d 0%, #ff5e1a 55%, #e64200 100%); box-shadow: var(--shadow-lg); }
        .hero-visual::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.30), transparent 62%); top: -160px; right: -120px; }

        /* Services */
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .svc-ic { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 16px; }
        .svc h3 { font-size: 1.18rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
        .svc .price { font-family: var(--font-code); font-size: 0.7rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 9px; border-radius: 6px; }
        .svc p { color: var(--text-muted); font-size: 0.94rem; margin: 12px 0 16px; }
        .svc.feat { border-color: var(--accent); }
        .svc-go { font-weight: 600; font-size: 0.86rem; color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
        .svc:hover .svc-go i { transform: translateX(3px); color: var(--accent); }
        .svc-go i { transition: transform 0.2s; }

        /* Why */
        .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
        .why-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin-bottom: 14px; }
        .why-grid > div:first-child > p { color: var(--text-muted); max-width: 440px; margin-bottom: 24px; }

        /* Work */
        .work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .work-item { display: block; overflow: hidden; padding: 0; }
        .work-shot { aspect-ratio: 16/10; background: var(--bg-secondary); overflow: hidden; }
        .work-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
        .work-item:hover .work-shot img { transform: scale(1.04); }
        .work-shot.empty { display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-family: var(--font-code); font-size: 0.8rem; }
        .work-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; }
        .work-foot h3 { font-size: 1.18rem; }

        /* Reviews */
        .rev-av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }

        /* Contact */
        .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
        .contact-grid h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 12px; }
        .contact-grid > div:first-child p { color: var(--text-muted); margin-bottom: 24px; max-width: 420px; }

        .mkt-footer { padding: 36px 0; border-top: 1px solid var(--border); }
        .mkt-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.88rem; color: var(--text-muted); }
        .mkt-foot .links a { margin-left: 18px; color: var(--text-muted); text-decoration: none; }
        .mkt-foot .links a:hover { color: var(--accent); }

        @media (max-width: 900px) {
            .hero-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
            .hero-visual { order: -1; min-height: 280px; }
            .grid-3 { grid-template-columns: 1fr 1fr; }
            .work-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 680px) {
            .s-links { display: none; }
            .burger { display: inline-flex; }
            .grid-3 { grid-template-columns: 1fr; }
            .mkt-foot { flex-direction: column; text-align: center; }
            .mkt-foot .links a { margin: 0 9px; }
            .mkt-mobile.open { display: flex; flex-direction: column; gap: 4px; padding: 12px 0 20px; border-top: 1px solid var(--border); }
            .mkt-mobile a { padding: 11px 4px; font-weight: 600; color: var(--text); text-decoration: none; }
        }
        /* Mobile header: brand + CTA + burger only. The theme toggle moves into
           the dropdown, because three controls in a 360px bar left the toggle
           jammed against the burger with no breathing room. */
        .mm-theme { display: none; }
        @media (max-width: 680px) {
            .s-right > .theme-toggle { display: none; }
            .s-right { gap: 10px; }
            .mkt-mobile.open .mm-theme {
                display: flex;
                align-items: center;
                gap: 10px;
                width: 100%;
                margin-top: 6px;
                padding: 12px 4px;
                background: none;
                border: 0;
                border-top: 1px solid var(--border);
                color: var(--text-muted);
                font-family: var(--font-body);
                font-size: 0.92rem;
                font-weight: 600;
                cursor: pointer;
            }
            .mkt-mobile.open .mm-theme i { width: 18px; text-align: center; }
        }
        /* Small phones: keep the remaining two controls comfortable. */
        @media (max-width: 420px) {
            .s-inner { gap: 8px; }
            .s-right { gap: 8px; min-width: 0; }
            .s-right .btn { padding: 8px 12px; font-size: 0.8rem; white-space: nowrap; }
            .burger { width: 38px; height: 38px; flex: none; }
            .brand { font-size: 1.05rem; }
        }

/* ===========================================================================
   Shared page chrome for the split-out pages
   =========================================================================== */
.s-links a.here { color: var(--accent); font-weight: 600; }

.page-hero { padding: 58px 0 34px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.025em; line-height: 1.1; margin: 12px 0; }
.page-hero .lead { color: var(--text-muted); font-size: 1.04rem; max-width: 60ch; }

/* Footer, rebuilt as columns now it carries real navigation */
.mkt-footer { border-top: 1px solid var(--border); background: var(--bg-card); margin-top: 20px; }
.foot-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 34px;
    padding: 52px 0 38px;
}
.foot-brand p { color: var(--text-muted); font-size: 0.9rem; margin: 14px 0 16px; max-width: 34ch; }
.foot-social { display: flex; gap: 9px; }
.foot-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.foot-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }

.foot-col h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.foot-col a { display: block; font-size: 0.9rem; color: var(--text); text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    flex-wrap: wrap;
    padding: 18px 0 26px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem; color: var(--text-muted);
}
.foot-made { font-family: var(--font-code); font-size: 0.76rem; }

/* ===========================================================================
   Services page
   =========================================================================== */
.svc-jump { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding-bottom: 44px; }
.sj-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 16px 10px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-card);
    text-decoration: none; color: var(--text);
    text-align: center;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.sj-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.sj-item i { color: var(--accent); font-size: 1.05rem; }
.sj-name { font-size: 0.84rem; font-weight: 600; line-height: 1.3; }
.sj-price { font-family: var(--font-code); font-size: 0.7rem; color: var(--text-muted); }

.svc-detail { padding: 56px 0; border-top: 1px solid var(--border); }
.svc-detail.alt { background: var(--bg-card); }
.svc-detail-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 44px; align-items: start; }

.svc-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.svc-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-for { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
.pill-accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

.svc-body p { color: var(--text-muted); line-height: 1.72; margin-bottom: 15px; max-width: 62ch; }

.tech-row { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--border); }
.tech-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); white-space: nowrap; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tech-tags code {
    font-family: var(--font-code); font-size: 0.74rem;
    padding: 4px 9px; border-radius: 6px;
    background: color-mix(in srgb, var(--text) 5%, transparent);
    color: var(--text);
}

.svc-price-card {
    display: flex; flex-direction: column;
    padding: 22px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-body);
    margin-bottom: 16px;
}
.svc-detail.alt .svc-price-card { background: var(--bg-card); }
.spc-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.spc-price { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 8px; }
.spc-time { font-size: 0.82rem; color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px; }

.svc-includes { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.svc-includes h3 { font-size: 0.92rem; margin-bottom: 12px; }
.svc-includes ul { list-style: none; padding: 0; margin: 0; }
.svc-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.87rem; color: var(--text-muted); padding: 6px 0; }
.svc-includes li i { color: var(--ok-text); font-size: 0.76rem; margin-top: 4px; flex: none; }

/* Process */
.process-list { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.process-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.process-list li:last-child { border-bottom: 0; }
.process-list .pn { font-family: var(--font-code); font-size: 0.82rem; color: var(--accent); font-weight: 600; padding-top: 3px; flex: none; }
.process-list h3 { font-size: 1.02rem; margin-bottom: 6px; }
.process-list p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

/* Shared closing band */
.cta-band { text-align: center; padding: 46px 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); max-width: 52ch; margin: 0 auto 22px; }

/* ===========================================================================
   Reviews page
   =========================================================================== */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.review-card { margin: 0; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.rc-stars { color: var(--accent); display: flex; gap: 3px; font-size: 0.82rem; margin-bottom: 14px; }
.review-card blockquote { margin: 0 0 18px; font-size: 0.98rem; line-height: 1.68; quotes: auto; }
.review-card blockquote::before { content: open-quote; }
.review-card blockquote::after { content: close-quote; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.rc-who { display: flex; flex-direction: column; }
.rc-who strong { font-size: 0.9rem; }
.rc-who span { font-size: 0.8rem; color: var(--text-muted); }

.review-empty { text-align: center; padding: 60px 24px; border: 1px dashed var(--border); border-radius: var(--radius); }
.review-empty i { font-size: 2rem; color: var(--text-muted); opacity: 0.5; }
.review-empty h2 { font-size: 1.3rem; margin: 16px 0 8px; }
.review-empty p { color: var(--text-muted); max-width: 46ch; margin: 0 auto 22px; }

.google-band {
    display: flex; align-items: center; justify-content: space-between; gap: 26px;
    flex-wrap: wrap;
    padding: 28px 30px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-card);
}
.gb-left { display: flex; gap: 18px; align-items: center; }
.gb-logo {
    width: 52px; height: 52px; border-radius: 14px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent); font-size: 1.3rem;
}
.google-band h2 { font-size: 1.2rem; margin-bottom: 5px; }
.google-band p { color: var(--text-muted); font-size: 0.9rem; max-width: 46ch; }
.gb-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===========================================================================
   FAQ page
   =========================================================================== */
.faq-wrap { display: grid; grid-template-columns: 1.6fr 0.7fr; gap: 34px; align-items: start; padding-bottom: 64px; }
.faq-list details {
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--bg-card);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-list summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 17px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.97rem;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--text-muted); font-size: 0.78rem; transition: transform 0.2s ease; flex: none; }
.faq-list details[open] summary i { transform: rotate(180deg); }
.faq-list details[open] summary { color: var(--accent); }
.faq-list .faq-a { padding: 0 20px 18px; color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

.faq-ask { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); position: sticky; top: 88px; }
.faq-ask h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-ask p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }

/* ===========================================================================
   Client-area review ask
   =========================================================================== */
.review-ask .ra-body { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.review-ask .ra-stars { color: var(--accent); display: flex; gap: 4px; font-size: 1.05rem; }
.review-ask .ra-note { font-size: 0.78rem; color: var(--text-muted); }

/* ===========================================================================
   Responsive
   =========================================================================== */
@media (max-width: 980px) {
    .svc-jump { grid-template-columns: repeat(3, 1fr); }
    .svc-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .faq-wrap { grid-template-columns: 1fr; }
    .faq-ask { position: static; }
    .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
    .svc-jump { grid-template-columns: repeat(2, 1fr); }
    .foot-top { grid-template-columns: 1fr; gap: 24px; padding: 38px 0 28px; }
    .google-band, .gb-left { flex-direction: column; align-items: flex-start; text-align: left; }
    .gb-actions { width: 100%; }
    .gb-actions .btn { width: 100%; }
    .cta-band { padding: 34px 20px; }
    .svc-detail { padding: 40px 0; }
    .process-list li { gap: 14px; }
    .review-ask .ra-body { flex-direction: column; align-items: stretch; }
    .review-ask .ra-body .btn { width: 100%; justify-content: center; }
    .review-ask .ra-stars, .review-ask .ra-note { align-self: center; }
}

/* ===========================================================================
   Brand mark
   Either the uploaded logo or a text wordmark matching it. The old lightning
   bolt in a gradient square was template furniture, not a brand.
   =========================================================================== */
.s-brand, .enq-brand {
    display: inline-flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    color: var(--text);
}

.brand-img {
    display: block;
    height: 30px;
    width: auto;
    max-width: 210px;
    object-fit: contain;
    object-position: left center;
}
/* Only one of the pair is ever shown. */
.brand-img-dark { display: none; }
:root[data-theme="dark"] .brand-img-dark { display: block; }
:root[data-theme="dark"] .brand-img:not(.brand-img-dark) { display: none; }
/* When no dark version is supplied, invert the black wordmark so it survives
   the dark theme instead of vanishing into the background. */
:root[data-theme="dark"] .brand-img-invert { display: block; filter: invert(1) hue-rotate(180deg); }

.brand-word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.24rem;
    letter-spacing: -0.035em;
    color: var(--text);
    white-space: nowrap;
}
.brand-dot { color: var(--accent); }

.foot-logo .brand-img { height: 28px; }
.foot-logo .brand-word { font-size: 1.16rem; }

/* ===========================================================================
   Footer
   =========================================================================== */
.foot-cta {
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent) 5%, var(--bg-card));
}
.foot-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    padding: 40px 0;
}
.foot-cta h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.foot-cta p { color: var(--text-muted); font-size: 0.94rem; }

.mkt-footer { border-top: 1px solid var(--border); background: var(--bg-card); margin-top: 0; }

.foot-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
    gap: 40px;
    padding: 56px 0 44px;
}

.foot-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 16px 0 18px;
    max-width: 36ch;
}

.foot-social { display: flex; gap: 8px; }
.foot-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.foot-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.foot-col h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 16px;
}
.foot-col a {
    display: block;
    font-size: 0.89rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    overflow-wrap: anywhere;
    transition: color 0.15s ease;
}
.foot-col a:hover { color: var(--accent); }
.foot-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: var(--text-muted);
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px dashed var(--border);
}
.foot-loc i { color: var(--accent); font-size: 0.78rem; }

.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0 30px;
    border-top: 1px solid var(--border);
}
.foot-legal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.83rem;
    color: var(--text-muted);
}
.foot-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-legal-links a {
    font-size: 0.83rem;
    color: var(--text-muted);
    text-decoration: none;
}
.foot-legal-links a:hover { color: var(--accent); text-decoration: underline; }

.foot-made {
    font-family: var(--font-code);
    font-size: 0.74rem;
    color: var(--text-muted);
    opacity: 0.8;
}

@media (max-width: 980px) {
    .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .foot-cta-inner { padding: 32px 0; }
    .foot-cta-inner .btn { width: 100%; }
    .foot-top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 30px; }
    .foot-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .foot-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
    .brand-img { height: 26px; }
    .brand-word { font-size: 1.1rem; }
}

/* About page */
.about-grid { display: grid; grid-template-columns: 1.6fr 0.7fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.about-main h2 { font-size: 1.3rem; letter-spacing: -0.02em; margin: 32px 0 12px; }
.about-main h2:first-child { margin-top: 0; }
.about-main p { color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; max-width: 64ch; }
.about-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); margin-bottom: 16px; }
.about-card h3 { font-size: 1rem; margin-bottom: 14px; }
.about-facts { list-style: none; padding: 0; margin: 0; }
.about-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); padding: 8px 0; }
.about-facts li i { color: var(--accent); font-size: 0.82rem; margin-top: 4px; width: 16px; text-align: center; flex: none; }
.about-card .hc-line { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; margin-bottom: 10px; }
.about-card .hc-line i { color: var(--accent); width: 18px; text-align: center; }
.about-card .hc-line a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.about-card .hc-line a:hover { color: var(--accent); }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Comfort layer, repeated here because marketing.css loads after
   portal.css on the public pages and would otherwise win. */

/* ===========================================================================
   Comfort pass — measured, not guessed
   A layout audit across five widths found interactive elements below the 44px
   touch guideline and text down to 9.9px. Fixed here in one place rather than
   by nudging individual components.
   =========================================================================== */

/* --- Text floors ----------------------------------------------------------
   Nothing on the site should render below ~11px. The smallest labels were
   9.9px, which is unreadable on a phone and marginal on a monitor. */
.pill,
.stat-trend,
.ev-new,
.cr-label,
.bubble-status { font-size: 0.72rem; }

.fm-when,
.jn-count,
.stat-sub,
.stat-label,
.sj-price,
.svc .price,
.role-badge,
.bubble-meta,
.foot-made { font-size: 0.75rem; }

@media (max-width: 900px) {
    /* On a phone the floor rises again — small type is harder at arm's length
       on a moving bus than it is on a desk. */
    .pill,
    .stat-trend,
    .ev-new,
    .cr-label,
    .bubble-status,
    .fm-when,
    .jn-count,
    .stat-sub,
    .stat-label,
    .sj-price,
    .svc .price,
    .role-badge,
    .bubble-meta,
    .attach-hint,
    .ra-note,
    .foot-made { font-size: 0.78rem; }

    .muted[style*="0.7"],
    .muted[style*="0.72"],
    .muted[style*="0.74"],
    .muted[style*="0.76"],
    .muted[style*="0.78"] { font-size: 0.8rem !important; }
}

/* --- Touch targets --------------------------------------------------------
   44px is the Apple and WCAG guideline. Achieved with min-height plus padding
   so nothing is stretched out of proportion. */
@media (hover: none), (max-width: 900px) {
    .btn {
        min-height: 44px;
        padding-top: 11px;
        padding-bottom: 11px;
    }
    .btn-sm {
        min-height: 40px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .burger,
    .theme-toggle,
    .menu-btn {
        width: 44px;
        height: 44px;
    }

    /* Footer and nav links were 21px tall — comfortably missable. */
    .foot-col a,
    .foot-legal-links a,
    .s-links a,
    .mkt-mobile a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .seg,
    .jump-nav a,
    .msg-btn,
    .side-link {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .foot-social a { width: 44px; height: 44px; }

    /* Icon-only buttons need a real box, not just an icon. */
    .btn-danger.btn-sm,
    .btn-outline.btn-sm {
        min-width: 44px;
        justify-content: center;
    }
}

/* --- Footer call-to-action ------------------------------------------------
   When the button wrapped below the text it sat tight against it and read as
   an afterthought. More room, and a full-width button once wrapped. */
.foot-cta-inner {
    padding: 52px 0;
    gap: 30px;
}
.foot-cta-inner > div { flex: 1 1 380px; }
.foot-cta h2 { margin-bottom: 8px; }
.foot-cta p { max-width: 52ch; }
.foot-cta-inner .btn { flex: 0 0 auto; padding-left: 30px; padding-right: 30px; }

@media (max-width: 820px) {
    .foot-cta-inner { padding: 44px 0; gap: 24px; }
    .foot-cta-inner .btn { width: 100%; justify-content: center; }
}

/* --- Breathing room -------------------------------------------------------
   Section rhythm on small screens: the default padding was tuned for desktop
   and left bands touching on a phone. */
@media (max-width: 700px) {
    .mkt-section { padding: 52px 0; }
    .page-hero { padding: 40px 0 26px; }
    .sec-head { margin-bottom: 32px; }
    .cta-band { padding: 38px 24px; }
    .card { padding: 20px 18px; }
    .app-content { padding-bottom: 40px; }

    /* Stacked cards need a real gap, not a hairline. */
    .stack > * + * { margin-top: 14px; }
    .grid { gap: 16px; }
}

/* --- Long-word protection -------------------------------------------------
   Email addresses and URLs were the main cause of squeezed columns. */
.foot-col a,
.em-item,
.hc-line a,
.mf-name { overflow-wrap: anywhere; }

/* ===========================================================================
   Comfort pass, second round
   The first pass was overridden by more specific legacy selectors
   (.cr-name .pill, .feed-main .fm-when, .stat .stat-label and friends).
   These match or beat that specificity.
   =========================================================================== */

/* Smallest labels, raised to a readable floor. */
.cr-name .pill,
.feed-main .fm-when,
.stat .stat-trend,
.stat .stat-label,
.stat .stat-sub { font-size: 0.75rem; }

@media (max-width: 900px) {
    /* An accessibility floor has to win outright — these values are scattered
       across a dozen legacy rules and several media queries. */
    .cr-name .pill,
    .feed-main .fm-when,
    .stat .stat-trend,
    .stat .stat-label,
    .stat .stat-sub,
    .pill,
    .stat-trend,
    .fm-when,
    .stat-label,
    .stat-sub,
    .sj-price,
    .svc .price,
    .role-badge,
    .bubble-meta,
    .bubble-status,
    .ev-new,
    .cr-label { font-size: 0.78rem !important; }
}

/* --- Remaining touch targets ---------------------------------------------- */
@media (hover: none), (max-width: 900px) {
    /* The brand mark is a link. Padding gives it a 44px hit area without
       enlarging the logo itself. */
    .s-brand,
    .enq-brand {
        padding: 7px 0;
        min-height: 44px;
        box-sizing: border-box;
    }

    /* Segment filters were 16px wide — narrower than a fingertip. */
    .seg {
        min-width: 56px;
        justify-content: center;
        padding-left: 14px;
        padding-right: 14px;
    }

    /* "Discuss this ->" style inline calls to action. */
    .svc-go,
    .crumb,
    .hc-line a,
    .auth-link,
    .text-accent {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Legal row and any bare footer anchor. */
    .foot-legal a,
    .foot-bottom a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* --- Buttons that grew too tall -------------------------------------------
   min-height plus the existing padding pushed some hero buttons to 63px. Cap
   the vertical padding once the button is already tall enough. */
.btn {
    line-height: 1.25;
}
.hero-cta .btn,
.cta-band .btn,
.foot-cta-inner .btn,
.gb-actions .btn {
    padding-top: 13px;
    padding-bottom: 13px;
    min-height: 48px;
}

/* --- Dashboard section rhythm ---------------------------------------------
   Two stacked cards were meeting with 20px of padding and no gap between the
   boxes themselves, so they read as one long slab. */
.app-content > section + section,
.app-content > .section-gap + section { margin-top: 22px; }

@media (max-width: 700px) {
    .app-content > section + section,
    .app-content > .section-gap + section { margin-top: 16px; }
}

/* Final two from the audit: <summary> toggles and the auth-page brand link. */
@media (hover: none), (max-width: 900px) {
    summary { min-height: 44px; display: flex; align-items: center; }
    .faq-list summary { min-height: 48px; }
    a.brand { min-height: 44px; display: inline-flex; align-items: center; }
}
