/* AABGM staging site. Mobile first. */
:root {
  --navy: #0A0B4D;
  --navy-2: #13166B;
  --blue: #1170C9;
  --blue-dark: #0B579F;
  --sky: #E9F2FB;
  --ink: #1A2230;
  --muted: #4A5462;
  --line: #DDE3EA;
  --bg-alt: #F3F5F9;
  --white: #FFFFFF;
  --amber: #B45309;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(10, 11, 77, .06), 0 6px 20px rgba(10, 11, 77, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Arial, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, .h3 { font-family: Outfit, Inter, sans-serif; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 48px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3, .h3 { font-size: 20px; }
p { margin: 0 0 1em; text-wrap: pretty; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.icon { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Staging bar */
.staging-bar { background: #FEF3C7; color: #78350F; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 15px; font-family: inherit; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { display: block; width: 104px; height: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--navy); cursor: pointer; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; flex-direction: column; gap: 2px; max-height: calc(100vh - 72px); overflow-y: auto; }
.site-nav.open { display: flex; }
.site-nav > a, .dropdown-btn { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 4px; color: var(--ink); text-decoration: none; font-weight: 500; background: none; border: 0; font: inherit; font-weight: 500; cursor: pointer; width: 100%; text-align: left; }
.site-nav > a.btn { color: var(--white); background: var(--blue); justify-content: center; margin-top: 8px; width: auto; padding: 8px 16px; }
.site-nav > a.btn:hover { background: var(--blue-dark); }
.site-nav .active > .dropdown-btn, .site-nav > a.active:not(.btn) { color: var(--blue); }
.caret { width: 16px; height: 16px; transition: transform .15s; }
.dropdown.open .caret { transform: rotate(180deg); }
.dropdown-menu { display: none; flex-direction: column; padding: 0 0 8px 12px; border-left: 2px solid var(--line); margin-left: 4px; }
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 10px 8px; color: var(--muted); text-decoration: none; min-height: 40px; }
.dropdown-menu a:hover { color: var(--blue); background: var(--bg-alt); border-radius: 8px; }

/* Heroes */
.home-hero { background: linear-gradient(rgba(10, 11, 77, .78), rgba(10, 11, 77, .78)), var(--hero) center / cover no-repeat, var(--navy); color: var(--white); padding: 72px 0 80px; }
.home-hero h1 { color: var(--white); font-size: clamp(26px, 4.2vw, 44px); max-width: 980px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.page-hero { background: var(--sky); padding: 48px 0; }
.page-hero .lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.page-hero .lead.wide { max-width: 980px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.hero-split { display: grid; gap: 32px; align-items: center; }
.hero-icon { width: 160px; justify-self: start; }

/* Promo band */
.promo { background: var(--navy); color: var(--white); padding: 16px 0; }
.promo-inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #E6E8F5; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-title.center { text-align: center; }
.section-intro { max-width: 820px; color: inherit; opacity: .92; }

/* Cards */
.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.card h3 { display: flex; gap: 10px; align-items: flex-start; }
.card-icon { color: var(--blue); width: 22px; height: 22px; margin-top: 1px; }
.card.plain { box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
.card.verify { border: 2px dashed var(--amber); }
.verify-tag { position: absolute; top: 10px; right: 12px; font-size: 11px; font-weight: 700; color: var(--amber); text-transform: uppercase; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li a { display: inline-block; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--navy); text-decoration: none; }
.chips li a:hover { border-color: var(--blue); color: var(--blue); }

/* Home services */
.service-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.service-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10, 11, 77, .12); color: var(--ink); }
.service-card img { width: 64px; height: 64px; object-fit: contain; }
.service-card h3 { margin: 12px 0 6px; color: var(--blue); }
.service-card p { color: var(--muted); margin: 0; }
.why-img { border-radius: var(--radius); }

/* Why list */
.why-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 12px; }
.why-list .icon { color: #7CC4FF; margin-top: 3px; }

/* Certifications and partners */
.cert-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.cert-grid img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.partners { padding: 40px 0; border-top: 1px solid var(--line); }
.partners-row { margin-bottom: 24px; }
.partners-row h2 { font-size: 20px; }
.logos { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.logos img { height: 44px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.logos img:hover { filter: none; opacity: 1; }

/* Contact */
.contact-cta { background: var(--sky); }
.contact-grid { display: grid; gap: 32px; }
.contact-lines { display: flex; flex-direction: column; gap: 10px; }
.contact-lines a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; min-height: 44px; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; color: var(--navy); }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #B8C2CF; border-radius: 8px; font: inherit; font-weight: 400; color: var(--ink); background: var(--white); min-height: 44px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 2px solid rgba(17, 112, 201, .25); }
.hp { position: absolute; left: -5000px; }
.fine { font-size: 13px; color: var(--muted); }
.notice { padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.notice.ok { background: #DCFCE7; color: #14532D; }
.notice.err { background: #FEE2E2; color: #7F1D1D; }
.offices { display: grid; gap: 20px; }
.office p { color: var(--muted); }
.office .icon { color: var(--blue); }

/* HIPAA tiers */
.tier-grid { display: grid; gap: 20px; }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tier-head span { color: var(--muted); font-size: 14px; }
.tier-scope { color: var(--muted); margin: 0 0 6px; }
.tier-price { font-family: Outfit, sans-serif; font-weight: 700; font-size: 28px; color: var(--blue-dark); margin: 0 0 8px; }
.tier.featured { border: 2px solid var(--blue); background: #F5FAFF; }
.note { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-top: 20px; }
.note.offer { border: 2px dashed #B8901C; }
.steps { padding-left: 20px; display: grid; gap: 8px; max-width: 760px; }
.steps h3 { margin: 0 0 4px; font-size: 18px; }
.steps p { color: var(--muted); }

/* Legal */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h3 { font-size: 18px; margin-top: 1.2em; }

/* Footer */
.site-footer { background: #070838; color: #C9CDE6; padding: 48px 0 0; font-size: 15px; }
.site-footer h2 { color: var(--white); font-size: 16px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: #E6E8F5; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { background: var(--white); border-radius: 8px; padding: 6px 10px; width: 120px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding: 18px 16px; font-size: 13px; }

/* Tablet */
@media (min-width: 640px) {
  .service-grid, .card-grid, .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop */
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; border: 0; max-height: none; overflow: visible; }
  .site-nav > a, .dropdown-btn { width: auto; padding: 8px 12px; }
  .site-nav > a.btn { margin: 0 0 0 8px; }
  .dropdown { position: relative; }
  .dropdown-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(10, 11, 77, .14); padding: 8px; margin: 0; }
  .dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: flex; }
  .brand img { width: 128px; }
  .home-hero { padding: 120px 0 130px; }
  .page-hero { padding: 72px 0; }
  .hero-split { grid-template-columns: 1.4fr 1fr; }
  .page-hero .hero-split { grid-template-columns: 1fr 240px; }
  .hero-icon { width: 220px; justify-self: end; }
  .why-band .hero-split { grid-template-columns: 1fr 1.3fr; }
  .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .section { padding: 80px 0; }
}

/* Imported pages: images */
.hero-photo { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); }
.prose figure { margin: 28px 0; }
.prose img { display: block; max-width: 100%; max-height: 420px; width: auto; border-radius: var(--radius); }

/* ===== v4: modern refresh ===== */
:root { --glow: #3B8BF0; --navy-3: #060737; }
body { -webkit-font-smoothing: antialiased; }
h1 { letter-spacing: -.02em; }
h2 { letter-spacing: -.01em; }

/* Header */
.site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 11, 77, .08); }

/* Buttons */
.btn { transition: background .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: linear-gradient(135deg, #1A7FE0, var(--blue)); box-shadow: 0 6px 18px rgba(17, 112, 201, .35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17, 112, 201, .45); }
.btn .icon { transition: transform .15s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 16px; }

/* Home hero */
.home-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 560px; padding: 88px 0 96px;
  background: linear-gradient(90deg, rgba(6, 7, 55, .96) 0%, rgba(6, 7, 55, .86) 38%, rgba(6, 7, 55, .35) 75%, rgba(6, 7, 55, .15) 100%), var(--hero) center right / cover no-repeat, var(--navy-3); }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, rgba(6, 7, 55, .6)); pointer-events: none; }
.home-hero .container { position: relative; z-index: 1; }
.home-hero h1 { font-size: clamp(34px, 6vw, 64px); max-width: 760px; line-height: 1.05; margin-bottom: 20px; }
.hero-lead { font-size: clamp(17px, 2vw, 20px); color: #CFD6F3; max-width: 600px; margin-bottom: 8px; }
.eyebrow.light { color: #8EC5FF; letter-spacing: .12em; font-size: 12px; }

/* Trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 0; }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.trust-label { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; flex: 1; }
.trust-logos img { height: 44px; width: auto; max-width: 120px; object-fit: contain; }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 14px; font-weight: 600; }
.trust-badge .icon { width: 18px; height: 18px; color: var(--blue); vertical-align: 0; }
@media (min-width: 1000px) { .site-nav { background: transparent; } }

/* Section heads */
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head .section-intro { font-size: 18px; color: var(--muted); }
.section.dark .section-head .section-intro { color: #C3C9EA; }
.section.dark { background: radial-gradient(900px 400px at 85% 0%, rgba(59, 139, 240, .22), transparent 60%), radial-gradient(700px 360px at 0% 100%, rgba(59, 139, 240, .14), transparent 60%), var(--navy-3); }

/* Bento services */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tile { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 11, 77, .14); border-color: transparent; color: var(--ink); }
.tile h3 { margin: 0 0 6px; font-size: 21px; }
.tile p { margin: 0 0 12px; color: var(--muted); }
.tile .more { color: var(--blue); font-size: 15px; }
.tile .more .icon { width: 18px; height: 18px; transition: transform .15s; }
.tile:hover .more .icon { transform: translateX(4px); }
.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.tile-icon .icon { width: 24px; height: 24px; }
.tile-photo { min-height: 260px; justify-content: flex-end; border: 0; color: var(--white);
  background: linear-gradient(180deg, rgba(6, 7, 55, .05) 0%, rgba(6, 7, 55, .55) 45%, rgba(6, 7, 55, .94) 100%), var(--img, none) center / cover no-repeat, var(--navy-2); }
.tile-photo:hover { color: var(--white); }
.tile-photo h3 { color: var(--white); font-size: 24px; }
.tile-photo p { color: #D6DBF3; }
.tile-photo .more { color: #9CCBFF; }
.tile-photo .tile-icon { position: absolute; top: 22px; left: 22px; background: rgba(255, 255, 255, .14); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Proof points */
.proof-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.proof { padding: 24px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.proof h3 { font-size: 18px; margin: 14px 0 6px; }
.proof p { margin: 0; color: #C3C9EA; }
.proof-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: rgba(59, 139, 240, .18); color: #9CCBFF; }
.proof-icon .icon { width: 22px; height: 22px; vertical-align: 0; }

/* Inner page heroes: dark with photo */
.page-hero { position: relative; overflow: hidden; color: #D6DBF3;
  background: radial-gradient(800px 420px at 100% 0%, rgba(59, 139, 240, .28), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(59, 139, 240, .12), transparent 60%), var(--navy-3); }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: #C9D0EE; }
.page-hero .hero-icon { filter: brightness(0) invert(1); opacity: .9; }
.hero-photo { width: 100%; max-height: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08); }

/* Cards and chips */
.card { border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 11, 77, .1); }
.card-icon { background: var(--sky); border-radius: 8px; padding: 4px; width: 30px; height: 30px; margin-top: -3px; }
.chips li a { transition: border-color .15s, color .15s, background .15s; }
.chips li a:hover { background: var(--sky); }
.prose img { border-radius: 16px; box-shadow: 0 16px 40px rgba(10, 11, 77, .12); }
.contact-cta { background: linear-gradient(180deg, var(--sky), #F7FAFE); }

/* Scroll reveal (only when JS has run) */
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.will-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .will-reveal { opacity: 1; transform: none; transition: none; }
  .tile, .card, .btn, .tile-photo { transition: none; }
}

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-0 { grid-column: span 2; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .home-hero { min-height: 640px; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tile-0 { grid-column: span 2; grid-row: span 2; min-height: 460px; }
  .tile-1, .tile-2 { grid-column: span 2; }
  .tile-0 h3 { font-size: 30px; }
  .proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-hero .hero-split.has-photo { grid-template-columns: 1.05fr 1fr; gap: 56px; }
}

/* trust strip: label above, centered row */
.trust-inner { flex-direction: column; gap: 14px; }
.trust-logos { flex: none; justify-content: center; gap: 12px 26px; }

/* ===== v7: readiness packages ===== */
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--sky); color: var(--blue-dark); }
.section.dark .btn-outline, .page-hero .btn-outline { border-color: rgba(255,255,255,.7); color: var(--white); }
.container.narrow { max-width: 860px; }
.step-row { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: s; }
.step-row li { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.step-row h3 { font-size: 18px; margin: 14px 0 6px; }
.step-row p { margin: 0; color: var(--muted); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-family: Outfit, sans-serif; }
.fw-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.fw-out { font-size: 14px; color: var(--navy) !important; background: var(--sky); border-radius: 10px; padding: 10px 12px; }
.tier-cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 28px; }
.tier-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.tier-card.featured { border: 2px solid var(--blue); box-shadow: 0 18px 40px rgba(17, 112, 201, .16); }
.tier-flag { position: absolute; top: -12px; left: 24px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; }
.tier-name { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.tier-card h3 { font-size: 24px; margin: 0; }
.tier-for { color: var(--muted); margin: 0 0 8px; }
.tier-facts { margin: 0 0 16px; display: grid; gap: 8px; }
.tier-facts div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 8px; font-size: 14px; }
.tier-facts dt { color: var(--muted); }
.tier-facts dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.tier-card .btn { margin-top: auto; justify-content: center; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: Outfit, sans-serif; font-size: 16px; color: var(--navy); background: var(--bg-alt); }
.compare tbody th { font-weight: 600; color: var(--navy); width: 30%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .featured { background: #F3F8FE; }
.compare thead th.featured { background: var(--blue); color: var(--white); }
.compare .yes .icon { color: var(--blue); }
.compare .no { color: #9AA4B2; }
.extra-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
.tile-icon.sm { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.tile-icon.sm .icon { width: 18px; height: 18px; vertical-align: 0; }
.proof-line { display: flex; gap: 10px; align-items: center; margin: 24px 0 8px; font-weight: 600; color: var(--navy); }
.proof-line .icon { color: var(--blue); }
.light-list .icon { color: var(--blue); }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--white); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta-inner p { color: #C3C9EA; margin: 0; }
.readiness-band { padding: 40px 0; }
.band-inner { display: grid; gap: 20px; align-items: center; padding: 32px; border-radius: 20px; background: linear-gradient(135deg, var(--sky), #F7FAFE); border: 1px solid var(--line); }
.band-inner h2 { margin-bottom: 6px; }
.band-inner p:last-child { margin: 0; color: var(--muted); }
@media (min-width: 640px) {
  .step-row, .fw-grid, .extra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .step-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step-row:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fw-grid, .tier-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-inner, .band-inner { grid-template-columns: 1.4fr auto; }
}

/* ===== v8: partner logos ===== */
.partners { background: var(--bg-alt); border-top: 0; padding: 56px 0; }
.tp-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 32px; }
.tp-card { display: flex; gap: 20px; align-items: center; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.tp-card h3 { font-size: 18px; margin: 0 0 4px; }
.tp-card p { margin: 0; color: var(--muted); font-size: 15px; }
.tp-logo { flex: none; width: 112px; height: 88px; display: flex; align-items: center; justify-content: center; }
.tp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logos-label { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.logo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.logo-tile { display: flex; align-items: center; justify-content: center; height: 72px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.logo-tile img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }
.vendor { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.vendor-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.vendor-head h3 { margin: 0; }
.vendor-logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.vendor-note { font-size: 13px; font-weight: 600; color: var(--blue); background: var(--sky); padding: 4px 12px; border-radius: 999px; }
.cert-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cert-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px; border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: transform .2s, box-shadow .2s; }
.cert-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(10, 11, 77, .1); }
.cert-img { height: 72px; display: flex; align-items: center; justify-content: center; }
.cert-img img { max-height: 72px; max-width: 120px; width: auto; object-fit: contain; }
.cert-name { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.cert-tile.text-only { justify-content: center; min-height: 80px; background: var(--bg-alt); }
@media (min-width: 640px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cert-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cert-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } .logo-row { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

.vendor-logo { height: auto; max-height: 56px; max-width: 200px; }
.logo-tile img { max-height: 48px; }
