/* =============================================================================
   GROW · frontend4 — Learn hub, category pages and articles (ported from frontend3)
   Layout: sticky platform rail (left) + content column. article-base.css carries the
   original article component rules; this file lays out the page and applies the wabi skin.
   ============================================================================= */
.learn--articles { display: block; min-height: 100vh; }
.ln { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); max-width: 1240px; margin: 0 auto; padding: clamp(20px, 3vw, 40px) 0 56px; align-items: start; }
/* rail */
.ln__rail { position: sticky; top: 24px; display: grid; gap: 12px; }
.ln__rail-card { background: #fff; border-radius: 22px; padding: 22px 22px 20px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 14px 40px -22px rgba(17,17,16,.3); }
.ln__rail-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .01em; text-transform: none; color: var(--ink-mute); margin: 0 0 10px; }
.ln__rail-card h3 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: 26px; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 10px; }
.ln__rail-card > p { font-size: 14px; font-weight: 300; line-height: 1.55; color: var(--ink-soft); margin: 0 0 14px; }
.ln__rail-card .ticks { gap: 8px; margin-bottom: 16px; } .ln__rail-card .ticks li { font-size: 13.5px; } .ln__rail-card .ticks li sup { font-size: .55em; vertical-align: top; position: relative; top: .2em; }
.ln__rail-btns { display: grid; gap: 8px; } .ln__rail-btns .btn-dark, .ln__rail-btns .btn-login { height: 46px; padding: 0 18px; font-size: 14.5px; justify-content: center; }
.ln__rail-links { display: grid; gap: 2px; padding: 6px 4px; }
.ln__rail-links a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.ln__rail-links a::after { content: "→"; color: var(--ink-mute); font-size: 13px; }
.ln__rail-links a:hover { background: rgba(17,17,16,.05); color: var(--ink); }
.ln__rail-links sup { font-size: .55em; vertical-align: top; position: relative; top: .25em; }
/* content column */
.ln__main { min-width: 0; }
/* hero */
.art-hero { padding: 4px 0 22px; }
.art-hero .art-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.art-hero .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-mute); margin-bottom: 14px; }
.art-hero .breadcrumb a { color: var(--ink-soft); } .art-hero .breadcrumb a:hover { color: var(--ink); } .art-hero .breadcrumb i { font-size: 9px; opacity: .6; }
.art-hero .cat-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #6d28d9; background: #f5f3ff; border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
.art-hero h1 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 16px; }
.art-hero .art-lead { font-size: clamp(16.5px, 1.2vw, 19px); font-weight: 300; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; max-width: 62ch; }
.art-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-mute); } .art-meta i { margin-right: 4px; }
.art-hero-img { width: 200px; max-width: 28vw; } .art-hero-img img { width: 100%; height: auto; border-radius: 16px; }
/* contents */
.art-contents { margin: 0 0 22px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 10px 30px -18px rgba(17,17,16,.25); }
.art-contents summary { cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: .01em; text-transform: none; color: var(--ink-mute); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.art-contents summary::after { content: "+"; font-size: 16px; color: var(--ink); } .art-contents[open] summary::after { content: "–"; }
.art-contents summary::-webkit-details-marker { display: none; }
.art-contents .art-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 18px; margin-top: 10px; }
.art-contents .art-nav a { font-size: 13.5px; color: var(--ink-soft); padding: 5px 0 5px 14px; position: relative; border-left: 2px solid transparent; }
.art-contents .art-nav a::before { display: none; }
.art-contents .art-nav a:hover, .art-contents .art-nav a.active { color: var(--ink); border-left-color: var(--ink); }
/* article body — wabi skin over the carried component rules */
.art-main { max-width: 760px; }
.art-section h2 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin: 2.1em 0 .6em; }
.art-section h3 { font-family: var(--font-sans); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); margin: 1.6em 0 .5em; }
.art-section h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 1.4em 0 .4em; }
.art-section p, .art-section li { font-size: 16.5px; font-weight: 300; line-height: 1.7; color: var(--ink-soft); }
.art-section p b, .art-section li b, .art-section p strong, .art-section li strong { font-weight: 600; color: var(--ink); }
.art-section a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(17,17,16,.3); text-underline-offset: 3px; } .art-section a:hover { text-decoration-color: var(--ink); }
.art-section ul, .art-section ol { padding-left: 22px; }
.kp, .ex-box, .stat-box, .tbl-wrap, .code-block, .art-tldr-panel { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 10px 30px -18px rgba(17,17,16,.25); border: 0; }
.kp { padding: 16px 18px; } .kp-body h5 { color: var(--ink); } .kp-body p { color: var(--ink-soft); }
.kp-icon { background: linear-gradient(135deg, rgba(255,30,128,.10), rgba(96,0,255,.10)); color: #6d28d9; }
.kp.kp-warn .kp-icon { background: #fffbeb; color: #b45309; }
.stat-num { font-family: var(--font-serif); font-weight: 400; color: var(--ink); letter-spacing: -0.02em; } .stat-lbl { color: var(--ink-mute); }
.ex-box h5 { color: var(--ink); }
.tbl th { background: rgba(17,17,16,.04); color: var(--ink); font-weight: 600; } .tbl td { color: var(--ink-soft); } .tbl tr:hover td { background: rgba(17,17,16,.025); }
.art-faq-q { color: var(--ink); font-weight: 600; } .art-faq-a { color: var(--ink-soft); font-weight: 300; }
.art-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; }
.share-btn, .art-share .share-x, .art-share .share-li, .art-share .share-copy { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 500; border: 1px solid rgba(17,17,16,.06); box-shadow: 0 1px 2px rgba(17,17,16,.04); cursor: pointer; }
.art-share-label { font-size: 12px; color: var(--ink-mute); margin-right: 4px; }
/* CTA + related */
.ln__cta { margin: 48px 0 36px; padding: clamp(28px, 4vw, 44px) 20px; background: #fff; border-radius: 24px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 14px 40px -22px rgba(17,17,16,.3); }
.ln__cta h2 { font-size: clamp(28px, 3vw, 44px); }
.art-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.art-related-head h2 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: 26px; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.art-related-head a { font-size: 14px; font-weight: 500; color: var(--ink-soft); } .art-related-head a:hover { color: var(--ink); }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rel-card { display: block; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 10px 30px -18px rgba(17,17,16,.25); color: var(--ink); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.rel-card:hover { transform: translateY(-2px); }
.rel-card-img { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 14px; } .rel-card-img img { max-width: 100%; max-height: 100%; height: auto; }
.rel-card-body { padding: 12px 14px 14px; } .rel-card-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.rel-card-title { font-size: 14.5px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; } .rel-card-excerpt { font-size: 12.5px; font-weight: 300; color: var(--ink-soft); line-height: 1.45; }
/* hub + category listings */
.learn--listing .ln-hero, .learn--listing .cat-hero { padding: 4px 0 18px; }
.learn--listing .ln-hero h1, .learn--listing .cat-hero h1 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.06; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 12px; }
.learn--listing .ln-hero p, .learn--listing .cat-hero p { font-size: clamp(16px, 1.2vw, 18.5px); font-weight: 300; color: var(--ink-soft); line-height: 1.55; max-width: 62ch; }
.learn--listing .ln-pills, .learn--listing .ln-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.learn--listing .ln-pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-soft); background: rgba(17,17,16,.05); }
.learn--listing .ln-pill.active, .learn--listing .ln-pill:hover { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(17,17,16,.05), 0 6px 16px -8px rgba(17,17,16,.18); }
.learn--listing .ln-section h2, .learn--listing .cat-shell h2 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.02em; color: var(--ink); margin: 34px 0 14px; }
.learn--listing .container { width: auto; max-width: none; padding: 0; margin: 0; }
/* responsive */
@media (max-width: 1100px) { .ln { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; } }
@media (max-width: 900px) {
    .ln { grid-template-columns: 1fr; }
    .ln__rail { position: static; order: 2; }
    .ln__rail-card h3 { font-size: 22px; }
    .art-hero .art-hero-inner { grid-template-columns: 1fr; } .art-hero-img { max-width: 140px; }
}
@media (max-width: 640px) { .art-section p, .art-section li { font-size: 16px; } .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .rel-grid { grid-template-columns: 1fr; } }
.art-hero, .art-hero-inner { background: transparent !important; box-shadow: none !important; }
.ln__rail-links a { justify-content: flex-start; gap: 2px; } .ln__rail-links a::after { margin-left: auto; }
.learn--listing .ln-hero, .learn--listing .cat-hero, .learn--listing .lit-bg { background: transparent !important; box-shadow: none !important; }
/* code blocks / tables must scroll inside the column, never widen the page */
.code-block, .code-block-inner, .tbl-wrap, .art-section pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.art-section pre code { white-space: pre; display: block; min-width: 0; }
.art-section p code, .art-section li code { white-space: normal; word-break: break-word; }
.art-main, .art-section, .ln__main { min-width: 0; max-width: 100%; }
.art-main img { max-width: 100%; height: auto; }

/* ── Learn v2: centred title block, rail inline with the article (not sticky) ── */
.ln { display: block; max-width: 1240px; margin: 0 auto; padding: clamp(16px, 2.4vw, 32px) 0 56px; }
.ln__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.ln__rail { position: static; top: auto; gap: 14px; }
.art-top { text-align: center; max-width: 76ch; margin: 0 auto clamp(36px, 5vw, 64px); padding: clamp(8px, 2vw, 24px) 0 0; }
.art-top h1 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(34px, 4vw, 60px); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 18px; }
.art-top .art-lead { font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.5; color: var(--ink-soft); margin: 0 auto 16px; max-width: 62ch; }
.art-meta--c { justify-content: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-mute); gap: 10px; }
.art-meta__dot { opacity: .6; }
.art-main > .art-hero, .art-contents { display: none; }
/* rail blocks */
.ln__rail-card--plan h3 { font-size: 24px; } .ln__rail-card--plan > p { margin-bottom: 16px; }
.ln__rail-card .btn-dark, .ln__rail-card .btn-login { height: 46px; padding: 0 18px; font-size: 14.5px; justify-content: center; width: 100%; }
.ln__rail-block { padding: 4px 6px; }
.ln__rail-block .ticks { gap: 8px; } .ln__rail-block .ticks li { font-size: 13.5px; } .ln__rail-block .ticks li sup { font-size: .55em; vertical-align: top; position: relative; top: .2em; }
.ln__rail-eyebrow sup { font-size: .6em; vertical-align: top; position: relative; top: .25em; text-transform: none; letter-spacing: 0; }
.ln__logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ln__logos li { background: #fff; border-radius: 12px; height: 54px; display: flex; align-items: center; justify-content: center; padding: 10px 12px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 8px 24px -16px rgba(17,17,16,.25); }
.ln__logos img { max-width: 100%; max-height: 26px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; }
.ln__quote { margin: 0; background: #fff; border-radius: 18px; padding: 18px 18px 16px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 14px 40px -22px rgba(17,17,16,.3); }
.ln__quote blockquote { margin: 0 0 12px; font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: 17px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.ln__quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-soft); } .ln__quote figcaption b { display: block; color: var(--ink); font-weight: 600; } .ln__quote figcaption small { font-size: 11.5px; color: var(--ink-mute); }
.ln__quote-av { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 10.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ln__quote > a { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 500; color: var(--ink-soft); } .ln__quote > a:hover { color: var(--ink); }
.ln__points { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; counter-reset: lnp; }
.ln__points li { position: relative; padding-left: 30px; font-size: 13.5px; line-height: 1.4; } .ln__points li::before { counter-increment: lnp; content: counter(lnp); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ln__points b { display: block; font-weight: 600; color: var(--ink); } .ln__points span { color: var(--ink-soft); font-weight: 300; }
/* "How we help you" — a short paragraph in place of a tick list; the lead sentence
   is bolded the same way as /brands/#what-we-do. */
.ln__rail-copy { font-size: 13.5px; font-weight: 300; line-height: 1.6; color: var(--ink-soft); margin: 0 0 4px; }
.ln__rail-copy b { font-weight: 600; color: var(--ink); }
.ln__rail-more { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--ink-soft); } .ln__rail-more:hover { color: var(--ink); }
.ln__rail-card--start h3 { font-size: 22px; margin-bottom: 8px; }
@media (max-width: 900px) { .ln__grid { grid-template-columns: 1fr; } .ln__rail { order: 2; } }
.art-main > .art-section:first-of-type > h2:first-child, .art-main > .art-section:first-of-type > h3:first-child { margin-top: 0; }
.art-main > :first-child { margin-top: 0; }
/* rail: generous spacing between sections */
.ln__rail { gap: clamp(34px, 3.4vw, 52px); }
.ln__rail-block { padding: 0 6px; }
.ln__rail-eyebrow { margin-bottom: 14px; }
.ln__logos img { filter: none; opacity: 1; max-height: 28px; }
.ln__logos li { height: 56px; }
.ln__logos img { max-height: 34px; max-width: 92%; }
.ln__logos li { padding: 8px 8px; }
.ln__quote-logo { height: 26px; width: auto; display: block; margin-bottom: 12px; }
/* rail section headings: defined, underlined */
.ln__rail-block .ln__rail-eyebrow, .ln__rail-card--start .ln__rail-eyebrow { font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: -0.005em; text-transform: none; color: var(--ink); padding-bottom: 8px; border-bottom: 1px solid rgba(17,17,16,.14); margin: 0 0 14px; }
.ln__rail-block .ln__rail-eyebrow sup { font-size: .6em; top: .15em; }
.art-related { background: transparent !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; margin-top: 8px; }
.art-related .container { padding: 0; }
.ln__logos img[alt="Debenhams"] { transform: scale(1.75); transform-origin: center; } .ln__logos img[alt="Anthropologie"] { max-width: 100%; }
.ln__logos img[alt="Debenhams"] { transform: scale(2.7); } .ln__logos img[alt="Anthropologie"] { transform: scale(1.45); } .ln__logos img[alt="Oliver Bonas"] { transform: scale(1.3); } .ln__logos li { overflow: hidden; }

/* =============================================================================
   Learn v3 — hub/category hero above the grid, list rows instead of card grids,
   a plainer rail, and methodology-style numbered sections inside articles.
   Overrides the ported frontend3 component rules in article-base.css.
   ============================================================================= */

/* ── centred title block, above the rail + content grid ────────────────────── */
.ln-top { text-align: center; max-width: 80ch; margin: 0 auto clamp(30px, 4vw, 52px); padding: clamp(8px, 2vw, 24px) 0 0; }
.ln-top > section { padding: 0; margin: 0; background: transparent !important; box-shadow: none !important; }
.ln-top .container { width: auto; max-width: none; padding: 0; margin: 0; }
.ln-top .hero-orb { display: none; }
.ln-top h1 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(34px, 4vw, 60px); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 18px; }
.ln-top .lead, .ln-top .cat-hero-desc { font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.5; color: var(--ink-soft); margin: 0 auto; max-width: 62ch; }
.ln-top .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--ink-mute); margin: 0 0 18px; }
.ln-top .breadcrumb a { color: var(--ink-soft); } .ln-top .breadcrumb a:hover { color: var(--ink); } .ln-top .breadcrumb i { font-size: 9px; opacity: .6; }
.ln-top .cat-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ln-top .cat-icon-wrap { width: 52px; height: 52px; border-radius: 16px; background: rgba(17,17,16,.05); border: 1px solid rgba(17,17,16,.07); color: var(--ink); font-size: 20px; }
.ln-top .cat-hero-stats { justify-content: center; margin-top: 16px; }
.learn--listing .ln-top .ln-pills { justify-content: center; margin: 24px 0 0; }
.ln-top .cat-count-badge, .learn--listing .cat-count-badge { background: rgba(17,17,16,.05); border: 1px solid rgba(17,17,16,.08); color: var(--ink-soft); font-family: var(--font-mono); font-weight: 500; }
.ln-top .cat-hero-stats i { color: var(--ink-mute); }

/* ── hub: a defined section per category, articles as rows ─────────────────── */
.learn--listing .ln-shell { background: transparent; padding: 0 0 8px; }
.learn--listing .ln-section { margin: 0 0 clamp(30px, 4vw, 46px); padding-top: clamp(26px, 3.4vw, 40px); border-top: 1px solid rgba(17,17,16,.10); scroll-margin-top: 24px; }
.learn--listing .ln-section:first-child { padding-top: 0; border-top: 0; }
.learn--listing .ln-sec-head { align-items: center; gap: 14px; margin-bottom: 18px; }
.learn--listing .ln-sec-head h2 { margin: 0; font-size: clamp(23px, 2.2vw, 31px); }
.learn--listing .ln-sec-head .sec-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(17,17,16,.05); color: var(--ink); font-size: 13px; }
.learn--listing .ln-sec-head .desc { padding-left: 48px; margin: 2px 0 0; font-size: 14.5px; font-weight: 300; line-height: 1.5; color: var(--ink-soft); }
.learn--listing .ln-sec-head .view-all { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-soft); }
.learn--listing .ln-sec-head .view-all:hover { color: var(--ink); }
.learn--listing .ln-grid { grid-template-columns: 1fr; gap: 10px; }
.learn--listing .ln-card { flex-direction: row; align-items: center; gap: 18px; padding: 12px 18px 12px 12px; background: #fff; border: 1px solid rgba(17,17,16,.06); border-radius: 18px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 10px 30px -22px rgba(17,17,16,.28); }
.learn--listing .ln-card:hover { transform: translateY(-2px); border-color: rgba(17,17,16,.12); box-shadow: 0 2px 4px rgba(17,17,16,.05), 0 18px 44px -26px rgba(17,17,16,.35); }
.learn--listing .ln-card .img { flex: 0 0 124px; width: 124px; height: 82px; aspect-ratio: auto; border-radius: 12px; }
.learn--listing .ln-card .img img, .learn--listing .ln-card .img img[src$=".svg"] { object-fit: contain; padding: 9px; }
.learn--listing .ln-card:hover .img img { transform: none; }
.learn--listing .ln-card-body { padding: 0; }
.learn--listing .ln-card .cat { font-size: 10.5px; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: 6px; }
.learn--listing .ln-card .title { font-family: var(--font-sans); font-size: 17px; font-weight: 600; line-height: 1.32; letter-spacing: -0.012em; color: var(--ink); margin: 0 0 5px; }
.learn--listing .ln-card .ex { font-size: 14.5px; font-weight: 300; line-height: 1.5; color: var(--ink-soft); margin: 0 0 8px; flex: 0 1 auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.learn--listing .ln-card .meta { border-top: 0; padding-top: 0; gap: 12px; font-size: 11.5px; color: var(--ink-mute); }
.learn--listing .ln-card .meta i { color: var(--ink-mute); }
.learn--listing .ln-card .badge { background: rgba(17,17,16,.05); border: 1px solid rgba(17,17,16,.07); color: var(--ink-soft); font-size: 10.5px; }
/* featured row — same rhythm, dark, image kept in proportion */
.learn--listing .ln-card.feat { grid-column: span 1; flex-direction: row; align-items: stretch; padding: 0; background: linear-gradient(135deg, #170A33 0%, #0A0520 100%); border-color: rgba(255,255,255,.08); }
.learn--listing .ln-card.feat .img { flex: 0 0 200px; width: 200px; height: auto; min-height: 138px; border-radius: 0; }
.learn--listing .ln-card.feat .img::after { display: none; }
.learn--listing .ln-card.feat .ln-card-body { padding: 22px 26px; justify-content: center; }
.learn--listing .ln-card.feat .cat { color: rgba(255,255,255,.72); }
.learn--listing .ln-card.feat .title { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: 24px; letter-spacing: -0.02em; color: #fff; }
.learn--listing .ln-card.feat .ex { color: rgba(255,255,255,.72); font-size: 15px; }
.learn--listing .ln-card.feat .cta { margin-top: 4px; padding: 9px 18px; font-size: 13.5px; }

/* ── category pages: same row language ─────────────────────────────────────── */
.learn--listing .cat-shell { background: transparent; padding: 0 0 8px; }
.learn--listing .cat-summary { margin-bottom: 16px; }
.learn--listing .cat-summary-text { font-size: 13px; color: var(--ink-mute); } .learn--listing .cat-summary-text strong { color: var(--ink); }
.learn--listing .back-to-learn { font-size: 13.5px; font-weight: 500; color: var(--ink-soft); } .learn--listing .back-to-learn:hover { color: var(--ink); text-decoration: none; }
.learn--listing .car-row { gap: 18px; padding: 12px 18px 12px 12px; margin-bottom: 10px; border: 1px solid rgba(17,17,16,.06); border-radius: 18px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 10px 30px -22px rgba(17,17,16,.28); }
.learn--listing .car-row:hover { transform: translateY(-2px); border-color: rgba(17,17,16,.12); box-shadow: 0 2px 4px rgba(17,17,16,.05), 0 18px 44px -26px rgba(17,17,16,.35); }
.learn--listing .car-img { width: 124px; height: 82px; border-radius: 12px; }
.learn--listing .car-img img { padding: 9px; }
.learn--listing .cat-shell h2.car-title, .learn--listing .car-title { font-family: var(--font-sans); font-size: 17px; font-weight: 600; line-height: 1.32; letter-spacing: -0.012em; color: var(--ink); margin: 0 0 5px; }
.learn--listing .car-row:hover .car-title { color: var(--ink); }
.learn--listing .car-excerpt { font-size: 14.5px; font-weight: 300; line-height: 1.5; color: var(--ink-soft); margin: 0 0 8px; }
.learn--listing .car-meta span { font-size: 11.5px; color: var(--ink-mute); }
.learn--listing .car-featured { background: rgba(17,17,16,.05); border: 1px solid rgba(17,17,16,.07); color: var(--ink-soft); font-size: 10.5px; }
.learn--listing .car-tag { background: rgba(17,17,16,.05); color: var(--ink-mute); font-size: 11px; }
.learn--listing .car-arrow { background: #fff; border: 1px solid rgba(17,17,16,.08); color: var(--ink-mute); }
.learn--listing .car-row:hover .car-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }
.learn--listing .pag-num, .learn--listing .pag-btn { background: #fff; border: 1px solid rgba(17,17,16,.08); color: var(--ink-soft); border-radius: 999px; }
.learn--listing .pag-num:hover, .learn--listing .pag-btn:hover { background: rgba(17,17,16,.05); color: var(--ink); border-color: rgba(17,17,16,.12); }
.learn--listing .pag-num.pag-active { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }

/* ── rail: plain plan block, logos in one white box, larger type ───────────── */
.ln__grid { grid-template-columns: 320px minmax(0, 1fr); }
.ln__rail-card--plan { background: transparent; box-shadow: none; padding: 0 6px; }
.ln__rail-card--plan h3 { font-size: 27px; line-height: 1.06; margin-bottom: 12px; }
.ln__rail-card--plan > p { font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.ln__logos { background: #fff; border-radius: 18px; padding: 12px; gap: 4px; box-shadow: 0 1px 2px rgba(17,17,16,.04), 0 14px 40px -24px rgba(17,17,16,.3); }
.ln__logos li { background: transparent; box-shadow: none; border-radius: 10px; height: 52px; }
.ln__rail-block .ln__rail-eyebrow, .ln__rail-card--start .ln__rail-eyebrow { font-size: 16px; }
.ln__rail-card > p { font-size: 15px; line-height: 1.6; }
.ln__rail-block .ticks li, .ln__rail-card .ticks li { font-size: 15px; }
.ln__points li { font-size: 15px; line-height: 1.45; padding-left: 32px; }
.ln__points li::before { width: 22px; height: 22px; font-size: 11px; }
.ln__rail-copy { font-size: 15px; line-height: 1.62; }
.ln__rail-more { font-size: 14.5px; }
.ln__quote blockquote { font-size: 18.5px; line-height: 1.42; }
.ln__quote figcaption { font-size: 13.5px; } .ln__quote figcaption small { font-size: 12.5px; }
.ln__quote > a { font-size: 14px; }
.ln__rail-card--start h3 { font-size: 24px; }
.ln__rail-card .btn-dark, .ln__rail-card .btn-login { height: 50px; font-size: 15px; }

/* ── articles: the methodology's section rhythm, numbered ──────────────────── */
.learn--articles .art-main { counter-reset: artsec; max-width: 780px; }
.learn--articles .art-main .art-section { border-top: 1px solid rgba(17,17,16,.08); padding: clamp(34px, 4.6vw, 60px) 0 0; margin: 0 0 clamp(34px, 4.6vw, 60px); }
.learn--articles .art-main > .art-section:first-of-type { border-top: 0; padding-top: 0; }
.learn--articles .art-main .art-section > h2:first-child { text-align: left; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.06; margin: 0 0 clamp(20px, 2.6vw, 32px); }
.learn--articles .art-main .art-section > h2:first-child::before {
    counter-increment: artsec; content: counter(artsec, decimal-leading-zero);
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0 0 16px;
    border-radius: 50%; border: 1px solid rgba(17,17,16,.18);
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink-mute);
}
.learn--articles .art-main .art-section h3 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -0.018em; margin: 1.5em 0 .45em; }
.learn--articles .art-main .art-section p, .learn--articles .art-main .art-section li { font-size: clamp(16.5px, 1.15vw, 18px); line-height: 1.72; }
@media (max-width: 900px) {
    .learn--listing .ln-card, .learn--listing .car-row { flex-wrap: wrap; }
    .learn--listing .ln-card .img, .learn--listing .car-img { flex: 0 0 96px; width: 96px; height: 68px; }
    .learn--listing .ln-card.feat .img { flex: 0 0 100%; width: 100%; min-height: 120px; }
    .learn--articles .art-main .art-section > h2:first-child { font-size: clamp(24px, 6vw, 32px); }
}
/* rail: "How we help you" — a longer tick list, kept tight */
.ln__rail .ticks--rail { gap: 10px; margin: 0 0 4px; }
.ln__rail .ticks--rail li { font-size: 15px; line-height: 1.4; align-items: flex-start; }
.ln__rail .ticks--rail li sup { font-size: .55em; vertical-align: top; position: relative; top: .2em; }
/* rail: section buttons (methodology / brand guide / features / ask) */
.ln__rail-btn { width: 100%; justify-content: center; height: 46px; padding: 0 18px; font-size: 14.5px; margin-top: 16px; }
.ln__rail-block--ask .ln__rail-eyebrow { margin-bottom: 0; }
.ln__rail-block--ask .ln__rail-btn { margin-top: 14px; }
/* rail: skeleton (outline) buttons — the dark "Find out prices now" stays the one solid CTA */
.ln__rail-btn { background: transparent; border: 1px solid var(--ink); box-shadow: none; color: var(--ink); }
.ln__rail-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; transform: translateY(-1px); }
.ln__rail-btn svg { color: currentColor; }
.ln__rail-card .ln__rail-btn { margin-top: 0; }
.ln__rail-btns { gap: 10px; }
/* more air between rail blocks */
.ln__rail { gap: clamp(46px, 4.6vw, 70px); }
.ln__rail-card > p b { font-weight: 600; color: var(--ink); }
.ln__rail-card > p b { display: block; margin-bottom: 6px; }
.ln__rail-card > p b + br { display: none; }
.ln__rail-block--quote { padding: 0; }
.ln__rail-block--quote .ln__rail-eyebrow { margin: 0 6px 14px; }
.ln__rail-block--quote .ln__rail-btn { margin-top: 14px; }
/* hub H1: hold "grow your sales" on its own line while there is room for it */
.ln-top__nb { display: inline-block; }
@media (max-width: 860px) { .ln-top h1 br.ln-top__br { display: none; } .ln-top__nb { display: inline; } }
/* keep the single-column stack on small screens (must sit after the 320px rail rule) */
@media (max-width: 900px) {
    .ln__grid { grid-template-columns: 1fr; }
    .ln__rail { order: 2; gap: clamp(34px, 6vw, 48px); }
}

/* ── bottom-of-article "What is your goal today?" — the slide-out menu's design:
   stacked sections on the page, hairline between them, one CTA each ─────────── */
.lgoal { max-width: 780px; margin: clamp(34px, 4.4vw, 56px) 0 clamp(8px, 2vw, 20px); padding-top: clamp(30px, 4vw, 52px); border-top: 1px solid rgba(17,17,16,.10); }
/* the share row closes the article — the goal block's rule is the only divider */
.learn--articles .art-share { margin-top: clamp(22px, 3vw, 32px) !important; padding-top: 0 !important; border-top: 0 !important; }
.lgoal > h2 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); text-align: left; margin: 0 0 clamp(24px, 3vw, 36px); }
.lgoal__grid { display: block; counter-reset: lgoal; }
.lgoal__card { padding: 0; margin: clamp(30px, 3.8vw, 46px) 0 0; }
.lgoal__card:first-child { margin-top: 0; }
.lgoal__card h3 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: 'SOFT' 50; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.022em; color: var(--ink); margin: 0 0 12px; }
.lgoal__card h3::before {
    counter-increment: lgoal; content: counter(lgoal, decimal-leading-zero);
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin: 0 0 16px;
    border-radius: 50%; border: 1px solid rgba(17,17,16,.18);
    font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--ink-mute);
}
.lgoal__card h3 sup, .lgoal__card p sup, .lgoal__links sup { font-size: .5em; vertical-align: top; position: relative; top: .3em; }
.lgoal__card p { font-size: 16px; font-weight: 300; line-height: 1.65; color: var(--ink-soft); margin: 0 0 14px; max-width: 56ch; }
.lgoal__card p b { font-weight: 600; color: var(--ink); }
.lgoal__lead-in { margin-bottom: 12px !important; }
.lgoal__links { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.lgoal__links li { position: relative; padding-left: 22px; }
.lgoal__links li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.lgoal__links a { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(17,17,16,.28); text-underline-offset: 4px; }
.lgoal__links a:hover { text-decoration-color: var(--ink); }
.lgoal__btn { margin-top: 4px; height: 52px; padding: 0 26px; font-size: 15.5px; }
@media (max-width: 900px) {
    .ln__rail { display: none; }          /* rail is desktop-only; the goal block carries the CTAs */
    .lgoal__btn { width: 100%; justify-content: center; }
}
/* related list closes the page — give it the same rhythm as a section */
.learn--articles .art-related { margin-top: clamp(34px, 4.4vw, 56px) !important; padding-top: clamp(30px, 4vw, 48px) !important; }
.learn--articles .art-related-head { margin-bottom: 18px; }
.learn--articles .lgoal { margin-bottom: 0; }
