/* Marketing landing page, pro.qr.abundera.ai
   Supplements pro-style.css. Only loaded on the homepage.
   Uses the same design tokens from tokens.css. */

body.landing {
    background:
        radial-gradient(ellipse at 20% -10%, rgba(96, 165, 250, 0.08), transparent 55%),
        radial-gradient(ellipse at 80% 110%, rgba(167, 139, 250, 0.08), transparent 55%),
        var(--bg);
}

/* --- Header (sticky) --- */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    border-bottom: 1px solid var(--border);
    background: rgba(11, 12, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.landing-nav {
    display: flex;
    gap: 6px;
    align-items: center;
}
.landing-nav a {
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.landing-nav a:hover {
    color: var(--text);
    background: var(--surface-2);
}
.landing-nav .btn.btn-sm {
    margin-left: 6px;
}

@media (max-width: 720px) {
    .landing-header { padding: 12px 18px; }
}

/* --- Header nav (ported from qr.abundera.ai pattern) ---
   New markup uses <nav class="header-nav" id="header-nav"> with .nav-link
   children + a .nav-hamburger button. Desktop: inline row. Mobile (≤768px):
   slide-down drawer toggled via body.nav-open. */
.header-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.header-nav .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}
.header-nav .nav-link:hover {
    color: var(--text);
    background: var(--surface-2);
}
.header-nav .nav-link.active {
    color: var(--text);
}
.header-nav .btn.btn-sm {
    margin-left: 6px;
}

/* Hamburger button, visible only on mobile. */
.nav-hamburger {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px;
    border-radius: var(--radius);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    position: relative;
    z-index: 1600;
}
/* Make sure the SVG inside the hamburger never becomes the click target. */
.nav-hamburger svg { pointer-events: none; }
.nav-hamburger:hover {
    background: var(--surface-2);
    border-color: var(--border-hover);
}
.nav-hamburger:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    /* Hamburger appears, nav becomes a slide-down drawer */
    .nav-hamburger {
        display: inline-flex;
    }

    .header-nav {
        position: fixed;
        top: 64px;
        inset-inline-end: 12px;
        inset-inline-start: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        background: var(--surface-1);
        border: 1px solid var(--border-hover);
        border-radius: var(--radius-lg);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
        z-index: 1550;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.2s, opacity 0.2s, visibility 0s linear 0.2s;
    }

    body.nav-open .header-nav {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.2s, opacity 0.2s;
    }
    /* Backdrop dims the page when the menu is open. */
    body.nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1540;
        pointer-events: none;
        animation: navFadeIn 0.2s ease-out;
    }
    @keyframes navFadeIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    body.nav-open {
        overflow: hidden;
    }

    .header-nav .nav-link,
    .header-nav .btn.btn-sm {
        padding: 12px 14px;
        width: 100%;
        justify-content: flex-start;
        border-radius: var(--radius);
        font-size: 0.9375rem;
        margin-left: 0;
    }

    /* Closed-state: hide secondary links on the desktop strip, only the
       Sign-in CTA stays inline next to the hamburger. */
    .header-nav .nav-link {
        display: none;
    }

    /* Open drawer: show every link at full size. */
    body.nav-open .header-nav .nav-link,
    body.nav-open .header-nav .nav-drawer-only {
        display: flex;
    }
}

@media (max-width: 480px) {
    .landing-header { padding: 12px 16px; }
}

/* --- Hero --- */
.hero {
    padding: 80px 32px 60px;
    text-align: center;
}
.hero-inner {
    max-width: 820px;
    margin: 0 auto;
}
.pill {
    display: inline-block;
    padding: 5px 14px;
    margin-bottom: 20px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
}
.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text), #c5c9ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero h1 em {
    font-style: italic;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 32px;
}
/* The three promises, replaces the old paragraph subhead. Kept visually
   distinct from a regular list so the reader doesn't skim past; each
   bullet is a standalone commitment. */
.hero-promises {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: left;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hero-promises li {
    position: relative;
    padding: 14px 18px 14px 44px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-muted);
}
.hero-promises li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 13px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-weight: 700;
    font-size: 0.95rem;
}
.hero-promises strong {
    color: var(--text);
    font-weight: 600;
}
.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.btn-lg {
    padding: 13px 28px;
    font-size: 1rem;
    border-radius: var(--radius);
}
.hero-footnote {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.hero-footnote a {
    color: var(--blue);
}
.hero-refrain {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 10px 0 18px;
    letter-spacing: 0.01em;
}

/* --- Trust strip --- */
.trust-strip {
    padding: 40px 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(20, 22, 26, 0.4);
}
.trust-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.trust-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.9rem;
}
.trust-item strong {
    color: var(--text);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}
.trust-item span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}
.trust-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
}

@media (max-width: 900px) {
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .trust-inner { grid-template-columns: 1fr; }
}

/* --- Generic section --- */
.section {
    padding: 80px 32px;
    max-width: 1160px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Feature grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 28px 24px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
}
.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 600;
}
.feature-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.feature-card p a {
    color: var(--blue);
}

@media (max-width: 900px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .feature-grid { grid-template-columns: 1fr; }
}

/* --- Analytics suite section --- */
.analytics-section {
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(20, 22, 26, 0.35) 0%, transparent 100%);
}
.analytics-section .section-header code {
    font-size: 0.92em;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 6px;
}
.panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.panel-chip {
    padding: 16px 16px 14px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.panel-chip:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
}
.panel-chip strong {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.panel-chip span {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}
.panel-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 4px;
    padding: 1px 6px;
    line-height: 1.4;
}
.analytics-section .pricing-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}
@media (max-width: 900px) {
    .panel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .panel-grid { grid-template-columns: 1fr; }
}

/* --- How it works --- */
.how-it-works {
    background: rgba(20, 22, 26, 0.4);
    max-width: none;
    margin: 0;
    padding: 80px 32px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.how-it-works .section-header,
.how-it-works .how-steps {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.how-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}
.how-steps li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}
.how-steps li:last-child { border-bottom: none; }
.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: var(--bg);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
}
.how-steps h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 600;
}
.how-steps p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}
.how-steps p a { color: var(--blue); }
.how-steps code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    background: var(--surface-2);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* --- Pricing --- */
.pricing-section {
    text-align: center;
}

/* Founding-member banner styling now lives in the shared web component
   <abundera-pricing layout="banner"> (https://abundera.ai/shared/abundera-pricing.js).
   This was the original reference implementation; promoted to a shared
   component 2026-05-18 so updates ship to check.qr + sign + pro.qr in
   one place. Canon: ~/projects/siteops/docs/FOUNDING-MEMBER-LIFECYCLE.md. */

.billing-toggle {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-bottom: 40px;
}
.billing-btn {
    padding: 8px 18px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.billing-btn.active {
    background: var(--surface-3);
    color: var(--text);
}
.billing-save {
    font-size: 0.7rem;
    color: var(--green);
    background: rgba(52, 211, 153, 0.12);
    padding: 2px 7px;
    border-radius: 999px;
}
.pricing-grid {
    display: grid;
    /* 6 public tiers (Free / Solo / Business / Team / Agency / Enterprise
       Entry) divide cleanly into 3 cols × 2 rows; avoids the old 4×? +
       orphan-row visual. Enterprise Scale gets its own CTA block below
       the grid so it doesn't require an awkward 7th card. */
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: left;
}
@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    /* On phones, 2-col cards collapse the price + feature list into
       unreadable widths. Stack to single column so each plan gets its
       full label/price/CTA space. */
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card { padding: 24px 20px; }
    .price-card.featured { transform: none; }
}
.price-card {
    padding: 32px 26px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
}
.price-card.featured {
    border-color: rgba(96, 165, 250, 0.4);
    background: linear-gradient(180deg, rgba(96, 165, 250, 0.06), var(--surface-1) 40%);
    position: relative;
    transform: translateY(-4px);
}
.price-card.featured::before {
    content: "Most popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 999px;
}
.price-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    font-weight: 700;
}
.price-card .tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    min-height: 2.8em;
}
.price-card .price {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    color: var(--text);
}
.price-card .price .currency { font-size: 1.2rem; color: var(--text-muted); margin-right: 2px; }
.price-card .price .cents { font-size: 0.9rem; color: var(--text-muted); }
.price-card .price-cadence {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex: 1;
}
.price-card li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
    content: "✓";
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}
.price-card .btn {
    width: 100%;
    justify-content: center;
}
.pricing-note {
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.pricing-note a { color: var(--blue); }

/* --- Pricing teaser (landing only; full pricing lives at /pricing/) --- */
.pricing-teaser {
    padding-bottom: 48px;
}
.pricing-teaser-promises {
    max-width: 720px;
    margin: 24px auto 32px;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px 20px;
}
.pricing-teaser-promises li {
    padding: 14px 16px;
    background: var(--bg-elevated, rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
}
.pricing-teaser-promises strong {
    display: block;
    margin-bottom: 2px;
}
.pricing-teaser-founding {
    max-width: 640px;
    margin: 8px auto 28px;
    padding: 18px 22px;
    border: 1px solid var(--amber, #f59e0b);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(245, 158, 11, 0.02));
    text-align: center;
}
.pricing-teaser-founding h3 {
    margin: 8px 0 6px;
    font-size: 1.15rem;
    font-weight: 600;
}
.pricing-teaser-founding p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.pricing-teaser-countdown {
    color: var(--amber, #f59e0b);
    font-weight: 600;
}
.pricing-teaser-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0 8px;
}

/* --- Side-by-side comparison table (P12, brutal legibility) --- */
.pricing-compare-heading {
    margin: 56px auto 18px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.pricing-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-1);
}
.pricing-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    min-width: 900px;
}
.pricing-compare th,
.pricing-compare td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.pricing-compare thead th {
    font-weight: 600;
    color: var(--text);
    background: var(--surface-2);
    font-size: 0.95rem;
    border-bottom: 2px solid var(--border-hover);
}
.pricing-compare tbody th[scope="row"] {
    text-align: left;
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.015);
    width: 26%;
}
.pricing-compare tbody tr:last-child th,
.pricing-compare tbody tr:last-child td { border-bottom: none; }
.pricing-compare tbody tr:hover { background: rgba(96, 165, 250, 0.04); }
.pricing-compare-yes { color: var(--green); font-weight: 600; }
.pricing-compare-no { color: var(--text-muted); }

/* Enterprise Scale: separate full-width CTA between the grid and the
   side-by-side table, so the "call sales for more than Entry" path
   isn't buried in the compare table's rightmost column. */
.enterprise-scale-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent, #60a5fa);
    border-radius: var(--radius);
    text-align: left;
}
.enterprise-scale-cta h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
}
.enterprise-scale-cta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}
.enterprise-scale-cta .btn { white-space: nowrap; }
@media (max-width: 700px) {
    .enterprise-scale-cta {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 700px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
    .price-card.featured { transform: none; }
}

/* --- FAQ --- */
.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-grid details {
    padding: 18px 20px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.15s ease;
}
.faq-grid details[open] { border-color: var(--border-hover); }
.faq-grid summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text);
    list-style: none;
    padding-right: 24px;
    position: relative;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    line-height: 1;
}
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details p {
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted);
}
.faq-grid details p + p { margin-top: 10px; }
.faq-grid code {
    background: var(--surface-2);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88em;
}
.faq-grid details a { color: var(--blue); }

/* --- Final CTA --- */
.final-cta {
    padding: 80px 32px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(96, 165, 250, 0.1), transparent 60%),
        var(--bg);
    border-top: 1px solid var(--border);
}
.final-inner {
    max-width: 640px;
    margin: 0 auto;
}
.final-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}
.final-cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
}

/* --- Footer --- */
.landing-footer {
    padding: 48px 32px 28px;
    border-top: 1px solid var(--border);
    background: var(--surface-1);
}
.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}
.footer-col strong { display: block; margin-bottom: 8px; color: var(--text); font-size: 0.95rem; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; font-weight: 600; }
.footer-col p, .footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-decoration: none;
}
.footer-col a:hover { color: var(--text); }
.footer-copyright {
    max-width: 1160px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 760px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Marketing subpages, /roadmap/, /support/, /cancel/, /legal/keep-alive-decade/
   ========================================================================== */

/* Sections on subpages use a .features-inner wrapper instead of .section-header
   + .feature-grid siblings. The inner div is a no-op layout container; the
   section already provides max-width + padding. */
.features-inner {
    width: 100%;
}

/* Page-title + section-heading typography on subpages.
   Subpages use left-aligned headings (no .section-header centering). */
.landing main > section > .features-inner > h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* Muted description text under a section heading on subpages. */
.landing .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 760px;
}

/* Comparison tables on /cancel/. Inherits the design-token palette. */
.landing .compat-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
    font-size: 0.92rem;
}
.landing .compat-table th,
.landing .compat-table td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.landing .compat-table thead th {
    background: var(--surface-2);
    font-weight: 600;
    color: var(--text);
}
.landing .compat-table tbody th[scope="row"] {
    background: var(--surface-1);
    font-weight: 500;
    color: var(--text-secondary);
}
.landing .compat-table .compare-yes { color: var(--green); font-weight: 600; }
.landing .compat-table .compare-no { color: var(--text-muted); }
.landing .compat-table .compare-partial { color: var(--amber); }

/* ===========================================================
   Hero short-url pills — click-to-copy / share-sheet for the
   short domain (pro.aqr.net). Pattern ported from check.qr;
   tokens normalized to pro.qr (--surface-2, --border, --orange,
   --text-muted, --green). One pill on pro.qr; the wrapper still
   handles multi-pill layouts for future-proofing.
   =========================================================== */
.hero-short-urls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.55rem;
  margin: 1.5rem auto 2rem;
  padding: 0.6rem 0.9rem;
  max-width: max-content;
  background: var(--surface-2, #14161a);
  border: 1px solid var(--border, #26272b);
  border-radius: 12px;
}
.hero-short-urls-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted, #a3a3a3);
  padding-right: 0.3rem;
  margin-right: 0.1rem;
  border-right: 1px solid var(--border, #26272b);
}
.hero-short-urls-label svg { color: var(--orange, #fb923c); flex-shrink: 0; }
.hero-short-url {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange, #fb923c);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--orange, #fb923c) 35%, transparent);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  min-width: 8.5rem;
  justify-content: center;
}
.hero-short-url:hover {
  background: color-mix(in srgb, var(--orange, #fb923c) 12%, transparent);
  border-color: var(--orange, #fb923c);
}
.hero-short-url:active { transform: translateY(1px); }
.hero-short-url:focus-visible {
  outline: 2px solid var(--orange, #fb923c);
  outline-offset: 2px;
}
.hero-short-url-icon { opacity: 0.55; transition: opacity 0.15s; }
.hero-short-url:hover .hero-short-url-icon { opacity: 0.95; }
.hero-short-url.is-copied {
  background: var(--green, #34d399);
  border-color: var(--green, #34d399);
  color: #fff;
  font-family: inherit;
}
.hero-short-url.is-copied .hero-short-url-icon { display: none; }
.hero-short-url.is-copy-failed {
  background: var(--red, #f87171);
  border-color: var(--red, #f87171);
  color: #fff;
  font-family: inherit;
}

@media (max-width: 600px) {
  .hero-short-urls {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
    width: calc(100% - 1.5rem);
  }
  .hero-short-urls-label {
    border-right: none;
    border-bottom: 1px solid var(--border, #26272b);
    padding: 0 0 0.45rem;
    margin: 0 0 0.2rem;
    justify-content: center;
  }
  .hero-short-url { width: 100%; }
}
