/*
 * public.css — styles for the public marketing pages only.
 * Split out of the former style.css so marketing pages do not download the
 * dashboard/scan CSS. App pages load app.css instead.
 * The pricing-card block is intentionally present in both bundles: it is
 * shared by the public /pricing/ page and the app's billing page.
 */

/* ── Fonts ────────────────────────────────────────────────────────── */
/* Self-hosted Inter. Served from our own origin so there is no third-party
   connection on the critical path. The variable font covers weights 400-700
   in a single file. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/inter-var-latin.260c81a4759b.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/inter-var-latin-ext.1ad231aac0a8.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Metric-matched fallback: overrides a local Arial-metric face to Inter's own
   ascent/descent/advance so the font-display:swap hand-off causes no reflow.
   This is what keeps CLS at zero while the webfont loads. */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('Helvetica Neue'), local('Liberation Sans');
    size-adjust: 96.44%;
    ascent-override: 100.45%;
    descent-override: 25.01%;
    line-gap-override: 0.00%;
}

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

body {
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FAF9F7;
    min-height: 100vh;
    color: #1A1915;
    overflow-x: hidden;
}

h1 {
   letter-spacing:-1px;
   /* Backstop for Chrome's H1UserAgentFontSizeInSection deprecation. The actual
      cure is keeping the page's <h1> out of <section>/<article>/<aside>/<nav>
      (see the hero wrappers, which are plain divs) -- Chrome reports the
      counter whenever its sectioned-h1 UA rule matches, even when an author
      rule wins the cascade. Every h1 here also sets its own size via a class. */
   font-size: 2rem;
}


.pricing-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    background: #E8E5DE;
    border-radius: 8px;
    padding: 3px;
    width: fit-content;
}

.pricing-toggle-btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #57544C;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.pricing-toggle-btn.active {
    background: #fff;
    color: #1A1915;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.pricing-save-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: #AC4E31;
    background: #FBF3EF;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Billing — pricing cards */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 12px;
    padding: 1.75rem;
    position: relative;
}

.pricing-card-current {
    border-color: #AC4E31;
    box-shadow: 0 0 0 1px #AC4E31;
}

.pricing-card-badge {
    position: absolute;
    top: -0.65rem;
    left: 1.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: #AC4E31;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}

.pricing-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1915;
    margin-bottom: 0.35rem;
}

.pricing-card-tagline {
    font-size: 0.85rem;
    color: #737373;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.pricing-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.25rem;
}

.pricing-amount {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1A1915;
    letter-spacing: -1px;
}

.pricing-period {
    font-size: 0.95rem;
    color: #6D6B66;
    font-weight: 500;
}

.pricing-annual-note {
    font-size: 0.8rem;
    color: #6D6B66;
    margin-bottom: 0.25rem;
}

/* Pricing — limits grid */

.pricing-limits {
    margin: 1.25rem 0;
    padding: 0.75rem;
    background: #FAFAF8;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
}

.pricing-limit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.25rem;
}

.pricing-limit-row + .pricing-limit-row {
    border-top: 1px solid #F0EDE7;
}

.pricing-limit-label {
    font-size: 0.85rem;
    color: #737373;
}

.pricing-limit-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1915;
}

/* Pricing — feature checklist */

.pricing-checklist {
    margin: 0 0 1.25rem;
}

.pricing-check {
    font-size: 0.84rem;
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
    line-height: 1.4;
}

.pricing-check::before {
    position: absolute;
    left: 0;
    top: 0.3rem;
    font-size: 0.85rem;
}

.pricing-check-yes {
    color: #57544C;
}

.pricing-check-yes::before {
    content: "\2713";
    color: #22c55e;
    font-weight: 700;
}

.pricing-check-no {
    color: #c4c0b8;
}

.pricing-check-no::before {
    content: "\2717";
    color: #d4d1cb;
}

.pricing-card-action {
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Landing page ─────────────────────────────────────────────── */
.landing-body {
    background: #fff;
    margin: 0;
    color: #1a1a1a;
}
.landing-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
.landing-nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #F0EEEA;
    z-index: 100;
}
.landing-nav-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.landing-logo {
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
}
.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.landing-nav-link {
    font-size: 0.85rem;
    color: #6D6A62;
    text-decoration: none;
    font-weight: 500;
}
.landing-nav-link:hover { color: #1a1a1a; }
.landing-nav-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: #AC4E31;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
.landing-nav-btn:hover { background: #a8502f; }
.landing-nav-toggle {
    display: none;
    background: none;
    border: 1px solid #E8E5DE;
    border-radius: 6px;
    font-size: 1.2rem;
    padding: 4px 10px;
    cursor: pointer;
    color: #57544C;
    font-family: inherit;
}

@media (max-width: 700px) {
    .landing-nav-toggle { display: block; }
    .landing-nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #E8E5DE;
        flex-direction: column;
        padding: 16px 24px;
        gap: 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
    .landing-nav-links.open { display: flex; }
    .landing-nav-link { font-size: 0.95rem; }
    .landing-nav-btn { text-align: center; }
    .landing-footer-brand {
        grid-column: 1 / -1;
    }
    .landing-footer-links {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Hero */
.landing-hero {
    padding: 80px 0 72px;
    text-align: center;
}
.landing-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: #1a1a1a;
}
.landing-hero-sub {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #555;
    max-width: 560px;
    margin: 0 auto 36px;
}
.landing-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}
.landing-hero-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 960px;
    margin: 48px auto 0;
}
.landing-hero-sample {
    width: 100%;
    min-width: 0;
}
.landing-hero-sample svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.landing-hero-qr {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}
.landing-hero-qr-code svg {
    width: 92px;
    height: 92px;
    border-radius: 8px;
}
.landing-hero-qr-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 3px;
}
.landing-hero-qr-link {
    font-size: 0.75rem;
    color: #AC4E31;
    text-decoration: none;
}
.landing-hero-qr-link:hover {
    text-decoration: underline;
}
.landing-btn-primary {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #AC4E31;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
}
.landing-btn-primary:hover { background: #a8502f; }
.landing-btn-secondary {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #E8E5DE;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s;
}
.landing-btn-secondary:hover { border-color: #AC4E31; }

/* Sections */
.landing-section {
    padding: 72px 0;
}
.landing-section-alt {
    background: #F8F7F5;
}
.landing-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}
.landing-section-sub {
    font-size: 1rem;
    color: #6D6A62;
    text-align: center;
    margin: 0 0 48px;
}

/* How it works — steps */
.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.landing-step {
    text-align: center;
}
.landing-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #AC4E31;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.landing-step-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.landing-step-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Features grid */
.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.landing-feature {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    padding: 24px;
}
.landing-feature-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.landing-feature-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Analytics section */
.landing-analytics-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.landing-analytics-item {
    padding: 20px 24px;
    border-left: 3px solid #AC4E31;
    background: #F8F7F5;
    border-radius: 0 8px 8px 0;
}
.landing-analytics-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px;
}
.landing-analytics-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Benefits */
.landing-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.landing-benefit {
    padding: 24px;
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
}
.landing-benefit-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 8px;
}
.landing-benefit-desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

/* Use cases */
.landing-usecases {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.landing-usecase {
    background: #F8F7F5;
    border: 1px solid #E8E5DE;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.landing-usecase:hover {
    border-color: #AC4E31;
    color: #AC4E31;
}
.landing-hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #AC4E31;
    background: rgba(193, 95, 60, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

/* Final CTA */
.landing-cta {
    background: #1a1a1a;
    text-align: center;
}
.landing-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.landing-cta-sub {
    font-size: 1rem;
    color: #999;
    margin: 0 0 32px;
}

/* Footer */
.landing-footer {
    border-top: 1px solid #F0EEEA;
    padding: 48px 0 32px;
}
.landing-footer-inner {
    display: grid;
    /* Five columns: brand plus Solutions, Wayfinding guides, Reading, Company.
       The guides column is generated from FOOTER_PILLARS, so a new hub lands
       here automatically and must not push the grid onto a second row. */
    grid-template-columns: 1.2fr 1fr 1fr 0.8fr 0.8fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) {
    /* Must sit AFTER the rule above: it has the same specificity, so declaring
       it earlier in the file let the desktop grid win at every width and the
       footer never collapsed on a phone. */
    .landing-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
}
.landing-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.landing-footer-col a {
    font-size: 0.85rem;
    color: #6D6A62;
    text-decoration: none;
    line-height: 1.4;
}
.landing-footer-col a:hover {
    color: #AC4E31;
}
.landing-footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 4px;
}
.landing-footer-brand {
    gap: 12px;
}
.landing-footer-logo {
    font-size: 0.95rem;
    color: #1a1a1a;
}
.landing-footer-links {
    display: flex;
    gap: 20px;
}
.landing-footer-links a {
    font-size: 0.8rem;
    color: #6D6A62;
    text-decoration: none;
}
.landing-footer-links a:hover {
    color: #AC4E31;
}
.landing-footer-copy {
    font-size: 0.8rem;
    color: #6D6A62;
}

/* Comparison table */
.landing-compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
}
.landing-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 600px;
}
.landing-compare-table th,
.landing-compare-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #E8E5DE;
}
.landing-compare-table thead th {
    font-weight: 600;
    font-size: 0.85rem;
    color: #6D6A62;
    padding-bottom: 12px;
}
.landing-compare-table thead th.landing-compare-highlight {
    color: #AC4E31;
}
.landing-compare-label {
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}
td.landing-compare-highlight {
    color: #1a1a1a;
}
td.landing-compare-highlight strong {
    color: #AC4E31;
}
.landing-compare-table tbody td:not(.landing-compare-label):not(.landing-compare-highlight) {
    color: #6D6A62;
}
.landing-compare-note {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #6D6B66;
    line-height: 1.6;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-card {
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 12px;
    padding: 32px 28px;
    position: relative;
}
.pricing-card-highlight {
    border-color: #AC4E31;
    border-width: 2px;
    box-shadow: 0 4px 24px rgba(193, 95, 60, 0.1);
}
.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #AC4E31;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 12px;
    white-space: nowrap;
}
.pricing-card-header {
    text-align: center;
    margin-bottom: 24px;
}
.pricing-plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.pricing-price {
    margin: 8px 0;
}
.pricing-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}
.pricing-period {
    font-size: 0.9rem;
    color: #6D6A62;
}
.pricing-plan-desc {
    font-size: 0.85rem;
    color: #6D6A62;
    margin: 8px 0 0;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: #1a1a1a;
    border-bottom: 1px solid #F0EEEA;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #E8E5DE;
    color: #6D6A62;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: help;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
}
.pricing-tip:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1A1915;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 300px;
    white-space: normal;
    z-index: 10;
    pointer-events: none;
    line-height: 1.5;
}
.pricing-tip:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1A1915;
    z-index: 10;
    pointer-events: none;
}
.pricing-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.pricing-btn-primary {
    background: #AC4E31;
    color: #fff;
}
.pricing-btn-primary:hover {
    background: #a8502f;
}
.pricing-btn-secondary {
    background: #F5F3EE;
    color: #1a1a1a;
    border: 1px solid #E8E5DE;
}
.pricing-btn-secondary:hover {
    background: #EDEAE3;
}
/* Enterprise CTA */
.enterprise-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 820px;
    margin: 0 auto;
}
.enterprise-cta-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.enterprise-cta-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 16px;
}
.enterprise-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}
.enterprise-features li {
    font-size: 0.88rem;
    color: #3d3b36;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}
.enterprise-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 0.85rem;
}
.enterprise-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.enterprise-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}
@media (max-width: 680px) {
    .enterprise-cta {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .enterprise-features {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.pricing-faq {
    max-width: 720px;
    margin: 2rem auto 0;
}
.pricing-faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #E8E5DE;
}
.pricing-faq-item:first-child {
    padding-top: 0;
}
.pricing-faq-q {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}
.pricing-faq-a {
    font-size: 0.9rem;
    color: #6D6A62;
    margin: 0;
    line-height: 1.6;
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.blog-card {
    display: block;
    background: #fff;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    padding: 28px 24px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
    border-color: #AC4E31;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.blog-card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #AC4E31;
    background: rgba(193, 95, 60, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.blog-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.blog-card-desc {
    font-size: 0.85rem;
    color: #6D6A62;
    margin: 0 0 12px;
    line-height: 1.5;
}
.blog-card-date {
    font-size: 0.78rem;
    color: #6D6B66;
}

/* Blog article */
.blog-article {
    max-width: 720px;
    margin: 0 auto;
}
.blog-back {
    display: inline-block;
    font-size: 0.85rem;
    color: #6D6A62;
    text-decoration: none;
    margin-bottom: 8px;
}
.blog-back:hover {
    color: #AC4E31;
}
.blog-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 8px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.blog-article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 24px;
    font-size: 0.82rem;
    color: #6D6B66;
}
.blog-article-date {
    white-space: nowrap;
}
.blog-article-author {
    white-space: nowrap;
}
.blog-article-meta .blog-article-date + .blog-article-author::before {
    content: "\00b7";
    margin-right: 0.75rem;
}
.blog-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E8E5DE;
}
.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #AC4E31;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.blog-author-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1915;
}
.blog-author-role {
    font-size: 0.8rem;
    color: #6D6A62;
}
.blog-article-hero {
    font-size: 1.05rem;
    color: #1a1a1a;
    line-height: 1.7;
    margin: 0 0 32px;
}
.blog-article-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 36px 0 12px;
    letter-spacing: -0.01em;
}
.blog-article-body {
    font-size: 0.95rem;
    color: #3d3b36;
    line-height: 1.75;
    margin: 0 0 16px;
}

/* About / Legal */
.about-content {
    max-width: 720px;
    margin: 0 auto;
}
.about-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 48px 0 16px;
    text-align: left;
    letter-spacing: -0.01em;
}
.about-content h2:first-child {
    margin-top: 0;
}
.about-content p {
    font-size: 1rem;
    color: #3d3b36;
    line-height: 1.75;
    margin: 0 0 16px;
}
.about-content .landing-benefits {
    margin-top: 24px;
}
.legal-content {
    max-width: 720px;
    margin: 0 auto;
}
.legal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.legal-updated {
    font-size: 0.82rem;
    color: #6D6B66;
    margin: 0 0 32px;
}
.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 32px 0 12px;
}
.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 24px 0 8px;
}
.legal-content p {
    font-size: 0.9rem;
    color: #3d3b36;
    line-height: 1.7;
    margin: 0 0 12px;
}
.legal-content ul {
    margin: 0 0 16px;
    padding-left: 20px;
}
.legal-content li {
    font-size: 0.9rem;
    color: #3d3b36;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* Landing responsive */
@media (max-width: 700px) {
    .landing-hero-title { font-size: 1.8rem; }
    .landing-hero-sub { font-size: 1rem; }
    .landing-hero { padding: 48px 0 40px; }
    .landing-section { padding: 48px 0; }
    .landing-steps { grid-template-columns: 1fr; gap: 24px; }
    .landing-features { grid-template-columns: 1fr; }
    .landing-hero-actions { flex-direction: column; align-items: center; }
    .landing-hero-demo { gap: 14px; }
    /* Demo CTA banner: stack text above a full-width button on phones */
    .demo-cta-banner { padding: 9px 12px; font-size: 0.82rem; }
    .demo-cta-text { flex: 1 1 100%; min-width: 0; }
    .demo-cta-btn { margin-left: 0; flex: 1 1 auto; text-align: center; padding: 8px 14px; }
    .landing-benefits { grid-template-columns: 1fr; }
    .landing-analytics-list { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-article-title { font-size: 1.5rem; }
    .legal-title { font-size: 1.5rem; }
}

/* ── Sample map pins (inline SVG generated by core/landing_svg.py) ─── */
.lm-pin {
    cursor: default;
}
.lm-pin .lm-pin-dot {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 0.12s;
}
.lm-pin:hover .lm-pin-dot {
    transform: scale(1.25);
}
.lm-pin-here .lm-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: lm-pulse 1.8s ease-in-out infinite;
}
@keyframes lm-pulse {
    0% { transform: scale(0.7); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .lm-pin-here .lm-pulse {
        animation: none;
        opacity: 0.3;
    }
    .lm-pin .lm-pin-dot {
        transition: none;
    }
}

/* Topic hub pages (/wayfinding-signage/ etc). Lists and table captions are the
   only markup the blog/landing rules did not already cover. Body colour matches
   .blog-article-body so hub prose and post prose read identically. */
.pillar-list {
    max-width: 720px;
    margin: 0 auto 20px;
    padding-left: 22px;
    list-style: disc;
}
.pillar-list li {
    font-size: 1rem;
    color: #3d3b36;
    line-height: 1.75;
    margin-bottom: 10px;
}
.pillar-table-caption {
    caption-side: top;
    text-align: left;
    font-size: 0.9rem;
    color: #6D6A62;
    padding-bottom: 10px;
}

/* Breadcrumb trail. Separator is a pseudo-element so it is not read out by
   screen readers and not selectable when copying the text. #6D6A62 is the
   audited muted grey that clears 4.5:1 on every section background. */
.breadcrumbs {
    max-width: 720px;
    margin: 0 auto 18px;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: #6D6A62;
}
.breadcrumbs-item + .breadcrumbs-item::before {
    content: "/";
    margin-right: 6px;
    color: #6D6A62;
}
.breadcrumbs-item a {
    color: #6D6A62;
    text-decoration: none;
}
.breadcrumbs-item a:hover {
    text-decoration: underline;
}

/* In-copy links in prose. Without this they inherit the browser default blue
   (rgb(0,0,238)), which clashes with the palette; it was already the case for
   the blog and became obvious once hubs and use-case pages gained in-copy
   links. #AC4E31 is the audited brand orange that clears 4.5:1 on white and on
   the tinted section backgrounds. The underline stays so links remain
   distinguishable without relying on colour. */
.blog-article-hero a,
.blog-article-body a,
.about-content p a,
.pillar-list a,
.pricing-faq-a a,
.compare-intro a {
    color: #AC4E31;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-article-hero a:hover,
.blog-article-body a:hover,
.about-content p a:hover,
.pillar-list a:hover,
.pricing-faq-a a:hover,
.compare-intro a:hover {
    color: #8F3F28;
}

/* Category filters on the blog index. They sit directly above the post grid,
   where .landing-usecases has no margin of its own, so without this the chips
   render flush against the first row of cards. */
.blog-categories {
    margin-bottom: 36px;
}

/* Free floor-plan generator (/tools/floor-plan-generator/). The only form on
   a public marketing page, so these are the first public input styles. Colours
   reuse the audited palette: #6D6A62 muted text, #AC4E31 brand, #E8E5DE rule. */
.tool-form {
    max-width: 720px;
    margin: 0 auto 28px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
}
.tool-form-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
}
.tool-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.tool-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d3b36;
}
.tool-field input,
.tool-field select,
.tool-field textarea {
    font: inherit;
    font-size: 0.95rem;
    color: #1a1a1a;
    padding: 9px 11px;
    border: 1px solid #D8D4CC;
    border-radius: 6px;
    background: #FBFAF8;
}
.tool-field textarea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.5;
    resize: vertical;
}
.tool-field input:focus,
.tool-field select:focus,
.tool-field textarea:focus {
    outline: 2px solid #AC4E31;
    outline-offset: 1px;
    border-color: #AC4E31;
}
.tool-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.tool-error {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #FBECE6;
    color: #8F3F28;
    font-size: 0.9rem;
}
.tool-output {
    max-width: 960px;
    margin: 0 auto 36px;
    border: 1px solid #E8E5DE;
    border-radius: 10px;
    overflow: hidden;
    background: #F8F7F5;
}
.tool-output svg {
    display: block;
    width: 100%;
    height: auto;
}
.tool-types {
    columns: 2;
    column-gap: 32px;
}
.tool-types code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85em;
    color: #AC4E31;
}
@media (max-width: 700px) {
    .tool-form-row { grid-template-columns: 1fr; gap: 0; }
    .tool-types { columns: 1; }
}
