/* Shared UI loaded on every page, homepage included: header account buttons,
   phone menu, sign-up dialog and the photo hero used on team and industry pages. */

/* HEADER: log in, sign up, phone menu */
.nav-inner { gap: 16px; }
.nav-links .nav-sep { width: 1px; height: 22px; background: rgba(255,255,255,0.14); margin: 0 4px; flex: none; }
.nav-links .nav-signup {
  border: 1px solid rgba(255,255,255,0.3); color: #fff !important; font-weight: 700 !important;
  padding: 8px 15px !important; border-radius: 9px;
}
.nav-links .nav-signup:hover { border-color: #fff; background: rgba(255,255,255,0.06) !important; }
.nav-links a { white-space: nowrap; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; flex: none;
  border: 1px solid rgba(255,255,255,0.16); background: transparent; color: #fff; cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .x { display: none; }
.nav.open .nav-toggle .bars { display: none; }
.nav.open .nav-toggle .x { display: block; }

@media (max-width: 1100px) {
  .nav-links a:not(.nav-cta), .nav-links .nav-sep { display: none; }
  .nav-toggle { display: grid; }
  .nav-inner > .nav-links { margin-left: auto; }
  .nav.open .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    background: #0A1628; border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: 0 24px 40px rgba(0,0,0,0.35);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open .nav-links a { display: block !important; padding: 13px 14px !important; font-size: 15px; }
  .nav.open .nav-links .nav-sep { display: block; width: auto; height: 1px; margin: 8px 0; }
  .nav.open .nav-links .nav-signup, .nav.open .nav-links .nav-cta { text-align: center; margin-top: 6px; }
}

@media (max-width: 480px) {
  .nav-inner { gap: 10px; }
  .nav-links .nav-cta { padding: 9px 12px !important; font-size: 12.5px; }
}

/* SIGN-UP DIALOG */
.su-dialog {
  position: fixed; inset: 0; margin: auto; height: fit-content; overflow-y: auto;
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px;
  background: #fff; color: #0A1628; box-shadow: 0 40px 80px rgba(10,22,40,0.35); font-family: inherit;
}
.su-dialog::backdrop { background: rgba(10,22,40,0.66); backdrop-filter: blur(3px); }
.su-head { background: #0A1628; color: #fff; padding: 26px 28px 22px; position: relative; }
.su-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; padding-right: 36px; }
.su-head p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.72); margin: 0; }
.su-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 20px; line-height: 1;
}
.su-close:hover { background: rgba(255,255,255,0.16); }
.su-body { padding: 22px 28px 26px; }
.su-note {
  display: flex; gap: 10px; align-items: flex-start; background: #EBF0FD; color: #22408F; border-radius: 12px;
  padding: 12px 14px; font-size: 13.5px; line-height: 1.55; margin-bottom: 18px;
}
.su-note b { color: #0A1628; }
.su-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.su-grid .full { grid-column: 1 / -1; }
.su-field label { display: block; font-size: 12.5px; font-weight: 700; color: #0A1628; margin-bottom: 6px; }
.su-field label span { color: #4A6080; font-weight: 500; }
.su-field input, .su-field select, .su-field textarea {
  width: 100%; font: inherit; font-size: 14.5px; color: #0A1628; background: #F8FAFF;
  border: 1px solid #DDE4F0; border-radius: 10px; padding: 11px 12px; min-width: 0;
}
.su-field textarea { min-height: 76px; resize: vertical; }
.su-field input:focus, .su-field select:focus, .su-field textarea:focus { outline: 2px solid #3B6FE8; outline-offset: 1px; border-color: #3B6FE8; background: #fff; }
.su-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #4A6080; line-height: 1.5; margin-top: 14px; }
.su-consent input { margin-top: 2px; accent-color: #3B6FE8; }
.su-error { color: #C8463D; font-size: 13px; font-weight: 600; margin-top: 12px; }
.su-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.su-submit {
  font: inherit; font-weight: 800; font-size: 15px; border: 0; border-radius: 11px; padding: 13px 22px; cursor: pointer;
  background: #F5A623; color: #0A1628;
}
.su-submit:hover { filter: brightness(1.05); }
.su-submit[disabled] { opacity: .6; cursor: wait; }
.su-alt { font-size: 13px; color: #4A6080; }
.su-alt a { color: #3B6FE8; font-weight: 700; }
.su-done { text-align: center; padding: 34px 28px 32px; }
.su-done .su-ok { width: 56px; height: 56px; border-radius: 50%; background: #E7F6EE; color: #1E9E57; display: grid; place-items: center; margin: 0 auto 16px; font-size: 26px; font-weight: 800; }
.su-done h2 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.su-done p { font-size: 15px; color: #4A6080; line-height: 1.65; margin: 0 auto 10px; max-width: 420px; }
.su-done .su-submit { margin-top: 12px; }
@media (max-width: 560px) {
  .su-grid { grid-template-columns: 1fr; }
  .su-head { padding: 22px 20px 18px; }
  .su-body { padding: 18px 20px 22px; }
}

/* PHOTO HERO on team and industry pages */
.page-hero.has-visual .hero-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero.has-visual h1 { font-size: clamp(32px, 4.1vw, 52px); }
.page-hero.has-visual .tldr { max-width: none; }
.hv { position: relative; margin: 0; padding: 30px 0 44px 26px; }
.hv-photo {
  position: relative; aspect-ratio: 4 / 3.5; max-width: 100%; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(90,139,240,0.45), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(245,166,35,0.22), transparent 50%),
    linear-gradient(150deg, #1A2F50, #0E1D36);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hv-art {
  position: absolute; inset: 0; display: grid; place-items: center;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1.2px, transparent 1.2px); background-size: 18px 18px;
}
.hv-art svg { width: 38%; height: auto; stroke: rgba(255,255,255,0.32); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.hv-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-chat {
  position: absolute; top: 0; left: 0; width: min(300px, 82%); background: #fff; color: #0A1628;
  border-radius: 16px 16px 16px 4px; padding: 12px 14px 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.hv-who { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; color: #4A6080; margin-bottom: 6px; }
.hv-av { width: 24px; height: 24px; border-radius: 50%; background: #25D366; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.hv-chat p { font-size: 13.5px; line-height: 1.5; margin: 0; }
.hv-time { display: block; text-align: right; font-size: 10.5px; color: #8A9AB5; margin-top: 4px; }
.hv-rec {
  position: absolute; right: 0; bottom: 0; width: min(270px, 78%); background: #fff; color: #0A1628;
  border-radius: 16px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}
.hv-rec-top { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; margin-bottom: 10px; }
.hv-ok { width: 20px; height: 20px; border-radius: 50%; background: #E7F6EE; color: #1E9E57; display: grid; place-items: center; font-size: 11px; }
.hv-rec dl { margin: 0; display: grid; gap: 6px; }
.hv-rec dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.hv-rec dt { color: #4A6080; }
.hv-rec dd { margin: 0; font-weight: 700; text-align: right; }
.hv-chip { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 800; color: #9A5B00; background: #FEF5E7; border-radius: 99px; padding: 4px 10px; }
@media (max-width: 960px) {
  .page-hero.has-visual .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 520px; width: 100%; }
}
@media (max-width: 480px) {
  .hv { padding: 26px 0 40px 12px; }
  .hv-chat p { font-size: 12.5px; }
}

/* Hero buttons on team and industry pages */
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.hero-ghost {
  display: inline-block; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.28); color: #fff;
}
.hero-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* MEGA MENUS (Solutions, Industries, Integrations, Resources) */
.mm { position: relative; }
.nav-links .mm-top { display: inline-flex; align-items: center; gap: 5px; }
.mm-top svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; opacity: .7; }
.mm-panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 6px); padding-top: 14px;
  visibility: hidden; opacity: 0; transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s; z-index: 200;
}
.mm-box {
  width: max-content; max-width: min(720px, calc(100vw - 32px)); background: #fff; color: #0A1628; border-radius: 18px; padding: 14px;
  box-shadow: 0 28px 60px rgba(10,22,40,0.28), 0 0 0 1px rgba(10,22,40,0.06);
}
.mm-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(240px, 300px)); gap: 4px; }
.nav-links .mm-panel a.mm-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: start; padding: 12px; border-radius: 12px;
  color: #0A1628; font-weight: 400; white-space: normal; background: none;
}
.nav-links .mm-panel a.mm-item:hover, .nav-links .mm-panel a.mm-item:focus-visible { background: #F3F6FD; color: #0A1628; }
.mm-item .icon-tile { width: 40px; height: 40px; border-radius: 11px; grid-row: span 2; background: #EBF0FD; display: grid; place-items: center; }
.mm-item .icon-tile svg { width: 20px; height: 20px; stroke: #3B6FE8; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mm-item b { font-size: 14.5px; font-weight: 800; line-height: 1.3; }
.mm-item span { font-size: 13px; color: #4A6080; line-height: 1.45; }
.nav-links .mm-panel a.mm-all {
  display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 12px 14px; border-radius: 12px;
  background: #F3F6FD; color: #3B6FE8; font-size: 13.5px; font-weight: 800;
}
.nav-links .mm-panel a.mm-all:hover { background: #E4EBFB; color: #2A55C9; }
@media (min-width: 1101px) {
  .mm:hover .mm-panel, .mm:focus-within .mm-panel, .mm.open .mm-panel { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
  .mm:hover .mm-top svg, .mm.open .mm-top svg { transform: rotate(180deg); }
}
@media (max-width: 1100px) {
  .nav-links .mm { display: none; }
  .nav.open .nav-links .mm { display: block; }
  .mm-panel { position: static; transform: none; padding: 0 0 6px; visibility: visible; opacity: 1; display: none; transition: none; }
  .mm.open .mm-panel { display: block; }
  .mm.open .mm-top svg { transform: rotate(180deg); }
  .nav.open .nav-links .mm-top { display: flex !important; justify-content: space-between; }
  .mm-box { width: auto; max-width: none; background: rgba(255,255,255,0.04); box-shadow: none; padding: 4px; border-radius: 12px; }
  .mm-grid { grid-template-columns: 1fr; }
  .nav-links .mm-panel a.mm-item { color: #fff; padding: 10px !important; }
  .nav-links .mm-panel a.mm-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .mm-item span { color: rgba(255,255,255,0.55); }
  .mm-item .icon-tile { background: rgba(59,111,232,0.18); }
  .mm-item .icon-tile svg { stroke: #7FAEF8; }
  .nav-links .mm-panel a.mm-all { background: rgba(59,111,232,0.14); color: #A9C4FA; }
}

/* FULL-WIDTH CTA BAND (sits directly on the footer) */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(circle at 15% 0%, rgba(255,255,255,0.16), transparent 45%), radial-gradient(circle at 90% 110%, rgba(245,166,35,0.28), transparent 45%), linear-gradient(135deg, #3B6FE8, #2346B8);
  padding-block: 88px;
}
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band .cb-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; max-width: 820px; text-wrap: balance; color: #fff; }
.cta-band p.cb-lead { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.86); max-width: 640px; }
.cta-band .cb-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.cta-band .cb-primary {
  display: inline-flex; padding: 16px 28px; border-radius: 12px; font-size: 16px; font-weight: 800;
  background: #F5A623; color: #0A1628; box-shadow: 0 12px 30px rgba(10,22,40,0.25); transition: transform .15s;
}
.cta-band .cb-primary:hover { transform: translateY(-2px); }
.cta-band .cb-secondary { display: inline-flex; padding: 15px 24px; border-radius: 12px; font-size: 15.5px; font-weight: 700; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }
.cta-band .cb-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.cta-band .cb-sub { font-size: 14px; color: rgba(255,255,255,0.72); }
.cta-band .cb-sub a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-band + footer { margin-top: 0; border-top: 0; }

/* SITE FOOTER */
footer.site-footer { background: #0A1628; color: #fff; padding: 72px 0 0; border-top: 0; margin: 0; }
.sf-grid { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 36px 28px; }
.sf-brand .brand { font-size: 20px; }
.sf-about { font-size: 15px; color: rgba(255,255,255,0.62); line-height: 1.7; margin-top: 16px; max-width: 320px; }
.sf-contact { margin-top: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.sf-contact a { color: #A9C4FA; font-weight: 600; }
.sf-contact a:hover { color: #fff; }
footer.site-footer h2.sf-h { font-size: 15.5px; font-weight: 800; color: #fff; margin: 4px 0 16px; letter-spacing: -0.01em; text-transform: none; }
footer.site-footer ul { list-style: none; display: grid; gap: 12px; padding: 0; margin: 0; }
footer.site-footer ul a { font-size: 15px; color: rgba(255,255,255,0.66); transition: color .15s; }
footer.site-footer ul a:hover { color: #fff; }
.sf-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0 30px; display: grid; gap: 10px; text-align: center; }
.sf-legal { font-size: 14px; color: rgba(255,255,255,0.55); }
.sf-legal a { color: #A9C4FA; }
.sf-legal a:hover { color: #fff; }
.sf-disclaimer { font-size: 12.5px; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 900px; margin: 0 auto; }
@media (max-width: 1100px) { .sf-grid { grid-template-columns: repeat(3, 1fr); } .sf-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sf-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } footer.site-footer { padding-top: 56px; } }

/* "IN SHORT" SUMMARY just below the hero */
.tldr-band { background: #fff; border-bottom: 1px solid var(--border, #DDE4F0); padding-block: 40px; }
.tldr-band .tldr { margin: 0; max-width: none; background: #F6F8FE; border: 1px solid #DDE4F0; border-left: 4px solid #F5A623; border-radius: 16px; padding: 22px 26px; }
.tldr-band .tldr-label { color: #A0680A; }
.tldr-band .tldr p { font-size: 16.5px; line-height: 1.75; color: #0A1628; }

/* LARGER BODY TEXT */
.nav-links a { font-size: 14px; }
.hero-lead { font-size: 19px; }
.section-lead { font-size: 17.5px; }
.reason p, .fix-col p, .guide p, .story-step p, .faq-cat .cat-lead, .int-card ul, .quiz-hint, .truth-row > div { font-size: 16px; }
.reason h3 { font-size: 18px; }
.lost h3, .who h3 { font-size: 17px; }
.lost p, .who p, .person p, .inherit-list li, .gap-table, .scenario, .stat-what { font-size: 15.5px; }
.faq-list .a p, .faq-list summary { font-size: 16px; }
.ticks li { font-size: 16px; }
.checks li { font-size: 16.5px; }
.flow-step p { font-size: 15px; color: rgba(255,255,255,0.7); }
.flow-step h3, .flow-step h4 { font-size: 16.5px; }
.callout { font-size: 15.5px; max-width: none; }
.compare { font-size: 15.5px; }
.deal-row, .msg { font-size: 15px; }
.deal-co, .deal-note, .cred span, .lost .ex, .who .more, .related a { font-size: 14px; }
.record-sum, .record-fields b { font-size: 14.5px; }
.record-fields span { font-size: 11.5px; }
.record-meta { font-size: 13px; }
.pvr-foot { font-size: 15.5px; }
.stat-src { font-size: 12.5px; }
.stat-note, .fine { font-size: 13.5px; }
.honest { font-size: 14px; }
.icon-card .lc-d { font-size: 15px; }
.link-card .lc-t { font-size: 16px; }
.link-card .lc-d { font-size: 14px; }

/* EQUAL-HEIGHT SIDE-BY-SIDE PANELS */
.pvr > div:not(.pvr-foot), .split-2 > *, .img-pair > * { display: flex; flex-direction: column; }
.pvr .deal, .pvr .hist, .pvr .thread { flex: 1; }

/* PAGE TRANSITIONS */
@keyframes cs-page-in { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
main, body > section { animation: cs-page-in .38s ease-out both; }
.cs-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: #F5A623; z-index: 1000; box-shadow: 0 0 10px rgba(245,166,35,0.6); transition: width 1.2s cubic-bezier(.1,.7,.2,1); }
html.cs-leaving .cs-progress { width: 85%; }
html.cs-leaving main, html.cs-leaving body > section { opacity: .55; transition: opacity .2s; }
@media (prefers-reduced-motion: reduce) {
  main, body > section { animation: none; }
  .cs-progress { display: none; }
}
@media (max-width: 1100px) {
  .nav.open .nav-links .mm-panel a.mm-item { display: grid !important; font-size: 14px; }
  .nav.open .nav-links .mm-panel a.mm-all { display: flex !important; }
}
.explore { background: var(--off-white, #F8FAFF); }
.nav-links .nav-check { color: #F5A623 !important; font-weight: 700 !important; }
@media (min-width: 1101px) {
  .mm:first-child .mm-panel { left: -12px; transform: translate(0, 6px); }
  .mm:first-child:hover .mm-panel, .mm:first-child:focus-within .mm-panel, .mm:first-child.open .mm-panel { transform: translate(0, 0); }
}

/* Tighter heroes (no breadcrumbs), conclusion-first comparisons, examples centred against their text */
.page-hero { padding: 64px 0 76px; }
@media (max-width: 640px) { .page-hero { padding: 40px 0 52px; } }
.section-lead.pvr-lead { color: var(--text, #0A1628); max-width: 860px; }
.section-lead.pvr-lead strong { color: #B4560B; font-weight: 800; }
.solve { align-items: center; }
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--amber, #F5A623); }

/* "In short" sits on the grey page background, as a white card */
.tldr-band { background: var(--off-white, #F8FAFF); border-bottom: 0; padding-block: 44px 0; }
.tldr-band .tldr { background: #fff; box-shadow: 0 10px 30px rgba(10,22,40,0.05); }
.tldr-band + .section:not(.alt):not(.dark) { padding-top: 64px; }
/* Keep exploring: no divider line above it */
.explore { border-top: 0; }
.explore .icon-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Step cards beside text in dark sections are white, with dark text */
.section.dark .flow { background: #fff; border-color: rgba(255,255,255,0.2); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.section.dark .flow-step h3, .section.dark .flow-step h4 { color: var(--text, #0A1628); }
.section.dark .flow-step p { color: var(--muted, #4A6080); }
.section.dark .flow-step:not(:last-child)::after { background: #C9D7F7; }
.tldr-band.on-white { background: #fff; }
.tldr-band.on-white .tldr { background: #F6F8FE; box-shadow: none; }

/* Keep exploring: suggestions share the full row equally (2 = halves, 3 = thirds, 4 = quarters) */
.explore .icon-grid { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .explore .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .explore .icon-grid { grid-template-columns: 1fr; } }
/* Footer disclaimer uses the full width so it fits on two lines */
.sf-disclaimer { max-width: none; }

/* Legal pages */
.legal-hero { padding: 56px 0 48px; }
.legal .prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 36px 0 10px; max-width: none; }
.legal .prose h3 { font-size: 17px; font-weight: 800; margin: 20px 0 8px; }
.legal .prose p, .legal .prose li { font-size: 16px; color: var(--muted, #4A6080); line-height: 1.75; }
.legal .prose ul { padding-left: 20px; display: grid; gap: 8px; margin-bottom: 16px; }
.legal .prose strong { color: var(--text, #0A1628); }
.legal .prose a { color: var(--blue, #3B6FE8); font-weight: 600; }
mark.todo { background: #FFF1C2; color: #7A4B00; padding: 1px 4px; border-radius: 4px; font-weight: 700; }
.su-consent a { color: #3B6FE8; font-weight: 700; }

/* Sitemap page */
.sm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sm-group { background: #fff; border: 1px solid var(--border, #DDE4F0); border-radius: 18px; padding: 24px 26px; }
.sm-group h2 { font-size: 19px; font-weight: 800; margin: 0 0 14px; letter-spacing: -0.01em; }
.sm-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.sm-group a { font-size: 16px; font-weight: 700; color: var(--blue, #3B6FE8); }
.sm-group a:hover { text-decoration: underline; }
.sm-group span { display: block; font-size: 14px; color: var(--muted, #4A6080); line-height: 1.5; margin-top: 2px; }
@media (max-width: 960px) { .sm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sm-grid { grid-template-columns: 1fr; } }

/* Footer legal row: one font size across the row */
.sf-legal .footer-copy { font-size: inherit; }

/* COMPARISON PAGES (compare/) */
.compare th[scope="row"] { font-weight: 700; color: var(--text); background: #fff; font-size: 14.5px; width: 22%; border-top: 1px solid var(--border); border-bottom: 0; vertical-align: top; padding: 14px 20px; }
.compare th[scope="row"].us { background: rgba(235,240,253,0.45); color: var(--blue); }
.vs-table td.us { font-weight: 500; }
.vs-all { min-width: 980px; }
.vs-all th[scope="row"] { width: 12%; }
.vs-all td a { color: var(--blue); font-weight: 700; white-space: nowrap; }
.vs-sources a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.vs-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs-card { border: 1px solid var(--border); border-radius: 18px; padding: 24px 26px; background: #fff; }
.vs-card.us { border-color: var(--blue); background: var(--blue-pale); }
.vs-card h3 { font-size: 19px; margin-bottom: 12px; }
.vs-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text); line-height: 1.55; }
.vs-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vs-tool { display: grid; gap: 6px; border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; background: #fff; color: var(--text); transition: border-color .2s, transform .2s; }
.vs-tool:hover { border-color: var(--blue); transform: translateY(-2px); }
.vs-tool b { font-size: 16.5px; }
.vs-tool span { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .vs-tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vs-pick, .vs-tools { grid-template-columns: 1fr; } }

/* Blind Spot Check: a demo call to action beside the score, as well as after the full results */
.res-head { grid-template-columns: 132px 1fr 240px; }
.res-cta { display: grid; gap: 8px; align-content: start; background: var(--amber-pale); border: 1px solid rgba(245,166,35,0.35); border-radius: 16px; padding: 18px 18px 20px; }
.res-cta b { font-size: 15.5px; color: var(--text); }
.res-cta span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.res-cta .btn-amber { margin-top: 4px; text-align: center; justify-content: center; }
@media (max-width: 900px) {
  .res-head { grid-template-columns: 132px 1fr; }
  .res-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .res-head { grid-template-columns: 1fr; } }

/* Header: Book a demo is the one filled button; Sign up sits beside Log in as a text link */
.nav-links .nav-cta { background: var(--amber); color: #0A1628 !important; }
.nav-links .nav-cta:hover { background: #FFB840 !important; }
.nav-links .nav-signup-link { color: rgba(255,255,255,0.85); }

/* Integrations hub: request an integration */
.int-request { scroll-margin-top: 96px; margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  background: #fff; border: 1.5px dashed #9DB5E6; border-radius: 18px; padding: 22px 26px; }
.int-request > div { flex: 1 1 360px; min-width: 0; }
.int-request h3 { font-size: 19px; margin-bottom: 6px; }
.int-request p { color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 620px; }

/* Footer contact and address; phone and WhatsApp in the closing call to action */
.sf-address { font-style: normal; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.55); margin-top: 14px; max-width: 330px; }
.cta-band .cb-sub a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- MOTION ----------
   Classes are added by site.js only when the visitor allows motion, so without JavaScript
   (or with reduced motion) everything shows straight away. */
.motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--rv-i, 0) * 80ms); }
.motion .rv.in { opacity: 1; transform: none; }

/* Menus slide down a touch more smoothly */
.mm-panel { transition: opacity .2s ease, transform .22s cubic-bezier(.2,.7,.2,1), visibility 0s linear .2s; }

/* A soft shine across the main call-to-action buttons every few seconds */
.cta-band .cb-primary, .nav-links .nav-cta { position: relative; overflow: hidden; isolation: isolate; }
.cta-band .cb-primary::after, .nav-links .nav-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%);
  transform: translateX(-130%); animation: cs-shine 6s ease-in-out 2.5s infinite;
}
.nav-links .nav-cta::after { animation-delay: 4s; animation-duration: 8s; }
@keyframes cs-shine { 0% { transform: translateX(-130%); } 18%, 100% { transform: translateX(130%); } }

@media (prefers-reduced-motion: reduce) {
  .cta-band .cb-primary::after, .nav-links .nav-cta::after { animation: none; display: none; }
  .mm-panel { transition: none; }
}

/* Inner-page heroes: one call to action, with room above it */
.hero-ctas { margin-top: 34px; }

/* ---------- MOTION ACROSS EVERY PAGE ----------
   Same vocabulary as the homepage: things rise into place, cards slide in, ticks pop. */
@keyframes cs-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cs-slide-l { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes cs-zoom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cs-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes cs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Hero text enters line by line */
.motion :is(.hero, .page-hero) :is(.eyebrow, .hero-label, h1, .hero-lead, .hero-ctas, .hero-actions, .hero-trust) { animation: cs-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.motion :is(.hero, .page-hero) :is(.eyebrow, .hero-label) { animation-delay: .05s; }
.motion :is(.hero, .page-hero) h1 { animation-delay: .14s; }
.motion :is(.hero, .page-hero) .hero-lead { animation-delay: .28s; }
.motion :is(.hero, .page-hero) :is(.hero-ctas, .hero-actions) { animation-delay: .42s; }
.motion .hero .hero-trust { animation-delay: .56s; }
.motion .hero-trust li { animation: cs-rise .6s cubic-bezier(.2,.7,.2,1) both; }
.motion .hero-trust li:nth-child(1) { animation-delay: .65s; }
.motion .hero-trust li:nth-child(2) { animation-delay: .78s; }
.motion .hero-trust li:nth-child(3) { animation-delay: .91s; }

/* Inner-page hero visual: photo settles, the WhatsApp message arrives, the saved record slides in and fills */
.motion .page-hero .hv-photo { animation: cs-zoom 1.1s cubic-bezier(.2,.7,.2,1) .1s both; }
.motion .page-hero .hv-chat { animation: cs-rise .6s cubic-bezier(.2,.7,.2,1) .6s both, cs-float 7s ease-in-out 2.6s infinite; }
.motion .page-hero .hv-rec { animation: cs-slide-l .7s cubic-bezier(.2,.7,.2,1) 1.15s both, cs-float 7s ease-in-out 3.6s infinite; }
.motion .page-hero .hv-rec dl div { animation: cs-fade .4s ease both; }
.motion .page-hero .hv-rec dl div:nth-child(1) { animation-delay: 1.55s; }
.motion .page-hero .hv-rec dl div:nth-child(2) { animation-delay: 1.7s; }
.motion .page-hero .hv-rec dl div:nth-child(3) { animation-delay: 1.85s; }
.motion .page-hero .hv-rec dl div:nth-child(4) { animation-delay: 2s; }
.motion .page-hero .hv-ok { animation: cs-pop .45s cubic-bezier(.3,1.6,.5,1) 1.45s both; }
.motion .page-hero .hv-chip { animation: cs-pop .45s cubic-bezier(.3,1.6,.5,1) 2.25s both; }

/* "In short" summary: the label's accent bar grows in */
.motion .tldr.rv { transform: none; }
.motion .tldr.rv.in .tldr-label { animation: cs-rise .5s ease .15s both; }

/* Chat messages in figures arrive one after another, a little slower than cards */
.motion .msg.rv { transition-delay: calc(var(--rv-i, 0) * 160ms); }

/* Links and cards answer the pointer the same way everywhere */
.icon-card, .link-card, .vs-tool, .who, .reason, .lost, .cost, .int-card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .2s ease; }
:is(.icon-card, .link-card, .who, .int-card):hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10,22,40,0.08); }

/* Footer: registered address on its own line under the legal links */
.sf-bottom .sf-address { margin: 0 auto; max-width: none; text-align: center; font-size: 13.5px; color: rgba(255,255,255,0.5); }

/* "In short" band: no rule between the summary and a white section below it */
.tldr-band + .section.alt { border-top: 0; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; min-width: 0; }
.contact-card h2 { font-size: 19px; margin: 4px 0 0; }
.contact-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; overflow-wrap: anywhere; }
.contact-card .contact-value { color: var(--text); font-weight: 700; }
.contact-card .btn-amber, .contact-card .btn-ghost-dark { margin-top: auto; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- PRODUCT GRAPHICS ----------
   Every chat, CRM record and AI summary graphic plays out the same way (driven by site.js). */
.gfx .g { opacity: 0; }
.gfx.play .g { animation-duration: .55s; animation-timing-function: cubic-bezier(.2,.7,.2,1); animation-fill-mode: both;
  animation-delay: calc(var(--g-i, 0) * 200ms + 150ms); }
.gfx.play .g-in { animation-name: g-in; transform-origin: left bottom; }
.gfx.play .g-out { animation-name: g-out; transform-origin: right bottom; }
.gfx.play .g-row { animation-name: g-row; }
.gfx.play .g-pop { animation-name: cs-pop; animation-duration: .45s; animation-timing-function: cubic-bezier(.3,1.6,.5,1); }
.gfx .stale.g-flag { animation: g-flag 1.1s ease 2; border-radius: 6px; }
@keyframes g-in { from { opacity: 0; transform: translate(-8px, 10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes g-out { from { opacity: 0; transform: translate(8px, 10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes g-row { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes g-flag { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } 50% { box-shadow: 0 0 0 6px rgba(239,68,68,0.22); background: rgba(239,68,68,0.08); } }
.hist-item .flag.g, .gfx .g-pop { will-change: transform; }

/* Office landmark sketches (about page) */
.office-sketch{display:block;width:120px;height:72px;margin:0 0 18px;fill:none;stroke:#7FAEF8;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.office{transition:border-color .3s,transform .3s}
.office:hover{border-color:rgba(127,174,248,.45);transform:translateY(-3px)}
.motion .office-sketch path{stroke-dasharray:240;stroke-dashoffset:240}
.motion .office-sketch.drawn path{animation:sk-draw 1.6s cubic-bezier(.4,0,.2,1) forwards}
.motion .office-sketch.drawn path:nth-child(2){animation-delay:.15s}
.motion .office-sketch.drawn path:nth-child(3){animation-delay:.3s}
.motion .office-sketch.drawn path:nth-child(n+4){animation-delay:.45s}
@keyframes sk-draw{to{stroke-dashoffset:0}}

/* Lead forms: pricing quote and checklist download */
.lf-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:28px;box-shadow:0 18px 40px -24px rgba(10,22,40,.35);color:var(--text);min-width:0}
.lf-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lf-grid label{display:grid;gap:6px;font-size:13px;font-weight:700;color:var(--text);min-width:0}
.lf-grid .lf-wide{grid-column:1/-1}
.lf-opt{font-weight:500;color:var(--muted)}
.lf input:not([type=checkbox]),.lf select,.lf textarea{font:inherit;font-size:16px;font-weight:500;padding:12px 14px;border:1.5px solid var(--border);border-radius:12px;background:#fff;color:var(--text);width:100%;min-width:0}
.lf textarea{resize:vertical}
.lf input:focus,.lf select:focus,.lf textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-pale)}
.lf-consent{display:flex;gap:8px;align-items:center;margin-top:14px;font-size:14px;color:var(--muted)}
.lf-error{margin-top:12px;font-size:14px;color:var(--red);font-weight:600}
.lf button.btn-amber{margin-top:18px;border:0;cursor:pointer;font-family:inherit;width:100%}
.lf button:disabled{opacity:.6;cursor:wait}
.lf-note{margin-top:12px;font-size:12.5px;color:var(--muted);line-height:1.6}
.lf-note a,.lf-done a:not([class]){color:var(--blue);font-weight:600}
.lf [hidden],.lf-done[hidden],.lf[hidden]{display:none}
.lf-done{text-align:center;display:grid;gap:12px;justify-items:center;padding:8px 0;outline:none}
.lf-done-icon{width:52px;height:52px;border-radius:50%;background:var(--green-pale);color:var(--green);font-size:24px;font-weight:800;display:grid;place-items:center}
.lf-done h3,.lf-done-h{font-size:22px;font-weight:800;letter-spacing:-.02em}
.lf-done p{color:var(--muted);font-size:15px;line-height:1.6;max-width:420px}
.lf-done:not(.lf-sent) .lf-if-sent,.lf-done.lf-sent .lf-if-unsent{display:none}
.lf-hero{margin-top:28px;max-width:600px}
.quote-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:48px;align-items:start}
.quote-wrap .section-head{margin-bottom:0}

/* Pricing: quote card, formula, what's included */
.quote-card{background:#fff;color:var(--text);border-radius:20px;padding:22px;box-shadow:0 30px 60px -30px rgba(0,0,0,.6);display:grid;gap:4px}
.qc-head{display:flex;align-items:center;gap:8px;font-weight:800;font-size:15px;margin-bottom:8px}
.qc-dot{width:10px;height:10px;border-radius:50%;background:var(--blue)}
.qc-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px dashed var(--border);font-size:14px}
.qc-row span{color:var(--muted)}
.qc-row b{font-weight:700;text-align:right}
.qc-free b{color:var(--green)}
.qc-total{display:flex;justify-content:space-between;gap:12px;margin-top:10px;padding:14px 16px;border-radius:12px;background:var(--amber-pale);font-size:14px}
.qc-total b{color:#9A5B00}
.price-formula{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;gap:14px;align-items:stretch}
.pf-item{border:1px solid var(--border);border-radius:16px;padding:22px;background:#fff;min-width:0}
.pf-item h3{font-size:17px;font-weight:800;margin-bottom:6px}
.pf-item p{font-size:14.5px;color:var(--muted);line-height:1.6}
.pf-op{display:grid;place-items:center;font-size:28px;font-weight:800;color:var(--blue)}
.pf-total{background:var(--navy);border-color:var(--navy);color:#fff}
.pf-total p{color:rgba(255,255,255,.7)}
.pf-total a{display:inline-block;margin-top:12px;color:var(--amber);font-weight:700}
.incl-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 40px}
.incl-grid .ticks{margin-top:0}

/* Handover checklist page */
.pdf-stack{position:relative;max-width:420px;margin:0 auto;aspect-ratio:794/1123;width:100%}
.pdf-stack img{position:absolute;width:82%;height:auto;border-radius:10px;box-shadow:0 30px 60px -24px rgba(0,0,0,.7)}
.pdf-back{right:0;top:0;transform:rotate(5deg);opacity:.92}
.pdf-front{left:0;bottom:0;transform:rotate(-3deg);border:1px solid rgba(255,255,255,.12)}
.pdf-badge{position:absolute;right:4%;bottom:6%;background:var(--amber);color:var(--navy);font-weight:800;font-size:13px;padding:8px 14px;border-radius:999px;box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.motion .pdf-front{animation:pdf-in .9s cubic-bezier(.2,.7,.2,1) both .1s}
.motion .pdf-back{animation:pdf-in-b 1s cubic-bezier(.2,.7,.2,1) both}
@keyframes pdf-in{from{opacity:0;transform:translateY(24px) rotate(-8deg)}}
@keyframes pdf-in-b{from{opacity:0;transform:translateY(12px) rotate(0deg)}}
.pg-n{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue);background:var(--blue-pale);padding:4px 10px;border-radius:999px;margin-bottom:14px}
.hs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;position:relative}
.hs{background:#fff;border:1px solid var(--border);border-top:4px solid var(--c);border-radius:0 0 16px 16px;padding:22px;min-width:0}
.hs-when{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--c)}
.hs h3{font-size:18px;font-weight:800;margin:6px 0 8px}
.hs p{font-size:14.5px;color:var(--muted);line-height:1.6}
.hs-more{margin-top:28px;text-align:center}
@media (max-width:1000px){
  .price-formula{grid-template-columns:1fr}
  .pf-op{font-size:22px;height:12px}
  .hs-grid{grid-template-columns:1fr 1fr}
  .quote-wrap{grid-template-columns:1fr;gap:28px}
}
@media (max-width:640px){
  .lf-grid,.incl-grid,.hs-grid{grid-template-columns:1fr}
  .lf-card{padding:20px}
  .pdf-stack{max-width:300px}
}

/* About: team photos */
.people{grid-template-columns:repeat(3,1fr);gap:20px}
.person{padding:16px 16px 22px}
.person-photo{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px;background:#F1EFEA;margin-bottom:16px}
@media (max-width:900px){.people{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.people{grid-template-columns:1fr 1fr;gap:12px}.person{padding:10px 10px 16px}}

/* Top promo bar above the menu (Handover Checklist) */
.topbar{background:var(--amber);color:var(--navy);font-size:14px;line-height:1.4}
.topbar[hidden]{display:none}
.topbar-in{display:flex;align-items:center;justify-content:center;gap:12px;min-height:40px;padding-block:6px;position:relative}
.topbar-link{display:flex;align-items:center;gap:10px;color:var(--navy);text-align:center;flex-wrap:wrap;justify-content:center;padding-right:28px;padding-left:28px}
.topbar-link b{font-weight:800;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.topbar-link:hover b{text-decoration-thickness:2.5px}
.tb-tag{background:var(--navy);color:var(--amber);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:3px 8px;border-radius:999px}
.topbar-x{position:absolute;right:max(16px,env(safe-area-inset-right,0px));top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:50%;background:transparent;color:var(--navy);font-size:20px;line-height:1;cursor:pointer}
.topbar-x:hover{background:rgba(10,22,40,.1)}
@media (max-width:760px){.tb-long,.tb-tag{display:none}.topbar{font-size:13px}}

/* ---------- Blog and case studies ---------- */
.sample-flag{background:#FFF3D6;color:#7A4B00;border-bottom:1px solid #F3D9A8;text-align:center;font-size:13px;font-weight:700;padding:8px 16px}
.list-hero{padding:64px 0 72px}
.list-section{padding-top:48px}
.list-tools{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-bottom:28px}
.search-box{display:flex;align-items:center;gap:10px;border:1.5px solid var(--border);border-radius:12px;padding:0 14px;background:#fff;min-width:0;flex:0 1 340px}
.search-box svg{width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:2;flex:none}
.search-box input{border:0;outline:0;font:inherit;font-size:16px;padding:12px 0;width:100%;min-width:0;background:transparent;color:var(--text)}
.search-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-pale)}
.chips-row{display:flex;flex-wrap:wrap;gap:8px}
.chips-row button{font:inherit;font-size:14px;font-weight:600;padding:8px 14px;border-radius:999px;border:1.5px solid var(--border);background:#fff;color:var(--muted);cursor:pointer}
.chips-row button:hover{border-color:var(--blue);color:var(--blue)}
.chips-row button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.list-empty{padding:40px 0;text-align:center;color:var(--muted)}
[data-item][hidden],[data-promo][hidden]{display:none!important}

.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:18px;overflow:hidden;transition:transform .25s,box-shadow .25s,border-color .25s;color:var(--text);min-width:0}
.post-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(10,22,40,.35);border-color:#C9D6EE}
.pc-img{display:block;aspect-ratio:1200/630;background:var(--navy);overflow:hidden}
.pc-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.post-card:hover .pc-img img{transform:scale(1.03)}
.pc-body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 22px;flex:1}
.pc-topic{font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--blue)}
.pc-title{font-size:19px;font-weight:800;letter-spacing:-.015em;line-height:1.3}
.pc-sum{font-size:15px;color:var(--muted);line-height:1.6}
.pc-meta{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:10px;font-size:13px;color:var(--muted)}
.pc-meta span+span::before{content:'·';margin-right:10px}
.pc-av{width:28px;height:28px;border-radius:50%;object-fit:cover}
.post-feature{flex-direction:row;margin-bottom:28px}
.post-feature{align-items:center}
.post-feature .pc-img{flex:1.2;align-self:stretch;display:flex;align-items:center;background:var(--navy)}
.post-feature .pc-img img{height:auto;aspect-ratio:1200/630}
.post-feature .pc-body{flex:1;padding:36px;justify-content:center}
.post-feature .pc-title{font-size:clamp(24px,2.6vw,32px)}
.post-feature .pc-meta{margin-top:12px}
.promo-card{display:flex;flex-direction:column;gap:10px;justify-content:center;background:var(--navy);color:#fff;border-radius:18px;padding:28px;min-width:0}
.promo-card b{font-size:21px;letter-spacing:-.015em;line-height:1.25}
.promo-card span{color:rgba(255,255,255,.7);font-size:15px;line-height:1.6}
.promo-card .mid-cta-tag{align-self:flex-start}
.promo-go{color:var(--amber)!important;font-weight:700;font-size:15px}
.promo-card:hover .promo-go{text-decoration:underline}
.mid-cta-tag{display:inline-block;background:var(--amber);color:var(--navy)!important;font-size:11px!important;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:999px}

/* Blog post */
.post-hero{padding:48px 0 56px}
.narrow-hero{max-width:860px}
.post-hero h1{font-size:clamp(30px,4vw,46px);margin:10px 0 22px}
.post-back{display:table;color:rgba(255,255,255,.6);font-size:14px;font-weight:600;margin-bottom:18px}
.post-back:hover{color:#fff}
.post-byline{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:rgba(255,255,255,.7);font-size:14px}
.post-byline img{width:44px;height:44px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.25)}
.post-byline b{display:block;color:#fff;font-size:15px}
.post-byline span{display:block}
.pb-dot{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.35)}
.post-section{padding-top:48px}
.post-layout{display:grid;grid-template-columns:220px minmax(0,720px);gap:56px;justify-content:center;align-items:start}
.post-toc{position:sticky;top:96px;font-size:14px}
.toc-label{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.post-toc ol{list-style:none;display:grid;gap:4px;border-left:2px solid var(--border)}
.post-toc a{display:block;padding:6px 0 6px 14px;margin-left:-2px;border-left:2px solid transparent;color:var(--muted);line-height:1.4}
.post-toc a:hover{color:var(--blue);border-left-color:var(--blue)}
.post-body{min-width:0;font-size:17.5px;line-height:1.8;color:#2A3550}
.post-body>*+*{margin-top:20px}
.post-body h2{font-size:clamp(24px,2.4vw,30px);line-height:1.25;letter-spacing:-.02em;color:var(--text);margin-top:44px;scroll-margin-top:96px}
.post-body h3{font-size:20px;color:var(--text);margin-top:28px}
.post-body ul,.post-body ol{padding-left:22px;display:grid;gap:8px}
.post-body a{color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.post-body blockquote{border-left:4px solid var(--amber);padding:4px 0 4px 20px;font-size:19px;color:var(--text)}
.post-body code{background:var(--off-white);border:1px solid var(--border);border-radius:6px;padding:1px 6px;font-size:.9em}
.post-cover{width:100%;height:auto;border-radius:16px;display:block}
.post-body .tldr{max-width:none;margin-top:28px;background:#fff;border:1px solid #DDE4F0;border-left:4px solid var(--amber);border-radius:16px;padding:22px 26px}
.post-body .tldr-label{color:#A0680A}
.post-body .tldr p{font-size:16.5px;line-height:1.75;color:var(--navy)}
.mid-cta{background:var(--navy);color:#fff;border-radius:18px;padding:28px 30px;margin:36px 0}
.mid-cta h3{color:#fff!important;font-size:22px;margin:12px 0 6px!important}
.mid-cta p{color:rgba(255,255,255,.72);font-size:16px;line-height:1.6;margin-bottom:18px}
.post-body .mid-cta a.btn-amber{color:var(--navy);text-decoration:none}
.takeaways{background:var(--green-pale);border:1px solid #BFE6CF;border-radius:16px;padding:24px 28px;margin-top:40px!important}
.takeaways h2{margin-top:0!important;font-size:20px}
.takeaways ul{list-style:none;padding:0;margin-top:12px}
.takeaways li{position:relative;padding-left:30px}
.takeaways li::before{content:'✓';position:absolute;left:0;top:3px;width:20px;height:20px;border-radius:6px;background:#fff;color:var(--green);font-weight:800;font-size:12px;display:grid;place-items:center}
.post-body .faq-list{margin-top:12px}
.post-body .faq-list .a p{font-size:16px}
.author-box{display:flex;gap:18px;align-items:flex-start;border:1px solid var(--border);border-radius:18px;padding:24px;margin-top:48px!important;background:var(--off-white)}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none}
.author-box b{display:block;font-size:18px;color:var(--text)}
.ab-label{display:block;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.ab-role{display:block;font-size:14px;color:var(--blue);font-weight:600;margin-bottom:6px}
.author-box p{font-size:15px;line-height:1.6;color:var(--muted)}
.post-grid.three{grid-template-columns:repeat(3,1fr)}

/* Case studies */
.case-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.case-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(10,22,40,.35)}
.cs-id{display:flex;align-items:center;gap:12px;font-size:15px}
.cs-id b{font-weight:800}
.cs-mark{width:44px;height:44px;border-radius:12px;background:var(--blue-pale);color:var(--blue);display:grid;place-items:center;font-weight:800;font-size:15px;flex:none}
.cs-mark svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cs-logo{height:36px;width:auto;max-width:160px;object-fit:contain}
.cc-tags{display:flex;flex-wrap:wrap;gap:6px}
.cc-tags span{font-size:12px;font-weight:700;padding:4px 10px;border-radius:999px;background:var(--off-white);border:1px solid var(--border);color:var(--muted)}
.cc-tags span:empty{display:none}
.cc-result{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.cc-result b{font-size:40px;font-weight:800;letter-spacing:-.04em;color:var(--blue);line-height:1}
.cc-result span{font-size:15px;color:var(--muted)}
.cc-title{font-size:20px;font-weight:800;letter-spacing:-.015em;line-height:1.3}
.cc-quote{font-size:15px;color:var(--muted);font-style:italic;line-height:1.6}
.case-card .promo-go{margin-top:auto}
.case-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:56px;align-items:start}
.glance{position:sticky;top:96px}
.glance-box{border:1px solid var(--border);border-radius:18px;padding:24px;background:var(--off-white)}
.glance-box dl{display:grid;gap:14px}
.glance-box dt{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.glance-box dd{font-size:16px;font-weight:700;color:var(--text)}
.glance-links{display:grid;gap:8px;margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}
.glance-links a{color:var(--blue);font-weight:700;font-size:15px}
.ba{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:center;margin:36px 0!important;background:var(--navy);border-radius:20px;padding:28px}
.ba-col{display:grid;gap:10px;min-width:0}
.ba-tag{justify-self:start;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:rgba(200,70,61,.85);padding:4px 10px;border-radius:999px}
.ba-tag.after{background:var(--green)}
.ba-arrow{color:var(--amber);font-size:28px;font-weight:800}
.ba figcaption{grid-column:1/-1;font-size:13px;color:rgba(255,255,255,.55);text-align:center}
.ba .record{line-height:1.5}
.ba .record-fields{grid-template-columns:1fr}
.ba .record-fields b.missing{color:var(--red)}
.ba-before{opacity:.92}
.stale-badge{color:var(--red)!important;background:var(--red-pale)!important}
.pull-quote{border:0!important;padding:0!important;margin:40px 0!important}
.pull-quote p{font-size:clamp(22px,2.4vw,28px)!important;line-height:1.4;font-weight:700;letter-spacing:-.015em;color:var(--text)}
.pull-quote footer{display:flex;align-items:center;gap:12px;margin-top:16px;font-size:15px;color:var(--muted);font-weight:600}
.pull-quote footer img{width:56px;height:56px;border-radius:50%;object-fit:cover}
.pull-quote p::before{content:'';display:block;width:48px;height:4px;background:var(--amber);border-radius:2px;margin-bottom:18px}

@media (max-width:1000px){
  .post-grid,.post-grid.three{grid-template-columns:1fr 1fr}
  .post-layout{grid-template-columns:1fr}
  .post-toc{display:none}
  .case-layout{grid-template-columns:1fr}
  .glance{position:static;order:-1}
  .post-feature{flex-direction:column}
  .post-feature .pc-img{align-self:auto}
}
@media (max-width:640px){
  .post-grid,.post-grid.three,.case-grid{grid-template-columns:1fr}
  .post-feature .pc-body{padding:24px}
  .ba{grid-template-columns:1fr;padding:18px}
  .ba-arrow{transform:rotate(90deg);justify-self:center}
  .post-body{font-size:17px}
  .search-box{flex-basis:100%}
}

/* Case studies: cards, heroes and the chat-to-record graphic */
.case-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;color:var(--text);transition:transform .25s,box-shadow .25s;min-width:0}
.case-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(10,22,40,.35)}
.cc-art{display:block;padding:26px 24px 30px;background:var(--tp,var(--blue-pale));background-image:radial-gradient(rgba(10,22,40,.07) 1px,transparent 1px);background-size:16px 16px;border-bottom:1px solid var(--border)}
.cc-body{display:flex;flex-direction:column;gap:12px;padding:24px 26px 26px;flex:1;min-width:0}
.case-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);margin-bottom:22px}
.case-feature .cc-art{order:2;border-bottom:0;border-left:1px solid var(--border);display:flex;align-items:center;padding:36px}
.case-feature .cc-body{padding:40px;justify-content:center;gap:16px}
.case-feature .cc-title{font-size:clamp(24px,2.6vw,32px)}
.cc-art:has(.t-green){--tp:var(--green-pale)} .cc-art:has(.t-amber){--tp:var(--amber-pale)}

.cs-scene{--t:var(--blue);display:grid;grid-template-columns:minmax(0,1fr) 30px minmax(0,1.12fr);grid-template-areas:"chat flow rec" "stat flow rec";align-items:center;font-size:12px;line-height:1.4;width:100%}
.cs-scene.t-green{--t:var(--green)} .cs-scene.t-amber{--t:#C77D05}
.sc-chat{grid-area:chat;background:#EFEAE2;border-radius:14px;padding:10px;box-shadow:0 10px 24px -14px rgba(10,22,40,.35);display:grid;gap:6px;min-width:0}
.sc-head{display:flex;align-items:center;gap:6px;font-weight:800;font-size:11px;color:#3b4a54}
.sc-wa{width:18px;height:18px;border-radius:50%;background:var(--green-wa);display:grid;place-items:center}
.sc-wa svg{width:11px;height:11px;fill:#fff}
.sc-b{padding:7px 9px;border-radius:10px;background:#fff;color:#111b21;box-shadow:0 1px 1px rgba(0,0,0,.08);max-width:94%}
.sc-b.out{background:#D9FDD3;justify-self:end}
.sc-tick{color:#53BDEB;font-size:10px;margin-left:6px;letter-spacing:-2px}
.sc-flow{grid-area:flow;display:flex;justify-content:center;gap:3px}
.sc-flow i{width:5px;height:5px;border-radius:50%;background:var(--t);opacity:.35;animation:sc-flow 1.4s infinite}
.sc-flow i:nth-child(2){animation-delay:.2s} .sc-flow i:nth-child(3){animation-delay:.4s}
@keyframes sc-flow{0%,100%{opacity:.25;transform:translateX(-2px)}50%{opacity:1;transform:translateX(2px)}}
@media (prefers-reduced-motion:reduce){.sc-flow i{animation:none;opacity:.7}}
.sc-rec{grid-area:rec;background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px;display:grid;gap:8px;box-shadow:0 14px 30px -16px rgba(10,22,40,.4);min-width:0}
.sc-rec-top{display:flex;justify-content:space-between;align-items:center;gap:6px}
.sc-sys{font-weight:800;font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--t)}
.sc-ok{font-size:10px;font-weight:800;color:var(--green);background:var(--green-pale);padding:2px 7px;border-radius:999px;white-space:nowrap}
.sc-who{display:flex;align-items:center;gap:8px;min-width:0}
.sc-who b{font-size:13px;color:var(--navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-av{width:26px;height:26px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;font-size:10px;font-weight:800;flex:none}
.sc-f{display:flex;justify-content:space-between;gap:8px;border-top:1px dashed var(--border);padding-top:6px;font-size:11px}
.sc-f span{color:var(--muted)} .sc-f b{color:var(--navy);text-align:right}
.sc-sum{background:var(--off-white);border-left:3px solid var(--t);border-radius:6px;padding:6px 8px;font-size:11px;color:var(--text)}
.sc-sum span{display:block;font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--t);margin-bottom:2px}
.sc-stat{grid-area:stat;justify-self:start;margin-top:12px;background:var(--navy);color:#fff;border-radius:12px;padding:8px 12px;display:grid;max-width:100%;box-shadow:0 10px 24px -12px rgba(10,22,40,.5)}
.sc-stat b{font-size:22px;font-weight:800;color:var(--amber);line-height:1.1;letter-spacing:-.02em}
.sc-stat span{font-size:10.5px;color:rgba(255,255,255,.75)}
.sc-sm .sc-f+.sc-f{display:none}
.sc-hero{font-size:13px;max-width:500px;justify-self:end}
.sc-hero{grid-template-areas:"chat flow rec"} .sc-hero .sc-stat{display:none}

/* Listing hero: headline results as stacked cards */
.results-wall{display:grid;gap:14px;justify-items:end}
.rw-card{width:min(100%,340px);background:#fff;color:var(--text);border-radius:16px;border-left:5px solid var(--amber);padding:16px 20px;display:grid;gap:2px;box-shadow:0 20px 40px -20px rgba(0,0,0,.6)}
.rw-card:nth-child(2){margin-right:48px;transform:rotate(-1.5deg)} .rw-card:nth-child(3){margin-right:14px;transform:rotate(1deg)}
.rw-card b{font-size:34px;font-weight:800;letter-spacing:-.03em;color:var(--navy);line-height:1.1}
.rw-card span{font-size:14px;color:var(--muted)} .rw-card em{font-style:normal;font-size:12px;font-weight:700;color:var(--blue);margin-top:4px}

/* Case study page: navy hero with the graphic, results overlapping its edge */
.case-hero{padding:48px 0 110px}
.case-hero .cs-id{color:#fff}
.case-hero .cs-mark{background:rgba(255,255,255,.1);color:#fff}
.case-hero-id{margin-bottom:18px}
.case-hero h1{font-size:clamp(30px,3.6vw,44px)}
.case-results{position:relative;z-index:2;margin-top:-64px}
.result-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.result-tiles .stat{background:#fff;border:1px solid var(--border);border-top:4px solid var(--amber);border-radius:16px;padding:22px;box-shadow:0 18px 40px -22px rgba(10,22,40,.4)}
.result-tiles .stat-num{color:var(--navy);font-size:clamp(30px,3.4vw,42px)}
.result-tiles .stat-what{color:var(--muted);font-size:15px}
.sf-social{display:inline-flex;align-items:center;gap:8px}
.sf-social svg{width:16px;height:16px;fill:currentColor}
@media (max-width:900px){
  .case-feature{grid-template-columns:1fr}
  .case-feature .cc-art{order:0;border-left:0;border-bottom:1px solid var(--border);padding:24px}
  .case-feature .cc-body{padding:24px}
  .results-wall{justify-items:stretch} .rw-card,.rw-card:nth-child(n){margin-right:0;transform:none;width:100%}
  .sc-hero{justify-self:stretch;max-width:none}
}
@media (max-width:640px){
  .result-tiles{grid-template-columns:1fr}
  .results-wall .rw-card:nth-child(n+2){display:none}
  .cs-scene{font-size:11px;grid-template-columns:minmax(0,1fr) 18px minmax(0,1.1fr)}
  .sc-f{display:none}
}

/* COOKIE BANNER: bottom-left card; Accept and Reject look the same so neither is pushed */
.ck {
  position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 32px)); background: var(--navy); color: #fff; border-radius: 16px; padding: 20px 20px 18px;
  box-shadow: 0 18px 50px rgba(10,22,40,.35); border: 1px solid rgba(255,255,255,.08); font-size: 14px;
}
.ck[hidden], .ck [hidden] { display: none !important; }
.ck-h { font-size: 16px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.ck-p { margin: 0 0 14px; line-height: 1.55; color: rgba(255,255,255,.78); }
.ck-p a { color: var(--amber); font-weight: 700; }
.ck-opts { display: grid; gap: 8px; margin: 0 0 14px; }
.ck-opt { display: flex; gap: 10px; align-items: flex-start; background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; line-height: 1.45; color: rgba(255,255,255,.75); font-size: 13px; cursor: pointer; }
.ck-opt b { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.ck-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--amber); flex: none; }
.ck-fixed { cursor: default; padding-left: 40px; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ck-btn {
  font: inherit; font-weight: 800; font-size: 14px; border: 0; border-radius: 10px; padding: 10px 16px; cursor: pointer;
  background: var(--amber); color: var(--navy); flex: 1 1 auto;
}
.ck-btn:hover { filter: brightness(1.06); }
.ck-btn:focus-visible, .ck-link:focus-visible, .ck-opt input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ck-link { font: inherit; font-weight: 700; font-size: 13px; background: none; border: 0; color: rgba(255,255,255,.85); text-decoration: underline; cursor: pointer; padding: 6px 4px; }
@media (max-width: 560px) { .ck { left: 16px; right: 16px; width: auto; bottom: 12px; } }
@media print { .ck { display: none; } }
