/* ============================================
   Medmio — Complete Stylesheet
   Brand-true palette sampled from logo (huge.png)
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand — sampled from huge.png logo */
  --green: #22A978;          /* logo teal-green */
  --green-deep: #1c8f66;
  --green-soft: #e8f6f0;
  --teal: #1DA79B;
  --teal-soft: #e3f6f4;

  --blue: #2F85E6;           /* logo blue */
  --blue-deep: #1f6cc4;      /* CTA hover, links */
  --blue-soft: #ebf3fd;
  --blue-pale: #f4f8fe;

  --orange: #ED7626;         /* deck accent — warnings/highlights */
  --red: #D8333A;            /* deck accent — errors */

  /* Type & surface */
  --ink: #0F1B2D;            /* near-black, deck headline color */
  --ink-soft: #1f2d44;
  --gray: #5b6779;
  --gray-soft: #94a1b3;
  --gray-bg: #f6f8fb;        /* card / alt-section background */
  --border: #e6ebf2;
  --border-strong: #d6dde7;
  --white: #ffffff;

  /* Subtle elevation only — deck is essentially flat */
  --shadow-xs: 0 1px 2px rgba(15,27,45,.04);
  --shadow-sm: 0 1px 3px rgba(15,27,45,.05), 0 1px 2px rgba(15,27,45,.04);
  --shadow-md: 0 6px 18px rgba(15,27,45,.06), 0 2px 4px rgba(15,27,45,.04);
  --shadow-lg: 0 18px 40px rgba(15,27,45,.08), 0 6px 12px rgba(15,27,45,.04);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --max-w: 1180px;
  --nav-h: 68px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Legacy aliases kept so inner pages don't break */
  --dark: var(--ink);
  --gray-light: var(--gray-bg);
  --blue-light: var(--blue-soft);
  --green-light: var(--green-soft);
  --teal-light: var(--teal-soft);
  --grad-primary: var(--blue);
  --grad-blue: var(--blue);
  --grad-hero: linear-gradient(180deg, #f0fbf5 0%, #ffffff 100%);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
p  { color: var(--gray); line-height: 1.65; }

/* Brand top-stripe — deck signature */
.brand-stripe { height: 4px; background: var(--blue); }

/* Trademark superscript */
sup.tm { font-size: 0.55em; font-weight: 600; vertical-align: super; line-height: 0; margin-left: 1px; letter-spacing: .04em; }

/* ── Container / Section ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--gray-light); }

/* ── Utility ── */
.text-gradient { color: var(--blue-deep); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 20px;
  background: var(--blue-soft); color: var(--blue-deep);
  border: 1px solid rgba(47,133,230,.15);
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.badge--green { background: var(--green-soft); color: var(--green-deep); border-color: rgba(34,169,120,.18); }
.badge--green::before { background: var(--green); }
.badge--blue { background: var(--blue-soft); color: var(--blue-deep); }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; text-align: center; margin-bottom: 14px; color: var(--ink); }
.section-sub { text-align: center; max-width: 620px; margin: 0 auto 56px; color: var(--gray); font-size: 1.02rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--blue-deep); transition: gap .2s; margin-top: 14px; }
.link-arrow:hover { gap: 10px; color: var(--blue); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  font-size: .92rem; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: all .18s ease; font-family: var(--font);
  text-align: center; justify-content: center; line-height: 1;
  letter-spacing: -.005em;
}
.btn--primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 1px 2px rgba(15,27,45,.10), inset 0 -1px 0 rgba(0,0,0,.08);
}
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 4px 12px rgba(47,133,230,.28); }

.btn--secondary {
  background: var(--gray-bg); color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: 0 1px 2px rgba(15,27,45,.04);
}
.btn--secondary:hover { background: #eef2f8; border-color: var(--ink); color: var(--ink); box-shadow: 0 2px 6px rgba(15,27,45,.08); }

.btn--ghost { background: transparent; color: var(--gray); padding: 10px 14px; }
.btn--ghost:hover { color: var(--ink); }

.btn--white { background: var(--white); color: var(--blue-deep); box-shadow: var(--shadow-sm); }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--sm { padding: 8px 14px; font-size: .85rem; }
.btn--lg { padding: 13px 26px; font-size: .95rem; }
.btn svg { width: 14px; height: 14px; }

/* ── Navigation ── */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(15,27,45,.06); z-index: 1000; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.nav__logo { display: flex; align-items: center; gap: 9px; font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.nav__logo img { height: 44px; width: auto; display: block; }
@media (max-width: 768px) {
  .nav__logo img { height: 36px; }
}
.nav__links a[aria-current="page"] { color: var(--blue-deep); }
.nav__right { display: flex; align-items: center; gap: 6px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: color .15s; line-height: 1; }
.nav__dropdown-trigger { line-height: 1; }
.nav__links a:hover, .nav__links a.active { color: var(--blue-deep); }
.nav__divider { width: 1px; height: 22px; background: var(--border); margin: 0 14px; }

/* Nav dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-trigger { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; padding: 0; cursor: pointer; font: inherit; color: var(--ink-soft); font-size: .88rem; font-weight: 500; }
.nav__dropdown-trigger svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__dropdown:hover .nav__dropdown-trigger { color: var(--blue-deep); }
.nav__dropdown:hover .nav__dropdown-trigger svg { transform: rotate(180deg); }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px; min-width: 280px;
  box-shadow: 0 18px 40px rgba(15,27,45,.10), 0 6px 12px rgba(15,27,45,.06);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 1010;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 8px; transition: background .12s; }
.nav__dropdown-menu a:hover { background: var(--gray-bg); }
.nav__dropdown-menu a .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav__dropdown-menu a .ic svg { width: 16px; height: 16px; }
.nav__dropdown-menu a > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nav__dropdown-menu a .t { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.2; display: block; }
.nav__dropdown-menu a .d { font-size: .78rem; color: var(--gray); line-height: 1.4; display: block; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__right, .nav__right.active { flex-direction: column; }
  .nav__right { position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .3s ease; z-index: 999; }
  .nav__right.open, .nav__right.active { transform: translateY(0); }
  .nav__links { flex-direction: column; gap: 16px; width: 100%; align-items: flex-start; }
  .nav__divider { display: none; }
  .nav__dropdown-trigger svg { display: none; }
  .nav__dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 8px 0 0 14px; min-width: 0; background: transparent; }
  .nav__dropdown-menu a { padding: 6px 0; }
  .nav__dropdown-menu a .ic { display: none; }
  .nav__dropdown-menu a .d { display: none; }
}

/* ── Hero (Home) ── */
.hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 104px;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(47,133,230,.08), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(34,169,120,.05), transparent 60%),
    var(--white);
  position: relative;
  overflow: hidden;
}
.hero > .container { display: grid; grid-template-columns: 1.28fr 1fr; gap: 44px; align-items: center; }
.hero__eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 8px; }
.hero__eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--blue); }
.hero__content h1, .hero__headline {
  margin-bottom: 22px;
  font-size: clamp(1.95rem, 3.55vw, 2.9rem);
  letter-spacing: -.035em;
  line-height: 1.1;
  font-weight: 700;
  text-wrap: balance;  /* modern browsers: auto-balance line-wrap so each line is similar length */
  max-width: 620px;
}
.hero__content p, .hero__subtext { font-size: 1.08rem; margin-bottom: 30px; max-width: 540px; color: var(--gray); }
.hero__buttons, .hero__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero__meta { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--gray-soft); }
.hero__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); }

/* Benefit pills row (replaces old single-pill badge) */
.hero__benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.benefit-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px 7px 10px; border-radius: 100px;
  font-size: .8rem; font-weight: 500; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--border);
}
.benefit-pill svg { width: 13px; height: 13px; color: var(--green-deep); flex-shrink: 0; }

/* Hero visual — single phone + floating AI-confidence cards */
.hero__visual { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-stage {
  position: relative; width: 100%; max-width: 500px;
  min-height: 520px; display: flex; align-items: center; justify-content: center;
}
.hero-stage__glow {
  position: absolute; inset: -10% -25% -10% -10%;
  background:
    radial-gradient(380px 380px at 50% 45%, rgba(47,133,230,.16), transparent 70%),
    radial-gradient(260px 260px at 65% 70%, rgba(34,169,120,.10), transparent 80%);
  pointer-events: none; z-index: 1;
}
.hero-stage__phone {
  width: 300px; max-width: 100%; height: auto; position: relative; z-index: 2;
  image-rendering: -webkit-optimize-contrast;
  filter:
    drop-shadow(0 30px 50px rgba(15,27,45,.18))
    drop-shadow(0 10px 18px rgba(15,27,45,.08));
  border-radius: 34px;
}
/* Floating AI-suggestion cards — level, interactive (click to approve / review) */
.hero-stage__card {
  position: absolute; z-index: 3;
  background: var(--white); border-radius: 14px;
  padding: 12px 14px 10px;
  border: 1.5px solid rgba(47,133,230,.45); /* default pending = blue outline */
  box-shadow: 0 16px 36px rgba(15,27,45,.12), 0 4px 10px rgba(15,27,45,.06), 0 0 0 3px rgba(47,133,230,.08);
  display: flex; flex-direction: column; gap: 10px;
  min-width: 250px; max-width: 270px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease, box-shadow .35s ease, border-color .35s ease;
}
.hero-stage.in-view .hero-stage__card { opacity: 1; transform: translateY(0); }
.hero-stage.in-view .hero-stage__card--top    { transition-delay: .15s; }
.hero-stage.in-view .hero-stage__card--mid    { transition-delay: .55s; }
.hero-stage.in-view .hero-stage__card--bottom { transition-delay: .95s; }

.hero-stage__card--top    { top: 34px;  left: -8px; }
.hero-stage__card--mid    { top: 50%;   right: -14px; transform: translateY(-50%) translateY(8px); }
.hero-stage.in-view .hero-stage__card--mid { transform: translateY(-50%); }
.hero-stage__card--bottom { bottom: 42px; left: 6px; }

.hero-stage__card__row { display: flex; align-items: center; gap: 10px; }
.hero-stage__card__icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-deep);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .35s ease, color .35s ease;
}
.hero-stage__card__icon svg { width: 14px; height: 14px; }
.hero-stage__card__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hero-stage__card__code { font-size: .9rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.hero-stage__card__desc { font-size: .7rem; color: var(--gray); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }

/* Pill colors locked per card identity — never change between pending and approved */
.hero-stage__card__score {
  font-size: .7rem; font-weight: 700;
  margin-left: auto; padding: 3px 7px; border-radius: 100px;
  background: var(--green-soft); color: var(--green-deep);
  letter-spacing: .01em;
}
.hero-stage__card--review .hero-stage__card__score {
  background: rgba(237,118,38,.12); color: var(--orange);
}

.hero-stage__card__actions { display: flex; gap: 6px; }
.hero-stage__card__btn {
  flex: 1; font: inherit; font-size: .72rem; font-weight: 600;
  padding: 6px 8px; border-radius: 7px; cursor: pointer;
  border: 1px solid var(--border); background: var(--white);
  color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  transition: background .2s, border-color .2s, color .2s;
}
.hero-stage__card__btn svg { width: 11px; height: 11px; }
.hero-stage__card__btn:hover { border-color: var(--border-strong); color: var(--ink); }

/* Pending primary button — blue (cards 1 & 2) */
.hero-stage__card__btn--primary {
  background: var(--blue); color: var(--white); border-color: transparent;
}
.hero-stage__card__btn--primary:hover { background: var(--blue-deep); }

/* Pending primary button — amber (card 3 review) */
.hero-stage__card--review .hero-stage__card__btn--primary {
  background: var(--orange); color: var(--white);
}
.hero-stage__card--review .hero-stage__card__btn--primary:hover {
  background: #d2611d;
}

/* Label-swap mechanism — clean text replacement, never appended */
.hero-stage__card__btn--primary .label-pending,
.hero-stage__card__btn--primary .label-done {
  display: inline-flex; align-items: center; gap: 5px;
}
.hero-stage__card__btn--primary .label-done { display: none; }
.hero-stage__card.approved .hero-stage__card__btn--primary .label-pending { display: none; }
.hero-stage__card.approved .hero-stage__card__btn--primary .label-done   { display: inline-flex; }

/* Approved state — cards 1 & 2 turn green outline + green button */
.hero-stage__card.approved {
  border-color: rgba(34,169,120,.45);
  box-shadow: 0 16px 36px rgba(15,27,45,.10), 0 4px 10px rgba(15,27,45,.04), 0 0 0 3px rgba(34,169,120,.08);
}
.hero-stage__card.approved .hero-stage__card__icon { background: var(--green-soft); color: var(--green-deep); }
.hero-stage__card.approved .hero-stage__card__btn--primary {
  background: var(--green); color: var(--white); pointer-events: none; cursor: default;
}
.hero-stage__card.approved .hero-stage__card__btn--edit { pointer-events: none; opacity: .55; }

/* Review card stays AMBER outline ALWAYS — even after reviewed */
.hero-stage__card--review { border-color: rgba(237,118,38,.45); box-shadow: 0 16px 36px rgba(15,27,45,.12), 0 4px 10px rgba(15,27,45,.06), 0 0 0 3px rgba(237,118,38,.08); }
.hero-stage__card--review .hero-stage__card__icon { background: rgba(237,118,38,.12); color: var(--orange); }
.hero-stage__card--review.approved {
  /* keep the same amber outline + glow as the pending state */
  border-color: rgba(237,118,38,.45);
  box-shadow: 0 16px 36px rgba(15,27,45,.12), 0 4px 10px rgba(15,27,45,.06), 0 0 0 3px rgba(237,118,38,.08);
}
.hero-stage__card--review.approved .hero-stage__card__icon { background: rgba(237,118,38,.12); color: var(--orange); }
/* Reviewed button — same amber, just adds the checkmark via .label-done */
.hero-stage__card--review.approved .hero-stage__card__btn--primary {
  background: var(--orange); color: var(--white); pointer-events: none; cursor: default;
}

/* Edit popover — anchored beneath the card */
.hero-stage__card__popover {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%) translateY(-4px);
  width: max-content; max-width: 240px;
  background: var(--ink); color: rgba(255,255,255,.92);
  font-size: .72rem; line-height: 1.45; font-weight: 500;
  padding: 9px 12px; border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15,27,45,.22), 0 4px 8px rgba(15,27,45,.10);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 5;
}
.hero-stage__card__popover::before {
  content: ''; position: absolute; left: 50%; top: -5px; transform: translateX(-50%);
  width: 10px; height: 10px; background: var(--ink); rotate: 45deg; border-radius: 2px;
}
.hero-stage__card.popover-open .hero-stage__card__popover {
  opacity: 1; transform: translateX(-50%) translateY(0);
  visibility: visible; pointer-events: auto;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}

@media (max-width: 1040px) {
  .hero-stage__card--top { left: -12px; }
  .hero-stage__card--mid { right: -12px; }
}
@media (max-width: 900px) {
  .hero > .container { grid-template-columns: 1fr; text-align: center; }
  .hero__content p, .hero__subtext { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__buttons, .hero__actions, .hero__meta, .hero__benefits { justify-content: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__visual { margin-top: 40px; }
  .hero-stage { min-height: 480px; max-width: 420px; margin: 0 auto; }
  .hero-stage__phone { width: 240px; }
  .hero-stage__card { min-width: 210px; max-width: 230px; padding: 10px 12px 8px; }
  .hero-stage__card__desc { max-width: 130px; }
  .hero-stage__card--top    { top: 20px;  left: -6px; }
  .hero-stage__card--mid    { right: -6px; }
  .hero-stage__card--bottom { bottom: 30px; left: -4px; }
}
@media (max-width: 480px) {
  .hero-stage__card { min-width: 190px; max-width: 210px; }
  .hero-stage__card__actions .hero-stage__card__btn:first-child { display: none; }
  .hero-stage__card--top    { left: 0; top: 12px; }
  .hero-stage__card--mid    { right: 0; }
  .hero-stage__card--bottom { left: 0; bottom: 20px; }
}
.phone-mockup { max-width: 360px; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ── Trust Bar ── */
.trust-bar { padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--white); }
.trust-bar__items, .trust-bar > .container { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trust-bar__item { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--gray); letter-spacing: .01em; }
.trust-bar__item svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* ── Features Grid ── */
.features { padding: 48px 0 64px; background: var(--white); }
.features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 24px; border: 1px solid var(--border);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
}
.feature-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.feature-card__icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue-deep);
  margin-bottom: 16px;
}
.feature-card__icon svg { width: 18px; height: 18px; }
.feature-card--green .feature-card__icon { background: var(--green-soft); color: var(--green-deep); }
.feature-card--teal .feature-card__icon { background: var(--teal-soft); color: var(--teal); }
.feature-card h3 { margin-bottom: 6px; color: var(--ink); font-size: 1.02rem; }
.feature-card p { font-size: .9rem; color: var(--gray); }

/* ── Pillars (4-verb layout: Capture / Code / Bill / Recover) ── */
.pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.pillar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px 24px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue); opacity: .9; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.pillar__head { margin-bottom: 22px; }
.pillar__num { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--gray-soft); margin-bottom: 10px; }
.pillar__icon { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--blue-soft); color: var(--blue-deep); }
.pillar__icon svg { width: 20px; height: 20px; }
.pillar__verb { font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin: 0 0 8px; line-height: 1.1; }
.pillar__lead { font-size: .92rem; color: var(--gray); line-height: 1.5; margin: 0; }
.pillar__features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--border); padding-top: 18px; }
.pillar__feature { display: block; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: all .18s ease; text-decoration: none; color: inherit; }
.pillar__feature:hover { background: var(--gray-bg); border-color: var(--border); transform: translateX(2px); }
.pillar__feature-name { display: block; font-size: .92rem; font-weight: 600; color: var(--ink-soft); letter-spacing: -.005em; margin-bottom: 2px; }
.pillar__feature-desc { display: block; font-size: .8rem; color: var(--gray); line-height: 1.4; }

/* Color variants per pillar */
.pillar--capture::before { background: var(--blue); }
.pillar--capture .pillar__icon { background: var(--blue-soft); color: var(--blue-deep); }
.pillar--code::before { background: var(--green); }
.pillar--code .pillar__icon { background: var(--green-soft); color: var(--green-deep); }
.pillar--bill::before { background: var(--teal); }
.pillar--bill .pillar__icon { background: rgba(29,167,155,.12); color: var(--teal); }
.pillar--recover::before { background: var(--orange); }
.pillar--recover .pillar__icon { background: rgba(237,118,38,.12); color: var(--orange); }

@media (max-width: 980px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .pillars__grid { grid-template-columns: 1fr; }
}

/* ── Stats (deck-style: top-bordered cards w/ colored numbers) ── */
.stats { background: var(--white); padding: 64px 0 40px; border-top: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stat {
  background: var(--gray-bg); border-radius: var(--radius);
  padding: 28px 24px 22px; position: relative; overflow: hidden;
  border: 1px solid var(--border);
}
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--blue);
}
.stat--green::before { background: var(--green); }
.stat--orange::before { background: var(--orange); }
.stat--teal::before { background: var(--teal); }
.stat__number {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1; color: var(--blue-deep);
  margin-bottom: 10px;
}
.stat--green .stat__number { color: var(--green-deep); }
.stat--orange .stat__number { color: var(--orange); }
.stat--teal .stat__number { color: var(--teal); }
/* New continuous caption — bold lead phrase + normal-weight tail in one sentence */
.stat__caption { font-size: .9rem; line-height: 1.55; color: var(--gray); margin: 0 0 10px; }
.stat__caption strong { font-weight: 700; color: var(--ink); }
/* Attribution sits on its own block so the em-dash never wraps mid-line */
.stat__attr { font-size: .78rem; color: var(--gray-soft); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; transition: color .15s; }
a.stat__attr:hover { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.stat__attr svg { width: 10px; height: 10px; opacity: .65; transition: opacity .15s, transform .15s; flex-shrink: 0; }
a.stat__attr:hover svg { opacity: 1; transform: translate(1px, -1px); }
.section-sub__ref { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--gray-soft); transition: color .15s, border-color .15s; }
.section-sub__ref:hover { color: var(--blue-deep); border-bottom-color: var(--blue); }
.section-sub__ref svg { width: 10px; height: 10px; opacity: .6; vertical-align: -1px; margin-left: 3px; }
/* Legacy classes kept for any sub-pages still using them */
.stat__label { font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.stat__sub { font-size: .82rem; color: var(--gray); line-height: 1.5; }

/* ── Steps (deck-style: numbered cards in a row, arrows between) ── */
.how-it-works, .how-codesight { padding: 64px 0 80px; background: var(--gray-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.step {
  background: var(--white); border-radius: var(--radius);
  padding: 26px 22px; border: 1px solid var(--border); position: relative;
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--blue); border-radius: var(--radius) var(--radius) 0 0;
}
.step:nth-child(2)::before { background: var(--teal); }
.step:nth-child(3)::before { background: var(--green); }
.step:nth-child(4)::before { background: var(--orange); }
.step__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-deep);
  font-size: .95rem; font-weight: 700; margin-bottom: 14px;
}
.step:nth-child(2) .step__number { background: var(--teal-soft); color: var(--teal); }
.step:nth-child(3) .step__number { background: var(--green-soft); color: var(--green-deep); }
.step:nth-child(4) .step__number { background: rgba(237,118,38,.10); color: var(--orange); }
.step h3 { margin-bottom: 6px; font-size: 1rem; color: var(--ink); }
.step p { font-size: .88rem; color: var(--gray); }

/* ── Trusted by (customer logos strip) ── */
.trusted-by { background: var(--white); padding: 56px 0 64px; border-top: 1px solid var(--border); }
.trusted-by__inner { max-width: 940px; margin: 0 auto; text-align: center; }
.trusted-by__eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--gray); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.trusted-by__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 36px 56px; margin-bottom: 22px; }
.trusted-by__logo { display: inline-flex; align-items: center; justify-content: center; height: 88px; opacity: .85; transition: opacity .2s ease, transform .2s ease; }
.trusted-by__logo img { max-height: 100%; width: auto; max-width: 200px; object-fit: contain; }
.trusted-by__logo:hover { opacity: 1; transform: translateY(-2px); }
.trusted-by__logo--placeholder { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 88px; padding: 12px 22px; border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--gray-soft); font-size: .82rem; font-weight: 500; text-align: center; line-height: 1.35; max-width: 180px; }
.trusted-by__more { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 88px; padding: 0 22px; min-width: 160px; color: var(--gray); border: 1px solid var(--border); border-radius: var(--radius); background: var(--gray-bg); font-size: .85rem; font-weight: 600; line-height: 1.3; text-align: center; transition: all .2s ease; }
.trusted-by__more svg { width: 26px; height: 26px; color: var(--blue); opacity: .8; }
.trusted-by__more:hover { color: var(--ink-soft); border-color: var(--blue); background: var(--white); transform: translateY(-2px); }
.trusted-by__caption { font-size: .98rem; color: var(--gray); margin: 0 0 22px; font-weight: 500; }
.trusted-by__sectors { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 8px; }
.trusted-by__specialties { font-size: .92rem; color: var(--gray); text-align: center; max-width: 720px; margin: 14px auto 0; line-height: 1.7; letter-spacing: -.005em; }
.trusted-by__specialties strong { color: var(--ink-soft); font-weight: 600; }
.trusted-by__sector-pill { font-size: .8rem; font-weight: 600; color: var(--ink-soft); background: var(--gray-bg); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; letter-spacing: .01em; }
.trusted-by__sector-pill--any { display: inline-flex; align-items: center; gap: 6px; background: var(--green-soft); color: var(--green-deep); border-color: rgba(34,169,120,.3); }
.trusted-by__sector-pill--any svg { width: 13px; height: 13px; flex-shrink: 0; }
@media (max-width: 600px) {
  .trusted-by { padding: 44px 0 48px; }
  .trusted-by__row { gap: 24px 32px; }
  .trusted-by__logo, .trusted-by__logo--placeholder { height: 70px; }
  .trusted-by__logo img { max-width: 160px; }
}

/* ── Leadership ── */
.leadership { background: var(--gray-bg); padding: 72px 0 80px; border-top: 1px solid var(--border); }
.leadership__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; max-width: 980px; margin: 36px auto 0; }
.leader-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.leader-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.leader-card__photo { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink); }
.leader-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leader-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 8px; }
.leader-card__name { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.leader-card__title { font-size: .9rem; font-weight: 600; color: var(--green-deep); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.leader-card__bio { font-size: .95rem; color: var(--gray); line-height: 1.6; margin: 6px 0 14px; }
.leader-card__links { display: flex; gap: 10px; margin-top: auto; }
.leader-card__links a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--gray-bg); color: var(--gray); border: 1px solid var(--border); transition: all .2s ease; }
.leader-card__links a:hover { background: var(--blue-soft); color: var(--blue-deep); border-color: var(--blue); }
.leader-card__links svg { width: 16px; height: 16px; }
.leader-card--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 28px; background: var(--white); border: 1px dashed var(--border-strong); }
.leader-card--placeholder .placeholder__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.leader-card--placeholder .placeholder__icon svg { width: 26px; height: 26px; }
.leader-card--placeholder h3 { font-size: 1.05rem; color: var(--ink); margin: 0 0 8px; }
.leader-card--placeholder p { font-size: .92rem; color: var(--gray); margin: 0 0 18px; max-width: 280px; }
@media (max-width: 760px) {
  .leadership__grid { grid-template-columns: 1fr; gap: 22px; max-width: 480px; }
}
.team-locations { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin: 36px auto 0; max-width: 980px; }
.team-locations--header { margin-top: 22px; }
.team-locations__pill { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; box-shadow: var(--shadow-xs); letter-spacing: .01em; }
.team-locations__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,169,120,.15); flex-shrink: 0; }

/* Principles — apple/intuit-style tall columns (About Us page) */
.principles { padding: 8px 0 88px; background: var(--white); }
.principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principle { position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 44px 36px 38px; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; min-height: 320px; }
.principle::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.principle:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 16px 40px rgba(15,27,45,.08); }
.principle:hover::before { transform: scaleX(1); }
.principle--green::before { background: var(--green); }
.principle--teal::before { background: var(--teal); }
.principle__num { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .76rem; font-weight: 700; color: var(--gray-soft); letter-spacing: .14em; margin-bottom: 24px; }
.principle__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: transform .3s ease; }
.principle__icon svg { width: 28px; height: 28px; }
.principle:hover .principle__icon { transform: scale(1.08); }
.principle--green .principle__icon { background: var(--green-soft); color: var(--green-deep); }
.principle--teal .principle__icon { background: rgba(29,167,155,.12); color: var(--teal); }
.principle__title { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; letter-spacing: -.02em; line-height: 1.2; }
.principle__copy { font-size: 1rem; color: var(--gray); line-height: 1.6; margin: 0; }
@media (max-width: 880px) {
  .principles__grid { grid-template-columns: 1fr; gap: 16px; }
  .principle { min-height: auto; padding: 32px 28px 28px; }
}

/* Levan card — credential line + pull-quote variant */
.leader-card__credential { font-size: .82rem; color: var(--gray); line-height: 1.55; margin: 0 0 14px; font-weight: 500; }
.leader-card__credential-link { color: var(--blue-deep); text-decoration: none; border-bottom: 1px dashed var(--gray-soft); transition: border-color .15s, color .15s; font-weight: 600; }
.leader-card__credential-link:hover { color: var(--blue); border-bottom-color: var(--blue); }
.leader-card__quote { font-size: .92rem; color: var(--ink-soft); line-height: 1.6; margin: 0 0 16px; padding-left: 14px; border-left: 3px solid var(--blue); font-style: italic; }

/* Advisors card (right-side card in About Us Leadership section, replaces team-facts) */
.advisors-card { padding: 26px 24px 24px; display: flex; flex-direction: column; }
.advisors-card__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--green-soft); color: var(--green-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.advisors-card__icon svg { width: 20px; height: 20px; }
.advisors-card__eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 8px; }
.advisors-card__title { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; line-height: 1.3; }
.advisors-card__lead { font-size: .82rem; color: var(--gray); line-height: 1.5; margin: 0 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.advisors-card__bullets { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.advisors-card__bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: .87rem; color: var(--ink-soft); line-height: 1.5; }
.advisors-card__bullets li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-top: 9px; flex-shrink: 0; }
.advisors-card__board-label { font-size: .82rem; color: var(--gray); margin: 0 0 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.advisors-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.advisors-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--ink-soft); line-height: 1.45; padding: 9px 12px; background: var(--gray-bg); border-radius: 8px; border-left: 3px solid var(--green); font-weight: 500; }

/* Publications & Research section */
.publications { padding: 64px 0 72px; background: var(--gray-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.publications__grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; margin-top: 36px; max-width: 1080px; margin-left: auto; margin-right: auto; }
.publications__stats { display: flex; flex-direction: column; gap: 16px; }
.publications__stat { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; display: flex; align-items: center; gap: 16px; }
.publications__stat-num { font-size: 2rem; font-weight: 800; color: var(--blue-deep); line-height: 1; letter-spacing: -.02em; flex-shrink: 0; }
.publications__stat-label { font-size: .82rem; color: var(--gray); font-weight: 500; line-height: 1.3; }
.publications__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.publications__item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s; }
.publications__item:hover { border-color: var(--border-strong); }
.publications__authors { font-size: .82rem; color: var(--gray); font-weight: 500; }
.publications__title { font-size: .95rem; color: var(--ink); font-weight: 600; line-height: 1.45; letter-spacing: -.005em; }
.publications__cite { font-size: .8rem; color: var(--gray); margin-top: 4px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.publications__tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: var(--blue-soft); color: var(--blue-deep); white-space: nowrap; }
.publications__tag--editors { background: var(--green-soft); color: var(--green-deep); }
.publications__more { text-align: center; font-size: .9rem; color: var(--gray); margin: 28px 0 0; }
.publications__more a { color: var(--blue-deep); text-decoration: none; font-weight: 600; border-bottom: 1px dashed var(--gray-soft); }
.publications__more a:hover { border-bottom-color: var(--blue); color: var(--blue); }
@media (max-width: 880px) {
  .publications__grid { grid-template-columns: 1fr; }
  .publications__stats { flex-direction: row; flex-wrap: wrap; }
  .publications__stat { flex: 1 1 200px; }
}

/* Team-facts card (right-side card in About Us Leadership section) */
.team-facts { padding: 32px 28px 28px; display: flex; flex-direction: column; }
.team-facts__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.team-facts__icon svg { width: 24px; height: 24px; }
.team-facts__title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 10px; letter-spacing: -.01em; }
.team-facts__lead { font-size: .95rem; color: var(--gray); line-height: 1.6; margin: 0 0 24px; }
.team-facts__list { list-style: none; padding: 0; margin: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.team-facts__list li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.team-facts__num { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.team-facts__label { font-size: .76rem; color: var(--gray); font-weight: 500; letter-spacing: .01em; }
@media (max-width: 760px) {
  .team-facts__list { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .team-facts__num { font-size: 1.35rem; }
}

/* ── Newsroom (homepage press strip) ── */
.newsroom { background: var(--gray-bg); padding: 72px 0 80px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.newsroom__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.newsroom__head-text { flex: 1 1 auto; min-width: 280px; }
.newsroom__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .12em; padding: 5px 12px; background: rgba(47,133,230,.1); border-radius: 999px; margin-bottom: 14px; }
.newsroom__eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 2s infinite; }
.newsroom__title { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 0 0 10px; letter-spacing: -.02em; color: var(--ink); }
.newsroom__sub { color: var(--gray); font-size: 1rem; margin: 0; max-width: 560px; }
.newsroom__see-all { font-size: .9rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.newsroom__see-all svg { width: 14px; height: 14px; transition: transform .2s ease; }
.newsroom__see-all:hover svg { transform: translate(2px, -2px); }
.newsroom__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.newsroom__card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: all .25s ease; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.newsroom__card:hover { transform: translateY(-3px); border-color: rgba(47,133,230,.4); box-shadow: 0 8px 24px rgba(47,133,230,.08); }
.newsroom__card-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--gray); letter-spacing: .02em; }
.newsroom__card-meta .dot { width: 4px; height: 4px; background: var(--gray); border-radius: 50%; }
.newsroom__card-tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; }
.newsroom__card-tag--integration { background: rgba(47,133,230,.12); color: var(--blue); }
.newsroom__card-tag--product { background: var(--green-soft); color: var(--green-deep); }
.newsroom__card-tag--event { background: rgba(237,118,38,.12); color: var(--orange); }
.newsroom__card-title { font-size: 1.02rem; font-weight: 700; line-height: 1.35; color: var(--ink); letter-spacing: -.01em; margin: 0; }
.newsroom__card-link { font-size: .85rem; color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.newsroom__card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.newsroom__card:hover .newsroom__card-link svg { transform: translate(2px, -2px); }
@media (max-width: 880px) {
  .newsroom__grid { grid-template-columns: 1fr; }
  .newsroom__head { flex-direction: column; align-items: flex-start; }
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--ink); padding: 64px 40px; text-align: center;
  color: var(--white); position: relative; overflow: hidden;
  margin: 0 24px 80px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.04);
  background-image:
    radial-gradient(600px 300px at 20% -20%, rgba(47,133,230,.30), transparent 60%),
    radial-gradient(500px 280px at 80% 120%, rgba(34,169,120,.18), transparent 60%);
  background-color: var(--ink);
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; letter-spacing: -.02em; }
.cta-banner p { color: rgba(255,255,255,.72); max-width: 720px; margin: 0 auto 26px; font-size: 1rem; }
.cta-banner__buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn--primary { background: var(--white); color: var(--ink); }
.cta-banner .btn--primary:hover { background: var(--blue-soft); color: var(--blue-deep); }
.cta-banner .btn--secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.22); }
.cta-banner .btn--secondary:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: var(--white); }

/* ── Showcase strip (alternating image + copy) ── */
.showcase { padding: 72px 0; background: var(--white); }
.showcase + .showcase { border-top: 1px solid var(--border); }
.showcase--alt { background: var(--gray-bg); }
.showcase__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.showcase--reverse .showcase__inner { direction: rtl; }
.showcase--reverse .showcase__inner > * { direction: ltr; }
.showcase__copy h2 { margin-bottom: 14px; }
.showcase__copy p { font-size: 1.02rem; margin-bottom: 22px; max-width: 480px; }
.showcase__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.showcase__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--ink-soft);
}
.showcase__list li svg {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px;
  color: var(--green); padding: 2px; background: var(--green-soft); border-radius: 50%;
}
.showcase__visual { display: flex; justify-content: center; align-items: center; position: relative; padding: 0; }
.showcase__visual img { max-width: 100%; }
.showcase__phone {
  height: 700px; width: auto; max-width: 100%; border-radius: 28px;
  filter: drop-shadow(0 24px 44px rgba(15,27,45,.12)) drop-shadow(0 8px 14px rgba(15,27,45,.06));
  image-rendering: -webkit-optimize-contrast;
}
@media (max-width: 880px) { .showcase__phone { height: 580px; } }
@media (max-width: 600px) { .showcase__phone { height: 480px; } }
.showcase__visual {
  position: relative;
}
.showcase__visual::before {
  content: '';
  position: absolute; inset: 6% 10%;
  background: radial-gradient(circle at 50% 50%, rgba(47,133,230,.08), transparent 70%);
  z-index: 0; pointer-events: none;
}
.showcase__visual > * { position: relative; z-index: 1; }
.showcase__frame {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow-md);
  max-width: 520px;
}
.showcase__frame img { border-radius: var(--radius); }
@media (max-width: 880px) {
  .showcase__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .showcase--reverse .showcase__inner { direction: ltr; }
  .showcase__list li { text-align: left; }
  .showcase__list { max-width: 380px; margin-left: auto; margin-right: auto; }
  .showcase__copy p { margin-left: auto; margin-right: auto; }
}

/* ── Logo bar (EHR / integrations) ── */
.logo-strip { padding: 56px 0; background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-strip__label { text-align: center; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 26px; }
.logo-strip__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px 56px; }
.logo-strip__item { font-size: 1rem; font-weight: 700; color: var(--gray-soft); letter-spacing: -.01em; opacity: .85; transition: opacity .2s, color .2s; }
.logo-strip__item:hover { opacity: 1; color: var(--ink-soft); }

/* ── Quote / Testimonial ── */
.quote-section { padding: 96px 0; background: var(--white); }
.quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.quote__mark {
  font-family: Georgia, serif; font-size: 4rem; line-height: 1;
  color: var(--blue); opacity: .2; margin-bottom: -12px;
}
.quote__text {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 500;
  line-height: 1.4; color: var(--ink); letter-spacing: -.01em;
  margin-bottom: 28px;
}
.quote__attribution {
  display: inline-flex; align-items: center; gap: 12px;
  text-align: left;
}
.quote__attribution img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote__role { font-size: .82rem; color: var(--gray); }

/* ── Page Header (subpages) ── */
.page-header { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; background: var(--grad-hero); text-align: center; }
.page-header h1 { margin-bottom: 12px; }
.page-header p { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.page-header__formerly { font-size: .78rem; color: var(--gray-soft); font-style: italic; margin-top: 14px; letter-spacing: -.005em; }

/* ── CodeSight Architecture ── */
.architecture { padding: 80px 0; background: var(--gray-light); }
.architecture__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.architecture__item { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border-left: 4px solid var(--blue); box-shadow: var(--shadow-sm); }
.architecture__item h3 { margin-bottom: 6px; color: var(--dark); }
.architecture__item p { font-size: .9rem; }

/* ── Benefits ── */
.benefits { padding: 80px 0; }
.benefits__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.benefit-card { background: var(--white); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit-card h3 { margin-bottom: 8px; color: var(--ink); }
.benefit-card p { font-size: .9rem; color: var(--gray); line-height: 1.55; }
.benefit-card__icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; background: var(--blue-soft); color: var(--blue-deep); }
.benefit-card__icon svg { width: 24px; height: 24px; }
.benefit-card__icon--green { background: var(--green-soft); color: var(--green-deep); }
.benefit-card__icon--blue { background: var(--blue-soft); color: var(--blue-deep); }
.benefit-card__icon--teal { background: rgba(29,167,155,.12); color: var(--teal); }
.benefit-card__icon--orange { background: rgba(237,118,38,.12); color: var(--orange); }

/* ── Integrations ── */
.integrations { padding: 80px 0; background: var(--gray-light); }
.integrations__pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill { padding: 8px 20px; border-radius: 100px; background: var(--blue-light); color: var(--blue); font-size: .88rem; font-weight: 500; }

/* ── FAQ / Accordion ── */
.faq { padding: 80px 0; }
.accordion { max-width: 720px; margin: 0 auto; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__trigger, .accordion__header {
  width: 100%; display: block; position: relative;
  padding: 18px 36px 18px 0; background: none; border: none; font-family: var(--font);
  font-size: .95rem; font-weight: 600; color: var(--dark); cursor: pointer; text-align: left;
  line-height: 1.5;
}
/* Chevron is absolutely positioned so any inline content (e.g. <sup>TM</sup>) inside the trigger flows naturally as one text run */
.accordion__trigger::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--gray); transition: transform .3s, content 0s;
}
.accordion__item.active .accordion__trigger::after, .accordion__item.open .accordion__trigger::after { content: '−'; }
.accordion__content, .accordion__body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion__content p, .accordion__body p { padding-bottom: 18px; font-size: .9rem; }
.accordion__item.active .accordion__content, .accordion__item.open .accordion__content,
.accordion__item.active .accordion__body, .accordion__item.open .accordion__body { max-height: 500px; }

/* ── App Hero (Charge Capture) ── */
.app-hero { padding: 80px 0; }
.app-hero > .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.app-hero__content h2 { margin-bottom: 16px; }
.app-hero__content p { margin-bottom: 24px; }
.app-hero__visual { display: flex; justify-content: center; }
@media (max-width: 768px) {
  .app-hero > .container { grid-template-columns: 1fr; text-align: center; }
  .app-hero__visual { margin-top: 24px; }
}

/* ── Platform Availability ── */
.platform-availability { padding: 80px 0; background: var(--gray-light); }
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.platform-card { background: var(--white); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); }
.platform-card h3 { margin-bottom: 8px; color: var(--dark); }
.platform-card p { font-size: .9rem; }

/* ── Intake Hero ── */
.intake-hero { padding: 80px 0; text-align: center; }
.intake-hero h2 { margin-bottom: 16px; }
.intake-hero p { max-width: 620px; margin: 0 auto 28px; font-size: 1.05rem; }

/* Intake hero — split (image + text) variant */
.intake-hero--split { padding: 64px 0 72px; text-align: left; }
.intake-hero--split h2 { margin-bottom: 14px; max-width: none; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; line-height: 1.15; }
.intake-hero--split p { max-width: none; margin: 0 0 24px; }
.intake-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.intake-hero__copy { display: flex; flex-direction: column; }
.intake-hero__eyebrow { display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); padding: 5px 12px; background: var(--blue-soft); border-radius: 999px; margin-bottom: 18px; }
.intake-hero--split .intake-hero__buttons { justify-content: flex-start; }
.intake-hero__photo { position: relative; }
.intake-hero__photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 18px 44px rgba(15,27,45,.14), 0 4px 12px rgba(15,27,45,.06); display: block; aspect-ratio: 2 / 1; object-fit: cover; }
@media (max-width: 880px) {
  .intake-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .intake-hero--split { text-align: center; }
  .intake-hero--split .intake-hero__buttons { justify-content: center; }
  .intake-hero__eyebrow { align-self: center; }
}

/* ── Patient Experience (image + text + checkmark list) ── */
.patient-experience { padding: 72px 0 80px; background: var(--gray-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.patient-experience__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.patient-experience__photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 18px 44px rgba(15,27,45,.14), 0 4px 12px rgba(15,27,45,.06); display: block; aspect-ratio: 2 / 1; object-fit: cover; }
.patient-experience__copy { display: flex; flex-direction: column; }
.patient-experience__eyebrow { display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); padding: 5px 12px; background: var(--green-soft); border-radius: 999px; margin-bottom: 16px; }
.patient-experience__copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 14px; }
.patient-experience__copy p { font-size: 1rem; color: var(--gray); line-height: 1.65; margin: 0 0 22px; }
.patient-experience__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.patient-experience__list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; color: var(--ink-soft); line-height: 1.5; }
.patient-experience__list li svg { width: 18px; height: 18px; color: var(--green-deep); flex-shrink: 0; margin-top: 4px; }
@media (max-width: 880px) {
  .patient-experience__inner { grid-template-columns: 1fr; gap: 28px; }
  .patient-experience__copy { text-align: center; align-items: center; }
  .patient-experience__list li { text-align: left; }
  .patient-experience__eyebrow { align-self: center; }
}

/* ── Analytics Hero ── */
.analytics-hero { padding: 80px 0; text-align: center; }
.analytics-hero h2 { margin-bottom: 16px; }
.analytics-hero p { max-width: 620px; margin: 0 auto 28px; font-size: 1.05rem; }

/* Analytics split hero — text + KPI mini cards */
.analytics-split {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(47,133,230,.08), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(34,169,120,.05), transparent 60%),
    var(--white);
  border-bottom: 1px solid var(--border);
}
.analytics-split__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.analytics-split__eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); padding: 5px 12px; background: var(--blue-soft); border-radius: 999px; margin-bottom: 18px; }
.analytics-split__title { font-size: clamp(1.95rem, 3.55vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -.035em; color: var(--ink); margin-bottom: 18px; max-width: 560px; }
.analytics-split__lead { font-size: 1.08rem; color: var(--gray); line-height: 1.6; max-width: 540px; margin-bottom: 30px; }
.analytics-split__cta { display: flex; gap: 10px; flex-wrap: wrap; }

.analytics-split__viz { display: flex; flex-direction: column; gap: 14px; }

/* Mini KPI cards — sparkline + delta */
.kpi-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.kpi-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.kpi-mini__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.kpi-mini__label { font-size: .82rem; font-weight: 600; color: var(--gray); letter-spacing: .01em; }
.kpi-mini__delta { font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; letter-spacing: .02em; }
.kpi-mini__delta--down { color: var(--green-deep); background: var(--green-soft); }
.kpi-mini__delta--up { color: var(--green-deep); background: var(--green-soft); }
.kpi-mini__value { font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1; margin-bottom: 6px; }
.kpi-mini__value span { font-size: 1rem; color: var(--gray); font-weight: 500; margin-left: 2px; }
.kpi-mini__spark { width: 100%; height: 36px; display: block; }

@media (max-width: 880px) {
  .analytics-split { padding: calc(var(--nav-h) + 40px) 0 56px; }
  .analytics-split__grid { grid-template-columns: 1fr; gap: 36px; }
  .analytics-split__viz { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* ── Metrics ── */
.metrics { padding: 80px 0; background: var(--gray-light); }
.metrics__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.metric-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border-top: 3px solid var(--blue); box-shadow: var(--shadow-sm); }
.metric-card h3 { margin-bottom: 6px; color: var(--dark); }
.metric-card p { font-size: .9rem; }

/* ── Use Cases ── */
.use-cases { padding: 80px 0; }
.use-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.use-case-card { background: var(--blue-light); border-radius: var(--radius); padding: 28px 24px; }
.use-case-card h3 { margin-bottom: 6px; color: var(--blue-deep); }
.use-case-card p { font-size: .9rem; color: var(--gray); }

/* ── Blog ── */
.blog-posts { padding: 80px 0; }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); transition: all .3s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card__image { height: 180px; overflow: hidden; background: var(--blue-light); }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__content { padding: 22px; }
.blog-card__meta { font-size: .78rem; color: var(--gray); margin-bottom: 8px; }
.blog-card__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--dark); }
.blog-card__excerpt { font-size: .9rem; margin-bottom: 14px; }

/* ── Newsletter ── */
.newsletter { padding: 64px 0; background: var(--gray-light); text-align: center; }
.newsletter h2 { margin-bottom: 12px; }
.newsletter > .container > p { max-width: 480px; margin: 0 auto 28px; }
.newsletter__form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter__form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 100px; font-family: var(--font); font-size: .9rem; }
.newsletter__form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,141,225,.1); }
@media (max-width: 500px) { .newsletter__form { flex-direction: column; } }

/* ── Contact ── */
.contact-section { padding: 24px 0 80px; }
@media (max-width: 768px) { .contact-section { padding: 12px 0 56px; } }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact-card { background: var(--gray-light); border-radius: var(--radius); padding: 28px 24px; }
.contact-card h3 { margin-bottom: 8px; color: var(--dark); }
.contact-card p { font-size: .9rem; }

/* What happens next — 3-step explainer */
.contact-next { background: var(--gray-bg); border-radius: var(--radius); padding: 28px 26px 26px; border: 1px solid var(--border); }
.contact-next__eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px; }
.contact-next__title { font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; margin-bottom: 18px; }
.contact-next__steps { display: flex; flex-direction: column; gap: 16px; padding: 0; margin: 0; counter-reset: cn-step; }
.contact-next__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.contact-next__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 1px solid var(--border-strong); color: var(--blue-deep); font-weight: 700; font-size: .82rem; flex-shrink: 0; }
.contact-next__steps li strong { display: block; font-size: .94rem; color: var(--ink); font-weight: 600; line-height: 1.35; margin-bottom: 3px; }
.contact-next__steps li p { font-size: .84rem; color: var(--gray); line-height: 1.5; margin: 0; }

/* Trust strip */
.contact-trust { display: flex; flex-direction: column; gap: 14px; }
.contact-trust__item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.contact-trust__item:last-child { border-bottom: none; }
.contact-trust__item svg { width: 20px; height: 20px; color: var(--green-deep); margin-top: 2px; }
.contact-trust__item strong { font-size: .88rem; color: var(--ink); font-weight: 600; }
.contact-trust__item span { font-size: .82rem; color: var(--gray); line-height: 1.5; }

/* Email fallback line */
.contact-email-line { font-size: .85rem; color: var(--gray); padding-top: 4px; margin: 0; }
.contact-email-line a { color: var(--blue-deep); font-weight: 500; }
.contact-email-line a:hover { text-decoration: underline; }

/* Calendly secondary CTA — sits below the form */
.contact-calendly { margin-top: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.contact-calendly__divider { display: flex; align-items: center; gap: 14px; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-soft); }
.contact-calendly__divider::before,
.contact-calendly__divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.contact-calendly__btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; font-size: 1rem; font-weight: 600; }
.contact-calendly__btn svg { width: 18px; height: 18px; color: var(--blue-deep); }
.contact-calendly__note { font-size: .8rem; color: var(--gray-soft); text-align: center; margin: 0; }
.contact-link { color: var(--blue); font-weight: 500; }
.contact__form h2 { margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 5px; color: var(--dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font); font-size: .9rem; color: var(--dark); transition: border-color .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,141,225,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* Honeypot — hidden from humans, visible to spam bots that auto-fill every input */
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }

/* No-PHI disclaimer under the message textarea */
.form-disclaimer { font-size: .78rem; color: var(--gray, #5b6779); margin: 8px 2px 0; line-height: 1.5; font-style: italic; }

/* Form status message (errors / sending / success inline) */
.form-status { font-size: .85rem; margin: 14px 0 0; min-height: 1.2em; }
.form-status.is-sending { color: var(--gray, #5b6779); }
.form-status.is-error   { color: var(--red, #D8333A); }

/* Disabled submit button (while sending) */
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Success card — replaces the form on successful submit */
.form-success {
  background: var(--green-soft, #e8f6f0);
  border: 1px solid rgba(34, 169, 120, .25);
  border-radius: var(--radius, 12px);
  padding: 32px 28px;
  text-align: center;
}
.form-success__icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: var(--green, #22A978);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.form-success__icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.25rem; color: var(--ink, #0F1B2D); margin: 0 0 8px; letter-spacing: -.01em; }
.form-success p  { font-size: .92rem; color: var(--ink-soft, #1f2d44); line-height: 1.55; margin: 0; }
.form-success a  { color: var(--green-deep, #1c8f66); font-weight: 600; text-decoration: none; }
.form-success a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; }
  /* On mobile, surface the form + Calendly first; "What happens next" + trust strip below */
  .contact__form { order: 1; }
  .contact__info { order: 2; }
}

/* ── Footer ── */
.footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 52px 0 24px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.15fr; gap: 36px; margin-bottom: 36px; }
.footer__stores { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.footer__stores a { display: inline-block; line-height: 0; }
.footer__stores img { width: 118px; height: auto; opacity: .88; transition: opacity .2s; border-radius: 6px; }
.footer__stores a:hover img { opacity: 1; }
.store-badges-inline { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 28px; }
.store-badges-inline a { display: inline-block; line-height: 0; transition: transform .15s; }
.store-badges-inline a:hover { transform: translateY(-2px); }
.store-badges-inline img { width: 168px; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(15,27,45,.12); }
.footer__contact-item { display: block; margin-bottom: 9px; font-size: .83rem; color: rgba(255,255,255,.5); }
.footer__contact-item strong { display: block; color: rgba(255,255,255,.75); font-weight: 600; font-size: .78rem; letter-spacing: .02em; margin-bottom: 2px; }
.footer__contact-item a { color: rgba(255,255,255,.5); }
.footer__contact-item a:hover { color: var(--blue); }
.footer__brand p { margin-top: 12px; font-size: .83rem; color: rgba(255,255,255,.4); max-width: 260px; line-height: 1.7; }
.footer__logo { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer__logo img { height: 32px; width: auto; display: block; }
.footer h4 { color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer ul li { margin-bottom: 9px; font-size: .83rem; color: rgba(255,255,255,.5); font-family: inherit; font-weight: 400; line-height: 1.5; }
.footer ul a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer ul a:hover { color: var(--white); }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: .2s; }
.footer__social a:hover { background: var(--blue); color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px; display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 8px; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── Button containers ── */
.analytics-hero__buttons,
.app-hero__buttons,
.intake-hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nav__auth { display: flex; align-items: center; gap: 6px; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ========================================
   CodeSight Platform Architecture Schematic
   ======================================== */

/* Architecture teaser (homepage; full diagram lives on /automated-medical-coding/) */
.arch-teaser { padding: 56px 0 64px; background: var(--gray-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.arch-teaser__inner { max-width: 1000px; margin: 0 auto; text-align: center; padding: 0 24px; }
.arch-teaser__eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); padding: 5px 12px; background: var(--blue-soft); border-radius: 999px; margin-bottom: 14px; }
.arch-teaser__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 12px; color: var(--ink); letter-spacing: -.02em; }
.arch-teaser__sub { font-size: 1rem; color: var(--gray); line-height: 1.6; margin: 0 auto 28px; max-width: 720px; }
.arch-teaser__stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 auto 28px; max-width: 100%; }
.arch-teaser__stage { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px 14px 12px; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; overflow: hidden; }
.arch-teaser__stage::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); opacity: 0; transition: opacity .2s; }
.arch-teaser__stage:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.arch-teaser__stage:hover::before { opacity: 1; }
.arch-teaser__stage-num { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .68rem; color: var(--gray-soft); letter-spacing: .12em; margin-bottom: 8px; font-weight: 600; }
.arch-teaser__stage-name { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; line-height: 1.25; }
.arch-teaser__stage-meta { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .7rem; color: var(--gray); line-height: 1.4; }
.arch-teaser__cta { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 600; color: var(--blue-deep); text-decoration: none; padding: 11px 20px; border-radius: var(--radius); border: 1px solid rgba(47,133,230,.25); background: var(--white); transition: all .2s ease; }
.arch-teaser__cta:hover { background: var(--blue-soft); border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.arch-teaser__cta svg { width: 16px; height: 16px; transition: transform .2s ease; }
.arch-teaser__cta:hover svg { transform: translateX(3px); }
@media (max-width: 980px) {
  .arch-teaser__stages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .arch-teaser__stages { grid-template-columns: repeat(2, 1fr); }
}

.arch {
  padding: 64px 0 72px; background: #f4f7fb;
  border-top: 1px solid #d6dde7; border-bottom: 1px solid #d6dde7;
  position: relative; overflow: hidden;
}
.arch::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 300px at 85% 10%, rgba(47,133,230,.08), transparent 60%),
    radial-gradient(500px 260px at 10% 90%, rgba(34,169,120,.06), transparent 60%);
  pointer-events: none;
}
.arch > .container { position: relative; }
.arch__eyebrow { display: block; text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 12px; }
.arch__title { text-align: center; font-size: clamp(1.7rem, 3.2vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; color: var(--ink); margin-bottom: 12px; }
.arch__sub { text-align: center; max-width: 680px; margin: 0 auto 44px; color: var(--gray); font-size: 1rem; }

/* Top + bottom rails */
.arch__rail {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
  margin: 0 auto; max-width: 980px;
}
.arch__rail-item {
  padding: 12px 16px; border-radius: 10px;
  background: var(--white); border: 1.25px solid #c9d3e0;
  box-shadow: 0 1px 2px rgba(15,27,45,.04);
  display: flex; flex-direction: column; gap: 2px;
}
.arch__rail-item .lbl { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); }
.arch__rail-item .val { font-size: .88rem; font-weight: 600; color: var(--ink); }
.arch__rail--top { margin-bottom: 14px; }

/* Vertical connector between rails and pipeline */
.arch__connect {
  height: 22px; width: 2px; margin: 0 auto;
  background: linear-gradient(180deg, var(--blue) 0%, var(--green) 100%);
  opacity: .45; position: relative;
}
.arch__connect::after {
  content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 7px solid var(--green); opacity: .85;
}

/* Pipeline — the 6-stage ensemble */
.arch__pipeline {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; align-items: stretch; margin: 0 auto; max-width: 980px;
  position: relative;
}
.arch__node {
  background: var(--white); border: 1.25px solid #c9d3e0;
  border-radius: 12px; padding: 18px 14px 16px;
  text-align: center; position: relative; z-index: 2;
  box-shadow: 0 2px 6px rgba(15,27,45,.05), 0 1px 2px rgba(15,27,45,.03);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.arch__node:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15,27,45,.10), 0 4px 8px rgba(15,27,45,.05);
  border-color: #9fb3cc;
}
.arch__node__icon {
  width: 36px; height: 36px; border-radius: 10px; margin: 0 auto 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue-deep);
}
.arch__node__icon svg { width: 18px; height: 18px; }
.arch__node:nth-child(2n) .arch__node__icon { background: var(--teal-soft); color: var(--teal); }
.arch__node:nth-child(3n) .arch__node__icon { background: var(--green-soft); color: var(--green-deep); }
.arch__node__title { font-size: .82rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; margin-bottom: 4px; }
.arch__node__sub { font-size: .7rem; color: var(--gray); line-height: 1.4; }

/* Flowing gradient arrow between nodes */
.arch__arrow {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 2px; margin-top: 42px; /* align to node icon */
  align-self: start;
}
.arch__arrow-line {
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(47,133,230,.15), rgba(47,133,230,.45), rgba(34,169,120,.45), rgba(34,169,120,.15));
  background-size: 300% 100%; background-position: 100% 0;
  animation: archFlow 3.2s linear infinite;
  position: relative;
}
.arch__arrow-line::after {
  content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
  border-left: 6px solid var(--green); border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  opacity: .6;
}
@keyframes archFlow {
  0%   { background-position: 100% 0; }
  100% { background-position: -200% 0; }
}

/* Grid adapts — nodes + arrows alternate */
.arch__pipeline {
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr;
}
.arch__pipeline > .arch__arrow { margin-top: 42px; }

/* Badge row under pipeline */
.arch__badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 32px; max-width: 840px; margin-left: auto; margin-right: auto;
}
.arch__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; color: var(--ink-soft);
  padding: 6px 12px; border-radius: 100px;
  background: var(--white); border: 1.25px solid #c9d3e0;
  box-shadow: 0 1px 2px rgba(15,27,45,.04);
}
.arch__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.arch__badge:nth-child(2n) .dot { background: var(--green); }
.arch__badge:nth-child(3n) .dot { background: var(--teal); }
.arch__badge:nth-child(5n) .dot { background: var(--orange); }

/* Mobile — collapse to a vertical pipeline */
@media (max-width: 880px) {
  .arch__rail { grid-template-columns: 1fr; }
  .arch__pipeline { grid-template-columns: 1fr; gap: 12px; }
  .arch__arrow { transform: rotate(90deg); width: 28px; height: 28px; margin: 0 auto; }
  .arch__arrow-line { width: 28px; }
  .arch__node { padding: 14px 12px; }
}

/* ========================================
   EMR Marquee — thin, auto-scrolling
   ======================================== */
.emr-marquee {
  padding: 44px 0; background: var(--white);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.emr-marquee__label {
  text-align: center; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gray-soft); margin-bottom: 22px;
}
.emr-marquee__track-wrap {
  position: relative; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.emr-marquee__track {
  display: flex; align-items: center;
  width: max-content;
  animation: emrSlide 34s linear infinite;
}
.emr-marquee:hover .emr-marquee__track { animation-play-state: paused; }
/* Each item has its own right-margin so the gap-pattern is identical between items
   AND between the end of set-1 and start of set-2 → translate(-50%) lands seamlessly */
.emr-marquee__track .emr-logo { margin-right: 56px; }
@keyframes emrSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.emr-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1.05rem; font-weight: 700;
  color: var(--gray); letter-spacing: -.015em;
  white-space: nowrap;
  opacity: .78; transition: opacity .2s, color .2s;
}
.emr-logo:hover { opacity: 1; color: var(--ink); }
.emr-logo__mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
  background: var(--blue-soft); color: var(--blue-deep);
  flex-shrink: 0;
}
.emr-logo:nth-child(2n) .emr-logo__mark { background: var(--green-soft); color: var(--green-deep); }
.emr-logo:nth-child(3n) .emr-logo__mark { background: var(--teal-soft); color: var(--teal); }
.emr-logo:nth-child(5n) .emr-logo__mark { background: rgba(237,118,38,.12); color: var(--orange); }

/* =====================================================================
   Analytics page — dashboard preview (inline mockup, browser-framed)
   ===================================================================== */
.dashboard-preview { padding: 64px 0 88px; background: var(--white); }
.dashboard-preview .eyebrow,
.dashboard-preview .section-title,
.dashboard-preview .section-sub { text-align: center; }
.dashboard-preview .section-sub { margin-bottom: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }

.dash-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px -28px rgba(15, 27, 45, .25), 0 4px 14px -6px rgba(15, 27, 45, .12);
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}
.dash-frame__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: #f4f6fa;
  border-bottom: 1px solid var(--border);
}
.dash-frame__dot {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.dash-frame__dot--red    { background: #fc6058; }
.dash-frame__dot--amber  { background: #fdbc40; }
.dash-frame__dot--green  { background: #34c84a; }
.dash-frame__url {
  margin-left: 14px;
  font-size: .78rem; color: var(--gray);
  background: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  letter-spacing: .01em;
}

.dash-frame__body {
  display: grid;
  grid-template-columns: 178px 1fr;
  background: #fafbfd;
}

/* Sidebar */
.dash-side {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 14px 0;
  display: flex; flex-direction: column;
}
.dash-side__brand { display: flex; align-items: center; gap: 8px; padding: 4px 18px 18px; }
.dash-side__mark {
  width: 22px; height: 22px;
  color: var(--green);
  display: inline-flex;
}
.dash-side__name { font-weight: 700; color: var(--ink); font-size: 1rem; }
.dash-side__nav { display: flex; flex-direction: column; padding: 4px 10px; }
.dash-side__item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--gray);
  font-size: .76rem;
  text-decoration: none;
  cursor: default;
  position: relative;
}
.dash-side__item svg { width: 16px; height: 16px; flex-shrink: 0; }
.dash-side__item--active {
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 600;
}
.dash-side__chev { position: absolute; right: 10px; width: 12px !important; height: 12px !important; }
.dash-side__user {
  margin-top: auto;
  padding: 14px 18px 4px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--gray-soft);
  border-top: 1px solid var(--border);
}

/* Main canvas */
.dash-main { padding: 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-main__row { display: grid; gap: 12px; min-width: 0; }
.dash-main__row--top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); }
.dash-main__row--mid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dash-main__row--bot { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Greeting hero (teal card with checklist) */
.dash-greet {
  background: linear-gradient(135deg, #2bb3a3 0%, #1da79b 100%);
  border-radius: 12px;
  color: #fff;
  padding: 14px 18px;
  display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 12px;
  min-height: 168px;
}
.dash-greet__art { width: 90px; height: 90px; }
.dash-greet__art svg { width: 100%; height: 100%; }
.dash-greet h3 { font-size: 1.1rem; margin: 0 0 3px; color: #fff; font-weight: 700; }
.dash-greet > .dash-greet__copy > p { font-size: .76rem; opacity: .9; margin: 0 0 9px; color: #fff; }
.dash-greet__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.dash-greet__list li { font-size: .78rem; display: flex; align-items: center; gap: 9px; color: #fff; }
.dash-greet__check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800;
  flex-shrink: 0;
}

/* Mini KPI cards (top row) */
.dash-kpi {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px 0;
  display: flex; flex-direction: column;
  min-height: 168px;
}
.dash-kpi__head { display: flex; align-items: flex-start; justify-content: space-between; }
.dash-kpi__num { font-size: 1.45rem; font-weight: 700; color: var(--ink); }
.dash-kpi__icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.dash-kpi__icon svg { width: 16px; height: 16px; }
.dash-kpi--blue .dash-kpi__icon { background: var(--blue-soft); color: var(--blue); }
.dash-kpi--orange .dash-kpi__icon { background: rgba(237,118,38,.14); color: var(--orange); }
.dash-kpi__label { font-size: .78rem; color: var(--gray); margin-top: 2px; }
.dash-kpi__chart { width: 100%; height: 56px; margin-top: auto; }

/* Generic card chrome (chart + table) */
.dash-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; min-width: 0;
}
.dash-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.dash-card__head h4 { font-size: .92rem; font-weight: 700; color: var(--ink); margin: 0; }
.dash-card__head-icons { display: flex; gap: 10px; color: var(--gray-soft); }
.dash-card__head-icons svg { width: 16px; height: 16px; }

.dash-chart__legend { display: flex; gap: 18px; font-size: .78rem; color: var(--gray); padding: 4px 0 4px; }
.dash-chart__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash-chart__legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dash-chart__svg { width: 100%; height: 178px; }

/* Table */
.dash-table__grid { width: 100%; border-collapse: collapse; font-size: .74rem; table-layout: fixed; }
.dash-table__grid thead th {
  text-align: left;
  font-size: .64rem; letter-spacing: .08em; color: var(--gray-soft);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  padding: 8px 6px 6px;
}
.dash-table__grid thead th:first-child { width: 54%; }
.dash-table__grid thead th.num  { width: 18%; text-align: left; }
.dash-table__grid thead th.date { width: 28%; text-align: right; }
.dash-table__grid tbody td {
  padding: 7px 6px;
  color: var(--ink-soft);
  border-bottom: 1px solid #f1f4f8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-table__grid tbody td.num { color: var(--ink); font-weight: 600; white-space: nowrap; }
.dash-table__grid tbody td.date { color: var(--gray-soft); text-align: right; font-size: .7rem; white-space: nowrap; }
.dash-table__grid tbody tr:last-child td { border-bottom: none; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.dot--green  { background: #22A978; }
.dot--orange { background: #ED7626; }
.dot--red    { background: #D8333A; }

.dash-table__pager {
  display: flex; gap: 14px; justify-content: flex-end; align-items: center;
  margin-top: auto; padding-top: 8px;
  font-size: .68rem; color: var(--gray-soft);
}

/* Bottom KPI cards */
.dash-stat {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 14px 12px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
}
.dash-stat__icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.dash-stat__icon svg { width: 14px; height: 14px; }
.dash-stat__icon--blue   { background: var(--blue-soft);   color: var(--blue); }
.dash-stat__icon--orange { background: rgba(237,118,38,.14); color: var(--orange); }
.dash-stat__icon--red    { background: rgba(216,51,58,.10); color: var(--red); }
.dash-stat__icon--green  { background: var(--green-soft);  color: var(--green); }
.dash-stat__num { font-size: 1.55rem; font-weight: 800; color: var(--ink); line-height: 1.05; align-self: center; margin-top: 2px; white-space: nowrap; }
.dash-stat__label { font-size: .76rem; color: var(--gray); align-self: center; }
.dash-stat__delta { font-size: .72rem; font-weight: 600; align-self: center; margin-top: 2px; }
.dash-stat__delta--up   { color: var(--green-deep); }
.dash-stat__delta--down { color: var(--red); }

.dash-frame__caption {
  text-align: center;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--gray-soft);
  font-style: italic;
}

/* Mobile collapse */
@media (max-width: 920px) {
  .dash-frame__body { grid-template-columns: 1fr; }
  .dash-side {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    gap: 8px;
    scrollbar-width: thin;
  }
  .dash-side__brand { padding: 4px 8px; flex-shrink: 0; }
  .dash-side__nav { flex-direction: row; padding: 0; gap: 4px; flex-shrink: 0; }
  .dash-side__item { white-space: nowrap; padding: 6px 10px; font-size: .75rem; }
  .dash-side__item span { display: none; }
  .dash-side__item--active span { display: inline; }
  .dash-side__chev { display: none; }
  .dash-side__user { display: none; }
  .dash-main__row--top { grid-template-columns: 1fr; }
  .dash-main__row--mid { grid-template-columns: 1fr; }
  .dash-main__row--bot { grid-template-columns: repeat(2, 1fr); }
  .dash-greet { min-height: 0; }
  .dash-kpi { min-height: 160px; }
}
@media (max-width: 520px) {
  .dash-greet { grid-template-columns: 1fr; text-align: center; }
  .dash-greet__art { margin: 0 auto; width: 84px; height: 84px; }
  .dash-greet__list li { justify-content: center; }
  .dash-frame__url { display: none; }
  .dash-table__grid thead th.date,
  .dash-table__grid tbody td.date { display: none; }
}

/* =====================================================================
   Video embed (lazy-loaded YouTube — thumbnail + brand-colored play
   button; loads YouTube iframe only on user click)
   ===================================================================== */
.video-section { padding: 56px 0 64px; background: var(--white); }
.video-section .eyebrow,
.video-section .section-title,
.video-section .section-sub { text-align: center; }
.video-section .section-sub { max-width: 700px; margin: 0 auto 32px; }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0F1B2D;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 24px 60px -28px rgba(15, 27, 45, .35), 0 4px 14px -6px rgba(15, 27, 45, .14);
  border: 1px solid var(--border);
}
.video-embed__thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s, opacity .25s;
  display: block;
}
.video-embed:hover .video-embed__thumb { transform: scale(1.02); opacity: .92; }
.video-embed__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,45,.10) 0%, rgba(15,27,45,.40) 100%);
  pointer-events: none;
  transition: opacity .2s;
}
.video-embed:hover .video-embed__overlay { opacity: .8; }
.video-embed__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--green);
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(34, 169, 120, .55), 0 2px 8px rgba(0, 0, 0, .25);
  transition: transform .2s, background .2s, box-shadow .2s;
  color: #fff;
}
.video-embed__play svg { width: 34px; height: 34px; margin-left: 4px; /* optical centering of the play triangle */ }
.video-embed:hover .video-embed__play,
.video-embed:focus-within .video-embed__play {
  transform: translate(-50%, -50%) scale(1.07);
  background: var(--green-deep);
  box-shadow: 0 10px 36px rgba(28, 143, 102, .65), 0 2px 10px rgba(0, 0, 0, .3);
}
.video-embed__label {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(15, 27, 45, .82);
  color: #fff; font-size: .82rem; font-weight: 500; letter-spacing: -.005em;
  padding: 7px 14px; border-radius: 999px;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
.video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-section__caption {
  text-align: center;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--gray-soft);
  font-style: italic;
}
@media (max-width: 600px) {
  .video-embed__play { width: 64px; height: 64px; }
  .video-embed__play svg { width: 24px; height: 24px; }
  .video-embed__label { font-size: .72rem; padding: 6px 11px; bottom: 12px; }
  .video-section { padding: 40px 0 48px; }
}

/* =====================================================================
   Color discipline (v6.46) — restrict brand color to high-value moments.
   Brand blue/green reserved for: primary CTA buttons, brand wordmark,
   phone-visual product UI, status pulse dot, headline brand mentions.
   Decorative chrome (icons, dots, accents, tags) goes neutral gray.
   ===================================================================== */
.trust-bar__item svg,
.benefit-pill svg {
  color: var(--gray) !important;
  stroke: var(--gray) !important;
}
.trusted-by__sector-pill {
  color: var(--gray) !important;
  border-color: var(--border-strong) !important;
  background: #fafbfd !important;
}
.trusted-by__sector-pill--any {
  color: var(--gray) !important;
  background: #f0f2f6 !important;
  border-color: var(--border-strong) !important;
}
.trusted-by__sector-pill--any svg { color: var(--gray) !important; stroke: var(--gray) !important; }
.newsroom__card-tag,
.press-card__tag,
.incident__type-pill {
  background: #f0f2f6 !important;
  color: var(--gray) !important;
}
.eyebrow { color: var(--gray-soft) !important; }
.eyebrow::before { background: var(--gray-soft) !important; }
.arch-teaser__stage::before { background: var(--gray-soft) !important; }
/* Note: NOT muted — primary CTAs (.btn--primary), wordmark logo, phone UI,
   status pulse dot, brand mentions in headlines. */

