/* ============================================================================
   Landing Pages — comparison, use-case, platform & blog
   Shared styling that matches the GolinksPRO brand tokens (main.css :root).
   ============================================================================ */

/* ===== Shared dark hero ===== */
.lp-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 140px 0 72px;
    background: var(--surface-dark);
    color: var(--text-on-dark);
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 163, 13, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -90px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.lp-hero .container {
    position: relative;
    z-index: 1;
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-on-dark-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.lp-hero-badge i {
    color: var(--primary-light);
}

.lp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 auto var(--space-md);
    max-width: 880px;
    color: var(--text-on-dark);
}

.lp-hero-title .accent {
    background: linear-gradient(135deg, var(--primary-light) 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lp-hero-sub {
    font-size: var(--text-lg);
    color: var(--text-on-dark-secondary);
    max-width: 660px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.lp-hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons (self-contained so pages don't depend on home.php inline CSS) ===== */
.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: 700;
    transition: all var(--transition-base);
    border: 1px solid transparent;
}

.lp-btn-primary {
    background: var(--primary);
    color: var(--primary-ink);
    box-shadow: 0 4px 16px rgba(101, 163, 13, 0.3);
}

.lp-btn-primary:hover {
    background: var(--primary-hover);
    color: var(--primary-ink);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(101, 163, 13, 0.38);
}

.lp-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.lp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* ===== Generic light section ===== */
.lp-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-body);
}

.lp-section.alt {
    background: var(--surface-2);
}

/* ===== Verdict / callout ===== */
.lp-verdict {
    max-width: 820px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.lp-verdict i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 2px;
}

.lp-verdict p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.lp-verdict strong {
    color: var(--text);
}

/* ===== Comparison table ===== */
.cmp-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    background: var(--surface-2);
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.cmp-table th,
.cmp-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-sm);
    vertical-align: top;
}

.cmp-table thead th {
    background: var(--surface-3);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: var(--text-base);
    border-bottom: 2px solid var(--border);
}

.cmp-table thead th.cmp-sf {
    background: linear-gradient(135deg, var(--primary) 0%, #A3E635 100%);
    color: var(--primary-ink);
}

.cmp-table .cmp-feature {
    font-weight: 600;
    color: var(--text);
    width: 26%;
}

.cmp-table td.cmp-sf-cell {
    background: var(--primary-surface);
    color: var(--text);
    font-weight: 600;
}

.cmp-table td.cmp-them-cell {
    color: var(--text-secondary);
}

.cmp-table td.cmp-sf-cell i {
    color: var(--success);
    margin-right: 8px;
}

.cmp-table td.cmp-them-cell i {
    color: var(--text-muted);
    margin-right: 8px;
}

.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== Comparison: intro prose ===== */
.cmp-intro {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.85;
}

.cmp-intro p { margin: 0 0 var(--space-lg); }
.cmp-intro p:last-child { margin-bottom: 0; }
.cmp-intro em { color: var(--text); font-style: italic; }

/* ===== Comparison: pricing at a glance ===== */
.cmp-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: 820px;
    margin: 0 auto;
}

.cmp-price-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.cmp-price-card.sf {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary-surface) 0%, var(--surface-2) 100%);
}

.cmp-price-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-lg);
    margin: 0 0 var(--space-sm);
}

.cmp-price-card.sf h3 i { color: var(--primary); }

.cmp-price-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.cmp-price-note {
    max-width: 820px;
    margin: var(--space-lg) auto 0;
    color: var(--text-muted);
    font-size: var(--text-xs);
    text-align: center;
    line-height: 1.6;
}

.cmp-overview {
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 4px solid var(--text-muted);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
}

.cmp-overview h3 { font-size: var(--text-base); margin: 0 0 8px; }
.cmp-overview p { margin: 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; }

/* ===== Comparison: fair "when they win" + who-should-choose ===== */
.cmp-fair {
    max-width: 760px;
    margin: 0 auto var(--space-2xl);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.cmp-fair h3 { font-size: var(--text-lg); margin: 0 0 var(--space-md); }

.cmp-fair ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cmp-fair li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.6; }
.cmp-fair li i { color: var(--text-muted); margin-top: 3px; }

.cmp-who {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: 820px;
    margin: 0 auto;
}

.cmp-who-card {
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid var(--border);
}

.cmp-who-card.sf { background: var(--primary-surface); border-color: var(--primary); }
.cmp-who-card.them { background: var(--surface-2); }
.cmp-who-card h3 { display: flex; align-items: center; gap: 10px; font-size: var(--text-base); margin: 0 0 8px; }
.cmp-who-card.sf h3 i { color: var(--primary); }
.cmp-who-card.them h3 i { color: var(--text-muted); }
.cmp-who-card p { margin: 0; color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; }

@media (max-width: 760px) {
    .cmp-pricing, .cmp-who { grid-template-columns: 1fr; }
}

/* ===== Use-case: pain points ===== */
.uc-pains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1040px;
    margin: 0 auto;
}

.uc-pain {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.uc-pain .uc-pain-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-bg);
    color: var(--danger);
    margin-bottom: var(--space-md);
}

.uc-pain h3 {
    font-size: var(--text-lg);
    margin: 0 0 8px;
}

.uc-pain p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ===== Numbered workflow / steps ===== */
.lp-steps {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.lp-step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    transition: all var(--transition-base);
}

.lp-step:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.lp-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, #FBBF24 100%);
    color: var(--primary-ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(101, 163, 13, 0.25);
}

.lp-step-body h3 {
    font-size: var(--text-lg);
    margin: 0 0 6px;
}

.lp-step-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* ===== Requirements checklist (platform pages) ===== */
.plat-reqs {
    max-width: 620px;
    margin: 0 auto;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
}

.plat-reqs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plat-reqs li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
    font-size: var(--text-base);
}

.plat-reqs li i {
    color: var(--success);
}

.plat-highlight {
    max-width: 620px;
    margin: var(--space-lg) auto 0;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* ===== Related internal links ===== */
.lp-related {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.lp-related a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.lp-related a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Final CTA band ===== */
.lp-cta {
    padding: var(--space-4xl) 0;
    background: var(--surface-dark);
    text-align: center;
    color: var(--text-on-dark);
}

.lp-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 var(--space-md);
    color: var(--text-on-dark);
}

.lp-cta p {
    color: var(--text-on-dark-secondary);
    max-width: 560px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

/* ===== Blog ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-card);
}

.blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-cat {
    align-self: flex-start;
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: var(--primary-surface);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.blog-card h2,
.blog-card h3 {
    font-size: var(--text-xl);
    line-height: 1.3;
    margin: 0 0 10px;
}

.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }

.blog-card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: 0 0 var(--space-lg);
    flex: 1;
}

.blog-card-meta {
    display: flex;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: var(--text-xs);
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-md);
}

/* ===== Article ===== */
.post-wrap {
    max-width: 760px;
    margin: 0 auto;
}

.post-meta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xl);
}

.post-body {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.85;
}

.post-body h2 {
    font-family: var(--font-display);
    color: var(--text);
    font-size: var(--text-2xl);
    margin: var(--space-2xl) 0 var(--space-md);
}

.post-body h3 {
    color: var(--text);
    font-size: var(--text-xl);
    margin: var(--space-xl) 0 var(--space-sm);
}

.post-body p { margin: 0 0 var(--space-lg); }

.post-body ul,
.post-body ol {
    margin: 0 0 var(--space-lg);
    padding-left: var(--space-xl);
}

.post-body li { margin-bottom: 10px; }

.post-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-body strong { color: var(--text); }

.post-callout {
    background: var(--primary-surface);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    margin: 0 0 var(--space-lg);
    font-size: var(--text-base);
}

.post-callout p:last-child { margin-bottom: 0; }

/* Homepage use-case cards as links */
a.usecase-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* ===== Use-case index (detailed cards) ===== */
.uc-index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 1080px;
    margin: 0 auto;
}

.uc-index-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.uc-index-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.uc-index-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--space-md);
}

.uc-index-emoji {
    font-size: 2rem;
    line-height: 1;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--primary-surface);
    border: 1px solid var(--border);
}

.uc-index-head h3 {
    font-size: var(--text-xl);
    margin: 0;
}

.uc-index-card > p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin: 0 0 var(--space-lg);
}

.uc-index-features {
    list-style: none;
    margin: 0 0 var(--space-lg);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uc-index-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.uc-index-features li i {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary-surface);
    color: var(--primary);
    font-size: 12px;
}

.uc-index-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: var(--text-sm);
}

.uc-index-link:hover { color: var(--primary-hover); gap: 12px; }

@media (max-width: 760px) {
    .uc-index-grid { grid-template-columns: 1fr; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .uc-pains { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .lp-hero { padding: 116px 0 56px; }
    .blog-grid { grid-template-columns: 1fr; }
    .lp-verdict { flex-direction: column; gap: var(--space-md); }
    .lp-step { padding: var(--space-md) var(--space-lg); }
}

/* ============================================================================
   Framing showcase (v1.2.0) — shared by the home page and the offer page.
   Pure CSS diagrams, no image assets: an output canvas divided into panes, a
   16:9 source plate with the discarded area dimmed, and the editor's framing
   picker. Everything is prefixed `fr-` so it cannot collide with the `hp-`
   (home) or `s-` (sales) rules those pages already define.
   ============================================================================ */

.fr-block { display: flex; flex-direction: column; gap: 20px; }
.fr-block + .fr-block { margin-top: 56px; }
.fr-block-head { max-width: 640px; }
.fr-block-head h3 {
    font-size: 24px; font-weight: 800; color: var(--text);
    margin: 0 0 10px; letter-spacing: -0.02em; line-height: 1.25;
}
.fr-block-head p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0; }
.fr-new {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary); color: var(--primary-ink);
    font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 9px; border-radius: 5px; margin-bottom: 12px;
}

/* ---- Panel that holds a diagram ---- */
.fr-panel {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    overflow-x: auto;
}

/* ---- Output canvas: a 9:16 phone frame split into panes ---- */
.fr-layouts { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.fr-layout { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fr-canvas {
    width: 104px; aspect-ratio: 9 / 16;
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: 8px; padding: 4px;
    display: grid; gap: 4px;
}
.fr-canvas.is-1 { grid-template-areas: "a"; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.fr-canvas.is-2 { grid-template-areas: "a" "b"; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.fr-canvas.is-3 { grid-template-areas: "a b" "c c"; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.fr-pane {
    background: var(--primary-surface);
    border: 1.5px solid var(--primary);
    border-radius: 4px;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 700; color: var(--primary-dark);
}
.fr-layout-name { font-size: 13px; font-weight: 700; color: var(--text); }
.fr-layout-sub { font-size: 12px; color: var(--text-muted); margin-top: -8px; }

/* ---- Source plate: 16:9 frame, people, and the surviving crop ---- */
.fr-plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.fr-plate-set { display: flex; flex-direction: column; gap: 12px; }
.fr-plate {
    position: relative; aspect-ratio: 16 / 9;
    background: var(--surface-3);
    border: 1px solid var(--border);
    border-radius: 10px; overflow: hidden;
}
.fr-person { position: absolute; bottom: 0; transform: translateX(-50%); width: 26%; }
.fr-person.is-left { left: 22%; }
.fr-person.is-right { left: 77%; }
.fr-head {
    width: 46%; aspect-ratio: 1; margin: 0 auto 4%;
    background: var(--text-muted); border-radius: 50%; opacity: .55;
}
.fr-body {
    aspect-ratio: 2.4 / 1; background: var(--text-muted);
    border-radius: 40px 40px 0 0; opacity: .35;
}
.fr-prop {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 7%; height: 34%; background: var(--text-muted);
    opacity: .3; border-radius: 4px 4px 0 0;
}
/* The crop window. Everything outside it is dimmed — which is literally what
   the app discards. */
.fr-crop {
    position: absolute; top: 0; bottom: 0;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 100vmax rgba(15, 23, 42, 0.58);
    border-radius: 2px;
}
.fr-crop.is-old { left: 39.5%; width: 21%; }
.fr-crop.is-new { left: 12%; width: 21%; }
.fr-plate-cap { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.fr-plate-cap b { font-weight: 800; color: var(--text); }
.fr-tag-plain, .fr-tag-good {
    font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 5px;
}
.fr-tag-plain { background: var(--surface-3); color: var(--text-secondary); }
.fr-tag-good { background: var(--success-bg); color: var(--success); }

/* ---- Timeline: the layout changing at each cut ---- */
.fr-strip { display: flex; gap: 6px; }
.fr-seg {
    background: var(--surface-3); border: 1px solid var(--border);
    border-radius: 8px; padding: 14px 16px;
    display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.fr-seg.is-wide { flex: 0 0 26%; }
.fr-seg.is-rest { flex: 1; }
.fr-seg-time { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.fr-seg-name { font-size: 13px; font-weight: 700; color: var(--text); }
.fr-cutline { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.fr-cutline i { color: var(--primary); }

/* ---- Mode grid ---- */
.fr-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fr-mode {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 14px; padding: 22px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .2s, transform .2s;
}
.fr-mode:hover { border-color: var(--primary); transform: translateY(-2px); }
.fr-mode-top { display: flex; align-items: center; gap: 14px; }
.fr-mini {
    width: 34px; aspect-ratio: 9 / 16; flex-shrink: 0;
    background: var(--surface-3); border: 1px solid var(--border);
    border-radius: 4px; padding: 2px; display: grid; gap: 2px;
}
.fr-mini span { background: var(--primary-surface); border: 1px solid var(--primary); border-radius: 2px; }
.fr-mini.is-1 { grid-template-areas: "a"; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.fr-mini.is-2 { grid-template-areas: "a" "b"; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.fr-mini.is-3 { grid-template-areas: "a b" "c c"; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.fr-mini.is-split span:last-child { background: var(--surface-1); border-style: dashed; }
.fr-mode h4 { font-size: 15px; font-weight: 800; color: var(--text); margin: 0; letter-spacing: -0.01em; }
.fr-mode p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.65; margin: 0; }
.fr-mode-badge {
    align-self: flex-start; font-size: 10.5px; font-weight: 800;
    letter-spacing: .05em; text-transform: uppercase;
    background: var(--primary-glow); color: var(--primary-dark);
    padding: 3px 8px; border-radius: 4px;
}

/* ---- Editor UI: the framing picker ---- */
.fr-ui {
    background: #0F172A; border: 1px solid #1E293B;
    border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 16px;
}
.fr-ui-bar { display: flex; align-items: center; gap: 8px; }
.fr-dot { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.fr-ui-title { font-size: 12px; color: #94A3B8; margin-left: 8px; font-weight: 600; }
.fr-ui-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #64748B; }
.fr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fr-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: #1E293B; border: 1px solid #334155; color: #CBD5E1;
    font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 8px;
}
.fr-chip.is-on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.fr-chip i { font-size: 11px; }
.fr-ui-note { font-size: 12.5px; color: #94A3B8; line-height: 1.6; margin: 0; }
.fr-ui-note strong { color: #E2E8F0; }

@media (max-width: 640px) {
    .fr-panel { padding: 20px; }
    .fr-layouts { gap: 22px; }
    .fr-canvas { width: 84px; }
    .fr-strip { flex-direction: column; }
    .fr-seg.is-wide { flex: 1; }
}

/* Section wrapper for the framing showcase on the home page. Deliberately a
   light section (the diagrams are built from the light surface tokens), sitting
   between the dark "three modes" band and the deep-feature rows. */
.hp-framing { padding: var(--space-4xl) 0; background: var(--bg-body); }

/* ---- Full capability list ---- */
.fr-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; }
.fr-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.fr-list i { color: var(--primary); margin-top: 5px; font-size: 12px; flex-shrink: 0; }
.fr-list b { color: var(--text); font-weight: 700; }
.fr-list { list-style: none; padding: 0; margin: 0; }

/* ── Product screenshot figure (shared: landing, platform, about pages) ── */
.ss-figure { margin: 40px auto 8px; max-width: 940px; }
.ss-figure img {
    display: block; width: 100%; height: auto;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.28);
    background: #0f172a;
}
.ss-figure figcaption {
    margin-top: 12px; text-align: center;
    font-size: 0.875rem; color: var(--text-secondary, #64748B);
}

/* ── Visible breadcrumb trail (mirrors BreadcrumbList schema) ── */
.lp-hero .breadcrumbs,
.pricing-hero-modern .breadcrumbs,
.download-hero-modern .breadcrumbs { margin-bottom: 22px; }
.breadcrumbs ol {
    list-style: none; display: flex; flex-wrap: wrap; gap: 7px;
    padding: 0; margin: 0; align-items: center; justify-content: center;
    font-size: 0.8125rem;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumbs a:hover { color: rgba(255,255,255,0.9); }
.breadcrumbs i { font-size: 8px; color: rgba(255,255,255,0.3); }
.breadcrumbs [aria-current="page"] { color: rgba(255,255,255,0.9); font-weight: 600; }
/* light-hero variants (blog/tutorials use lp-hero which is dark, keep default) */
.breadcrumbs.on-light a { color: var(--text-secondary,#64748B); }
.breadcrumbs.on-light [aria-current="page"] { color: var(--text,#0F172A); }
.breadcrumbs.on-light i { color: var(--text-muted,#94A3B8); }
