/* Existing component mechanics; visual rules live in design-system.css. */
@layer legacy {
  :root {
    --brand: #1622C2;
    --brand-dark: #0E18A0;
    --brand-light: #E8EAFB;
    --ink: #0B0F2C;
    --ink-soft: #3A3F5C;
    --muted: #6B7088;
    --bg: #F4F5FA;
    --card: #FFFFFF;
    --border: #E1E3EE;
    --accent: #FFB400;
    --success: #1B9A5A;
    --warn-bg: #FFF8E1;
    --warn-border: #F2C94C;
    --shadow-sm: 0 1px 2px rgba(11, 15, 44, 0.04), 0 1px 3px rgba(11, 15, 44, 0.06);
    --shadow-md: 0 4px 12px rgba(11, 15, 44, 0.06), 0 2px 4px rgba(11, 15, 44, 0.04);
    --radius: 0;
    --radius-sm: 0;
    --container: 1120px;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  }

  * { box-sizing: border-box; }

  html {
    scroll-behavior: smooth;
    background: #0A0F2D;
    overflow-x: hidden;
  }

  body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    margin: 0;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  a { color: var(--brand); text-decoration: none; }
  a:hover { text-decoration: underline; }
  a:focus-visible,
  button:focus-visible,
  summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--brand);
  }

  .skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform 0.15s ease;
  }
  .skip-link:focus {
    transform: translateY(0);
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--brand);
    text-decoration: none;
  }

  .audit-modal-open {
    overflow: hidden;
  }

  .audit-modal[hidden] {
    display: none;
  }

  .audit-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
  }

  .audit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 24, 0.68);
  }

  .audit-modal-panel {
    position: relative;
    width: min(100%, 520px);
    background: #fff;
    border: 1px solid rgba(22, 34, 194, 0.12);
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 90px rgba(5, 8, 24, 0.34);
    padding: clamp(24px, 5vw, 36px);
  }

  .audit-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--ink-soft);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .audit-modal-close:hover {
    color: var(--ink);
    border-color: var(--brand);
  }

  .image-lightbox-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: zoom-out;
  }

  /* ============= HOMEPAGE INDUSTRY HERO CARDS ============= */

  .cinematic-hero:has(.industry-card-rail) {
    min-height: 100vh;
    min-height: 100svh;
    justify-content: flex-start;
    padding: 132px 28px 300px;
  }
  .industry-government { background-image: url('/marketing-assets/assets/industry-government.webp?v=20260821-2'); background-position: 42% center; }
  .industry-education { background-image: url('/marketing-assets/assets/industry-education.webp'); background-position: 60% center; }
  .industry-healthcare { background-image: url('/marketing-assets/assets/industry-healthcare.webp'); background-position: 64% center; }
  .industry-financial { background-image: url('/marketing-assets/assets/industry-financial.webp?v=20260821-2'); background-position: 62% center; }

  body.industry-modal-open { overflow: hidden; }

  @media (max-width: 900px) {
    .cinematic-hero:has(.industry-card-rail) { min-height: 100vh; min-height: 100svh; padding: 116px 18px 28px; }
  }

  .audit-modal-eyebrow {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .audit-modal-panel h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.8rem, 5vw, 2.45rem);
    line-height: 1.08;
  }

  .audit-modal-copy,
  .audit-modal-note {
    color: var(--ink-soft);
  }

  .audit-modal-copy {
    margin: 12px 0 22px;
  }

  .audit-modal-form {
    display: grid;
    gap: 10px;
  }

  .audit-modal-form label {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.92rem;
  }

  .audit-modal-form input:not([type="hidden"]) {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
  }

  .audit-modal-form input:not([type="hidden"]):focus {
    outline: 3px solid rgba(22, 34, 194, 0.16);
    border-color: var(--brand);
  }

  .audit-modal-form input[name="_honey"] {
    position: absolute;
    left: -9999px;
  }

  .audit-modal-form button {
    margin-top: 10px;
    justify-content: center;
    border: 0;
    cursor: pointer;
  }

  .audit-modal-note {
    margin: 14px 0 0;
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .audit-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1001;
    max-width: min(360px, calc(100vw - 40px));
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    box-shadow: var(--shadow-md);
    font-weight: 700;
  }

  .audit-toast-error {
    background: #7F1D1D;
  }

  /* Editorial Disclosure Banner */

  /* Header */
  header.site-header {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-inner {
    max-width: min(1600px, 100%);
    margin: 0 auto;
    padding: 14px clamp(20px, 4vw, 52px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 2.4vw, 36px);
  }
  .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    flex: 0 0 auto;
  }
  .logo-img {
    height: 32px;
    width: auto;
    display: block;
  }

  nav.main-nav ul {
    display: flex;
    gap: clamp(18px, 2.2vw, 34px);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
  }
  nav.main-nav a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  nav.main-nav a:hover { color: var(--brand); text-decoration: none; }
  nav.main-nav a[aria-current="page"],
  .nav-dropdown-menu a[aria-current="page"] {
    color: var(--brand);
    font-weight: 800;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 0;
    flex: 0 0 auto;
  }
  .header-signin {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .header-signin:hover { color: var(--brand); text-decoration: none; }
  .header-cta {
    background: var(--brand);
    color: #fff;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
  }
  .header-cta:hover { background: var(--brand-dark); text-decoration: none; }

  /* Mobile CTA row is JS-injected for the mobile drawer; hide it everywhere by default */
  nav.main-nav .mobile-cta-row { display: none; }
  /* Keep CTA text white inside the drawer (defeats nav.main-nav a specificity) */
  nav.main-nav .mobile-cta-row .header-cta,
  nav.main-nav .mobile-cta-row .header-cta:hover { color: #fff; }

  @media (max-width: 1180px) {
    nav.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
    nav.main-nav.open { display: block; }
    nav.main-nav ul { flex-direction: column; gap: 0; padding: 12px 20px; }
    nav.main-nav li { padding: 12px 0; border-bottom: 1px solid var(--border); }
    nav.main-nav li:last-child { border-bottom: none; }
    .header-actions { display: none; }
  }

  /* Hero / Above-the-fold */
  .hero {
    padding: 64px 20px 32px;
    max-width: var(--container);
    margin: 0 auto;
  }
  .breadcrumb {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 16px;
  }
  .breadcrumb a { color: var(--muted); }
  .breadcrumb span { margin: 0 8px; }

  h1 {
    font-size: clamp(1.85rem, 4vw, 2.65rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 16px;
    font-weight: 800;
  }
  .subhead {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 720px;
    margin: 0 0 32px;
  }

  /* Quick Answer block */
  .quick-answer {
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 180, 0, 0.14), transparent 32%),
      linear-gradient(135deg, #fff 0%, #F8F9FE 100%);
    border: 1px solid rgba(22, 34, 194, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
    margin-bottom: 48px;
  }
  .quick-answer .label {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
  }
  .quick-answer h2 {
    font-size: 1.35rem;
    margin: 0 0 12px;
    color: var(--ink);
    font-weight: 700;
  }
  .quick-answer p { margin: 0 0 12px; color: var(--ink-soft); font-size: 1rem; }
  .quick-answer p:last-child { margin-bottom: 0; }
  .quick-answer strong { color: var(--ink); }

  /* Main content sections */
  main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px 80px;
  }

  .content-block {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #fff 100%);
    border: 1px solid rgba(22, 34, 194, 0.12);
    border-radius: var(--radius-sm);
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
  }
  .content-block::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), var(--brand));
    opacity: 0.85;
  }

  @media (max-width: 640px) {
    .content-block { padding: 28px 20px; }
  }

  .team-section-heading {
    margin: 56px auto 28px;
    padding: 0 20px;
    text-align: center;
  }
  .team-section-heading .section-eyebrow {
    margin: 0 0 10px;
  }
  .team-section-heading h2 {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }

  .team-profile {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
  .team-profile-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(19, 31, 85, 0.18);
  }
  .team-profile-copy .section-eyebrow {
    margin-top: 0;
  }
  .team-member-name {
    margin: 0 0 16px;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 650;
    line-height: 1.25;
  }
  .team-profile-copy p {
    line-height: 1.72;
  }
  @media (max-width: 760px) {
    .team-profile {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .team-profile-image {
      width: min(100%, 320px);
      margin: 0 auto;
    }
  }

  h2 {
    font-size: 1.65rem;
    color: var(--ink);
    margin: 0 0 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }
  h3 {
    font-size: 1.2rem;
    color: var(--ink);
    margin: 28px 0 12px;
    font-weight: 700;
  }
  h4 {
    font-size: 1rem;
    color: var(--ink);
    margin: 20px 0 8px;
    font-weight: 700;
  }

  p { color: var(--ink-soft); margin: 0 0 14px; }
  p:last-child { margin-bottom: 0; }

  ul, ol { color: var(--ink-soft); margin: 0 0 16px; padding-left: 24px; }
  li { margin-bottom: 6px; }

  /* Standards comparison table */
  .compare-table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
  }

  /* Timeline */
  .timeline {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    position: relative;
  }
  .timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--brand-light);
  }
  .timeline li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 24px;
  }
  .timeline li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    border: 3px solid var(--card);
    box-shadow: 0 0 0 2px var(--brand);
  }
  .timeline .year {
    font-weight: 700;
    color: var(--brand);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
  }
  .timeline .event {
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 4px;
  }

  /* Decision box */
  .decision-box {
    background: var(--brand-light);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 16px 0;
    border-left: 4px solid var(--brand);
  }
  .decision-box .scenario {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
  }
  .decision-box p { margin: 0; }

  /* FAQ */
  .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
  }
  .faq-item:last-child { border-bottom: none; padding-bottom: 0; }
  .faq-item:first-child { padding-top: 0; }
  .faq-item h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--ink);
  }
  .faq-item p { margin: 0; }

  /* Related guides */
  .related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
  }
  .related-card {
    background: #F8F9FE;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    transition: all 0.2s;
    display: block;
    color: inherit;
  }
  .related-card:hover {
    background: var(--brand-light);
    border-color: var(--brand);
    transform: translateY(-2px);
    text-decoration: none;
  }
  .related-card .related-label {
    font-size: 0.75rem;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
  }
  .related-card .related-title {
    color: var(--ink);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
  }

  /* Editorial CTA — cinematic gradient with serif headline */
  .editorial-cta {
    background:
      radial-gradient(ellipse at 0% 0%, rgba(22, 34, 194, 0.5) 0%, transparent 60%),
      linear-gradient(135deg, var(--brand-dark) 0%, #050818 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 40px 44px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
  }
  .editorial-cta h2 {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.005em;
    font-size: 1.85rem;
  }
  .editorial-cta p { color: rgba(255, 255, 255, 0.92); }
  .editorial-cta .disclosure-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
  }
  .cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--brand);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-top: 12px;
    transition: transform 0.2s;
  }
  .cta-btn:hover { transform: translateY(-1px); text-decoration: none; }

  /* Footer */
  footer {
    background: var(--ink);
    color: #C9CCDF;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
  }
  footer a { color: #C9CCDF; }
  footer p { color: #C9CCDF; max-width: 720px; margin: 0 auto 8px; }

  /* Helpers */
  .checklist {
    list-style: none;
    padding-left: 0;
  }
  .checklist li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 8px;
  }
  .checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-weight: 800;
    font-size: 1.1rem;
  }

  /* Inline SVG diagrams (reusable wrapper) */

  /* TOC */
  .toc {
    background: linear-gradient(135deg, #F8F9FE 0%, var(--brand-light) 100%);
    border: 1px solid rgba(22, 34, 194, 0.14);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin: 0 0 32px;
  }
  .toc h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 12px;
    font-weight: 700;
  }
  .toc ol {
    margin: 0;
    padding-left: 20px;
    color: var(--ink-soft);
  }
  .toc li { margin-bottom: 4px; }
  .toc a { color: var(--ink); }

  /* ============= HOME PAGE ADDITIONS ============= */

  /* Big hero for home page */
  .btn-primary {
    background: #fff;
    color: var(--brand);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s;
    display: inline-block;
  }
  .btn-primary:hover { transform: translateY(-1px); text-decoration: none; }
  .btn-ghost {
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

  /* Section wrapper for home page */

  /* Value prop grid (3 or 4 columns) */

  /* Service category grid (5 cards on home page) */

  /* How it works */
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: stretch;
  }
  .step {
    text-align: center;
    min-height: 100%;
  }
  .step h3 {
    font-size: 1.05rem;
    margin: 0 0 12px;
  }
  .step p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.55;
  }

  /* Pricing strip */

  /* Final CTA — matches cinematic hero gradient */

  /* Footer — dramatic dark navy matching cinematic style */
  footer.site-footer {
    background: #0A0F2D;
    border-top: 4px solid var(--accent);
    padding: 50px 20px 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }
  footer.site-footer a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.15s;
  }
  footer.site-footer a:hover {
    color: var(--accent);
    text-decoration: none;
  }
  footer.site-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 8px;
  }
  footer.site-footer.footer-modern > p:not(.footer-bottom) {
    display: none;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 28px;
    max-width: var(--container);
    margin: 0 auto;
    text-align: left;
  }
  .footer-brand strong,
  .footer-col strong {
    display: block;
    color: #fff;
    font-weight: 800;
    margin-bottom: 10px;
  }
  .footer-col a {
    display: block;
    margin: 0 0 8px;
  }
  .footer-bottom {
    max-width: var(--container);
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
  }

  @media (max-width: 760px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 520px) {
    .footer-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Compact hero for topic pages — dramatic dark treatment matching home */
  .topic-hero {
    background:
      radial-gradient(ellipse at 50% 30%, rgba(22, 34, 194, 0.4) 0%, transparent 60%),
      linear-gradient(180deg, #0A0F2D 0%, #0E18A0 100%);
    border-top: 4px solid var(--accent);
    border-bottom: none;
    padding: 70px 20px 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .topic-hero[data-topic="ada"] { border-top-color: var(--accent); }
  .topic-hero[data-topic="federal"] { border-top-color: var(--accent); }
  .topic-hero[data-topic="workflow"] { border-top-color: var(--accent); }
  .topic-hero[data-topic="buyers"] { border-top-color: var(--brand); }
  .topic-hero[data-topic="company"] { border-top-color: var(--accent); }
  .topic-hero[data-topic="standards"] { border-top-color: var(--brand); }
  .topic-hero[data-topic="audit"] { border-top-color: var(--accent); }

  /* Subtle blueprint grid in topic hero */
  .topic-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
  }
  .topic-hero-inner {
    position: relative;
    z-index: 2;
  }

  .topic-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
  }
  .topic-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
  }
  .topic-hero .breadcrumb a:hover {
    color: var(--accent);
  }

  .topic-hero h1 {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-shadow: 0 0 40px rgba(22, 34, 194, 0.4);
  }

  .topic-hero .subhead {
    color: rgba(255, 255, 255, 0.82);
  }
  .topic-hero-inner {
    max-width: 820px;
    margin: 0 auto;
  }
  .topic-hero .breadcrumb {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 14px;
  }
  .topic-hero .breadcrumb a { color: var(--muted); }
  .topic-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
  }

  .audit-hero {
    padding: 58px 20px 64px;
    background:
      linear-gradient(135deg, rgba(5, 8, 24, 0.98) 0%, rgba(14, 24, 160, 0.95) 58%, rgba(12, 20, 84, 0.98) 100%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 84px);
  }

  .audit-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--success), var(--brand));
    z-index: 2;
  }

  .audit-hero h1 {
    max-width: 610px;
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 14px;
  }

  .audit-hero .subhead {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
  }

  .audit-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
  }

  .audit-hero-actions .cta-btn {
    margin-top: 0;
  }

  @keyframes auditSweep {
    0%, 45% { transform: translateX(-100%); opacity: 0; }
    58% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
  }

  @keyframes auditProgress {
    0%, 100% { transform: translateX(-12%); }
    50% { transform: translateX(108%); }
  }

  @media (max-width: 640px) {
    .audit-hero {
      padding: 48px 20px 44px;
    }

    .audit-hero h1 {
      font-size: 2.15rem;
      line-height: 1.12;
    }

    .audit-hero .subhead {
      font-size: 1rem;
    }

    .audit-hero-actions,
    .audit-hero-actions .cta-btn {
      width: 100%;
    }
  }

  /* ============= MOBILE NAV TOGGLE FIX ============= */
  .menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: var(--ink);
    transition: background 0.15s, border-color 0.15s;
    margin-left: 8px;
  }
  .menu-toggle:hover {
    background: var(--brand-light);
    border-color: var(--brand);
  }
  .menu-toggle:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--brand);
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }

  #how-audit-works {
    scroll-margin-top: 120px;
  }

  @media (max-width: 1180px) {
    .menu-toggle { display: inline-flex; }
    /* Show menu-toggle inside header-actions on mobile, even though other actions are hidden */
    .header-actions { display: flex; }
    .header-actions .header-signin,
    .header-actions .header-cta { display: none; }
    /* Open-state nav: show all items + sign-in/start-free at the bottom */
    nav.main-nav.open { display: block; padding-bottom: 12px; }
    nav.main-nav.open ul { padding-bottom: 8px; }
    nav.main-nav.open::after {
      content: '';
      display: block;
      height: 1px;
      background: var(--border);
      margin: 0 20px;
    }
    nav.main-nav.open .mobile-cta-row {
      display: flex;
      gap: 12px;
      padding: 16px 20px 4px;
      align-items: center;
    }
    nav.main-nav .mobile-cta-row { display: none; }
    nav.main-nav.open .mobile-cta-row .header-signin,
    nav.main-nav.open .mobile-cta-row .header-cta { display: inline-block; }
  }

  /* ============= CONTACT ============= */

  /* ============= SAMPLE DOCUMENT (real PDF showcase) ============= */
  /* When a sample doc uses the .before-after grid, real images replace placeholders */
  .before-after-card > img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: block;
    margin: 6px 0 0;
  }

  #scanned-pdf-examples .before-after-card > img {
    aspect-ratio: 461 / 602;
    object-fit: contain;
    object-position: center center;
    background: #fff;
  }

  #scanned-pdf-examples .before-after-card {
    display: flex;
    flex-direction: column;
  }

  .before-after-download {
    align-self: flex-start;
    margin-top: auto;
  }

  .case-study .before-after {
    align-items: stretch;
  }

  .case-study .before-after-card {
    display: flex;
    flex-direction: column;
  }

  .case-study .before-after-card > img {
    height: clamp(520px, 62vw, 720px);
    object-fit: contain;
    background: #fff;
  }

  .case-study .before-after-card .image-caption {
    margin-top: 12px;
  }

  @media (max-width: 760px) {
    .case-study .before-after-card > img {
      height: auto;
      max-height: none;
    }
  }
  .download-btn-secondary {
    background: transparent;
    color: var(--brand);
    border: 1.5px solid var(--brand-light);
  }
  .download-btn-secondary:hover {
    background: #fff;
    color: var(--brand-dark);
    border-color: var(--brand);
    box-shadow: none;
  }
  .first-pass-callout {
    background: var(--brand-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0 0;
    font-size: 1rem;
    color: var(--ink);
  }
  .first-pass-callout strong { color: var(--ink); }

  /* Legacy .sample-document grid (still defined for backward compat with any other usage) */

  .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand);
    color: #fff;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.15s, box-shadow 0.2s, transform 0.15s;
  }
  .download-btn:hover {
    background: var(--brand-dark);
    box-shadow: 0 0 0 2px rgba(255, 180, 0, 0.55), 0 6px 16px rgba(11, 15, 44, 0.12);
    text-decoration: none;
    color: #fff;
  }
  .download-btn svg {
    width: 16px;
    height: 16px;
  }

  /* ============= OCR EXAMPLES ============= */

  /* ============= CASE STUDIES ============= */

  .case-study { margin-bottom: 32px; }

  .before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
  }
  .before-after-card {
    background: #F8F9FE;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px 18px;
  }
  .before-after-card .before-after-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
  }
  .before-after-card.before .before-after-label {
    color: #7A5200;
    background: rgba(255, 180, 0, 0.20);
  }
  .before-after-card.after .before-after-label {
    color: var(--brand);
    background: rgba(22, 34, 194, 0.12);
  }
  .before-after-card .image-caption {
    margin: 12px 0 0;
    font-size: 0.85rem;
    color: var(--muted);
  }

  .case-study-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 16px 0 0;
  }
  .case-study-stats .stat-card {
    background: var(--brand-light);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    text-align: center;
  }
  .case-study-stats .stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
  }
  .case-study-stats .stat-label {
    font-size: 0.78rem;
    color: var(--ink-soft);
    margin-top: 4px;
  }

  @media (max-width: 640px) {
    .before-after { grid-template-columns: 1fr; }
  }

  /* ============= HOME-SECTION EYEBROWS ============= */
  .section-eyebrow {
    font-family: 'Fraunces', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--brand);
    text-align: center;
    margin: 0 0 4px;
    letter-spacing: 0.01em;
  }

  /* ============= HOME SECTION TYPOGRAPHY UNIFICATION ============= */
  /* Home-section h2s use the cinematic serif so editorial type carries through */
  /* Big featured numbers across the body use the same serif */
  .case-study-stats .stat-num {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.005em;
  }
  /* Pricing strip's headline + price both feel more editorial */

  /* Primary buttons get a subtle gold ring on hover, tying body CTAs to hero gold */
  .btn-primary,
  .editorial-cta .cta-btn {
    transition: background 0.15s, transform 0.15s, box-shadow 0.2s, color 0.15s;
  }
  .btn-primary:hover {
    box-shadow: 0 0 0 2px rgba(255, 180, 0, 0.55), 0 6px 16px rgba(11, 15, 44, 0.12);
  }
  .editorial-cta .cta-btn:hover {
    box-shadow: 0 0 0 2px var(--accent);
  }

  /* ============= STAT MOMENT (full-bleed dark band) ============= */
  /* Faint concentric ring echo of cinematic hero */

  /* ============= VALUE CARD HOVER (subtle lift + animated accent line) ============= */
  /* Service-card gets the same bottom-line treatment */

  /* ============= CINEMATIC HERO (home page) ============= */

  .cinematic-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    background:
      radial-gradient(ellipse at 50% 35%, rgba(22, 34, 194, 0.45) 0%, transparent 55%),
      radial-gradient(ellipse at 50% 80%, rgba(255, 180, 0, 0.06) 0%, transparent 50%),
      linear-gradient(180deg, #0A0F2D 0%, #050818 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 128px 20px 96px;
    overflow: hidden;
  }

  /* Subtle blueprint grid overlay */

  /* Concentric rings behind text (echo of Brakebills' clock face) */
  .cinematic-hero::before,
  .cinematic-hero::after {
    content: '';
    position: absolute;
    top: 47%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
  }
  .cinematic-hero::before {
    width: 620px;
    height: 620px;
    max-width: 95vw;
    max-height: 95vw;
    transform: translate(-50%, -50%);
    --hero-ring-rest: rgba(255, 180, 0, 0.12);
    border: 1px solid var(--hero-ring-rest);
  }
  .cinematic-hero::after {
    width: 420px;
    height: 420px;
    max-width: 75vw;
    max-height: 75vw;
    transform: translate(-50%, -50%);
    --hero-ring-rest: rgba(255, 180, 0, 0.18);
    border: 1px solid var(--hero-ring-rest);
  }

  /* Homepage opening sequence: grid, expanding rings, then interface content. */

  /* Keep the navigation and hero content visible from the first paint.
     The opening animation applies only to decorative rings. */

  @keyframes hero-ring-arrive {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.03);
    }
    7% {
      opacity: 0.9;
    }
    20% {
      opacity: 1;
    }
    100% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1);
    }
  }

  @keyframes hero-ring-settle {
    0% {
      border-color: rgba(255, 180, 0, 0.88);
    }
    100% {
      border-color: var(--hero-ring-rest);
    }
  }

  @keyframes hero-interface-fade {
    from {
      opacity: 0;
      transform: none;
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  /* Bottom corners (mirroring Brakebills layout) */

  @media (max-width: 768px) {
    .cinematic-hero {
      padding: 92px 20px 76px;
      min-height: 100vh;
      min-height: 100svh;
    }
    .cinematic-hero::before,
    .cinematic-hero::after {
      top: 46%;
    }
  }

  /* Header transparent mode (over dark hero) — fixed so the hero starts at body top */
  .site-header.transparent-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    will-change: background-color;
  }
  .site-header.transparent-mode nav.main-nav > ul > li > a,
  .site-header.transparent-mode .nav-dropdown details summary,
  .site-header.transparent-mode .header-signin {
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s;
  }
  .site-header.transparent-mode nav.main-nav > ul > li > a:hover,
  .site-header.transparent-mode .nav-dropdown details summary:hover,
  .site-header.transparent-mode .nav-dropdown details[open] summary,
  .site-header.transparent-mode .header-signin:hover {
    color: var(--accent);
  }
  .site-header.transparent-mode .logo-img {
    filter: brightness(0) invert(1);
  }
  .site-header.transparent-mode .menu-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
  }
  .site-header.transparent-mode .menu-toggle span,
  .site-header.transparent-mode .menu-toggle svg {
    stroke: #fff;
  }
  .site-header.transparent-mode .header-cta {
    background: var(--accent);
    color: #050818;
  }
  .site-header.transparent-mode .header-cta:hover {
    background: #fff;
    color: var(--brand);
  }
  /* Scrolled state: revert to white header */
  .site-header.transparent-mode.scrolled {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(11, 15, 44, 0.04);
  }
  .site-header.transparent-mode.scrolled nav.main-nav > ul > li > a,
  .site-header.transparent-mode.scrolled .nav-dropdown details summary,
  .site-header.transparent-mode.scrolled .header-signin {
    color: var(--ink-soft);
  }
  .site-header.transparent-mode.scrolled .logo-img { filter: none; }
  .site-header.transparent-mode.scrolled .menu-toggle {
    border-color: var(--border);
    color: var(--ink);
  }
  .site-header.transparent-mode.scrolled .menu-toggle span,
  .site-header.transparent-mode.scrolled .menu-toggle svg {
    stroke: var(--ink);
  }
  .site-header.transparent-mode.scrolled .header-cta {
    background: var(--brand);
    color: #fff;
  }

  /* Serif treatment for topic page h1 (matching cinematic typography) */
  .topic-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.005em;
  }

  /* Intro section right after cinematic hero (replaces the lede) */

  /* ============= PRODUCT-LED HOMEPAGE PASS ============= */

  .dashboard-preview {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), #F8F9FE);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-sm);
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.34),
      0 0 0 1px rgba(255, 180, 0, 0.12);
    overflow: hidden;
    position: relative;
  }

  .context-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
  }
  .context-cta-row .header-cta,
  .context-cta-row .cta-btn {
    margin-top: 0;
  }
  .claim-note {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
    margin-top: 10px;
  }

  .contact-form-block {
    display: grid;
    gap: 18px;
  }

  .placeholder-contact-form {
    display: grid;
    gap: 16px;
    max-width: 860px;
  }

  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .placeholder-contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 700;
  }

  .placeholder-contact-form input,
  .placeholder-contact-form select,
  .placeholder-contact-form textarea {
    width: 100%;
    border: 2px solid rgba(22, 34, 194, 0.32);
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(11, 15, 44, 0.04);
  }

  .placeholder-contact-form input::placeholder,
  .placeholder-contact-form textarea::placeholder {
    color: #65708A;
    opacity: 1;
  }

  .placeholder-contact-form textarea {
    resize: vertical;
    min-height: 150px;
  }

  .placeholder-contact-form input:hover,
  .placeholder-contact-form select:hover,
  .placeholder-contact-form textarea:hover {
    border-color: rgba(22, 34, 194, 0.56);
  }

  .placeholder-contact-form input:focus,
  .placeholder-contact-form select:focus,
  .placeholder-contact-form textarea:focus {
    outline: 3px solid rgba(0, 135, 255, 0.28);
    border-color: var(--brand);
  }

  .placeholder-contact-form .btn-primary {
    justify-self: start;
  }

  .form-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
  }

  @media (max-width: 980px) {
    .dashboard-preview {
      width: min(640px, 100%);
      margin: 0 auto;
    }
  }

  @media (max-width: 560px) {
    .site-header .header-inner {
      max-width: 390px;
      margin-left: 0;
      margin-right: auto;
    }
    .form-grid {
      grid-template-columns: 1fr;
    }
  }

  /* ============= DROPDOWN NAV MENUS ============= */

  .nav-dropdown { position: relative; }
  .nav-dropdown details summary {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.15;
    white-space: nowrap;
    user-select: none;
    transition: color 0.15s;
  }
  .nav-dropdown details summary::-webkit-details-marker { display: none; }
  .nav-dropdown details summary:hover,
  .nav-dropdown details[open] summary { color: var(--brand); }

  .nav-dropdown details summary::after {
    content: '';
    width: 7px;
    height: 7px;
    margin-left: 1px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    flex-shrink: 0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s;
  }
  .nav-dropdown details[open] summary::after {
    transform: rotate(-135deg) translateY(2px);
  }

  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: -16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    min-width: 260px;
    flex-direction: column;
    z-index: 110;
    display: none;
  }
  .nav-dropdown details[open] .nav-dropdown-menu { display: flex; }
  .nav-dropdown-menu a {
    padding: 10px 18px;
    color: var(--ink-soft);
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
  }

  .nav-dropdown-menu a:hover {
    background: var(--brand-light);
    color: var(--brand);
    text-decoration: none;
  }

  /* Mobile: dropdown expands inline inside the drawer */
  @media (max-width: 1180px) {
    nav.main-nav li.nav-dropdown { padding: 0; }
    .nav-dropdown details summary {
      padding: 12px 0;
      width: 100%;
      justify-content: space-between;
      font-size: inherit;
    }
    .nav-dropdown-menu {
      position: static;
      box-shadow: none;
      border: none;
      background: transparent;
      margin: 0;
      padding: 0 0 8px 16px;
      min-width: 0;
    }
    .nav-dropdown-menu a {
      padding: 8px 0;
    }
  }

  /* ============= BUYER'S GUIDE PUBLISHER CALLOUTS ============= */

  /* Place differs-callout cleanly inside vendor accordion */

  /* ============= ACCORDIONS (details/summary) ============= */

  /* Hide native disclosure markers on every details */
  details > summary::-webkit-details-marker { display: none; }
  details > summary { list-style: none; cursor: pointer; }

  /* FAQ accordion */
  details.faq-item { padding: 0; }
  details.faq-item > summary {
    padding: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.15s;
  }
  details.faq-item:first-child > summary { padding-top: 0; }
  details.faq-item[open] > summary { padding-bottom: 12px; }

  details.faq-item > summary h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--ink);
    font-weight: 700;
    flex: 1;
    line-height: 1.4;
  }

  details.faq-item > summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease, border-color 0.2s ease;
    margin-top: 8px;
    flex-shrink: 0;
  }

  details.faq-item[open] > summary::after {
    transform: rotate(-135deg);
    border-color: var(--brand);
  }

  details.faq-item > summary:hover h3,
  details.faq-item[open] > summary h3 { color: var(--brand); }

  details.faq-item > summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px var(--brand);
    border-radius: 4px;
  }

  details.faq-item > p,
  details.faq-item > ul,
  details.faq-item > ol {
    padding-bottom: 20px;
    margin: 0 0 12px;
  }
  details.faq-item > p:last-child { margin-bottom: 0; }
  details.faq-item:last-child[open] > p:last-child,
  details.faq-item:last-child[open] > ul:last-child,
  details.faq-item:last-child[open] > ol:last-child { padding-bottom: 0; }

  /* Vendor block accordion */

  /* Decision-box accordion */
  details.decision-box > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  details.decision-box > summary .scenario {
    font-weight: 700;
    color: var(--ink);
    flex: 1;
    margin: 0;
  }
  details.decision-box[open] > summary .scenario { margin-bottom: 6px; }

  details.decision-box > summary::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }
  details.decision-box[open] > summary::after { transform: rotate(-135deg); }

  /* ============= BRAND COHERENCE PASS ============= */

  body {
    background:
      linear-gradient(180deg, #F8F9FE 0%, #F4F5FA 42%, #EEF1FB 100%);
  }

  .topic-hero {
    background:
      radial-gradient(ellipse at 50% 25%, rgba(22, 34, 194, 0.48) 0%, transparent 58%),
      radial-gradient(ellipse at 15% 10%, rgba(255, 180, 0, 0.10) 0%, transparent 34%),
      linear-gradient(180deg, #0A0F2D 0%, #050818 100%);
    border-top-color: var(--accent);
  }
  .topic-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 54%;
    width: min(620px, 86vw);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 180, 0, 0.16);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
  }
  .topic-hero-inner {
    max-width: 860px;
  }
  .topic-hero .breadcrumb,
  .topic-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.68);
  }
  .topic-hero .breadcrumb a:hover {
    color: var(--accent);
  }
  .topic-hero h1 {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.15rem, 5vw, 4.4rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 0 44px rgba(22, 34, 194, 0.38);
  }
  .topic-hero .subhead {
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-left: auto;
    margin-right: auto;
  }
  .topic-hero[data-topic="ada"] .subhead {
    margin-top: clamp(18px, 2.4vw, 30px);
  }

  .topic-hero.audit-hero {
    padding: 38px 20px 42px;
    border-top: 0;
    background:
      linear-gradient(135deg, rgba(5, 8, 24, 0.98) 0%, rgba(14, 24, 160, 0.95) 58%, rgba(12, 20, 84, 0.98) 100%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 84px);
  }

  .topic-hero.audit-hero::after {
    display: none;
  }

  .audit-hero h1 {
    max-width: 660px;
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 14px;
  }

  .audit-hero .subhead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
  }

  @media (max-width: 640px) {
    .topic-hero.audit-hero {
      padding: 48px 20px 44px;
    }

    .audit-hero h1 {
      font-size: 2.15rem;
      line-height: 1.12;
    }

    .audit-hero .subhead {
      font-size: 1rem;
    }
  }

  main:not(.home-main) {
    padding-top: 36px;
  }

  .content-block h2,
  .content-block h3,
  .quick-answer h2,
  .toc h2 {
    letter-spacing: 0;
  }
  .content-block > h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 650;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
  }
  .content-block > p,
  .content-block > ul,
  .content-block > ol,
  .content-block > details,
  .content-block > .checklist {
    max-width: 820px;
  }
  .content-block p,
  .content-block li {
    line-height: 1.72;
  }
  .content-block strong {
    color: var(--ink);
  }

  .decision-box {
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 180, 0, 0.12), transparent 32%),
      #F8F9FE;
    border-left-color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(22, 34, 194, 0.06);
  }

  .related-card,
  .step {
    border-radius: var(--radius-sm);
  }

  .related-card {
    background:
      linear-gradient(180deg, #fff 0%, #F8F9FE 100%);
    border-color: rgba(22, 34, 194, 0.12);
  }

  .faq-item summary {
    cursor: pointer;
  }
  .faq-item summary h3 {
    display: inline;
  }

  .step {
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 180, 0, 0.10), transparent 34%),
      linear-gradient(180deg, #fff 0%, #F9FAFF 100%);
    border-color: rgba(22, 34, 194, 0.12);
  }

  .steps {
    margin-top: -14px;
  }
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 24px 28px;
    border: 1px solid rgba(22, 34, 194, 0.10);
    box-shadow: var(--shadow-sm);
  }
  .step h3 {
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
  }
  .step p {
    max-width: 29ch;
  }

  .step h3 {
    margin-top: 0;
  }

  @media (max-width: 640px) {
    main:not(.home-main) {
      padding-top: 24px;
    }
    .topic-hero {
      padding-top: 58px;
      padding-bottom: 42px;
    }
    .content-block::before {
      width: 3px;
    }
  }

  /* ============= BUTTON SYSTEM ============= */

  .header-cta,
  .btn-primary,
  .cta-btn,
  .download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 180, 0, 0.72);
    border-radius: var(--radius-sm);
    background:
      linear-gradient(180deg, #FFC64A 0%, var(--accent) 100%);
    color: #050818;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    box-shadow:
      0 0 0 1px rgba(255, 180, 0, 0.18),
      0 10px 24px rgba(11, 15, 44, 0.14);
    transition:
      transform 0.16s ease,
      box-shadow 0.16s ease,
      background 0.16s ease,
      border-color 0.16s ease;
  }

  .header-cta,
  .btn-primary,
  .cta-btn,
  .download-btn,
  .btn-ghost,
  .download-btn-secondary,
  .header-signin {
    border-radius: 0;
  }

  .header-cta:hover,
  .btn-primary:hover,
  .cta-btn:hover,
  .download-btn:hover {
    background:
      linear-gradient(180deg, #FFD36A 0%, #FFB400 100%);
    color: #050818;
    border-color: #FFD36A;
    box-shadow:
      0 0 0 2px rgba(255, 180, 0, 0.28),
      0 14px 30px rgba(11, 15, 44, 0.20);
    transform: translateY(-1px);
    text-decoration: none;
  }

  .header-cta:active,
  .btn-primary:active,
  .cta-btn:active,
  .download-btn:active {
    transform: translateY(0);
  }

  .btn-ghost,
  .download-btn-secondary,
  .header-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(22, 34, 194, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition:
      transform 0.16s ease,
      background 0.16s ease,
      border-color 0.16s ease,
      color 0.16s ease,
      box-shadow 0.16s ease;
  }

  .btn-ghost:hover,
  .download-btn-secondary:hover,
  .header-signin:hover {
    background: #fff;
    color: var(--brand-dark);
    border-color: rgba(255, 180, 0, 0.58);
    box-shadow: 0 8px 22px rgba(11, 15, 44, 0.10);
    transform: translateY(-1px);
    text-decoration: none;
  }

  .site-header.transparent-mode .header-signin,
  .site-header.transparent-mode.scrolled .header-signin {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.88);
  }
  .site-header.transparent-mode.scrolled .header-signin {
    color: var(--ink-soft);
  }
  .site-header.transparent-mode .header-signin:hover,
  .site-header.transparent-mode.scrolled .header-signin:hover {
    color: var(--accent);
    transform: none;
    background: transparent;
  }

  .editorial-cta .cta-btn,
  .editorial-cta .cta-btn:hover {
    color: #050818;
  }

  .editorial-cta .cta-btn {
    box-shadow:
      0 0 0 1px rgba(255, 180, 0, 0.22),
      0 12px 28px rgba(0, 0, 0, 0.24);
  }

  nav.main-nav .mobile-cta-row .header-cta,
  nav.main-nav .mobile-cta-row .header-cta:hover {
    color: #050818;
  }

  details.decision-box > summary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px var(--brand);
    border-radius: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* ============= SALES / SEO PAGE COMPONENTS ============= */

  .answer-panel {
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 180, 0, 0.14), transparent 34%),
      linear-gradient(135deg, #FFFFFF 0%, #F7F8FE 100%);
    border: 1px solid rgba(22, 34, 194, 0.14);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 26px 30px;
    margin: 0 0 32px;
    box-shadow: var(--shadow-sm);
  }
  .answer-panel .answer-label {
    display: inline-block;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .answer-panel h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    font-weight: 650;
    margin-bottom: 10px;
  }
  .answer-panel p {
    font-size: 1.03rem;
  }

  .audit-main {
    padding-top: 48px;
    overflow-x: hidden;
  }

  .topic-hero.audit-hero {
    min-width: 0;
    max-width: 100%;
  }

  @media (max-width: 640px) {
    .audit-hero h1 {
      max-width: 100%;
      font-size: 1.95rem;
    }

    .audit-hero .subhead {
      overflow-wrap: break-word;
    }
  }

  .proof-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin: 24px 0;
  }
  .proof-tile {
    background:
      linear-gradient(180deg, #FFFFFF 0%, #F9FAFF 100%);
    border: 1px solid rgba(22, 34, 194, 0.12);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
  }
  .proof-tile strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .proof-tile span {
    display: block;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.55;
  }

  .split-proof {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
  }
  .split-proof .proof-visual {
    background:
      radial-gradient(circle at 30% 20%, rgba(255, 180, 0, 0.18), transparent 34%),
      linear-gradient(180deg, #0A0F2D 0%, #050818 100%);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 180, 0, 0.18);
    color: #fff;
    padding: 26px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
  }
  .proof-visual::after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 240px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 180, 0, 0.22);
    border-radius: 50%;
  }
  .proof-visual .proof-kicker {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }
  .proof-visual .proof-number {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(3rem, 9vw, 5.4rem);
    line-height: 0.9;
    margin: 28px 0 12px;
  }
  .proof-visual p {
    color: rgba(255, 255, 255, 0.86);
    position: relative;
    z-index: 1;
  }

  .source-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 18px;
  }
  .source-list a {
    display: block;
    background: #F8F9FE;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--ink);
    font-weight: 650;
  }
  .source-list a:hover {
    background: var(--brand-light);
    color: var(--brand);
    text-decoration: none;
  }

  .persona-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 20px;
  }
  .persona-card {
    border: 1px solid rgba(22, 34, 194, 0.12);
    border-radius: var(--radius-sm);
    padding: 20px;
    background: #fff;
  }
  .persona-card h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
  }
  .persona-card p {
    margin: 0;
    font-size: 0.93rem;
  }

  /* Keep Fraunces for brand moments only. Normal page headings render sharper in the UI font. */
  .topic-hero h1,
  .content-block > h2,
  .answer-panel h2,
  .editorial-cta h2 {
    font-family: var(--font);
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: none;
  }

  .section-eyebrow {
    font-family: var(--font);
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  @media (max-width: 760px) {
    .split-proof {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 1180px) {
    .site-header .header-actions {
      display: flex !important;
      position: relative;
      z-index: 2;
    }

    .site-header .menu-toggle {
      display: inline-flex !important;
    }

    .site-header .header-actions > .header-signin,
    .site-header .header-actions > .header-cta {
      display: none !important;
    }

    .site-header.transparent-mode .menu-toggle {
      background: rgba(255, 255, 255, 0.08);
    }

    .site-header.transparent-mode nav.main-nav.open {
      background: var(--card);
      border-bottom: 1px solid var(--border);
    }

    .site-header.transparent-mode nav.main-nav.open > ul > li > a,
    .site-header.transparent-mode nav.main-nav.open .nav-dropdown details summary,
    .site-header.transparent-mode nav.main-nav.open .nav-dropdown-menu a {
      color: var(--ink-soft);
    }

    .site-header.transparent-mode nav.main-nav.open > ul > li > a:hover,
    .site-header.transparent-mode nav.main-nav.open .nav-dropdown details summary:hover,
    .site-header.transparent-mode nav.main-nav.open .nav-dropdown details[open] summary,
    .site-header.transparent-mode nav.main-nav.open .nav-dropdown-menu a:hover {
      color: var(--brand);
    }

    .site-header.transparent-mode nav.main-nav.open .mobile-cta-row {
      justify-content: flex-start;
    }

    .site-header.transparent-mode nav.main-nav.open .mobile-cta-row a.header-signin {
      color: var(--brand-dark) !important;
      background: #fff !important;
      border: 1px solid rgba(22, 34, 194, 0.30) !important;
      border-radius: var(--radius-sm);
      padding: 11px 26px;
      font-weight: 800;
      box-shadow: 0 8px 20px rgba(11, 15, 44, 0.08);
    }

    .site-header.transparent-mode nav.main-nav.open .mobile-cta-row a.header-signin:hover {
      color: #fff !important;
      background: var(--brand) !important;
      border-color: var(--brand) !important;
      text-decoration: none;
    }

    .site-header.transparent-mode nav.main-nav.open .mobile-cta-row a.header-cta {
      color: #050818 !important;
      background: var(--accent) !important;
      border: 1px solid var(--accent) !important;
      box-shadow: 0 10px 22px rgba(255, 180, 0, 0.20);
    }

    .site-header.transparent-mode nav.main-nav.open .mobile-cta-row a.header-cta:hover {
      color: #050818 !important;
      background: #FFD15A !important;
      border-color: #FFD15A !important;
      text-decoration: none;
    }
  }

  /* Crisp audit geometry: square major controls and document/workflow surfaces. */
  .audit-modal-panel,
  .audit-toast,
  .quick-answer,
  .content-block,
  .compare-table-wrap,
  .decision-box,
  .related-card,
  .editorial-cta,
  .toc,
  .first-pass-callout,
  .before-after-card,
  .case-study-stats .stat-card,
  .dashboard-preview,
  .placeholder-contact-form input,
  .placeholder-contact-form select,
  .placeholder-contact-form textarea,
  .nav-dropdown-menu,
  .answer-panel,
  .proof-tile,
  .split-proof .proof-visual,
  .source-list a,
  .persona-card {
    border-radius: 0;
  }

  /* Shared progressive enhancements. Content stays visible until JS opts in. */

  .reading-progress {
    position: fixed;
    z-index: 1200;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    pointer-events: none;
  }

  .reading-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--accent);
  }

  .editorial-byline {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.86rem;
  }

  .editorial-byline strong { color: var(--ink); }

  .editorial-byline a {
    color: var(--ink);
    font-weight: 700;
  }

  .document-compare {
    --compare-position: 50%;
    position: relative;
    max-width: 760px;
    margin: 24px auto;
  }

  .document-compare-stage {
    position: relative;
    aspect-ratio: 1224 / 1584;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #eef1f7;
  }

  .document-compare-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .document-compare-after {
    clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
  }

  .document-compare-line {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: var(--compare-position);
    width: 3px;
    transform: translateX(-1px);
    background: var(--accent);
    pointer-events: none;
  }

  .document-compare input[type="range"] {
    width: 100%;
    margin-top: 14px;
    accent-color: var(--brand);
  }

  .document-compare-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
  }

  /* Dashboard explainer page */
  .dashboard-topic-hero .section-eyebrow {
    margin: 0 0 18px;
    color: var(--brand);
  }

  .dashboard-feature-page {
    width: min(1380px, calc(100% - 28px));
    max-width: none;
    margin: 0 auto;
    padding: 80px 0 110px;
  }

  .dashboard-live-demo-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
  }

  .dashboard-live-demo-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 14px 22px;
    text-align: center;
  }

  .dashboard-live-demo-actions .secondary-btn {
    border: 1px solid var(--brand);
    background: #fff;
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
  }

  .dashboard-live-demo-actions .secondary-btn:hover {
    background: var(--brand-light);
  }

  @media (max-width: 820px) {
    .dashboard-feature-page {
      width: min(100% - 28px, 1180px);
      padding: 54px 0 76px;
    }

    .dashboard-live-demo-actions {
      display: grid;
    }

    .dashboard-live-demo-actions a {
      width: 100%;
    }
  }

  /* Free Dashboard launch-offer page */

  /* Longer industry-focused homepage headline */
/* Blog index and article */
.blog-shell{width:min(1160px,calc(100% - 40px));margin-inline:auto}.blog-index-hero{padding:96px 0 84px;background:linear-gradient(135deg,#071a2f 0%,#123c62 70%,#946d2e 140%);color:#fff}.blog-index-hero .section-eyebrow{color:#e4bd78}.blog-index-hero h1{max-width:850px;margin:10px 0 20px;font-size:clamp(2.7rem,6vw,5.3rem);line-height:.98;letter-spacing:-.04em}.blog-index-hero p:last-child{max-width:700px;margin:0;color:#d8e4ef;font-size:1.2rem;line-height:1.7}.blog-listing{padding:76px 0 110px}.blog-listing-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:34px}.blog-listing-heading h2{margin:4px 0 0;font-size:clamp(2rem,4vw,3.25rem)}.blog-listing-heading>p{max-width:390px;margin:0;color:#5c6b77}.blog-card-featured{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);overflow:hidden;border:1px solid #dbe3e9;border-radius:22px;background:#fff;box-shadow:0 20px 55px rgba(8,28,45,.1)}.blog-card-image{display:block;min-height:420px;overflow:hidden}.blog-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.blog-card-image:hover img{transform:scale(1.025)}.blog-card-copy{display:flex;flex-direction:column;justify-content:center;padding:48px}.blog-kicker{margin:0 0 12px;color:#9a6c20;font-size:.76rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.blog-card-copy h3{margin:0 0 18px;font-family:Fraunces,serif;font-size:clamp(1.8rem,3vw,2.55rem);line-height:1.08}.blog-card-copy h3 a{color:#10283e;text-decoration:none}.blog-card-copy>p:not(.blog-kicker){color:#546674;line-height:1.75}.blog-read-link{display:inline-flex;align-items:center;gap:8px;margin-top:14px;color:#174e78;font-weight:700;text-decoration:none}.blog-read-link:hover{text-decoration:underline}

.blog-article-hero{position:relative;display:grid;align-items:center;min-height:640px;overflow:hidden;background:#061629;color:#fff}.blog-article-hero>img,.blog-article-hero-overlay,.blog-article-hero-copy{grid-area:1/1}.blog-article-hero>img{width:100%;height:100%;min-height:640px;object-fit:cover}.blog-article-hero-overlay{align-self:stretch;background:linear-gradient(90deg,rgba(3,16,29,.96) 0%,rgba(3,16,29,.87) 38%,rgba(3,16,29,.22) 72%,rgba(3,16,29,.08) 100%)}.blog-article-hero-copy{position:relative;z-index:1;width:min(1160px,calc(100% - 40px));margin-inline:auto;padding:76px 0}.blog-breadcrumb{display:flex;gap:10px;margin-bottom:80px;font-size:.9rem}.blog-breadcrumb a{color:#d6e4ef}.blog-article-hero-copy h1{max-width:760px;margin:12px 0 22px;font-size:clamp(2.8rem,6vw,5.1rem);line-height:.99;letter-spacing:-.04em}.blog-article-hero-copy .blog-kicker{color:#e6bd75}.blog-deck{max-width:640px;margin:0;color:#dbe7ef;font-size:1.16rem;line-height:1.65}.blog-article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(260px,340px);gap:74px;align-items:start;padding-top:84px;padding-bottom:100px}.blog-article-body{color:#2b3b46;font-size:1.08rem;line-height:1.85}.blog-article-body p{margin:0 0 1.5em}.blog-article-body .blog-lede{color:#132f46;font-family:Fraunces,serif;font-size:1.52rem;line-height:1.55}.blog-article-body h2{margin:2.1em 0 .65em;color:#10283e;font-size:clamp(2rem,4vw,3rem);line-height:1.08}.blog-article-body h3{margin:2em 0 .7em;color:#173a55;font-size:1.45rem}.blog-article-body ul{margin:0 0 2em;padding-left:1.25em}.blog-article-body li{margin-bottom:.85em;padding-left:.3em}.blog-article-body a{color:#12619a;text-underline-offset:3px}.blog-callout{margin:46px 0;padding:32px 34px;border-left:5px solid #d4a95e;border-radius:0 14px 14px 0;background:#f2f7fa}.blog-callout p:last-child{margin:0;color:#16364f;font-family:Fraunces,serif;font-size:1.42rem;line-height:1.45}.blog-disclaimer{margin-top:50px!important;padding-top:24px;border-top:1px solid #dce4e8;color:#687781;font-size:.88rem}.blog-article-aside{position:relative}.blog-sticky-card{position:sticky;top:110px;padding:32px;border:1px solid #d8e2e8;border-radius:18px;background:#f7fafc;box-shadow:0 12px 34px rgba(11,39,60,.08)}.blog-sticky-card h2{margin:8px 0 14px;font-size:1.8rem}.blog-sticky-card p:not(.blog-kicker){color:#5a6d7a;line-height:1.65}.blog-sticky-card .cta-btn{display:block;margin-top:24px;text-align:center}.blog-back-cta{padding:60px 0;background:#eef4f7}.blog-back-cta .blog-shell{display:flex;align-items:center;justify-content:space-between;gap:30px}.blog-back-cta h2{margin:4px 0 0;font-size:clamp(1.8rem,3vw,2.6rem)}

@media(max-width:900px){.blog-card-featured{grid-template-columns:1fr}.blog-card-image{min-height:320px}.blog-article-hero,.blog-article-hero>img{min-height:600px}.blog-article-hero>img{object-position:62% center}.blog-article-hero-overlay{background:linear-gradient(90deg,rgba(3,16,29,.94),rgba(3,16,29,.58))}.blog-article-layout{grid-template-columns:1fr;gap:40px}.blog-sticky-card{position:static}.blog-article-aside{order:-1}.blog-breadcrumb{margin-bottom:55px}}
@media(max-width:640px){.blog-shell,.blog-article-hero-copy{width:min(100% - 28px,1160px)}.blog-index-hero{padding:70px 0 62px}.blog-listing{padding:56px 0 78px}.blog-listing-heading,.blog-back-cta .blog-shell{align-items:flex-start;flex-direction:column}.blog-card-copy{padding:30px 26px}.blog-card-image{min-height:240px}.blog-article-hero,.blog-article-hero>img{min-height:620px}.blog-article-hero>img{object-position:68% center}.blog-article-hero-overlay{background:linear-gradient(90deg,rgba(3,16,29,.95) 0%,rgba(3,16,29,.77) 62%,rgba(3,16,29,.35) 100%)}.blog-article-hero-copy{padding:58px 0}.blog-article-hero-copy h1{font-size:clamp(2.4rem,12vw,3.8rem)}.blog-breadcrumb{margin-bottom:42px}.blog-article-layout{padding-top:56px;padding-bottom:70px}.blog-article-body{font-size:1rem}.blog-article-body .blog-lede{font-size:1.3rem}.blog-callout{padding:26px 24px}}
.blog-index-hero h1,.blog-article-hero-copy h1{color:#fff}
.blog-index-hero{width:min(1240px,calc(100vw - 48px));max-width:none;margin-left:calc((100% - min(1240px,calc(100vw - 48px)))/2)}
@media(max-width:640px){.blog-index-hero{width:calc(100vw - 28px);margin-left:calc((100% - (100vw - 28px))/2)}}
.blog-index-hero .blog-shell{text-align:center}.blog-index-hero h1{max-width:1000px;margin:10px auto 20px;text-align:center}
.blog-index-hero .blog-shell .blog-index-intro{margin:0 auto;text-align:center}

/* ============= HOMEPAGE LAUNCH DESIGN ============= */

/* Schools & universities landing page */
.education-page {
  --education-navy: #07112f;
  --education-blue: #1622c2;
  --education-cobalt: #2739e8;
  --education-sky: #eef3ff;
  --education-gold: #ffb400;
  --education-line: #dce2f2;
  background: #fff;
}

.education-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.education-page main.education-main {
  padding: 0;
}

.education-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 7vw, 102px) clamp(28px, 4.5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 84% 14%, rgba(46, 74, 255, 0.42), transparent 34%),
    linear-gradient(112deg, #08122f 0%, #101a58 58%, #080e29 100%);
}

.education-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.education-hero-inner {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.education-hero-inner {
  display: grid;
  width: min(1380px, 100%);
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 5vw, 76px);
}

.education-hero-copy {
  max-width: 720px;
}

.education-hero-copy > h1:first-child {
  margin-top: 0;
}

.education-kicker {
  margin: 0 0 14px;
  color: var(--education-cobalt);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.education-hero .education-kicker {
  color: var(--education-gold);
}

.education-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.8rem, 5.4vw, 5.45rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.education-hero-lede {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.education-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.education-page .btn-primary,
.education-page .btn-ghost {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.education-page .btn-primary {
  background: var(--education-gold);
  color: #10152c;
  box-shadow: 0 10px 28px rgba(255, 180, 0, 0.19);
}

.education-page .btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.education-page .btn-primary:hover,
.education-page .btn-ghost:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.education-page .btn-primary:hover {
  background: #ffc43d;
}

.education-page .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.education-hero-media {
  position: relative;
  margin: 0;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
  transform: rotate(1.2deg);
}

.education-hero-media::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  height: 42%;
  border-right: 2px solid var(--education-gold);
  border-bottom: 2px solid var(--education-gold);
  border-radius: 0 0 28px;
  content: "";
  pointer-events: none;
}

.education-hero-media img {
  display: block;
  width: 100%;
  min-height: 430px;
  border-radius: 13px;
  object-fit: cover;
}

.education-hero-media figcaption {
  position: absolute;
  right: 28px;
  bottom: 30px;
  left: 28px;
  padding: 15px 17px;
  border-left: 3px solid var(--education-gold);
  background: rgba(4, 9, 28, 0.85);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .education-hero-inner {
    grid-template-columns: 1fr;
  }

  .education-hero-copy {
    max-width: 760px;
  }

  .education-hero-media {
    max-width: 760px;
    transform: none;
  }
}

@media (max-width: 700px) {
  .education-hero {
    padding-block: 56px 64px;
  }

  .education-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .education-hero-media img {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  .education-hero {
    padding-inline: 16px;
  }

  .education-page .btn-primary,
  .education-page .btn-ghost {
    width: 100%;
  }

  .education-hero-media {
    padding: 7px;
  }

  .education-hero-media figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }
}
/* Combined dashboard signup and remediation steps. */

/* Free document editor: unpublished launch preparation. */
/* Carry the homepage's navy, cobalt, and gold through the editor offer. */
.editor-details { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0; scroll-margin-top: 100px; }
.editor-details h2 { margin: 0 0 16px; font-family: var(--font); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.025em; }
@media (max-width: 760px) {
  .editor-details { padding-block: 48px; }
}

/* Accessible pricing examples and the marketing 404 page. */
.table-wrap { max-width: 100%; overflow-x: auto; margin-block: 1.5rem; }
.table-wrap table { width: 100%; border-collapse: collapse; text-align: left; font-size: 1rem; }
.table-wrap caption { text-align: left; font-weight: 600; margin-bottom: .75rem; }
.table-wrap th, .table-wrap td { padding: .9rem; border-bottom: 1px solid #cbd5e1; vertical-align: top; }
.table-wrap thead { background: #eef3fa; color: #142c46; }
.table-wrap th[scope="row"] { font-weight: 500; }
.error-page { padding-top: 10rem; min-height: 80vh; }
@media (max-width: 600px) {
  .table-wrap table { table-layout: fixed; font-size: .875rem; min-width: 0; }
  .table-wrap caption { white-space: normal; }
  .table-wrap th, .table-wrap td { padding: .65rem .45rem; overflow-wrap: anywhere; }
  .table-wrap th:first-child { width: 48%; }
}

/* Banks and financial institutions */
.banking-page { background: #fff; }

}
