/* ============================================================================
   FinMan landing (SSR marketing pages) — single stylesheet.
   Design language mirrors the app brand (teal #01696F, see frontend
   design-tokens.css) on a light marketing surface.

   Structure:
     1. Tokens        — every color/radius/width comes from :root vars
     2. Base + header/footer/nav (base.html chrome)
     3. Buttons       — one system: .ssr-btn[-primary|-secondary|-ghost]
                        + shared large CTA base (.btn-contact/.plan-action)
     4. Shared page scaffold (.lp-*, icon tiles, shared CTA card)
     5. Per-page sections (index, pricing, compare, scenarios, languages,
        detail pages, blog, changelog, story, feedback, legal, 404)
   ========================================================================== */

:root {
    /* Brand */
    --lp-primary: #01696f;
    --lp-primary-bright: #0e8c93;      /* gradient partner / hover accents */
    --lp-accent: #4dd6c4;              /* mint accent (app chart-2) */
    --lp-primary-soft: #e8f4f4;        /* tinted backgrounds */
    --lp-primary-soft-2: #d2eaea;      /* deeper tint (hover) */
    --lp-primary-border: #b5dcde;      /* tinted borders */
    --lp-primary-border-hover: #8ec7ca;

    /* Ink & neutrals (slate) */
    --lp-ink: #0f172a;
    --lp-text-2: #475569;
    --lp-text-3: #64748b;
    --lp-text-faint: #94a3b8;
    --lp-surface: #ffffff;
    --lp-surface-alt: #f8fafc;
    --lp-border: #e2e8f0;
    --lp-border-light: #f1f5f9;

    /* Semantic */
    --lp-success: #16a34a;
    --lp-success-strong: #15803d;
    --lp-success-ink: #166534;
    --lp-success-soft: #f0fdf4;
    --lp-success-border: #bbf7d0;
    --lp-danger: #dc2626;
    --lp-danger-ink: #991b1b;
    --lp-danger-soft: #fef2f2;
    --lp-danger-border: #fecaca;

    /* Gradients */
    --lp-grad-primary: linear-gradient(135deg, #01696f, #0e8c93);
    --lp-grad-page: radial-gradient(circle at top left, rgba(1, 105, 111, 0.06), transparent 28%),
                    linear-gradient(180deg, #f6fbfb 0%, #ffffff 22%, #f7fafc 100%);

    /* Radii — pill / large card / card / small */
    --lp-r-pill: 999px;
    --lp-r-card-lg: 24px;
    --lp-r-card: 16px;
    --lp-r-sm: 10px;

    /* Containers */
    /* ONE page container sitewide: header, footer and every page shell share this
       width so the left content edge never jumps between sections. Long-form text
       is capped by --lp-measure INSIDE full-width cards, not by a narrower page. */
    --lp-w-wide: 1080px;
    --lp-w-content: 760px; /* inner text measures only (section headers, hero leads) */
    --lp-measure: 76ch;    /* readable line length for prose inside cards */

    /* Shadows */
    --lp-shadow-card: 0 2px 12px rgba(15, 23, 42, 0.05);
    --lp-shadow-card-hover: 0 8px 30px rgba(15, 23, 42, 0.1);
    --lp-shadow-btn: 0 8px 20px rgba(1, 105, 111, 0.22);
    --lp-shadow-btn-hover: 0 12px 28px rgba(1, 105, 111, 0.3);

    /* Type scale (H1 ramps) */
    --lp-h1-display: clamp(2.4rem, 4vw, 4.2rem);   /* index/pricing hero */
    --lp-h1-page: clamp(1.9rem, 3.5vw, 2.7rem);    /* hub/blog/story heroes */
    --lp-h1-detail: clamp(1.7rem, 3.2vw, 2.3rem);  /* detail articles */
    --lp-h2-section: clamp(1.9rem, 3vw, 2.6rem);

    /* Page rhythm */
    --lp-page-pad: 4.5rem 0 4rem;
    --lp-sect-pad: 4.75rem 1.5rem;
    --lp-card-pad: 1.6rem;         /* inner padding of every card (features, steps, FAQ, CTA…) */
}

/* ---- 2. Base ---- */

html { overflow-x: hidden; }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* Inter, self-hosted (frontend/public/fonts → /fonts/). Variable font, one file per script; the
   Google Fonts stylesheet used to block rendering for ~0.9 s and its late swap moved the hero.
   'Inter Fallback' is Arial with Inter's metrics, so text set before the woff2 arrives occupies
   the same space and the swap causes no layout shift. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-v20-latin.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: 100 900; font-display: swap; src: url(/fonts/inter-v20-latin-ext.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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-v20-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.12%; ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; }
/* Android has no Arial: its system face is Roboto, matched here with its own overrides. */
@font-face { font-family: 'Inter Fallback Android'; src: local('Roboto'); size-adjust: 100.3%; ascent-override: 93.7%; descent-override: 23.3%; line-gap-override: 0%; }
body { font-family: 'Inter', 'Inter Fallback', 'Inter Fallback Android', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--lp-ink); line-height: 1.6; background: var(--lp-surface); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }

.ssr-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(148,163,184,0.18); padding: 0.75rem 1.5rem; }
.ssr-header-inner { max-width: var(--lp-w-wide); margin: 0 auto; display: flex; align-items: center; gap: 1rem; min-width: 0; flex-wrap: nowrap; }
.ssr-nav { display: flex; align-items: center; gap: 0.15rem; margin-inline-start: auto; min-width: 0; }
.ssr-nav-link { padding: 0.4rem 0.7rem; border-radius: 8px; font-size: 0.85rem; font-weight: 500; color: var(--lp-text-2); text-decoration: none; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.ssr-nav-link:hover { background: var(--lp-border-light); color: var(--lp-ink); text-decoration: none; }
.ssr-nav-link.active { color: var(--lp-primary); font-weight: 600; }
.ssr-logo { font-weight: 800; font-size: 1.15rem; color: var(--lp-ink); text-decoration: none; flex-shrink: 0; }
/* min-width:0 + shrinking children keep the CTA cluster inside the viewport on any
   translation length; nothing here may push the header wider than the screen. */
.ssr-header-right { display: flex; align-items: center; gap: 0.75rem; margin-inline-start: auto; min-width: 0; }

/* ---- 3. Buttons — single system ---- */

.ssr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.5rem; padding: 0.55rem 1.1rem; border: 0; cursor: pointer; border-radius: var(--lp-r-pill); font-size: 0.88rem; font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s; }
.ssr-btn:hover { transform: translateY(-1px); text-decoration: none; }
.ssr-btn-primary { color: #fff; background: var(--lp-grad-primary); box-shadow: var(--lp-shadow-btn); }
.ssr-btn-primary:hover { box-shadow: var(--lp-shadow-btn-hover); }
.ssr-btn-ghost { color: var(--lp-primary); background: rgba(1, 105, 111, 0.08); }
.ssr-btn-ghost:hover { background: rgba(1, 105, 111, 0.14); }
.ssr-btn-secondary { color: var(--lp-ink); background: var(--lp-surface); border: 1.5px solid var(--lp-border); }
/* Primary conversion buttons: 48 px tall, 16 px label — the mobile touch-target minimum. */
.ssr-btn-lg { min-height: 3rem; padding: 0.75rem 1.4rem; font-size: 1rem; }
.ssr-btn-secondary:hover { border-color: var(--lp-primary-border-hover); }

/* Shared large CTA base (developer contact + pricing plan actions) */
.btn-contact, .plan-action { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0.85rem 1.35rem; border-radius: var(--lp-r-pill); font-size: 0.95rem; font-weight: 700; text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease; }
.btn-contact:hover, .plan-action:hover { transform: translateY(-1px); text-decoration: none; }
.btn-contact { color: #fff; background: var(--lp-grad-primary); white-space: nowrap; box-shadow: var(--lp-shadow-btn); }

/* Lang Picker */
.lang-picker { position: relative; }
.lang-trigger { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.65rem; border: 1px solid var(--lp-border); border-radius: 8px; background: var(--lp-surface); cursor: pointer; font-size: 0.8rem; font-weight: 600; color: #334155; transition: border-color 0.15s, box-shadow 0.15s; }
.lang-trigger:hover { border-color: var(--lp-primary-border-hover); box-shadow: 0 0 0 2px rgba(1, 105, 111, 0.1); }
.lang-trigger .arrow { font-size: 0.6rem; transition: transform 0.2s; }
.lang-picker.open .lang-trigger .arrow { transform: rotate(180deg); }
.lang-trigger-flag { font-size: 1rem; line-height: 1; }

.lang-dropdown { display: none; position: absolute; top: calc(100% + 6px); inset-inline-end: 0; width: 210px; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,0.14); z-index: 300; overflow: hidden; }
.lang-picker.open .lang-dropdown { display: block; }
.lang-dropdown-search { padding: 0.5rem; border-bottom: 1px solid var(--lp-border-light); }
.lang-dropdown-search input { width: 100%; padding: 0.4rem 0.6rem; border: 1px solid var(--lp-border); border-radius: 8px; font-size: 0.82rem; outline: none; background: var(--lp-surface-alt); transition: border-color 0.15s; }
.lang-dropdown-search input:focus { border-color: var(--lp-primary-border-hover); background: var(--lp-surface); }
.lang-dropdown-search input::placeholder { color: var(--lp-text-faint); }

.lang-list { max-height: 280px; overflow-y: auto; padding: 0.25rem 0; }
.lang-list::-webkit-scrollbar { width: 3px; }
.lang-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.lang-item { display: flex; align-items: center; gap: 0.45rem; width: 100%; padding: 0.38rem 0.65rem; border: none; background: transparent; cursor: pointer; font-size: 0.85rem; color: #334155; transition: background 0.1s; text-align: start; }
.lang-item:hover { background: var(--lp-border-light); }
.lang-item.active { background: var(--lp-primary-soft); color: var(--lp-primary); font-weight: 600; }
.lang-item-flag { font-size: 0.95rem; line-height: 1; flex-shrink: 0; width: 1.3rem; text-align: center; }
.lang-no-results { padding: 0.75rem; text-align: center; color: var(--lp-text-faint); font-size: 0.82rem; }

.lang-backdrop { display: none; position: fixed; inset: 0; z-index: 299; }
.lang-picker.open .lang-backdrop { display: block; }

/* Footer — two stacked rows: (nav + social) / divider / (copyright + email) */
.ssr-footer { padding: 1.1rem 1rem 0.9rem; border-top: 1px solid rgba(148,163,184,0.18); }
.ssr-footer-inner { max-width: var(--lp-w-wide); margin: 0 auto; display: flex; flex-direction: column; gap: 0.7rem; }
.ssr-footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.ssr-footer-row-bottom { border-top: 1px solid rgba(148,163,184,0.14); padding-top: 0.7rem; }
.ssr-footer-copy { color: var(--lp-text-faint); font-size: 0.78rem; white-space: nowrap; }
.ssr-footer-mail { color: var(--lp-text-faint); font-size: 0.78rem; text-decoration: none; font-weight: 500; white-space: nowrap; transition: color 0.15s; }
.ssr-footer-mail:hover { color: var(--lp-primary); }
.ssr-footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.ssr-footer-nav a { color: var(--lp-text-3); font-size: 0.83rem; text-decoration: none; font-weight: 500; white-space: nowrap; transition: color 0.15s; }
.ssr-footer-nav a:hover { color: var(--lp-primary); }
.ssr-footer-social { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; }
.ssr-footer-social-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--lp-text-faint); text-decoration: none; font-size: 0.78rem; font-weight: 500; padding: 0.3rem 0.5rem; border-radius: 6px; transition: color 0.15s, background 0.15s; }
.ssr-footer-social-link:hover { color: var(--lp-primary); background: var(--lp-primary-soft); text-decoration: none; }
.ssr-footer-social-link svg { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 639px) {
    .ssr-footer-row { flex-direction: column; justify-content: center; gap: 0.5rem; }
    .ssr-footer-nav { justify-content: center; gap: 0.25rem 0.8rem; }
    .ssr-footer-social { justify-content: center; }
}

@media (max-width: 768px) {
    .ssr-header { padding: 0.5rem 0.6rem; }
    .ssr-header-inner { gap: 0.5rem; }
    .ssr-logo { font-size: 1rem; }
    .ssr-header-right { gap: 0.3rem; }
    .ssr-header-right .ssr-btn-ghost { display: none; }
    .ssr-btn { font-size: 0.75rem; padding: 0.4rem 0.65rem; min-height: 2rem; }
    /* Hard ceiling for the CTA: a long translation truncates instead of overflowing the screen */
    .ssr-header-right .ssr-btn { max-width: 40vw; }
    .lang-trigger { padding: 0.3rem 0.5rem; font-size: 0.75rem; }
    .mob-nav-btn { width: 32px; height: 32px; }
    .mob-nav-btn span { width: 16px; height: 2px; }
    .ssr-nav { display: none; }
}

/* Mobile nav hamburger */
.mob-nav-btn { display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--lp-border); border-radius: 8px; background: transparent; cursor: pointer; padding: 0; }
.mob-nav-btn span { display: block; width: 18px; height: 2px; background: #334155; border-radius: 1px; }
@media (max-width: 768px) { .mob-nav-btn { display: flex; } }

/* Mobile nav overlay */
.mob-nav { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(15,23,42,0.5); }
.mob-nav.open { display: block; }
.mob-nav-panel { position: absolute; top: 0; inset-inline-end: 0; bottom: 0; width: min(300px, 88vw); background: var(--lp-surface); display: flex; flex-direction: column; padding: 1.25rem; box-shadow: -8px 0 32px rgba(15,23,42,0.18); overflow-y: auto; }
.mob-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--lp-border-light); }
.mob-nav-brand { font-weight: 800; font-size: 1.15rem; color: var(--lp-ink); }
.mob-nav-close { border: none; background: none; cursor: pointer; padding: 6px; color: var(--lp-text-3); font-size: 1.1rem; line-height: 1; border-radius: 6px; }
.mob-nav-close:hover { background: var(--lp-border-light); color: var(--lp-ink); }
.mob-nav-links { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.mob-nav-link { display: block; padding: 0.75rem 1rem; border-radius: var(--lp-r-sm); font-size: 1rem; font-weight: 500; color: #334155; text-decoration: none; transition: background 0.15s; }
.mob-nav-link:hover { background: var(--lp-border-light); color: var(--lp-ink); text-decoration: none; }
.mob-nav-link.active { background: var(--lp-primary-soft); color: var(--lp-primary); font-weight: 600; }
.mob-nav-cta { display: block; margin-top: 1rem; text-align: center; border-radius: var(--lp-r-sm); }

@media (max-width: 600px) {
    .lang-dropdown {
        position: fixed;
        top: 58px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        border-radius: 12px;
        max-height: 65vh;
    }
    .lang-list { max-height: calc(65vh - 56px); }
}

/* Channel pills (_channels.html): the three ways to use FinMan besides the web app. */
.channel-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.channel-links-center { justify-content: center; }
.channel-link { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.4rem; padding: 0.4rem 0.95rem; border-radius: var(--lp-r-pill); background: var(--lp-surface); border: 1.5px solid var(--lp-border); color: var(--lp-ink); font-size: 0.86rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform 0.15s, border-color 0.15s; }
.channel-link:hover { border-color: var(--lp-primary-border-hover); transform: translateY(-1px); text-decoration: none; }
.hero-copy .channel-links { margin-top: 1rem; }
.lp-cta .channel-links { margin-top: 1rem; }

/* ---- 4. Shared page scaffold ---- */

/* Flat content pages share one background + vertical rhythm */
.scn-page, .mtr-hub, .clc-hub, .blog-page, .cl-page, .story-page, .fb-page, .policy-page { min-height: calc(100vh - 120px); padding: var(--lp-page-pad); background: var(--lp-surface-alt); }
@media (max-width: 600px) { .scn-page, .mtr-hub, .clc-hub, .blog-page, .cl-page, .story-page, .fb-page { padding: 3.25rem 0 2.75rem; } }

/* Shells: one horizontal container, three widths */
.scn-shell, .blog-shell, .story-shell, .cl-shell, .mtr-hub-shell, .clc-hub-shell, .fb-shell { max-width: var(--lp-w-wide); margin: 0 auto; padding: 0 24px; }

/* Back link (all detail/sub pages) */
.scn-back, .blog-back, .cl-back { display: inline-flex; align-items: center; gap: 6px; color: var(--lp-primary); font-size: 0.88rem; font-weight: 600; text-decoration: none; margin-bottom: 28px; }
.scn-back:hover, .blog-back:hover, .cl-back:hover { text-decoration: underline; }

/* Content card (article/faq blocks) — cards span the page container; the text
   inside is capped at a readable measure so long lines never stretch edge to edge. */
.scn-article, .scn-faq, .blog-article, .story-chapter, .cl-card, .fb-card, .policy-card { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); }
.scn-article, .scn-faq, .blog-article { padding: 32px 36px; margin-bottom: 24px; }
@media (max-width: 600px) { .scn-article, .scn-faq, .blog-article { padding: 24px 20px; } }
.scn-article p, .scn-article ul, .scn-article ol, .scn-article h2,
.blog-article p, .blog-article ul, .blog-article ol, .blog-article h2,
.story-chapter p, .story-hero .story-lead, .blog-hero p, .cl-hero p,
.policy-section p, .policy-intro, .scn-answer, .blog-answer-summary,
.cl-text, .scn-faq-item dt, .scn-faq-item dd, .blog-article .blog-callout { max-width: var(--lp-measure); }

/* Answer lead (GEO/AEO summary shown as intro) */
.scn-answer, .blog-answer-summary { background: #eef7f7; border-inline-start: 3px solid var(--lp-primary); border-radius: 8px; padding: 14px 18px; margin: 0 0 24px; color: var(--lp-ink); font-size: 1.02rem; font-weight: 500; line-height: 1.65; }

/* Detail H1 */
.scn-head h1 { font-size: var(--lp-h1-detail); font-weight: 800; color: var(--lp-ink); margin: 0 0 14px; line-height: 1.2; }
/* Scenario pages: primary actions under the answer paragraph + optional product screenshot. */
.scn-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 0 0 24px; }
.scn-figure { margin: 0 0 24px; }
.scn-figure img { display: block; width: 100%; max-width: 320px; height: auto; border-radius: var(--lp-r-card-lg); border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-card-hover); }

/* FAQ block */
.scn-faq h2 { font-size: 1.15rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 18px; }
.scn-faq-item { margin-bottom: 18px; }
.scn-faq-item:last-child { margin-bottom: 0; }
.scn-faq-item dt { font-weight: 700; color: var(--lp-ink); margin-bottom: 6px; font-size: 0.97rem; }
.scn-faq-item dd { color: #374151; margin: 0; font-size: 0.93rem; line-height: 1.65; }

/* Shared bottom CTA card (_cta.html include) */
.lp-cta { text-align: center; padding: 30px 24px; margin-top: 1.5rem; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); }
.lp-cta h2 { font-size: 1.25rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 8px; }
.lp-cta p { color: var(--lp-text-2); margin: 0 0 18px; }
.lp-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-cta-note { color: var(--lp-text-faint); font-size: 0.8rem; margin: 16px 0 0 !important; }

/* Icon tiles — one visual language for every icon on the site */
.tile { display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.tile-brand { background: var(--lp-grad-primary); }
.tile-mint { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.tile-green { background: linear-gradient(135deg, #15803d, #34d399); }
.tile-amber { background: linear-gradient(135deg, #b45309, #f59e0b); }
.tile-orange { background: linear-gradient(135deg, #9a3412, #f97316); }
.tile-red { background: linear-gradient(135deg, #dc2626, #fb7185); }
.tile-sky { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.tile-cyan { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.tile-violet { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.tile-slate { background: linear-gradient(135deg, #475569, #0f172a); }

/* ---- 5. index.html ---- */

.about-page { margin: -1.5rem calc(50% - 50vw) 0; background: var(--lp-grad-page); color: var(--lp-ink); }
.hero-section { position: relative; overflow: hidden; padding: 5.5rem 1.5rem 4.5rem; }
.hero-grid { position: relative; z-index: 1; max-width: var(--lp-w-wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: 2rem; align-items: center; }
.hero-copy { max-width: 640px; }
.hero-badge { display: inline-flex; align-items: flex-start; flex-wrap: wrap; gap: 0.25rem 0.7rem; max-width: 100%; padding: 0.45rem 0.9rem; border-radius: var(--lp-r-pill); background: var(--lp-primary-soft); border: 1px solid var(--lp-primary-border); color: var(--lp-primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-badge-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero-title { margin: 0; color: var(--lp-ink); font-size: var(--lp-h1-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; }
.hero-subtitle { margin: 1.25rem 0 0; color: var(--lp-text-2); font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; line-height: 1.35; max-width: 48rem; }
.hero-description { margin: 1rem 0 0; color: var(--lp-text-2); font-size: 1rem; line-height: 1.75; max-width: 42rem; }
/* AEO paragraph — kept in the DOM for search/AI engines, visually hidden to avoid duplicating the hero description */
.answer-summary { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }
.hero-link { color: var(--lp-primary); font-size: 0.95rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(1, 105, 111, 0.35); }
.hero-link:hover { color: var(--lp-primary-bright); text-decoration-color: var(--lp-primary-bright); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.proof-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 0.85rem; border-radius: var(--lp-r-pill); background: var(--lp-surface); color: var(--lp-text-2); font-size: 0.84rem; border: 1px solid var(--lp-border); }
/* Homepage hero (index.html): headline → one-paragraph definition → two buttons → channels → trust → screenshot. */
.hero-lead { margin: 1.25rem 0 0; color: var(--lp-text-2); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; max-width: 40rem; }
.hero-trust { display: flex; align-items: flex-start; gap: 0.5rem; margin: 1rem 0 0; color: var(--lp-text-3); font-size: 0.88rem; line-height: 1.5; }
.hero-trust svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--lp-primary); }
.hero-shot { display: flex; justify-content: flex-end; }
.hero-shot picture, .hero-shot img { display: block; width: 100%; max-width: 560px; height: auto; }
.hero-shot img { border-radius: var(--lp-r-card-lg); border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-card-hover); background: var(--lp-surface); }
.hero-panel { display: flex; justify-content: flex-end; }
.hero-panel-card { width: 100%; max-width: 460px; padding: 1.4rem; border-radius: var(--lp-r-card-lg); background: var(--lp-surface); border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-card-hover); }
.panel-kicker { color: var(--lp-text-3); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.panel-metric-grid { display: grid; gap: 0.85rem; }
.metric-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; align-items: flex-start; padding: 1rem; border-radius: var(--lp-r-card); background: var(--lp-surface-alt); }
.metric-icon, .audience-icon, .spotlight-icon, .feature-list-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.metric-card strong { display: block; color: var(--lp-ink); font-size: 0.98rem; margin-bottom: 0.35rem; }
.metric-card p { margin: 0; color: var(--lp-text-2); font-size: 0.88rem; line-height: 1.6; }

.section, .final-cta-section { padding: var(--lp-sect-pad); }
.section-surface { background: rgba(241,245,249,0.66); }
.section-plain { background: transparent; }
.home-page .section-plain + .section-plain, .home-page .section-plain + .final-cta-section { padding-top: 0; }
.section-container { max-width: var(--lp-w-wide); margin: 0 auto; }
.section-header { max-width: var(--lp-w-content); margin: 0 auto 2.5rem; text-align: center; }
.section-eyebrow { margin-bottom: 0.9rem; color: var(--lp-primary); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--lp-ink); font-size: var(--lp-h2-section); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.section-title-left, .section-description-left { text-align: start; }
.section-description { margin: 1rem auto 0; color: var(--lp-text-2); font-size: 1rem; line-height: 1.75; max-width: 45rem; }

.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.audience-card, .spotlight-card, .feature-list-card, .pricing-card, .trust-card { border: 1px solid rgba(148,163,184,0.18); box-shadow: 0 18px 40px rgba(15,23,42,0.06); }
.audience-card { padding: 1.6rem; border-radius: var(--lp-r-card-lg); background: rgba(255,255,255,0.88); }
.audience-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.audience-index { color: var(--lp-text-faint); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; }
.audience-card h3, .spotlight-card h3 { margin: 0; color: var(--lp-ink); font-size: 1.2rem; font-weight: 700; }
.audience-card p, .spotlight-card p, .feature-list-card p, .pricing-card p, .developer-note { margin: 0.75rem 0 0; color: var(--lp-text-2); font-size: 0.95rem; line-height: 1.7; }

.howto-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: howto; }
.howto-card { position: relative; padding: var(--lp-card-pad); border-radius: var(--lp-r-card-lg); background: rgba(255,255,255,0.88); border: 1px solid rgba(148,163,184,0.18); box-shadow: 0 18px 40px rgba(15,23,42,0.06); }
.howto-step-num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 0.6rem; border-radius: 14px; background: var(--lp-grad-primary); color: #fff; font-weight: 800; font-size: 1rem; }
.howto-card h3 { margin: 1rem 0 0; color: var(--lp-ink); font-size: 1.15rem; font-weight: 700; }
.howto-card p { margin: 0.6rem 0 0; color: var(--lp-text-2); font-size: 0.95rem; line-height: 1.7; }
.android-store-btn { margin-top: 1.4rem; }

.spotlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.spotlight-card { padding: 1.6rem; border-radius: var(--lp-r-card-lg); background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,245,249,0.88)); }
.spotlight-icon { margin-bottom: 1.2rem; }

.feature-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.feature-list-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: flex-start; padding: 1.2rem 1.25rem; border-radius: var(--lp-r-card); background: rgba(255,255,255,0.92); }
.feature-list-card strong { display: block; color: var(--lp-ink); font-size: 0.98rem; }

.section-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.pricing-cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
.pricing-card { padding: 1.45rem; border-radius: var(--lp-r-card-lg); background: rgba(255,255,255,0.92); }
.pricing-card-free { border-color: rgba(34,197,94,0.25); }
.pricing-card-premium { border-color: rgba(1, 105, 111, 0.3); }
.pricing-label, .developer-label { display: inline-flex; align-items: center; padding: 0.38rem 0.72rem; border-radius: var(--lp-r-pill); background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; color: var(--lp-primary); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: none; }
.text-link + .text-link { margin-inline-start: 1.5rem; }
.card-title-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(1, 105, 111, 0.35); text-underline-offset: 3px; }
.card-title-link:hover { color: var(--lp-primary); text-decoration-color: var(--lp-primary); }
a.proof-chip { text-decoration: none; transition: border-color 0.15s, color 0.15s; }
a.proof-chip:hover { color: var(--lp-primary); border-color: var(--lp-primary-border-hover); text-decoration: none; }
.trust-card { margin-top: 1.5rem; padding: 1.5rem; border-radius: var(--lp-r-card-lg); background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.96)); }
.trust-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.trust-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.95rem 1rem; border-radius: var(--lp-r-card); background: rgba(241,245,249,0.88); color: #1e293b; font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.trust-item-icon, .trust-icon { width: 2.6rem; height: 2.6rem; border-radius: 0.9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; background: var(--lp-grad-primary); }
.developer-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(148,163,184,0.2); }
.developer-copy { max-width: 34rem; }
.developer-block h3 { margin: 0; color: var(--lp-ink); font-size: 1.2rem; font-weight: 700; }
.developer-role { margin: 0.75rem 0 0; color: #334155; font-size: 0.95rem; font-weight: 700; }
.final-cta-section { padding-top: 1.25rem; }
.final-cta-card { max-width: var(--lp-w-wide); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: var(--lp-card-pad); border-radius: var(--lp-r-card-lg); background: var(--lp-surface); border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-card-hover); }
.final-cta-title { margin: 0; color: var(--lp-ink); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -0.035em; }
.final-cta-description { margin: 0.95rem 0 0; max-width: 40rem; color: var(--lp-text-2); font-size: 1rem; line-height: 1.75; }
.final-cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.85rem; flex-shrink: 0; }
.final-cta-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.85rem; }

/* Homepage sections (index.html): three feature cards, author note, mentions list. */
.home-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.home-feature { display: flex; flex-direction: column; padding: var(--lp-card-pad); border-radius: var(--lp-r-card-lg); background: rgba(255,255,255,0.92); border: 1px solid var(--lp-border); }
.home-feature-icon { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; margin-bottom: 1.1rem; }
.home-feature h3 { margin: 0; color: var(--lp-ink); font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.home-feature p { margin: 0.6rem 0 1rem; color: var(--lp-text-2); font-size: 0.95rem; line-height: 1.7; flex: 1; }
.home-features-note { margin: 1.5rem auto 0; max-width: 44rem; text-align: center; color: var(--lp-text-2); font-size: 0.95rem; line-height: 1.7; }
.home-split-card { min-width: 0; padding: var(--lp-card-pad); border-radius: var(--lp-r-card-lg); background: rgba(255,255,255,0.92); border: 1px solid var(--lp-border); }
.home-author { margin: 0.9rem 0 0; color: var(--lp-text-2); font-size: 1rem; line-height: 1.75; }
.home-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.1rem 0 0; }
.home-links .text-link { margin: 0; }
.home-mentions { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.home-mentions li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; padding: calc(var(--lp-card-pad) * 0.65) var(--lp-card-pad); border-radius: var(--lp-r-card); background: rgba(255,255,255,0.92); border: 1px solid var(--lp-border); }
.home-mentions a { color: var(--lp-ink); font-weight: 600; text-decoration: none; }
.home-mentions a:hover { color: var(--lp-primary); text-decoration: underline; text-underline-offset: 3px; }
.home-mention-site { color: var(--lp-primary); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.home-listings { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin: 1.25rem 0 0; color: var(--lp-text-3); font-size: 0.92rem; }
.home-listing { white-space: nowrap; }
.home-listing:not(:last-child)::after { content: '·'; margin-inline-start: 0.6rem; color: var(--lp-text-3); }
.home-listings a { color: var(--lp-primary); font-weight: 700; text-decoration: none; }
.home-listings a:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.faq-card { padding: var(--lp-card-pad); border-radius: var(--lp-r-card); background: rgba(255,255,255,0.92); border: 1px solid rgba(148,163,184,0.14); }
.faq-card strong, .faq-card h3 { display: block; margin: 0 0 0.5rem; color: var(--lp-ink); font-size: 0.98rem; font-weight: 700; line-height: 1.4; }
.faq-card p { color: var(--lp-text-2); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.faq-card p .text-link { display: block; margin-top: 0.5rem; }

@media (max-width: 1024px) {
    .about-page { margin-top: -0.5rem; }
    .hero-grid, .section-split, .spotlight-grid, .audience-grid, .feature-list-grid, .compare-grid, .howto-grid, .home-features { grid-template-columns: 1fr; }
    .hero-panel, .hero-shot { justify-content: flex-start; }
    .hero-shot picture, .hero-shot img { max-width: none; }
    .hero-panel-card { max-width: none; }
    .final-cta-card, .developer-block { align-items: flex-start; flex-direction: column; }
    .final-cta-actions { align-items: flex-start; }
    .final-cta-buttons { justify-content: flex-start; }
}
@media (max-width: 768px) {
    .about-page { margin: -0.5rem calc(50% - 50vw) 0; }
    :root { --lp-card-pad: 1.25rem; }
    .hero-section, .section, .final-cta-section { padding-left: 1rem; padding-right: 1rem; }
    .hero-section { padding-top: 3.25rem; padding-bottom: 2.75rem; }
    .hero-title { font-size: 2.35rem; }
    /* Compact mobile hero: the proof chips duplicate the features sections below */
    .hero-proof { display: none; }
    .hero-actions, .final-cta-buttons { flex-direction: column; }
    .hero-actions { gap: 0.6rem; margin-top: 1.5rem; }
    .hero-actions .ssr-btn, .final-cta-buttons .ssr-btn, .scn-actions .ssr-btn, .btn-contact { width: 100%; }
    .channel-link { flex: 1 1 auto; }
    .home-listings > span:first-child { flex-basis: 100%; }
    .hero-panel-card { padding: 1.1rem; }
    .metric-card { padding: 0.8rem; }
    .metric-icon { width: 2.5rem; height: 2.5rem; }
    .trust-list { grid-template-columns: 1fr; }
    .section, .final-cta-section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
    .section-header { margin-bottom: 1.75rem; }
    .final-cta-card { align-items: stretch; }
    .final-cta-actions { align-items: stretch; }
    .final-cta-title { font-size: 1.5rem; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-badge, .section-eyebrow { font-size: 0.74rem; }
    .metric-card, .audience-card, .spotlight-card, .feature-list-card, .pricing-card, .trust-card { border-radius: var(--lp-r-card); }
}

/* Pill-shaped text blocks: a 999px radius only works while the text stays on one
   line — once it wraps, the rounded corners cut into the text. On narrow screens
   every wrappable pill falls back to a plain rounded box. */
@media (max-width: 640px) {
    .hero-badge, .proof-chip, .scenario-time, .languages-count, .compare-win-label, .pricing-label, .developer-label {
        border-radius: 1rem;
    }
    .hero-badge { letter-spacing: 0.04em; line-height: 1.45; }
}

/* ---- compare.html ---- */

.compare-page { margin: -1.5rem calc(50% - 50vw) 0; padding: 4.5rem 1.5rem 5rem; background: var(--lp-grad-page); color: var(--lp-ink); }
.compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: var(--lp-w-wide); margin: 2.5rem auto 0; }
.compare-card { padding: 1.75rem; border-radius: var(--lp-r-card-lg); background: var(--lp-surface); border: 1px solid var(--lp-border); box-shadow: 0 4px 16px rgba(15,23,42,0.06); display: flex; flex-direction: column; transition: box-shadow 0.2s, border-color 0.2s; }
.compare-card:hover { box-shadow: var(--lp-shadow-card-hover); border-color: var(--lp-primary-border); }
.compare-card-header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--lp-border-light); }
.compare-card-name { font-weight: 700; color: var(--lp-ink); font-size: 1.15rem; }
.compare-price-badge { flex-shrink: 0; background: rgba(239,68,68,0.07); color: var(--lp-danger); font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--lp-r-pill); border: 1px solid rgba(239,68,68,0.15); white-space: nowrap; }
.compare-card-desc { color: var(--lp-text-2); font-size: 0.92rem; line-height: 1.65; margin: 0 0 1rem; }
.compare-limit { color: var(--lp-danger-ink); font-size: 0.88rem; line-height: 1.55; margin-bottom: 1rem; padding: 0.65rem 0.85rem; background: var(--lp-danger-soft); border-radius: var(--lp-r-sm); border: 1px solid var(--lp-danger-border); }
.compare-win-label { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lp-success-strong); margin-bottom: 0.6rem; padding: 0.3rem 0.7rem; background: var(--lp-success-soft); border: 1px solid var(--lp-success-border); border-radius: var(--lp-r-pill); }
.compare-win-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.compare-win-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; color: #1e293b; font-weight: 500; line-height: 1.5; }
.compare-win-list li::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #dcfce7; color: var(--lp-success-strong); font-size: 0.7rem; font-weight: 800; flex-shrink: 0; margin-top: 0.1rem; }
.compare-learn-more { margin-top: auto; align-self: flex-start; color: var(--lp-primary); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.compare-learn-more:hover { text-decoration: underline; }
.compare-cta-wrap { max-width: var(--lp-w-wide); margin: 0 auto; }
/* minmax(0, 1fr): a plain 1fr track grows to the card's min-content width (the name + price
   badge header does not wrap), which pushed cards past the viewport on phones. */
@media (max-width: 1024px) { .compare-grid { grid-template-columns: minmax(0, 1fr); } }
.compare-card { min-width: 0; }
.compare-card-header { flex-wrap: wrap; }
.compare-price-badge { flex-shrink: 1; min-width: 0; max-width: 100%; white-space: normal; }
@media (max-width: 768px) {
    .compare-page { margin: -0.5rem calc(50% - 50vw) 0; padding: 3rem 1rem 4rem; }
    .compare-grid { gap: 1.25rem; }
    .compare-card { padding: 1.25rem; }
}

/* ---- pricing.html (page-specific pieces on top of the shared index styles) ---- */

.pricing-page { margin: -1.5rem calc(50% - 50vw) 0; background: var(--lp-grad-page); color: var(--lp-ink); }
.pricing-shell { max-width: var(--lp-w-wide); margin: 0 auto; }
.pricing-hero { position: relative; overflow: hidden; padding: 5.5rem 1.5rem 4.5rem; }
.pricing-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); gap: 2rem; align-items: center; }
.pricing-hero-copy { max-width: 640px; }
.pricing-hero-panel { display: flex; justify-content: flex-end; }
.hero-plan-highlight { padding: 1rem 1.05rem; border-radius: var(--lp-r-card); background: var(--lp-surface-alt); border: 1px solid var(--lp-border); }
.highlight-price { display: flex; align-items: baseline; gap: 0.45rem; }
.highlight-amount { color: var(--lp-ink); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.highlight-period { color: var(--lp-text-3); font-size: 0.9rem; font-weight: 600; }
.hero-plan-highlight p { margin: 0.5rem 0 0; color: var(--lp-text-2); font-size: 0.9rem; line-height: 1.6; }
.hero-proof-list { margin-top: 0.75rem; display: grid; gap: 0.5rem; }
.proof-row { display: flex; align-items: center; gap: 0.6rem; color: var(--lp-text-2); font-size: 0.86rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan-card { border: 1px solid rgba(148,163,184,0.18); box-shadow: 0 18px 40px rgba(15,23,42,0.06); padding: 1.75rem; border-radius: var(--lp-r-card-lg); background: rgba(255,255,255,0.94); position: relative; display: flex; flex-direction: column; }
.plan-card-premium { border-color: rgba(1, 105, 111, 0.32); transform: scale(1.02); box-shadow: 0 24px 48px rgba(15,23,42,0.09); }
.plan-card-badge { position: absolute; top: -0.7rem; left: 50%; transform: translateX(-50%); padding: 0.3rem 1rem; border-radius: var(--lp-r-pill); background: var(--lp-grad-primary); color: #fff; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.plan-header { margin-bottom: 1.25rem; }
.plan-pill { display: inline-block; padding: 0.25rem 0.65rem; border-radius: var(--lp-r-pill); font-size: 0.72rem; font-weight: 800; margin-bottom: 0.75rem; }
.plan-pill-free { background: var(--lp-success-soft); color: var(--lp-success); }
.plan-pill-premium { background: var(--lp-primary-soft); color: var(--lp-primary); }
.plan-pill-lifetime { background: #f5f3ff; color: #7c3aed; }
.plan-header h3 { margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--lp-ink); }
.plan-header p { margin: 0.6rem 0 0; color: var(--lp-text-2); font-size: 0.9rem; }

.billing-toggle { display: flex; background: rgba(241,245,249,0.88); border-radius: 12px; padding: 0.25rem; margin-bottom: 1.25rem; }
.toggle-choice { flex: 1; padding: 0.55rem 0.75rem; border: 0; border-radius: var(--lp-r-sm); background: transparent; cursor: pointer; color: var(--lp-text-3); font-size: 0.85rem; font-weight: 600; position: relative; }
.toggle-choice.active { background: var(--lp-surface); color: var(--lp-ink); box-shadow: 0 2px 8px rgba(15,23,42,0.08); }
.save-badge { position: absolute; top: -0.4rem; inset-inline-end: 0.1rem; padding: 0.15rem 0.4rem; border-radius: var(--lp-r-pill); background: #dcfce7; color: var(--lp-success); font-size: 0.65rem; font-weight: 700; }

.plan-price-block { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.3rem; }
.plan-price { font-size: 2.4rem; font-weight: 800; color: var(--lp-ink); font-variant-numeric: tabular-nums; }
.plan-period { color: var(--lp-text-3); font-size: 0.88rem; font-weight: 600; }
.price-footnote { color: var(--lp-text-3); font-size: 0.82rem; margin-bottom: 1.25rem; }
.price-footnote-accent { color: #7c3aed; font-weight: 600; }

.plan-features { list-style: none; margin: 0 0 1.5rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.6rem 0; color: #334155; font-size: 0.92rem; border-bottom: 1px solid rgba(148,163,184,0.12); }
.plan-features li:last-child { border-bottom: 0; }

/* One primary CTA per screen: the recommended plan gets the filled button,
   the other plans get a quiet outline. */
.plan-action { width: 100%; border: 0; }
.plan-action-premium { color: #fff; background: var(--lp-grad-primary); box-shadow: var(--lp-shadow-btn); }
.plan-action-premium:hover { box-shadow: var(--lp-shadow-btn-hover); }
.plan-action-free, .plan-action-lifetime { color: var(--lp-ink); background: var(--lp-surface); border: 1.5px solid var(--lp-border); }
.plan-action-free:hover, .plan-action-lifetime:hover { border-color: var(--lp-primary-border-hover); }

.pricing-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.detail-column { min-width: 0; }

@media (max-width: 1024px) {
    .pricing-hero-grid, .pricing-detail-grid, .pricing-grid { grid-template-columns: 1fr; }
    .plan-card-premium { transform: none; }
}
@media (max-width: 768px) {
    .pricing-page { margin: -0.5rem calc(50% - 50vw) 0; }
    .pricing-hero { padding: 3.25rem 1rem 2.75rem; }
    .plan-action { width: 100%; }
    .pricing-hero .hero-title { font-size: 2.2rem; }
}

/* ---- scenarios.html ---- */

.scenarios-page { max-width: var(--lp-w-wide); margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.scenarios-hero { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.scenarios-hero .section-eyebrow { margin-bottom: 1rem; }
.scenarios-hero h1 { font-size: var(--lp-h1-page); font-weight: 800; color: var(--lp-ink); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; }
.scenarios-hero p { font-size: 1.05rem; color: var(--lp-text-2); line-height: 1.7; margin: 0; }

.scenarios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.scenario-card { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; box-shadow: var(--lp-shadow-card); transition: box-shadow 0.2s, border-color 0.2s; }
.scenario-card:hover { box-shadow: var(--lp-shadow-card-hover); border-color: var(--lp-primary-border); }
.scenario-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.scenario-icon-wrap { width: 3rem; height: 3rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.scenario-time { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.35rem 0.75rem; background: var(--lp-success-soft); color: var(--lp-success); border: 1px solid var(--lp-success-border); border-radius: var(--lp-r-pill); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.scenario-card h2 { font-size: 1.15rem; font-weight: 700; color: var(--lp-ink); margin: 0; line-height: 1.35; }
.scenario-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.scenario-steps li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.92rem; color: #334155; line-height: 1.55; }
.scenario-step-num { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--lp-grad-primary); color: #fff; font-size: 0.72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.15rem; }
.scenario-result { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; font-weight: 700; color: var(--lp-primary); padding: 0.85rem 1rem; background: var(--lp-primary-soft); border-radius: 12px; }
.scenario-result-icon { font-size: 1.1rem; }
.scenario-more-link { align-self: flex-start; font-size: 0.88rem; font-weight: 700; color: var(--lp-primary); text-decoration: none; }
.scenario-more-link:hover { text-decoration: underline; }
.scenarios-cta-wrap { margin-top: 3.5rem; }

@media (max-width: 768px) {
    .scenarios-page { padding: 2.5rem 1rem 4rem; }
    .scenarios-grid { grid-template-columns: 1fr; }
}

/* ---- languages.html ---- */

.languages-page { max-width: var(--lp-w-wide); margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.languages-hero { text-align: center; max-width: var(--lp-w-content); margin: 0 auto 3rem; }
.languages-hero .section-eyebrow { margin-bottom: 1rem; }
.languages-hero h1 { font-size: var(--lp-h1-page); font-weight: 800; color: var(--lp-ink); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 1rem; }
.languages-hero p { font-size: 1.05rem; color: var(--lp-text-2); line-height: 1.7; margin: 0; }

.languages-count { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; padding: 0.4rem 0.9rem; background: var(--lp-success-soft); color: var(--lp-success); border: 1px solid var(--lp-success-border); border-radius: var(--lp-r-pill); font-size: 0.82rem; font-weight: 700; }

.languages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.65rem; }
.lang-chip { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.9rem; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 12px; font-size: 0.88rem; color: #334155; text-decoration: none; font-weight: 500; transition: border-color 0.15s, background 0.15s, color 0.15s, box-shadow 0.15s; }
.lang-chip:hover { border-color: var(--lp-primary-border-hover); background: var(--lp-primary-soft); color: var(--lp-primary); text-decoration: none; box-shadow: 0 2px 8px rgba(1, 105, 111, 0.08); }
.lang-chip.lang-chip-active { border-color: var(--lp-primary); background: var(--lp-primary-soft); color: var(--lp-primary); font-weight: 700; box-shadow: 0 0 0 2px rgba(1, 105, 111, 0.15); }
.lang-chip-flag { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.lang-chip-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.languages-note { margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--lp-surface-alt); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); font-size: 0.88rem; color: var(--lp-text-2); line-height: 1.6; text-align: center; }
.languages-note strong { color: var(--lp-ink); }

@media (max-width: 768px) {
    .languages-page { padding: 2.5rem 1rem 4rem; }
    .languages-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.5rem; }
}

/* ---- legal/*.html (terms / privacy / refund / delete-account) ---- */

.policy-page { padding: 2rem 1rem 3rem; min-height: 80vh; }
.policy-container { max-width: var(--lp-w-wide); margin: 0 auto; }
.policy-header { text-align: center; margin-bottom: 2rem; }
.policy-icon { font-size: 3rem; color: var(--lp-primary); margin-bottom: 1rem; }
.policy-header h1 { font-size: 2rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 0.5rem; }
.policy-date { color: var(--lp-text-3); font-size: 0.9rem; margin: 0; }
.policy-card { padding: 2rem; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.04); }
.policy-intro { font-size: 1.05rem; line-height: 1.7; color: var(--lp-ink); margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--lp-border); }
.policy-section { margin-bottom: 1.5rem; }
.policy-section h2 { font-size: 1.1rem; font-weight: 600; color: var(--lp-ink); margin: 0 0 0.5rem; }
.policy-section p { line-height: 1.7; color: var(--lp-text-2); margin: 0; }
@media (max-width: 768px) { .policy-header h1 { font-size: 1.5rem; } .policy-card { padding: 1.25rem; } }

/* ---- detail pages (scenarios/, meters/, compare/, bank_import/, calculators/) ---- */

.scn-article h2 { font-size: 1.25rem; font-weight: 700; color: var(--lp-ink); margin: 28px 0 10px; line-height: 1.3; }
.scn-article h2:first-child { margin-top: 0; }
.scn-article p { color: #374151; font-size: 0.97rem; line-height: 1.75; margin: 0 0 14px; }
.scn-article p:last-child { margin-bottom: 0; }
.scn-steps { list-style: none; margin: 0 0 14px; padding: 0; counter-reset: scn-step; }
.scn-steps li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: #374151; font-size: 0.97rem; line-height: 1.6; }
.scn-steps li::before { counter-increment: scn-step; content: counter(scn-step); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--lp-grad-primary); color: #fff; font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.scn-result { display: flex; gap: 10px; align-items: center; background: var(--lp-success-soft); border: 1px solid var(--lp-success-border); border-radius: 12px; padding: 14px 18px; margin: 0 0 14px; color: #14532d; font-size: 0.93rem; font-weight: 600; }
.scn-related { display: inline-flex; align-items: center; gap: 6px; color: var(--lp-primary); font-weight: 600; text-decoration: none; font-size: 0.93rem; }
.scn-related:hover { text-decoration: underline; }

/* Related pages — cross-links between blog / scenarios / calculators / meters / banks */
.ssr-related { margin-top: 1.5rem; padding: var(--lp-card-pad); background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); }
.ssr-related-title { font-size: 1.05rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 12px; }
.ssr-related-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ssr-related-list a { color: var(--lp-primary); font-weight: 600; text-decoration: none; font-size: 0.93rem; line-height: 1.5; }
.ssr-related-list a:hover { text-decoration: underline; }
.ssr-related-more { display: inline-block; margin-top: 14px; color: var(--lp-primary); font-weight: 700; text-decoration: none; }
.ssr-related-more:hover { text-decoration: underline; }

/* meters/bank tags & channels */
.mtr-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mtr-tag { background: var(--lp-primary-soft); color: #0b5459; border-radius: var(--lp-r-pill); padding: 4px 12px; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; }
.mtr-channels { list-style: none; margin: 0 0 14px; padding: 0; }
.mtr-channels li { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; color: #374151; font-size: 0.97rem; }
.mtr-channels li::before { content: "\2713"; color: var(--lp-success); font-weight: 700; }
.mtr-official { display: inline-flex; align-items: center; gap: 6px; color: var(--lp-primary); font-weight: 600; text-decoration: none; font-size: 0.93rem; }
.mtr-official:hover { text-decoration: underline; }
.mtr-disclaimer { color: var(--lp-text-faint); font-size: 0.8rem; margin-top: 16px; }
.bank-channel { color: var(--lp-text-3); font-size: 0.85rem; margin: 0 0 18px; }
.bank-any-inline { background: var(--lp-success-soft); border: 1px solid var(--lp-success-border); border-radius: var(--lp-r-sm); padding: 14px 18px; color: var(--lp-success-ink); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* compare/detail price cards */
.cmp-price-row { display: flex; gap: 16px; flex-wrap: wrap; margin: 0 0 8px; }
.cmp-price-card { flex: 1; min-width: 200px; border: 1px solid var(--lp-border); border-radius: 12px; padding: 16px 18px; }
.cmp-price-card.is-finman { border-color: var(--lp-primary); background: var(--lp-primary-soft); }
.cmp-price-name { font-weight: 700; color: var(--lp-ink); font-size: 0.95rem; margin: 0 0 4px; }
.cmp-price-value { font-weight: 800; color: var(--lp-primary); font-size: 1.15rem; }
.cmp-miss { background: var(--lp-danger-soft); border-inline-start: 3px solid #ef4444; border-radius: 8px; padding: 12px 16px; margin: 0 0 16px; color: #7f1d1d; font-size: 0.93rem; }
.cmp-win-list { list-style: none; margin: 0; padding: 0; }
.cmp-win-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: #374151; font-size: 0.97rem; }
.cmp-win-list li::before { content: "\2713"; color: var(--lp-success); font-weight: 700; }

/* calculator forms — the card spans the page, the form itself stays compact */
.scn-article form { max-width: 520px; }
.clc-result { max-width: 520px; }
.clc-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.clc-label { font-size: 13px; font-weight: 600; color: #334155; }
.clc-input { width: 100%; background: var(--lp-surface-alt); border: 1px solid var(--lp-border); border-radius: 8px; padding: 8px 12px; min-height: 40px; color: var(--lp-ink); font-size: 14px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.clc-input:focus { border-color: var(--lp-primary-border-hover); box-shadow: 0 0 0 3px rgba(1, 105, 111, 0.1); background: var(--lp-surface); }
.clc-error { font-size: 11px; color: #ef4444; min-height: 14px; }
.clc-btn { width: 100%; border-radius: 8px; font-size: 14px; font-weight: 700; min-height: 42px; border: none; cursor: pointer; color: #fff; background: var(--lp-grad-primary); box-shadow: 0 4px 12px rgba(1, 105, 111, 0.2); transition: transform 0.15s, box-shadow 0.15s; margin-top: 4px; }
.clc-btn:hover { transform: translateY(-1px); box-shadow: var(--lp-shadow-btn); }
.clc-result { display: none; margin-top: 20px; background: var(--lp-success-soft); border: 1px solid var(--lp-success-border); border-radius: 12px; padding: 18px 20px; }
.clc-result.is-visible { display: block; }
.clc-result-main { font-size: 1.6rem; font-weight: 800; color: var(--lp-success-strong); margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.clc-result-sub { font-size: 0.88rem; color: var(--lp-success-ink); margin: 0; font-variant-numeric: tabular-nums; }

/* ---- hubs (meters.html, bank_import.html, calculators.html) ---- */

.mtr-hub-hero, .clc-hub-hero { text-align: center; margin-bottom: 40px; }
.mtr-hub-hero h1, .clc-hub-hero h1 { font-size: var(--lp-h1-page); font-weight: 800; color: var(--lp-ink); margin: 0 0 12px; }
.mtr-hub-hero p, .clc-hub-hero p { color: var(--lp-text-2); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.bank-any { margin: 0 0 40px; background: #eef7f7; border-inline-start: 3px solid var(--lp-primary); border-radius: 8px; padding: 14px 18px; color: var(--lp-ink); font-size: 0.97rem; line-height: 1.65; }
.bank-privacy { margin: -24px 0 40px; background: var(--lp-success-soft); border-inline-start: 3px solid var(--lp-success); border-radius: 8px; padding: 14px 18px; color: var(--lp-ink); font-size: 0.97rem; line-height: 1.65; }
.mtr-auto { background: var(--lp-primary-soft); border-radius: 14px; padding: 24px 28px; margin-bottom: 40px; }
.mtr-auto h2 { font-size: 1.25rem; font-weight: 800; color: var(--lp-ink); margin: 0 0 10px; }
.mtr-auto > p { color: var(--lp-text-2); line-height: 1.7; margin: 0 0 18px; }
.mtr-auto-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.mtr-auto-col h3 { font-size: 0.82rem; font-weight: 700; color: #0b5459; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 10px; }
.mtr-auto-col ul { list-style: none; margin: 0; padding: 0; }
/* Block, not flex: with flex the <strong> name and the trailing text node became two columns
   and long provider names squeezed the description off-screen on phones. */
.mtr-auto-col li { display: block; position: relative; padding-inline-start: 1.5em; margin-bottom: 8px; color: #374151; font-size: 0.95rem; line-height: 1.5; overflow-wrap: anywhere; }
.mtr-auto-col li::before { content: "\2713"; position: absolute; inset-inline-start: 0; top: 0; color: var(--lp-success); font-weight: 700; }
.mtr-auto-note { color: var(--lp-text-3); font-size: 0.88rem; margin: 18px 0 0; }
.mtr-auto-note a { color: var(--lp-primary); font-weight: 600; text-decoration: none; }
.mtr-auto-note a:hover { text-decoration: underline; }
.mtr-country { margin-bottom: 36px; }
.mtr-country h2 { font-size: 1.2rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 16px; }
.mtr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mtr-card, .clc-card { display: block; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 14px; padding: 20px; text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.mtr-card:hover, .clc-card:hover { border-color: var(--lp-primary-border-hover); box-shadow: 0 10px 26px rgba(15,23,42,0.08); transform: translateY(-2px); text-decoration: none; }
.mtr-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 8px; }
.mtr-card-services { display: flex; flex-wrap: wrap; gap: 6px; }
.mtr-card-services span { background: var(--lp-primary-soft); color: #0b5459; border-radius: var(--lp-r-pill); padding: 3px 10px; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; }
.clc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.clc-card { padding: 24px; }
.clc-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 8px; }
.clc-card p { color: var(--lp-text-3); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ---- how-to videos (_videos.html, videos.html) ----
   A card is a 9:16 cover (YouTube's 16:9 frame cropped to the vertical video) with a play
   button; a tap swaps it for the player. Phone: one centred card up to 320px; wider: a grid. */
.vid-block { background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); padding: 28px 32px; margin-bottom: 24px; }
@media (max-width: 600px) { .vid-block { padding: 22px 20px; } }
.vid-block-title { font-size: 1.25rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 18px; line-height: 1.3; }
.vid-topic { margin-bottom: 40px; }
.vid-topic h2 { font-size: 1.2rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 16px; }
.vid-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 320px); justify-content: center; gap: 24px; }
@media (min-width: 640px) {
    .vid-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); justify-content: start; gap: 24px 20px; }
    /* auto-fit collapses the empty tracks, so a single card really sits in the middle */
    .vid-grid-center { grid-template-columns: repeat(auto-fit, minmax(200px, 240px)); justify-content: center; }
}
.vid-card { min-width: 0; }
.vid-frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--lp-r-card); overflow: hidden; background: var(--lp-ink); box-shadow: var(--lp-shadow-card-hover); }
.vid-facade { position: absolute; inset: 0; display: block; cursor: pointer; }
.vid-facade img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.vid-facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 60%, rgba(15, 23, 42, 0.45) 100%); }
.vid-play { position: absolute; top: 50%; left: 50%; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--lp-grad-primary); border: 3px solid #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.35); transform: translate(-50%, -50%); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.vid-play svg { width: 30px; height: 30px; margin-inline-start: 4px; fill: currentColor; }
.vid-facade:hover img { transform: scale(1.03); }
.vid-facade:hover .vid-play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 14px 34px rgba(15, 23, 42, 0.45); }
.vid-facade:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: -3px; }
.vid-duration { position: absolute; inset-inline-end: 10px; bottom: 10px; z-index: 1; padding: 2px 9px; border-radius: var(--lp-r-pill); background: rgba(15, 23, 42, 0.8); color: #fff; font-size: 0.78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.vid-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-caption { margin: 10px 2px 0; color: var(--lp-ink); font-size: 0.92rem; font-weight: 600; line-height: 1.45; }
.vid-all { margin-top: 22px; }
.vid-home-all { margin: 1.75rem 0 0; text-align: center; }

/* ---- blog ---- */

.blog-hero { margin-bottom: 36px; }
.blog-hero h1 { font-size: var(--lp-h1-page); font-weight: 800; color: var(--lp-ink); margin: 0 0 8px; line-height: 1.15; }
.blog-hero p { color: var(--lp-text-2); font-size: 1.02rem; line-height: 1.7; margin: 0; }
.blog-card { display: block; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: var(--lp-r-card); padding: 24px 28px; margin-bottom: 16px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.blog-card:hover { border-color: var(--lp-primary-border-hover); box-shadow: 0 4px 14px rgba(1, 105, 111, 0.08); }
.blog-tag { display: inline-block; background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--lp-r-pill); }
.blog-date { color: var(--lp-text-faint); font-size: 0.82rem; margin-inline-start: 10px; white-space: nowrap; }
.blog-card h2 { font-size: 1.2rem; font-weight: 700; color: var(--lp-ink); margin: 10px 0 8px; line-height: 1.35; max-width: var(--lp-measure); }
.blog-card p { color: var(--lp-text-2); font-size: 0.93rem; line-height: 1.65; margin: 0 0 10px; max-width: var(--lp-measure); }
.blog-card .blog-more { color: var(--lp-primary); font-size: 0.88rem; font-weight: 600; }
.blog-post-head { margin-bottom: 28px; }
.blog-post-head h1 { font-size: var(--lp-h1-detail); font-weight: 800; color: var(--lp-ink); margin: 12px 0 0; line-height: 1.2; }
.blog-article h2 { font-size: 1.25rem; font-weight: 700; color: var(--lp-ink); margin: 28px 0 10px; line-height: 1.3; }
.blog-article h2:first-child { margin-top: 0; }
.blog-article p { color: #374151; font-size: 0.97rem; line-height: 1.75; margin: 0 0 14px; }
.blog-article ul, .blog-article ol { color: #374151; font-size: 0.97rem; line-height: 1.75; margin: 0 0 14px; padding-inline-start: 22px; }
.blog-article li { margin-bottom: 6px; }
.blog-article a { color: var(--lp-primary); }
.blog-article .blog-callout { background: #eef7f7; border: 1px solid var(--lp-primary-border); border-radius: 12px; padding: 14px 18px; margin: 0 0 14px; color: #0b4c50; font-size: 0.93rem; line-height: 1.65; }
.blog-media { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--lp-border); }
.blog-media-title { font-size: 1.3rem; font-weight: 800; color: var(--lp-ink); margin: 0 0 4px; }
.blog-media-sub { color: var(--lp-text-3); font-size: 0.9rem; margin: 0 0 16px; }
.blog-media-list { display: flex; flex-direction: column; gap: 10px; }
.blog-media-item { display: flex; align-items: center; gap: 12px; background: var(--lp-surface); border: 1px solid var(--lp-border); border-radius: 12px; padding: 12px 16px; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.blog-media-item:hover { border-color: var(--lp-primary-border-hover); box-shadow: 0 6px 18px rgba(15,23,42,0.08); transform: translateY(-1px); }
.blog-media-badge { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--lp-primary); background: var(--lp-primary-soft); border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.blog-media-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.blog-media-item-title { font-size: 14px; font-weight: 600; color: var(--lp-ink); line-height: 1.3; }
.blog-media-item-desc { font-size: 12px; color: var(--lp-text-3); line-height: 1.3; }
.blog-media-arrow { flex: 0 0 auto; color: var(--lp-text-faint); font-size: 15px; margin-inline-start: auto; }
@media (max-width: 600px) { .blog-card { padding: 20px 18px; } }

/* ---- changelog ---- */

.cl-hero { margin-bottom: 36px; }
.cl-hero h1 { font-size: var(--lp-h1-page); font-weight: 800; color: var(--lp-ink); margin: 0 0 8px; line-height: 1.15; }
.cl-timeline { position: relative; padding-inline-start: 28px; }
.cl-timeline::before { content: ''; position: absolute; inset-inline-start: 5px; top: 8px; bottom: 0; width: 2px; background: var(--lp-border); border-radius: 1px; }
.cl-entry { position: relative; margin-bottom: 20px; }
.cl-entry::before { content: ''; position: absolute; inset-inline-start: -28px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--lp-primary); border: 3px solid var(--lp-surface-alt); box-shadow: 0 0 0 2px var(--lp-primary); }
.cl-card { border-radius: 14px; padding: 16px 20px; }
.cl-date { display: inline-block; background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--lp-r-pill); margin-bottom: 8px; }
.cl-text { color: #374151; font-size: 0.93rem; line-height: 1.65; margin: 0; }
.cl-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.cl-links a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: var(--lp-r-pill); background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.cl-links a:hover { background: var(--lp-primary-soft-2); }

/* ---- story ---- */

.story-hero { margin-bottom: 40px; }
.story-hero h1 { font-size: var(--lp-h1-page); font-weight: 800; color: var(--lp-ink); margin: 0 0 12px; line-height: 1.15; }
.story-hero .story-lead { color: var(--lp-text-2); font-size: 1.08rem; line-height: 1.7; margin: 0; }
.story-chapter { padding: 28px 32px; margin-bottom: 20px; }
.story-chapter .story-badge { display: inline-block; background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--lp-r-pill); margin-bottom: 12px; }
.story-chapter h2 { font-size: 1.3rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 12px; line-height: 1.3; }
.story-chapter p { color: #374151; font-size: 0.97rem; line-height: 1.75; margin: 0 0 12px; }
.story-chapter p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .story-chapter { padding: 22px 20px; } }

/* ---- feedback ---- */

/* Form card centered like a login screen; the page frame stays full-width */
.fb-card { max-width: 560px; margin: 0 auto; }
.fb-hero { max-width: 560px; margin-inline: auto; }
.fb-hero { text-align: center; margin-bottom: 20px; }
.fb-hero .section-eyebrow { font-size: 0.75rem; }
.fb-hero h1 { margin: 0; color: var(--lp-ink); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.fb-hero p { margin: 6px 0 0; color: var(--lp-text-3); font-size: 0.9rem; line-height: 1.5; }
.fb-card { padding: 24px 20px; box-shadow: 0 4px 20px rgba(15,23,42,0.06); }
.fb-row { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.fb-label { font-size: 13px; font-weight: 600; color: #334155; }
.fb-label-optional { font-weight: 400; color: var(--lp-text-faint); font-size: 12px; }
.fb-input { width: 100%; background: var(--lp-surface-alt); border: 1px solid var(--lp-border); border-radius: 8px; padding: 8px 12px; min-height: 40px; color: var(--lp-ink); font-size: 14px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; }
.fb-input:focus { border-color: var(--lp-primary-border-hover); box-shadow: 0 0 0 3px rgba(1, 105, 111, 0.1); background: var(--lp-surface); }
.fb-input::placeholder { color: var(--lp-text-faint); }
textarea.fb-input { resize: vertical; min-height: 80px; }
.fb-error { font-size: 11px; color: #ef4444; min-height: 14px; }
.fb-global-error { font-size: 12px; color: #ef4444; text-align: center; margin-bottom: 10px; display: none; }
.fb-hint { font-size: 11px; color: var(--lp-text-faint); }
.fb-required { color: #ef4444; }
.fb-actions { margin-top: 4px; }
.fb-actions .fb-btn { width: 100%; border-radius: 8px; font-size: 14px; font-weight: 700; min-height: 40px; border: none; cursor: pointer; color: #fff; background: var(--lp-grad-primary); box-shadow: 0 4px 12px rgba(1, 105, 111, 0.2); transition: transform 0.15s, box-shadow 0.15s; }
.fb-actions .fb-btn:hover { transform: translateY(-1px); box-shadow: var(--lp-shadow-btn); }
.fb-actions .fb-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.fb-success { text-align: center; padding: 16px 0; }
.fb-success-icon { font-size: 40px; margin-bottom: 10px; }
.fb-success h2 { font-size: 1.2rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 6px; }
.fb-success p { color: var(--lp-text-3); margin: 0; font-size: 0.9rem; }
@media (max-width: 600px) { .fb-card { padding: 20px 16px; } }

/* ---- 404 ---- */

.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.error-page h1 { font-size: 2rem; font-weight: 700; color: var(--lp-ink); margin-bottom: 0.75rem; }
.error-page p { color: var(--lp-text-3); font-size: 1rem; margin-bottom: 2rem; }
