/* ============================================================
   sections.css — homepage section layouts (below the hero)
   Hero lives in hero.css. Reuses components from components.css.
   ============================================================ */

/* ---- Comparison (LLM vs Continuum Tracker): 2 cards, each eyebrow+title+desc+image ---- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin: 48px auto 0; align-items: start; }
/* LLM side: flat — no card, but matching vertical padding so titles align with the boxed card */
.compare-card { padding: clamp(32px, 4vw, 48px) 0; }
/* Continuum Tracker side: white card, soft/mild shadow, no border */
.compare-card--boxed { background: #fff; border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: clamp(32px, 4vw, 48px); }
.compare-card .eyebrow { margin-bottom: 8px; text-transform: uppercase; }
.compare-card h3 { font-size: 24px; margin-bottom: 12px; }
.compare-card p { color: var(--c-text); }
.compare-card__img { margin-top: 22px; border-radius: 12px; width: 100%; }

/* recreated "context" graphic (replaces the PNGs) */
.ctx { display: flex; gap: 14px; justify-content: center; margin-top: 32px; }
.ctx__label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 16px; color: var(--c-heading); font-weight: 500; align-self: center; }
.ctx--ct .ctx__label { align-self: flex-end; }
.ctx__stack { display: grid; gap: 6px; justify-items: center; }
.ctx__box { border-radius: 14px; padding: 16px 18px; font-weight: 700; text-align: center; line-height: 1.3; width: 175px; font-size: 15.5px; }
.ctx__box--gray { background: #e4e4e7; color: #18181b; }
.ctx__box--purple { background: var(--c-primary); color: #fff; }
.ctx__plus { font-weight: 700; color: var(--c-heading); font-size: 18px; line-height: 1; }

/* ---- Video (split: text + YouTube embed) ---- */
.video-embed { aspect-ratio: 16/9; border-radius: var(--r-panel); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--c-heading); }
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- One platform: tabbed process + 4 illustration cards ---- */
.platform__tabs { max-width: 980px; margin: 40px auto 36px; }
.step-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step-cards--5 { grid-template-columns: repeat(5, 1fr); }
.step-cards[hidden] { display: none; }
.step-card { background: #fff; border-radius: var(--r-card); padding: 22px; box-shadow: 0 24px 60px rgba(28, 26, 78, .07); }
.step-card__media { background: var(--surface-band-50); border-radius: 12px; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; margin-bottom: 20px; }
.step-card__media img { width: 80%; }
.step-card h3 { font-size: 18px; color: var(--c-heading); margin-bottom: 10px; text-align: center; }
.step-card p { font-size: var(--fs-sm); color: var(--c-text); text-align: center; }

/* ---- Split feature row media ---- */
.split__shot { border-radius: var(--r-card); width: 100%; }
.split .eyebrow { margin-bottom: 14px; }
.split h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.split p { color: var(--c-text); }
.split p + p { margin-top: 16px; }
.split .btn { margin-top: 24px; }
.split__sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }

/* ---- Metrics (white rounded card on lavender; indigo numbers) ---- */
.metrics { background: var(--surface-band-50); }
.metrics__card { background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-card); padding: clamp(28px, 4vw, 52px); max-width: 1120px; margin-inline: auto; }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.metric__value { font-size: clamp(40px, 5vw, 58px); font-weight: 800; color: var(--c-heading); letter-spacing: -.04em; line-height: 1; }
.metric__value small { font-size: .4em; font-weight: 800; color: var(--c-heading); margin-left: 4px; }
.metric__label { margin-top: 14px; font-size: var(--fs-sm); color: var(--c-text); }

/* ---- Partners / logos row ---- */
.section.partners { padding-block: clamp(10px, 1.2vw, 16px); }   /* tight, equal top/bottom */
/* two halves so the gap between the (unequal-width) logos lands on the page centre */
.partners__row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(28px, 4vw, 56px); max-width: 640px; margin: clamp(40px, 5vw, 72px) auto 0; }
.partners__row img { height: 52px; width: auto; object-fit: contain; }
.partners__row a { display: inline-flex; }   /* no hover zoom */
.partners__row a:nth-child(1) { justify-self: end; }
.partners__row a:nth-child(2) { justify-self: start; }

@media (max-width: 560px) {
  .partners__row { grid-template-columns: 1fr; justify-items: center; row-gap: 18px; }
  .partners__row a:nth-child(1), .partners__row a:nth-child(2) { justify-self: center; }
}

/* taller section — but its TOP padding matches the hero's bottom so the logo row above it is evenly spaced */
.section--tall { padding-top: clamp(28px, 3.5vw, 56px); padding-bottom: clamp(36px, 4.5vw, 66px); }

/* ---- Benefits: AI chat vs Continuum Tracker (two columns of listed points) ---- */
/* whole block sits inside a soft lavender panel */
.benefits-panel { background: var(--surface-band); border-radius: var(--r-panel); padding: clamp(28px, 4vw, 56px); max-width: 1120px; margin: 48px auto 0; }
.benefits__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
/* AI chat: flat (no card) — matching vertical padding so eyebrows align with the boxed card */
.benefit-col { padding: clamp(28px, 3vw, 40px) 0; }
/* Continuum Tracker: white card, soft/mild shadow, no border */
.benefit-col--pro { background: #fff; border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: clamp(28px, 3vw, 40px); }
.benefit-col .eyebrow { margin-bottom: 8px; }
.benefit-col h3 { font-size: 26px; margin-bottom: 14px; }
.benefit-col > p { color: var(--c-text); margin-bottom: 24px; }
.benefit-list { display: grid; gap: 16px; }
.benefit-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-heading); font-size: var(--fs-body); line-height: 1.45; }
.benefit-list .ico { flex: none; width: 24px; height: 24px; margin-top: 1px; }

/* ---- Integrations grid (same card chrome as homepage step cards; logo top-left) ---- */
.integration-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; align-items: start; }
/* same chrome as the homepage boxed comparison card: white, soft shadow, generous radius + padding */
.integration-card { background: #fff; border-radius: var(--r-panel); padding: clamp(28px, 3vw, 40px); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); }
.integration-card__logo { height: 56px; width: auto; max-width: 70%; object-fit: contain; margin-bottom: 24px; }
.integration-card h3 { font-size: 19px; color: var(--c-heading); margin-bottom: 4px; }
.integration-card__sub { font-size: var(--fs-sm); color: var(--c-text-strong); font-weight: 600; margin-bottom: 16px; }
.integration-card p { font-size: var(--fs-sm); color: var(--c-text); line-height: 1.55; }
.integration-card__link { margin-top: 12px; font-size: var(--fs-sm); font-weight: 600; }

@media (max-width: 920px) { .integration-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .integration-grid { grid-template-columns: 1fr; } }

/* ---- Meetup: hero art + photo placeholders + info meta ---- */
.meetup-hero-art { width: 100%; max-width: 480px; margin-inline: auto; display: block; }
.media-ph { border-radius: var(--r-card); aspect-ratio: 4 / 3; background: linear-gradient(135deg, #eef1ff, #e1e6ff); display: grid; place-items: center; color: var(--c-primary-soft); }
.media-ph svg { width: 64px; height: 64px; }
.meetup-note { margin-top: 14px; font-size: var(--fs-sm); color: var(--c-text); font-style: italic; }

/* full-width info strip at the bottom of the hero */
.meetup-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; margin-top: clamp(36px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--c-border); font-size: var(--fs-lead); }
.meetup-meta span { display: inline-flex; align-items: center; gap: 14px; color: var(--c-text-strong); }
.meetup-meta svg { flex: none; width: 30px; height: 30px; color: var(--c-primary); }
.dash-list { display: grid; gap: 14px; margin: 24px 0 28px; }
.dash-list li { position: relative; padding-left: 34px; color: var(--c-text); font-size: var(--fs-body); line-height: 1.5; }
.dash-list li::before { content: "–"; position: absolute; left: 0; top: -0.12em; font-size: 1.7em; line-height: 1; color: var(--c-text); }

/* ---- White content panel (e.g. the 80% / 20% / ownership feature columns) ---- */
.card-panel { background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-card); padding: clamp(32px, 4vw, 64px); max-width: 1180px; margin: 44px auto 0; }
.card-panel .feature-col p + p { margin-top: 16px; }

/* small italic source/citation note under a section */
.source-note { text-align: center; font-style: italic; color: var(--c-text); font-size: var(--fs-sm); line-height: 1.5; max-width: 820px; margin: 28px auto 0; }
.source-note a { color: var(--c-primary); word-break: break-word; }

/* ---- CTA band: centered eyebrow + heading + lead + button on a lavender panel ---- */
.cta-panel { background: var(--surface-band); border-radius: var(--r-panel); text-align: center; max-width: 1180px; margin-inline: auto; padding: clamp(40px, 6vw, 84px) clamp(24px, 4vw, 56px); }
.cta-panel .eyebrow { margin-bottom: 16px; }
.cta-panel h2 { font-size: var(--fs-h2); }
.cta-panel p { margin: 18px auto 0; max-width: 820px; font-size: var(--fs-lead); color: var(--c-text); }
.cta-panel .btn { margin-top: 32px; }

/* ============================================================
   Pricing page (cenik)
   ============================================================ */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; margin-top: 44px; }
.plan-card { background: #fff; border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: clamp(24px, 2.4vw, 36px); }
.plan-card__name { font-size: 22px; color: var(--c-heading); font-weight: 800; }
.plan-card__desc { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-text); }
.plan-card__price { margin-top: 18px; font-size: 30px; font-weight: 800; color: var(--c-heading); letter-spacing: -.02em; }
.plan-card__price span { font-size: 16px; font-weight: 600; color: var(--c-text); }
.plan-card__notes { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-text); }
.plan-card__notes span { display: block; }
.plan-card .btn { width: 100%; margin-top: 20px; }
.plan-card__group { margin-top: 24px; font-weight: 700; color: var(--c-text-strong); font-size: var(--fs-sm); }
.plan-feats { display: grid; gap: 11px; margin-top: 12px; }
.plan-feats li { position: relative; padding-left: 26px; font-size: var(--fs-sm); color: var(--c-text); line-height: 1.45; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--c-primary); font-weight: 700; }
.pricing-note { text-align: center; color: var(--c-text); font-size: var(--fs-sm); max-width: 820px; margin: 32px auto 0; }
.plan-card__head { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.plan-card__soon { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface-band); color: var(--c-primary); font-weight: 700; font-size: 13px; letter-spacing: .01em; }
.plan-card__soon svg { flex: none; width: 15px; height: 15px; }

.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.credit-card { background: #fff; border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: clamp(24px, 2.4vw, 36px); }
.credit-card__price { font-size: 26px; font-weight: 800; color: var(--c-heading); }
.credit-card__desc { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-text); }
.credit-card__incl { margin-top: 20px; font-weight: 700; font-size: var(--fs-sm); color: var(--c-text-strong); margin-bottom: 12px; }

.table-wrap { max-width: 1120px; margin: 40px auto 0; overflow-x: auto; border-radius: var(--r-card); box-shadow: var(--shadow-card); }
.price-table { width: 100%; border-collapse: collapse; min-width: 540px; background: #fff; }
.price-table th { background: var(--c-primary); color: #fff; text-align: left; padding: 16px 24px; font-size: var(--fs-body); font-weight: 700; }
.price-table td { padding: 13px 24px; font-size: var(--fs-sm); color: var(--c-text); border-top: 1px solid var(--c-border); }
.price-table td:first-child { color: var(--c-heading); }
.price-table tbody tr:nth-child(even) { background: var(--surface-band-50); }
/* narrow table (e.g. dictation) shrinks to fit small screens instead of scrolling */
.price-table--narrow { min-width: 0; }
@media (max-width: 480px) { .price-table--narrow th, .price-table--narrow td { padding: 13px 16px; } }

/* FAQ accordion (matches styleguide) */
.faq-accordion { max-width: 920px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-item > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 18px; font-weight: 700; color: var(--c-heading); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; flex: none; color: var(--c-primary); font-size: 24px; font-weight: 400; line-height: 1; transition: transform var(--ease); }
.faq-item[open] > summary::after { content: "\2013"; }
.faq-item > summary:hover { color: var(--c-primary); }
.faq-item__body { padding: 0 4px 24px; color: var(--c-text); font-size: var(--fs-body); line-height: 1.6; max-width: 80ch; }

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

/* ============================================================
   Legal document pages (version tabs + readable body)
   ============================================================ */
.legal { max-width: 880px; margin-inline: auto; }
/* segmented control: light track, active version = filled indigo pill */
.version-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: var(--surface-band-50); margin-bottom: 36px; }
.version-tab { border: none; background: transparent; padding: 10px 20px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: var(--fs-sm); color: var(--c-primary); cursor: pointer; white-space: nowrap; transition: background var(--ease), color var(--ease); }
.version-tab:hover { color: var(--c-primary-strong); }
.version-tab[aria-selected="true"] { background: var(--c-primary); color: #fff; box-shadow: 0 6px 16px rgba(80, 70, 229, .25); }
.version-tab[aria-selected="true"]:hover { color: #fff; }
.version-panel[hidden] { display: none; }
.legal h2 { font-size: 22px; margin: 34px 0 14px; }
.legal h3 { font-size: 18px; color: var(--c-text-strong); margin: 30px 0 12px; }
.legal p { color: var(--c-text); line-height: 1.7; margin-bottom: 12px; }
.legal ul { margin: 8px 0 14px; padding-left: 26px; }
.legal li { color: var(--c-text); line-height: 1.7; margin-bottom: 8px; }
.legal ul.legal-alpha { list-style: none; padding-left: 22px; }
.legal a { color: var(--c-primary); word-break: break-word; }
.legal__form p { margin-bottom: 16px; }
.legal .table-wrap { margin: 20px 0 24px; }
.legal .price-table { min-width: 780px; }
.legal .price-table td { vertical-align: top; word-break: break-word; }
.legal__placeholder { font-style: italic; }

/* ---- Section background helpers (alternating surfaces) ---- */
.section--lav { background: var(--surface-band-50); }
.section--lav-solid { background: var(--surface-band); }

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }
  .step-cards, .step-cards--5 { grid-template-columns: 1fr; }
  .split__sub { grid-template-columns: 1fr; }
  .metrics__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .metric + .metric { border-left: none; padding-left: 0; }
}
@media (max-width: 390px) {
  .metrics__grid { grid-template-columns: 1fr; }
}

/* ===================== CONTACT PAGE ===================== */
/* Reuses the homepage hero (.hero--split) for the two-column layout & spacing */
.hero--contact .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.hero--contact .hero__title { margin-bottom: 30px; }
.contact-info__email { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; color: var(--c-text-strong); margin-bottom: 24px; }
.contact-info__email svg { color: var(--c-primary); flex: none; }
.contact-info__email a { color: inherit; text-decoration: none; }
.contact-info p { margin: 0 0 14px; color: var(--c-text); line-height: 1.5; }
.contact-info p a { color: var(--c-primary); text-decoration: underline; }

.contact-card { background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-lg); padding: 36px; display: flex; flex-direction: column; }
.contact-form { flex: 1; display: flex; flex-direction: column; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .field { margin-bottom: 18px; display: flex; flex-direction: column; }
.contact-form .field > label { font-size: 14px; font-weight: 600; color: var(--c-text-strong); margin-bottom: 8px; }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 16px; color: var(--c-text-strong); background: #fff; border: 1px solid var(--c-border); border-radius: 12px; padding: 13px 14px; width: 100%; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(80, 70, 229, .15); }
.contact-form input.is-invalid, .contact-form textarea.is-invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .15); }
.contact-form button[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.phone-group { display: flex; gap: 8px; }
.phone-cc { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid var(--c-border); border-radius: 12px; color: var(--c-text); background: #fff; flex: none; }
.form-check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; }
.form-check input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--c-primary); }
.form-check label { font-size: 14px; line-height: 1.55; color: var(--c-text); }
.form-check label a { color: var(--c-primary); text-decoration: underline; }
.form-actions { display: flex; justify-content: flex-end; }
.form-success[hidden] { display: none; }
.form-success { margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; color: var(--c-text-strong); font-size: var(--fs-lead); font-weight: 600; line-height: 1.6; }
.form-success p { margin: 0; }
.form-success__check { width: 56px; height: 56px; flex: none; }
.form-error[hidden] { display: none; }
.form-error { color: #e5484d; font-size: 15px; font-weight: 600; line-height: 1.55; margin-top: 14px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .hero--contact .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ===================== INVESTORS PAGE ===================== */
.investor-intro { max-width: 1120px; margin: 0 auto 44px; color: var(--c-text); font-size: var(--fs-lead); line-height: 1.6; }
.investor-intro a { color: var(--c-primary); }
.investor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1120px; margin: 0 auto; }
.investor-card { background: #fff; border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: clamp(30px, 3.2vw, 48px); }
.investor-card .eyebrow { display: block; margin-bottom: 14px; }
.investor-card h3 { font-size: clamp(24px, 2.4vw, 30px); color: var(--c-heading); line-height: 1.15; letter-spacing: -.01em; margin-bottom: 16px; }
.investor-card p { color: var(--c-text); line-height: 1.7; }
.investor-card p strong { color: var(--c-text-strong); font-weight: 700; }
@media (max-width: 768px) { .investor-grid { grid-template-columns: 1fr; gap: 20px; } }

/* ===================== PRODUCT TESTING (user research) ===================== */
.ut-how { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.ut-how__intro .eyebrow { margin-bottom: 14px; }
.ut-how__intro h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.ut-how__intro p { color: var(--c-text); line-height: 1.6; margin-bottom: 26px; }
.ut-steps { list-style: none; display: grid; gap: 34px; margin: 0; padding: 0; }
.ut-step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.ut-step h3 { font-size: 20px; color: var(--c-heading); margin-bottom: 8px; }
.ut-step p { color: var(--c-text); line-height: 1.6; }
.ut-step p a { color: var(--c-primary); text-decoration: underline; }
@media (max-width: 860px) { .ut-how { grid-template-columns: 1fr; gap: 40px; } }

/* ===================== ABOUT PAGE ===================== */
.about-hero__shot { width: 100%; border-radius: var(--r-panel); box-shadow: var(--shadow-lg); display: block; }
.story-illu { border-radius: var(--r-panel); overflow: hidden; background: linear-gradient(150deg, #eef1ff 0%, #dfe3ff 100%); aspect-ratio: 4 / 3; display: grid; place-items: end center; }
.story-illu svg { width: 80%; height: 94%; display: block; }
.story-illu img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* team */
.about-team { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.about-team__intro .eyebrow { margin-bottom: 14px; }
.about-team__intro h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.about-team__intro p { color: var(--c-text); line-height: 1.6; margin-bottom: 24px; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.team-card { background: #fff; border-radius: var(--r-panel); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: 26px; }
.team-card__li { display: inline-block; margin-top: 14px; font-size: var(--fs-sm); color: var(--c-primary); text-decoration: none; }
.team-card__li:hover { color: var(--c-primary-strong); }
.why-work + .about-invest { margin-top: clamp(40px, 5vw, 64px); }
.team-card__avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; }
.team-card__avatar svg { width: 100%; height: 100%; display: block; }
.team-card h3 { font-size: 18px; color: var(--c-heading); margin-bottom: 2px; }
.team-card__role { font-size: var(--fs-sm); color: var(--c-primary); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: var(--fs-sm); color: var(--c-text); line-height: 1.55; }

/* culture values */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(36px, 4vw, 56px); }
.value-card { background: #fff; border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(28, 26, 78, .07); padding: 28px; }
.value-card .icon-circle { margin-bottom: 18px; }
.value-card h3 { font-size: 17px; color: var(--c-heading); margin-bottom: 10px; }
.value-card p { font-size: var(--fs-sm); color: var(--c-text); line-height: 1.55; }

/* closing: investors + why work */
.about-invest { text-align: center; max-width: 880px; margin: 0 auto; color: var(--c-text); font-size: var(--fs-lead); line-height: 1.6; }
.about-invest p + p { margin-top: 18px; }
.about-invest a { color: var(--c-primary); text-decoration: underline; }
.why-work { max-width: 760px; margin: 0 auto; }
.why-work h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
.why-work__lead { color: var(--c-text); margin-bottom: 22px; }
.why-list { display: grid; gap: 14px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-heading); line-height: 1.5; }
.why-list .ico { flex: none; width: 22px; height: 22px; color: var(--c-primary); margin-top: 1px; }
.why-work__end { margin-top: 24px; font-weight: 700; color: var(--c-text-strong); }

@media (max-width: 900px) {
  .about-team { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .team-grid, .value-grid { grid-template-columns: 1fr; }
}


/* hero persona chip (who the page is for) */
.hero__persona { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-text-strong); line-height: 1.3; }
.hero__persona .icon-circle { width: 40px; height: 40px; flex: none; }

/* ===================== BLOG ===================== */
.blog-top__note { margin-top: 26px; color: var(--c-text); font-size: var(--fs-sm); }

/* category selector — segmented pills (same look as version-tabs) */
.cat-tabs__wrap { text-align: center; margin: 4px 0 clamp(32px, 4vw, 48px); }
.cat-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: var(--surface-band-50); }
.cat-tab { border: none; background: transparent; padding: 10px 20px; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: var(--fs-sm); color: var(--c-primary); cursor: pointer; transition: background .15s, color .15s; }
.cat-tab[aria-selected="true"] { background: var(--c-primary); color: #fff; box-shadow: 0 6px 16px rgba(80, 70, 229, .25); }

/* article cards grid */
.blog-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.blog-card { background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; }
.blog-card[hidden] { display: none; }
.blog-card__thumb { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #eef1ff 0%, #dfe3ff 100%); }
.blog-card__badge { position: absolute; top: 16px; left: 16px; background: var(--c-primary); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.blog-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-card__thumb svg { position: absolute; right: 18px; bottom: 16px; width: 84px; height: 84px; color: var(--c-primary-soft); }
.blog-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--c-text); }
.blog-card__meta .blog-card__avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.blog-card__title { font-size: 18px; line-height: 1.25; color: var(--c-heading); }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--c-primary); }
.blog-card__excerpt { font-size: 14px; color: var(--c-text); line-height: 1.55; }

@media (max-width: 1200px) { .blog-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 992px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }

/* ===================== MODAL (newsletter) ===================== */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(28, 26, 78, .45); backdrop-filter: blur(2px); }
.modal__dialog { position: relative; z-index: 1; background: #fff; border-radius: var(--r-panel); box-shadow: var(--shadow-lg); padding: clamp(28px, 4vw, 44px); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; }
.modal__close { position: absolute; top: 14px; right: 16px; border: none; background: transparent; font-size: 26px; line-height: 1; color: var(--c-text); cursor: pointer; }
.modal__dialog h2 { font-size: 24px; color: var(--c-text-strong); margin-bottom: 8px; }
.modal__dialog .modal__lead { color: var(--c-text); font-size: var(--fs-sm); margin-bottom: 22px; }

/* wider blog top section */
.hero--blog .hero__inner { max-width: 1040px; }
.hero--blog .hero__desc { max-width: none; }

/* category tabs: one per row on mobile */
@media (max-width: 560px) {
  .cat-tabs__wrap { display: block; } /* cat-tabs--mobile */
  .cat-tabs { display: flex; flex-direction: column; width: 100%; }
  .cat-tab { width: 100%; text-align: center; }
}

/* ===================== BLOG POST (article template) ===================== */
.post { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 88px); }
.post__container { max-width: 820px; }
.post__crumbs { font-size: var(--fs-sm); color: var(--c-text); margin-bottom: 22px; }
.post__crumbs a { color: var(--c-primary); text-decoration: none; }
.post__crumbs a:hover { text-decoration: underline; }
.post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.post__badge { background: var(--c-primary); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.post__byline { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-text); }
.post__byline .post__avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; }
.post__body h1 { font-size: clamp(30px, 4vw, 44px); color: var(--c-text-strong); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 22px; }
.post__body h2 { font-size: 26px; color: var(--c-text-strong); margin: 38px 0 14px; }
.post__body h3 { font-size: 20px; color: var(--c-text-strong); margin: 28px 0 12px; }
.post__body p { color: var(--c-text); line-height: 1.75; margin-bottom: 16px; }
.post__body ul, .post__body ol { margin: 10px 0 20px; padding-left: 26px; color: var(--c-text); line-height: 1.7; }
.post__body ul { list-style: disc; }
.post__body ol { list-style: decimal; }
.post__body li { margin-bottom: 10px; }
.post__body li strong, .post__body p strong { color: var(--c-text-strong); }
.post__body a { color: var(--c-primary); text-decoration: underline; }

.post-related { background: var(--surface-band-50); }

/* reading progress bar (article pages) */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; background: transparent; }
.read-progress__bar { display: block; height: 100%; width: 0; background: var(--c-primary); }

/* related articles: always 3, centered */
.post-related .blog-grid { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin-inline: auto; }
@media (max-width: 860px) { .post-related .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-related .blog-grid { grid-template-columns: 1fr; } }
