/* Homepage, everything after "How it works", in the Figma language:
   Manrope, white cards (radius 28, padding 20) holding warm #faf8f4 panels
   (radius 20), quiet grey labels, 1272px column, warm and white bands.
   New: results (partials/home-results.php, Figma 2:2740), EHR
   (partials/home-ehr.php, Figma 140:195), the three-minutes closer (Figma
   2:861). Restyled in place: expertise, practice report, new practices,
   specialties, HIPAA, final CTA. */

:root { --v4-ink: #0a111a; --v4-muted: #5c6370; --v4-quiet: #8c949e; --v4-line: #e8e4de; --v4-panel: #faf8f4; --v4-warm: #faf8f3; }

/* shared heading scale */
.rs-h, .eh-h, #expertise .expertise-header h2, #practice-report .midcta-heading, #new-practices .midcta-heading,
#specialties .specialties-heading, #hipaa .hipaa-heading, #cta h2 {
  font-family: var(--sans) !important; font-weight: 300 !important; letter-spacing: -0.96px !important; color: var(--v4-ink);
  font-size: clamp(32px, 3.2vw, 48px) !important; line-height: 1.17 !important; font-style: normal !important;
}
#expertise .hiw-diamond, #practice-report .hiw-diamond, #new-practices .hiw-diamond, #specialties .hiw-diamond, #hipaa .hiw-diamond { display: none; }
#practice-report .midcta-kicker, #new-practices .midcta-kicker, #specialties .specialties-kicker, #hipaa .hipaa-kicker, #expertise .hiw-kicker {
  font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.96px; text-transform: uppercase; color: var(--v4-quiet); border: 0;
}

/* ========== three-minutes closer ========== */
.tm-end { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 72px 16px 8px; font-family: var(--sans); background: #f7f5f0; }
.tm-end p { margin: 0; }
.tm-end-k { font-size: 16px; color: var(--v4-muted); }
.tm-end-h { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.2; letter-spacing: -0.6px; color: var(--v4-ink); }
.tm-end-pill {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 24px; padding: 6px 6px 6px 18px;
  border-radius: 999px; background: #fff; border: 1px solid var(--v4-line); box-shadow: 0 12px 30px -20px rgba(10, 17, 26, 0.3);
}
.tm-end-field { display: inline-flex; align-items: center; gap: 10px; min-width: 180px; font-size: 15px; color: #737880; }
.tm-end-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 20px; border-radius: 999px; background: var(--v4-ink); color: #fff; font-weight: 500; font-size: 15px; }
.tm-end-btn img { filter: none; }
.tm-end-pill:hover .tm-end-btn { background: #1c2632; }
.tm-end-note { font-size: 13px; color: var(--v4-quiet); }

/* ========== results bento ========== */
.rs { background: var(--v4-warm); padding: 96px 16px; }
.rs-in { max-width: 1272px; margin: 0 auto; display: grid; gap: 56px; }
.rs-h { margin: 0; font-size: clamp(36px, 4.2vw, 64px) !important; line-height: 1.12 !important; letter-spacing: -1.2px !important; }
.rs-grid { display: grid; grid-template-columns: 640fr 594fr; gap: 38px; align-items: start; }
.rs-col { display: grid; gap: 10px; }
.rs-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rs-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: 28px; background: #fff; color: var(--v4-ink); text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; font-family: var(--sans); }
.rs-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(10, 17, 26, 0.35); }
.rs-photo { position: relative; display: block; height: 360px; border-radius: 20px; overflow: hidden; background: #e9e6df; }
.rs-card--short .rs-photo { height: 234px; }
.rs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.rs-card:hover .rs-photo img { transform: scale(1.03); }
.rs-chip { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); font-style: normal; font-weight: 500; font-size: 12px; line-height: 16px; }
.rs-panel { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: var(--v4-panel); flex: 1; }
.rs-panel--voice { padding: 24px 32px; gap: 18px; min-height: 284px; justify-content: space-between; }
.rs-card--small .rs-panel { padding: 24px 20px; gap: 12px; }
.rs-k { font-weight: 500; font-size: 12px; letter-spacing: 0.96px; text-transform: uppercase; color: var(--v4-quiet); }
.rs-t { font-size: 20px; line-height: 28px; letter-spacing: -0.1px; }
.rs-t--lg { font-size: 24px; line-height: 32px; letter-spacing: -0.24px; }
.rs-m { font-size: 14px; line-height: 20px; color: var(--v4-muted); padding-bottom: 14px; border-bottom: 1px solid var(--v4-line); }
.rs-card--small .rs-m { font-size: 12px; padding-bottom: 12px; }
.rs-author { display: grid; gap: 1px; padding-bottom: 14px; border-bottom: 1px solid var(--v4-line); }
.rs-author b { font-weight: 500; font-size: 14px; }
.rs-author span { font-size: 12px; color: var(--v4-muted); }
.rs-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rs-stats > span { display: grid; gap: 2px; }
.rs-stats b, .rs-inline b { font-weight: 500; font-size: 28px; line-height: 34px; letter-spacing: -0.42px; white-space: nowrap; }
.rs-stats span, .rs-inline span { font-size: 12px; line-height: 16px; color: var(--v4-quiet); }
.rs-inline { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.rs-inline span { max-width: 112px; }
.rs .rs-more { margin: 0; text-align: right; }
.rs .rs-more a { font-family: var(--sans); font-size: 24px; line-height: 27px; color: var(--v4-ink); text-decoration: none; }
.rs .rs-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ========== EHR ========== */
.eh { background: #fff; padding: 120px 16px; }
.eh-in { max-width: 1272px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 744px; gap: 56px; align-items: center; }
.eh-copy { display: grid; gap: 18px; justify-items: start; font-family: var(--sans); }
.eh-h { margin: 0; }
.eh-p { margin: 0; max-width: 440px; font-size: 18px; line-height: 27px; color: var(--v4-muted); }
.eh-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; color: var(--v4-ink); text-decoration: none; }
.eh-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.eh-card { display: grid; gap: 16px; padding: 20px; border-radius: 28px; background: var(--v4-panel); border: 1px solid var(--v4-line); font-family: var(--sans); }
.eh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.eh-grid li { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--v4-line); font-weight: 500; font-size: 15px; line-height: 20px; color: var(--v4-ink); }
.eh-logo { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #f4f2ed; display: inline-flex; align-items: center; justify-content: center; }
.eh-logo img { width: 24px; height: 24px; object-fit: contain; display: block; }
.eh-k { margin: 0; font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 0.88px; text-transform: uppercase; color: var(--v4-quiet); }
.eh-event { display: flex; align-items: center; padding: 12px 14px 12px 0; border-radius: 16px; background: #fff; border: 1px solid var(--v4-line); overflow: hidden; }
.eh-event::before { content: ''; width: 3px; height: 40px; border-radius: 2px; background: #06b6d4; flex: none; }
.eh-time { display: grid; padding: 0 16px 0 14px; border-right: 1px solid var(--v4-line); }
.eh-time b { font-weight: 500; font-size: 15px; line-height: 20px; }
.eh-time span { font-size: 11px; line-height: 14px; color: var(--v4-quiet); }
.eh-body { flex: 1; display: grid; gap: 2px; padding-left: 16px; min-width: 0; }
.eh-body b { font-weight: 500; font-size: 14px; line-height: 19px; }
.eh-body span { font-size: 12px; line-height: 16px; color: var(--v4-muted); }
.eh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 999px; background: var(--v4-panel); border: 1px solid var(--v4-line); font-weight: 500; font-size: 12px; }
.eh-chip i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }

/* ========== expertise (restyled) ========== */
#expertise { background: var(--v4-warm) !important; padding: 96px 16px !important; }
#expertise .expertise-inner { max-width: 1272px; margin: 0 auto; padding: 0 !important; }
#expertise .expertise-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 32px 56px; align-items: end; margin: 0 0 56px !important; }
#expertise .expertise-header h2 { margin: 0 !important; }
#expertise .expertise-header h2 br { display: none; }
#expertise .expertise-indent { display: inline !important; width: auto !important; text-align: left !important; }
#expertise .expertise-sub { font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 27px; color: var(--v4-muted); max-width: none; margin: 0 !important; }
#expertise .expertise-grid { gap: 24px; }
#expertise .expertise-card { background: #fff !important; border-radius: 28px; padding: 20px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
#expertise .expertise-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(10, 17, 26, 0.35); }
#expertise .expertise-card-img { background: var(--v4-panel); border-radius: 20px; height: 240px; }
#expertise .expertise-card-body { margin: 0 !important; padding: 24px 12px 12px !important; border-top: 0 !important; }
#expertise .expertise-card-body h4 { font-family: var(--sans) !important; font-weight: 400 !important; font-size: 24px !important; line-height: 32px !important; letter-spacing: -0.24px; padding: 0 !important; margin: 0 0 10px !important; }
#expertise .expertise-card-body p { font-family: var(--sans); font-weight: 400; font-size: 15px; line-height: 23px; color: var(--v4-muted); margin: 0; }
@media (max-width: 900px) { #expertise .expertise-header { grid-template-columns: 1fr; } }
@media (max-width: 640px) { #expertise { padding: 64px 16px !important; } #expertise .expertise-card-img { height: 200px; } }

/* ========== practice report + new practices (restyled) ========== */
#practice-report { background: #fff !important; padding: 48px 16px !important; }
#practice-report .midcta-inner, #new-practices .midcta-inner { max-width: 1272px; margin: 0 auto; border-radius: 28px !important; overflow: hidden; }
#practice-report .midcta-sub, #new-practices .midcta-sub { font-family: var(--sans); font-size: 17px; line-height: 26px; font-weight: 400; }
#practice-report .midcta-kicker, #new-practices .midcta-kicker { color: rgba(255, 255, 255, 0.6); }
#new-practices .midcta-btn { font-family: var(--sans); font-weight: 500; border-radius: 999px; }
#new-practices .hv-timeline { font-family: var(--sans); }
#practice-report .tely-lead__cover-title { font-family: var(--sans) !important; font-weight: 400 !important; }

/* ========== specialties (restyled) ========== */
#specialties { background: var(--v4-warm) !important; padding: 96px 16px !important; }
#specialties .specialties-inner { max-width: 1272px; margin: 0 auto; background: none !important; padding: 0 !important; }
#specialties .hv-spec-sub { font-family: var(--sans); font-size: 18px; line-height: 27px; color: var(--v4-muted); }
#specialties .specialties-grid { gap: 12px !important; margin-top: 40px; }
#specialties .specialties-card { background: #fff !important; border: 1px solid var(--v4-line) !important; border-radius: 16px !important; padding: 14px 16px !important; transition: transform 0.2s ease, box-shadow 0.2s ease; }
#specialties .specialties-card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(10, 17, 26, 0.35); }
#specialties .specialties-icon-wrap { background: #f4f2ed !important; border-radius: 10px !important; }
#specialties .specialties-name { font-family: var(--sans) !important; font-weight: 500 !important; font-size: 15px !important; color: var(--v4-ink); }
#specialties .stories-viewall-link { font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--v4-ink); }

/* ========== HIPAA (restyled) ========== */
#hipaa { background: var(--v4-warm) !important; padding: 96px 16px !important; }
#hipaa .hipaa-inner { max-width: 1272px; margin: 0 auto; background: none !important; padding: 0 !important; }
#hipaa .hipaa-sub { font-family: var(--sans); font-size: 18px; line-height: 27px; color: var(--v4-muted); }
#hipaa .hipaa-pillars { gap: 24px !important; margin-top: 40px; }
#hipaa .hipaa-pillar { background: #fff !important; border: 0 !important; border-radius: 28px !important; padding: 28px 28px 32px !important; }
#hipaa .hipaa-pillar-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--v4-panel) !important; color: #06b6d4; display: inline-flex; align-items: center; justify-content: center; }
#hipaa .hipaa-pillar-title { font-family: var(--sans) !important; font-weight: 400 !important; font-size: 24px !important; line-height: 32px !important; letter-spacing: -0.24px; }
#hipaa .hipaa-pillar-text { font-family: var(--sans); font-size: 15px; line-height: 23px; color: var(--v4-muted); font-weight: 400; }

/* ========== final CTA (restyled) ========== */
#cta h2 { color: #fff !important; font-size: clamp(36px, 4.2vw, 64px) !important; line-height: 1.12 !important; }
#cta .cta-sub { font-family: var(--sans); }
#cta .cta-btn { font-family: var(--sans); font-weight: 500; border-radius: 12px; background: #059bb4; color: #fff; border: 0; padding: 16px 22px; font-size: 18px; }
#cta .cta-btn:hover { background: #0a8aa0; }

/* ========== phones ========== */
@media (max-width: 1100px) {
  .rs-grid { grid-template-columns: 1fr; }
  .eh-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rs, .eh { padding: 64px 16px; }
  .rs-photo { height: 240px; }
  .rs-pair { grid-template-columns: 1fr; }
  .rs-stats { grid-template-columns: 1fr 1fr; }
  .rs-stats b, .rs-inline b { font-size: 22px; line-height: 28px; }
  .rs-panel--voice { padding: 20px; min-height: 0; }
  .rs .rs-more a { font-size: 18px; }
  .eh-grid { grid-template-columns: 1fr 1fr; }
  .eh-h br, .tm-end-h br, .rs-h br { display: none; }
  .tm-end-pill { flex-direction: column; align-items: stretch; gap: 8px; border-radius: 22px; padding: 10px; width: 100%; }
  .tm-end-field { justify-content: center; padding: 6px; }
  .tm-end-btn { justify-content: center; }
  .eh-event { flex-wrap: wrap; gap: 8px; }
}

/* dark panels keep white headings */
#practice-report .midcta-heading, #new-practices .midcta-heading { color: #fff !important; }
#specialties .specialties-kicker, #hipaa .hipaa-kicker { padding: 0 0 12px !important; font-weight: 500 !important; font-size: 12px !important; letter-spacing: 0.96px !important; color: var(--v4-quiet) !important; border-bottom: 1px solid var(--v4-line) !important; }
@media (max-width: 640px) {
  .eh-event { flex-wrap: wrap; row-gap: 10px; padding-bottom: 14px; }
  .eh-body { flex: 1 1 0; }
  .eh-chip { margin-left: 17px; }
  .eh-event::before { align-self: flex-start; }
}

/* results: monthly-clicks sparkline + source line */
.rs-spark { display: grid; gap: 6px; }
.rs-spark svg { display: block; width: 100%; height: 96px; overflow: visible; }
.rs-card--small .rs-spark svg { height: 56px; }
.rs-spark-x { display: flex; justify-content: space-between; font-size: 11px; line-height: 14px; color: var(--v4-quiet); }
.rs .rs-more { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rs-src { font-family: var(--sans); font-size: 13px; color: var(--v4-quiet); }
.rs-card--small .rs-inline span { max-width: 140px; }
.rs-stats > span > b, .rs-inline > b { color: var(--v4-ink); }
.rs-stats > span > span { font-size: 12px; line-height: 16px; color: var(--v4-quiet); }

/* ===== results v5 (Figma 2:2740, Ira's update): warm cards, white panels ===== */
.rs { background: #fff; padding: 80px 16px; }
.rs-h { font-weight: 300 !important; font-size: clamp(36px, 4.2vw, 64px) !important; line-height: 1.17 !important; letter-spacing: -1px !important; }
.rs-grid { align-items: stretch; }
.rs-col { align-content: start; }
.rs-col--right { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.rs-card { background: #f9f8f5; padding: 16px; border-radius: 28px; gap: 16px; }
.rs-card .rs-panel { background: #fff; }
.rs-card--feature .rs-panel { padding: 22px; }
.rs-card--short { border-radius: 38px; }
.rs-card--short .rs-photo { height: 234px; border-radius: 28px; }
.rs-panel--voice { padding: 24px 32px; gap: 24px; min-height: 0; justify-content: space-between; }
.rs-card--voice-lg .rs-panel--voice { min-height: 324px; border-radius: 28px; }
.rs-voice-top { display: grid; gap: 16px; }
.rs-card--voice-lg .rs-voice-top { gap: 28px; }
.rs-q { width: 22px; height: 22px; display: block; }
.rs-card--voice .rs-t { font-size: 20px; line-height: 28px; letter-spacing: -0.1px; }
.rs-card--voice .rs-t--lg { font-size: 24px; line-height: 32px; letter-spacing: -0.12px; }
.rs-author { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; }
.rs-author > span:last-child { display: grid; gap: 1px; }
.rs-author b { font-weight: 500; font-size: 14px; line-height: 19px; }
.rs-author > span:last-child > span { font-size: 12px; line-height: 16px; color: var(--v4-muted); }
.rs-av { width: 44px; height: 44px; flex: none; border-radius: 999px; background: #e6f7fa; color: #059bb4; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; font-size: 16px; }
.rs-pair { gap: 10px; }
.rs-card--small { min-height: 235px; }
.rs-card--small .rs-panel { padding: 24px 20px; gap: 16px; }
.rs-card--small .rs-m { font-size: 12px; line-height: 16px; padding-bottom: 16px; }
.rs-inline { gap: 6px 10px; }
.rs-inline span { max-width: 96px; font-size: 12px; line-height: 14px; }
.rs-inline b + span + b { margin-left: 6px; }
.rs .rs-more a { font-size: 24px; }
@media (max-width: 1100px) { .rs-col--right { display: grid; } }
@media (max-width: 640px) {
  .rs { padding: 56px 16px; }
  .rs-card { padding: 10px; border-radius: 22px; }
  .rs-card--voice-lg .rs-panel--voice { min-height: 0; }
  .rs-panel--voice { padding: 20px; }
  .rs-card--short { border-radius: 26px; }
}
.rs-inline { flex-direction: column; align-items: flex-start; gap: 10px; }
.rs-iv { display: flex; align-items: center; gap: 8px; }
.rs-iv span { max-width: 110px; }
@media (min-width: 1101px) {
  .rs-col:first-child { display: flex; flex-direction: column; gap: 10px; }
  .rs-col:first-child .rs-card--voice-lg { flex: 1; }
  .rs-col:first-child .rs-card--voice-lg .rs-panel { flex: 1; }
}
.rs-iv b { font-weight: 500; font-size: 28px; line-height: 34px; letter-spacing: -0.42px; color: var(--v4-ink); white-space: nowrap; }
.rs-iv span { color: var(--v4-quiet); }
@media (min-width: 1101px) {
  .rs-card--voice-lg .rs-spark { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
  .rs-card--voice-lg .rs-spark svg { flex: 1; min-height: 120px; height: auto !important; }
}

/* ===== Access layer (Figma 156:4020) ===== */
#expertise.al { background: #f9f8f5 !important; padding: 100px 16px 96px !important; }
.al-in { max-width: 1272px; margin: 0 auto; font-family: var(--sans); color: var(--v4-ink); }
.al-h { margin: 0; font-weight: 300; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.17; letter-spacing: -1px; }
.al-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.al-card { display: flex; flex-direction: column; padding: 24px 24px 40px; border-radius: 24px; background: #fff; }
.al-viz { height: 230px; border-radius: 24px; background: #f9f8f5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.al-viz svg { max-height: 150px; width: auto; max-width: 100%; }
.al-t { margin: 0; padding: 32px 24px 0 8px; font-weight: 300; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.5; letter-spacing: -0.3px; }
.al-p { margin: 28px 24px 0 8px; font-weight: 300; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.3; color: #616161; }
.al-cta { margin-top: 80px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.al-q { margin: 0; max-width: 642px; font-weight: 300; font-size: clamp(30px, 2.9vw, 44px); line-height: 1.18; letter-spacing: -0.88px; }
.al-cta .tm-end-pill { margin: 0; width: 520px; max-width: 100%; justify-content: space-between; padding: 6px 6px 6px 22px; box-shadow: none; border-color: #e5e0d9; }
.al-cta .tm-end-field { font-size: 16px; }

/* ===== EHR v5 (Figma 156:4671) ===== */
.eh { background: #fff; padding: 100px 16px; }
.eh-in { max-width: 1312px; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: stretch; }
.eh-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 0; gap: 40px; }
.eh-h { font-weight: 300 !important; font-size: clamp(30px, 2.65vw, 40px) !important; line-height: 1.2 !important; letter-spacing: -0.4px !important; max-width: 569px; }
.eh-foot { display: grid; gap: 28px; }
.eh-p { font-weight: 300; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.25; color: #64748b; max-width: 515px; }
.eh-link { font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); line-height: 27px; }
.eh-card { background: #f9f8f5; border: 0; padding: 40px; border-radius: 28px; gap: 28px; }
.eh-grid { grid-template-columns: repeat(2, 277px); gap: 8px; }
.eh-grid li { border: 0; border-radius: 16px; padding: 12px 40px 12px 16px; gap: 16px; font-weight: 300; font-size: 24px; line-height: 1.2; }
.eh-logo { width: 58px; height: 58px; border-radius: 16px; background: #fff; border: 1px solid #f9f8f5; }
.eh-logo img { width: 42px; height: 42px; }
.eh-logo--wide img { width: 51px; height: 20px; object-fit: contain; }
.eh-logo--full { border: 0; background: none; }
.eh-logo--full img { width: 58px; height: 58px; border-radius: 16px; }
.eh-logo--dark { background: #000; border-color: #000; }
.eh-logo--dark img { width: 40px; height: 44px; }
.eh-event { height: 86px; padding: 12px 17px 12px 0; border: 1px solid #f9f8f5; border-radius: 16px; width: 570px; max-width: 100%; box-sizing: border-box; }
.eh-event::before { display: none; }
.eh-time { padding: 0 24px; border: 0; gap: 10px; display: grid; }
.eh-time b { font-weight: 300; font-size: 24px; line-height: 20px; }
.eh-time span { font-size: 18px; line-height: 14px; font-weight: 300; }
.eh-body { padding-left: 24px; border-left: 2px solid #059bb4; gap: 11px; height: 50px; align-content: center; }
.eh-body b { font-weight: 300; font-size: 22px; line-height: 19px; white-space: nowrap; }
.eh-body span { font-weight: 300; font-size: 15px; line-height: 16px; }
.eh-chip { background: #faf8f4; border: 0; padding: 8px 16px 8px 12px; font-weight: 400; font-size: 16px; }
.eh-chip img { display: block; }

/* ===== New practices v5 (Figma 161:537) ===== */
.np { position: relative; min-height: 840px; display: flex; align-items: stretch; padding: 0 16px; color: #fff; font-family: var(--sans);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%), linear-gradient(90deg, rgba(13,18,20,.62) 0%, rgba(13,18,20,.28) 45%, rgba(13,18,20,.1) 100%), var(--np-photo) center / cover no-repeat; }
.np-in { width: 100%; max-width: 1272px; margin: 0 auto; padding: 88px 0 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.np-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.np-k { margin: 0; font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 0.88px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.np-h { margin: 0; font-weight: 300; font-size: clamp(40px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -1.28px; color: #fff; }
.np-h span { display: inline-block; margin-top: 16px; }
.np-p { margin: 0; max-width: 692px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.17; color: rgba(255,255,255,.88); }
.np-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px 14px 22px; border-radius: 999px; background: #fff; color: var(--v4-ink); font-weight: 500; font-size: 15px; line-height: 20px; text-decoration: none; }
.np-btn:hover { background: #f1efe9; }
.np-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.np-line li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); font-size: 15px; line-height: 22px; color: #fff; }
.np-line li span { font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 1.1px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.np-line li.is-now { border-top: 2px solid #fff; padding-top: 17px; }
.np-line li.is-now span { color: #fff; }

@media (max-width: 1100px) {
  .al-cta { flex-direction: column; align-items: flex-start; }
  .eh-in { grid-template-columns: 1fr; }
  .eh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .al-grid { grid-template-columns: 1fr; }
  .np-line { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  #expertise.al, .eh { padding: 64px 16px !important; }
  .al-h br, .al-t br { display: none; }
  .eh-card { padding: 16px; }
  .eh-grid { grid-template-columns: 1fr; }
  .eh-grid li { font-size: 18px; padding: 10px 16px; }
  .eh-event { height: auto; flex-wrap: wrap; row-gap: 10px; padding: 12px; }
  .eh-time { padding: 0 12px 0 4px; }
  .eh-body { padding-left: 12px; height: auto; }
  .eh-body b { font-size: 17px; white-space: normal; line-height: 22px; }
  .np { min-height: 0; }
  .np-in { padding: 72px 0 40px; }
  .np-h br { display: none; }
  .np-line { grid-template-columns: 1fr; gap: 16px; }
}
.eh-grid li { padding-right: 18px; }
@media (min-width: 1101px) { .eh-grid { grid-template-columns: repeat(2, 285px); } }
@media (max-width: 1100px) {
  .eh-in { grid-template-columns: minmax(0, 1fr) !important; }
  .eh-card { min-width: 0; }
  .eh-event { width: 100%; }
}
@media (max-width: 640px) {
  .eh-event { display: grid; grid-template-columns: auto minmax(0, 1fr); row-gap: 12px; height: auto; }
  .eh-chip { grid-column: 2; justify-self: start; margin-left: 12px; }
  .eh-body { height: auto; }
  .eh-body b { white-space: normal; }
}

/* Access layer CTA row (Figma 208:757) */
.al-cta { margin-top: 60px; padding: 20px 0; border-top: 1px solid #e8e4de; border-bottom: 1px solid #e8e4de; }
.al-cta-copy { display: grid; gap: 4px; }
.al-q { font-weight: 300; font-size: 24px; line-height: 26px; letter-spacing: -0.24px; max-width: none; }
.al-live { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 0; font-weight: 300; font-size: 12px; line-height: 16px; color: #64748b; }
.al-live img { display: block; animation: al-pulse 1.8s ease-in-out infinite; }
@keyframes al-pulse { 50% { opacity: 0.35; } }
.al-search { display: flex; align-items: center; gap: 12px; width: 520px; max-width: 100%; box-sizing: border-box; padding: 6px 6px 6px 20px; border-radius: 999px; background: #fff; border: 1px solid #e8e4de; text-decoration: none; font-family: var(--sans); }
.al-search-ph { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; color: #737880; }
.al-search-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px 12px 18px; border-radius: 999px; background: #0a111a; color: #fff; font-weight: 500; font-size: 14px; line-height: 18px; white-space: nowrap; }
.al-search:hover .al-search-btn { background: #1c2632; }
@media (prefers-reduced-motion: reduce) { .al-live img { animation: none; } }
@media (max-width: 640px) { .al-search-ph { display: none; } .al-search { justify-content: space-between; } }

/* ===== Integrations & security orbit (Figma 208:668) ===== */
.eo { background: #fff !important; padding: 120px 16px !important; }
.eo-in { max-width: 1272px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 558px) minmax(0, 652px); justify-content: space-between; align-items: center; gap: 48px; font-family: var(--sans); }
.eo-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; align-self: stretch; padding: 40px 0; }
.eo-head { display: grid; gap: 24px; }
.eo-k { margin: 0; font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 0.88px; text-transform: uppercase; color: #8c949e; }
.eo-h { margin: 0; font-weight: 300; font-size: clamp(32px, 2.9vw, 44px); line-height: 1.18; letter-spacing: -0.88px; color: #0a111a; }
.eo-sec { list-style: none; margin: 0; padding: 8px 0 0; display: grid; gap: 10px; }
.eo-sec li { display: flex; align-items: center; gap: 10px; font-weight: 300; font-size: clamp(17px, 1.52vw, 23px); line-height: 1.2; color: #5c6370; }
.eo-sec img { width: 24px; height: 24px; flex: none; display: block; }
.eo-viz { position: relative; width: 100%; aspect-ratio: 652 / 600; container-type: inline-size; }
.eo-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eo-ring { position: absolute; width: 49.08%; height: auto; }
.eo-tely { position: absolute; width: 13.5cqw; height: 13.5cqw; display: flex; align-items: center; justify-content: center; }
.eo-tely img { width: 10.74cqw; height: 10.74cqw; display: block; }
.eo-pill { position: absolute; display: inline-flex; align-items: center; gap: 1.534cqw; padding: 1.687cqw 2.76cqw 1.687cqw 2.147cqw; border: 1.5px solid #e3dfd9; border-radius: 999px; background: #fff; font-weight: 500; font-size: max(10px, 2.147cqw); line-height: 1.36; color: #0a111a; white-space: nowrap; }
.eo-logo { width: 3.988cqw; height: 3.988cqw; flex: none; border-radius: 1.1cqw; background: #fff; border: 0.5px solid #f9f8f5; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.eo-logo img { width: 78%; height: 78%; object-fit: contain; display: block; }
.eo-logo--wide img { width: 88%; height: 34%; }
.eo-logo--bare { border: 0; }
.eo-logo--bare img { width: 100%; height: 100%; }
.eo-logo--dark { background: #000; border-color: #000; }
.eo-logo--dark img { width: 69%; height: 75%; object-fit: cover; }
.eo-chip { position: absolute; display: inline-flex; align-items: center; gap: 0.92cqw; padding: 1.074cqw 1.84cqw 1.074cqw 1.534cqw; border: 1.5px solid #e3dfd9; border-radius: 999px; background: #fff; font-weight: 500; font-size: max(9px, 1.84cqw); line-height: 1.33; color: #0a111a; white-space: nowrap; }
.eo-chip i { width: 2.76cqw; height: 2.76cqw; border-radius: 999px; background: #e5f7ed; display: inline-flex; align-items: center; justify-content: center; }
.eo-chip i img { width: 1.687cqw; height: 1.687cqw; display: block; }
@media (max-width: 1100px) {
  .eo-in { grid-template-columns: minmax(0, 1fr); }
  .eo-copy { padding: 0; gap: 32px; }
  .eo-viz { max-width: 652px; justify-self: center; }
}
@media (max-width: 640px) { .eo { padding: 72px 16px !important; } .eo-h br { display: none; } }

/* "Read customer case" button with a square arrow */
.rs-read { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 4px; font-weight: 500; font-size: 14px; line-height: 20px; color: var(--v4-ink); }
.rs-read-sq { width: 24px; height: 24px; flex: none; border-radius: 6px; background: #0a111a; color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s ease; }
.rs-card:hover .rs-read-sq { background: #059bb4; }
.rs-card--voice .rs-read { margin-top: 0; }

/* results 1:1 (Figma 2:2740): cards are blocks, buttons are the links */
.rs-card { cursor: default; }
.rs-card:hover { transform: none; }
.rs-panel p { margin: 0; }
img.rs-av { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; background: #000; }
.rs-voice-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rs-card--voice-lg .rs-panel--voice { justify-content: space-between; }
.rs-read:hover .rs-read-sq { background: #059bb4; }
.rs-card--small .rs-read { margin-top: auto; }
.rs-card--small .rs-panel { height: 100%; box-sizing: border-box; }
.rs .rs-more { justify-content: flex-end !important; }
.rs-card--small .rs-inline { flex-direction: row; align-items: center; gap: 16px; flex-wrap: nowrap; }
.rs-card--small .rs-iv span { max-width: 64px; }

/* ===== Built for your specialty (final Figma 219:971) ===== */
.bs { background: #fff; padding: 100px 16px 120px; font-family: var(--sans); }
.bs-in { max-width: 1272px; margin: 0 auto; display: grid; gap: 56px; }
.bs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #e8e4de; }
.bs-h { margin: 0; font-weight: 300; font-size: clamp(36px, 4.2vw, 64px); line-height: 1.17; color: #0a111a; }
.bs-all { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 14px; font-weight: 500; font-size: 15px; line-height: 20px; color: #0a111a; text-decoration: none; white-space: nowrap; }
.bs-all:hover { color: #059bb4; }
.bs-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 190px; gap: 32px; }
.bs-col { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: start; }
.bs-col a { font-weight: 300; font-size: 17px; line-height: 24px; color: #5c6370; text-decoration: none; }
.bs-col a.is-core { color: #0a111a; }
.bs-col a:hover { color: #059bb4; }
@media (max-width: 1100px) { .bs-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 640px) {
  .bs { padding: 64px 16px 72px; }
  .bs-in { gap: 32px; }
  .bs-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bs-all { padding-bottom: 0; }
  .bs-cols { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
#specialties.bs { background: #fff !important; padding: 100px 16px 120px !important; }
#specialties.bs .bs-in { background: none !important; }
.bs + .cta, body.home .cta { margin-top: 0 !important; }
.bs-col a { white-space: nowrap; }
@media (max-width: 1100px) { .bs-col a { white-space: normal; } }
