/* ==========================================================================
   Remedy — shared design system
   Restyled from goremedy.ai content, in the visual language of the
   Repaint concept page (clean-thunder-6qa2n.sites.repaint.com/compliance)
   Tokens: navy #071820, cyan #00B4D8, off-white #F7FAFB, Inter typeface
   ========================================================================== */

:root {
  --navy: #071820;
  --navy-2: #0d2530;
  --cyan: #00B4D8;
  --cyan-dark: #0090ac;
  --offwhite: #F7FAFB;
  --ink: #0B1B22;
  --gray: #5B6B74;
  --gray-light: #8A98A0;
  --border: #E3E9EC;
  --border-dark: rgba(255,255,255,0.12);
  --white: #FFFFFF;
  --radius-pill: 999px;
  --radius-card: 20px;
  --max-w: 1180px;
  --shadow-card: 0 20px 45px -20px rgba(7,24,32,0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
}
#mobileNav {
  position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 999;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--navy); border-top: 1px solid var(--border-dark);
}
#mobileNav[hidden] { display: none; }
#mobileNav .wrap { height: auto; padding: 18px 28px; display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
#mobileNav .btn { justify-content: center; margin-top: 10px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 19px; }
.brand-mark {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-mark svg { width: 34px; height: 34px; display: block; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-desktop { display: flex; align-items: center; gap: 4px; position: relative; }
.nav-item { position: relative; }
.nav-item > summary { list-style: none; }
.nav-item > summary::-webkit-details-marker { display: none; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.88); font-size: 14.5px; font-weight: 500;
  padding: 10px 14px; border-radius: 8px; cursor: pointer;
  background: none; border: none; font-family: inherit;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-item .chev { width: 12px; height: 12px; transition: transform .15s ease; opacity: .8; }
.nav-item.open .chev, .nav-item[open] .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-card);
  min-width: 240px; padding: 10px; display: none; border: 1px solid var(--border);
}
.nav-item.open .dropdown, .nav-item[open] .dropdown { display: block; }
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 9px; color: var(--ink);
  font-size: 14.5px; font-weight: 500;
}
.dropdown a:hover { background: var(--offwhite); color: var(--cyan-dark); }
.dropdown a[aria-current="page"] { background: var(--offwhite); color: var(--cyan-dark); font-weight: 700; }
.dropdown .dd-desc { display: block; font-size: 12.5px; color: var(--gray); font-weight: 400; margin-top: 2px; }

#mobileNav .nav-item { width: 100%; }
#mobileNav .nav-item > summary { width: 100%; }
#mobileNav .nav-item .dropdown {
  position: static; min-width: 0; margin: 4px 0 6px; padding: 5px;
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); box-shadow: none;
}
#mobileNav .nav-item .dropdown a { color: rgba(255,255,255,0.82); padding: 10px 18px; }
#mobileNav .nav-item .dropdown a:hover,
#mobileNav .nav-item .dropdown a:focus-visible,
#mobileNav .nav-item .dropdown a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.08); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14.5px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  border: none; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: #17c3e6; }
.btn-outline-dark { background: var(--navy); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.5); }
.btn-outline-light { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline-light:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center;
  background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--white);
  border-radius: 9px; padding: 8px 10px; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; display: block; }

/* ---------- Sections ---------- */
.section-dark { background: var(--navy); color: var(--white); }
.section-light { background: var(--offwhite); color: var(--ink); }
.section-navy2 { background: var(--navy-2); color: var(--white); }
section.pad { padding: 96px 0; }
section.pad-sm { padding: 64px 0; }
section.hero-pad { padding: 52px 0 96px; }
@media (max-width: 720px) {
  section.pad { padding: 64px 0; }
  section.pad-sm { padding: 44px 0; }
  section.hero-pad { padding: 32px 0 64px; }
}

.breadcrumb { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,0.55); text-transform: uppercase; margin-bottom: 28px; }
.breadcrumb span { color: rgba(255,255,255,0.9); }

.eyebrow {
  display: inline-block; text-transform: uppercase; font-weight: 700;
  font-size: 12.5px; letter-spacing: .09em; color: var(--cyan); margin-bottom: 16px;
}
.section-light .eyebrow { color: #006f85; }
.section-dark .eyebrow, .section-navy2 .eyebrow { color: var(--cyan); }

h1.display { font-size: clamp(34px, 5.4vw, 60px); color: var(--white); max-width: 820px; }
.section-light h2.display, .section-light h1.display { color: var(--ink); }
h2.display { font-size: clamp(28px, 4vw, 44px); max-width: 760px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.72); max-width: 640px; margin-top: 20px; line-height: 1.6; }
.section-light .lead, .section-navy2.on-light .lead { color: var(--gray); }
.section-light .lead { color: var(--gray); }

.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Stat bar ---------- */
.stat-bar {
  margin-top: 64px; border-top: 1px solid var(--border-dark);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.stat-bar .stat { padding: 26px 28px 0; border-left: 1px solid var(--border-dark); }
.stat-bar .stat:first-child { border-left: none; }
.stat-num { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--cyan); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; font-weight: 600; }
@media (max-width: 640px) {
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-bar .stat:nth-child(2n+1) { border-left: none; }
}

/* ---------- Numbered capability section ---------- */
.cap-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.icon-badge {
  width: 44px; height: 44px; border-radius: 13px; border: none;
  background: linear-gradient(135deg, var(--cyan) 0%, #0091ac 100%);
  display: flex; align-items: center; justify-content: center; flex: none; color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0,180,216,0.5);
}
.icon-badge svg { width: 22px; height: 22px; }
.cap-num { font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace; color: var(--gray-light); font-size: 14px; font-weight: 600; }
.section-dark .cap-num, .section-navy2 .cap-num { color: rgba(255,255,255,0.45); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

.checklist { margin-top: 30px; display: flex; flex-direction: column; gap: 22px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.check-ic {
  width: 24px; height: 24px; border-radius: 7px; border: none;
  background: linear-gradient(135deg, var(--cyan) 0%, #0091ac 100%); color: #fff;
  display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px;
}
.check-ic svg { width: 13px; height: 13px; }
.check-title { font-weight: 700; font-size: 16px; margin-bottom: 3px; }
.check-desc { color: var(--gray); font-size: 14.5px; line-height: 1.55; }
.section-dark .check-desc, .section-navy2 .check-desc { color: rgba(255,255,255,0.65); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill-badge {
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.section-dark .pill-badge, .section-navy2 .pill-badge { border-color: rgba(255,255,255,0.22); color: var(--white); }

/* ---------- Visual placeholder card (stand-in for product screenshot) ---------- */
.shot-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 22px; min-height: 320px;
  display: flex; flex-direction: column; gap: 14px;
}
.section-dark .shot-card, .section-navy2 .shot-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.14); box-shadow: none; }
.shot-card .shot-topbar { display: flex; gap: 6px; margin-bottom: 4px; }
.shot-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.shot-bar { height: 12px; border-radius: 6px; background: var(--border); }
.section-dark .shot-bar, .section-navy2 .shot-bar { background: rgba(255,255,255,0.1); }
.shot-bar.w60 { width: 60%; } .shot-bar.w40 { width: 40%; } .shot-bar.w80 { width: 80%; } .shot-bar.w30 { width: 30%; }
.shot-row { display: flex; gap: 12px; align-items: center; }
.shot-chip { border-radius: 8px; padding: 4px 10px; font-size: 11px; font-weight: 700; }
.chip-cyan { background: rgba(0,180,216,0.14); color: var(--cyan-dark); }
.section-dark .chip-cyan, .section-navy2 .chip-cyan { color: var(--cyan); }
.shot-bignum { font-size: 30px; font-weight: 700; color: var(--navy); }
.section-dark .shot-bignum, .section-navy2 .shot-bignum { color: var(--white); }
.shot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: auto; }
.shot-cell { border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.section-dark .shot-cell, .section-navy2 .shot-cell { border-color: rgba(255,255,255,0.14); }
.caption-line { margin-top: 20px; color: var(--gray); font-size: 14px; }
.section-dark .caption-line, .section-navy2 .caption-line { color: rgba(255,255,255,0.55); }

/* ---------- Card grids (industries, personas, etc.) ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 26px;
}
.section-dark .card, .section-navy2 .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 14px; line-height: 1.55; }
.section-dark .card p, .section-navy2 .card p { color: rgba(255,255,255,0.65); }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag { font-size: 11.5px; font-weight: 600; color: #006f85; background: rgba(0,180,216,0.1); border-radius: 6px; padding: 4px 8px; }
.section-dark .tag, .section-navy2 .tag { color: var(--cyan); background: rgba(0,180,216,0.16); }

.industry-card { padding: 20px; }
.industry-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.industry-card p { font-size: 12.5px; color: var(--gray); }

/* ---------- Persona / role cards (plain outlined icon, dot bullets) ---------- */
.persona-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 32px;
}
.persona-icon { color: var(--cyan-dark); margin-bottom: 18px; }
.persona-icon svg { width: 30px; height: 30px; }
.persona-card h3 { font-size: 21px; margin-bottom: 12px; }
.persona-card p { color: var(--gray); font-size: 15px; line-height: 1.65; }
.persona-divider { border-top: 1px solid var(--border); margin: 22px 0; }
.persona-card .dot-list li { font-weight: 700; color: var(--ink); font-size: 15px; }

.dot-list { display: flex; flex-direction: column; gap: 14px; }
.dot-list li { position: relative; padding-left: 20px; color: var(--gray); font-size: 14.5px; line-height: 1.5; }
.dot-list li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--cyan);
}

/* ---------- Industry / segment blocks (plain, no icon) ---------- */
.industry-block {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 28px 32px;
}
.industry-block h3 { font-size: 19px; margin-bottom: 12px; }
.industry-block p { color: var(--gray); font-size: 14.5px; line-height: 1.65; margin-bottom: 10px; }
.industry-block p:last-child { margin-bottom: 0; }

/* ---------- Solution-area groups (bordered box of plain bullets) ---------- */
.solution-group {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 32px;
}
.solution-group + .solution-group { margin-top: 24px; }
.solution-group h3 { font-size: 21px; margin-bottom: 20px; }
.solution-group .dot-list li { color: var(--ink); }

/* ---------- Industry-pack rows (left accent bar, dark theme) ---------- */
.pack-row {
  border-left: 2px solid var(--cyan); padding: 4px 0 4px 18px;
  color: rgba(255,255,255,0.72); font-size: 15px; line-height: 1.6;
}
.pack-row strong { color: var(--white); font-weight: 700; }
.pack-row + .pack-row { margin-top: 18px; }
.section-light .pack-row, .section-light .pack-row strong { color: var(--ink); }
.section-light .pack-row { color: var(--gray); }

/* ---------- Product video library ---------- */
.video-section { scroll-margin-top: 96px; }
.video-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: center;
}
.video-copy .lead { max-width: 620px; }
.video-highlights {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px; margin-top: 28px;
}
.video-highlights li {
  position: relative; padding-left: 19px; color: var(--gray);
  font-size: 14.5px; line-height: 1.5;
}
.video-highlights li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
}
.video-player-card {
  background: var(--navy); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: 10px; overflow: hidden;
}
.video-frame {
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px;
  background: #02080b;
}
.video-frame video {
  display: block; width: 100%; height: 100%; object-fit: contain;
  background: #02080b;
}
.video-controls-row {
  display: flex; align-items: end; justify-content: space-between;
  gap: 18px; padding: 14px 8px 6px;
}
.video-language { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
.video-language label {
  color: rgba(255,255,255,.7); font-size: 11px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
}
.video-language select {
  width: 100%; min-height: 42px; appearance: none;
  color: var(--white); background: #14313d;
  border: 1px solid rgba(255,255,255,.24); border-radius: 9px;
  padding: 9px 38px 9px 12px; font: inherit; font-size: 14px;
  background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 11px) 17px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.video-language select:focus-visible {
  outline: 3px solid rgba(0,180,216,.35); outline-offset: 2px;
  border-color: var(--cyan);
}
.video-duration { color: rgba(255,255,255,.62); font-size: 12.5px; white-space: nowrap; padding-bottom: 11px; }
.video-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.video-error {
  margin: 8px; padding: 12px 14px; border-radius: 9px;
  color: #fff; background: rgba(239,68,68,.16); border: 1px solid rgba(239,68,68,.4);
  font-size: 13.5px; line-height: 1.5;
}
.video-error a { color: var(--cyan); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.video-error[hidden] { display: none; }
.video-library-intro { max-width: 720px; margin-bottom: 46px; }
.video-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.video-library-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  padding: 24px; min-width: 0;
}
.video-library-card:not(.featured) { display: flex; flex-direction: column; }
.video-library-card:not(.featured) .video-player-card { margin-top: auto; }
.video-library-card.featured { grid-column: 1 / -1; }
.video-library-card h3 { font-size: 22px; margin-bottom: 10px; }
.video-library-card > p { color: var(--gray); font-size: 14.5px; line-height: 1.65; margin-bottom: 22px; }
.video-library-card .video-highlights { margin: 0 0 24px; }
.video-library-card .video-player-card { box-shadow: none; }
.video-detail-link { display: inline-flex; margin-top: 18px; color: var(--cyan-dark); font-size: 14px; font-weight: 700; }
.video-detail-link:hover { color: var(--navy); }

@media (max-width: 900px) {
  .video-layout { grid-template-columns: 1fr; gap: 36px; }
  .video-library-grid { grid-template-columns: 1fr; }
  .video-library-card.featured { grid-column: auto; }
}
@media (max-width: 560px) {
  .video-highlights { grid-template-columns: 1fr; }
  .video-controls-row { align-items: stretch; flex-direction: column; gap: 4px; }
  .video-language { min-width: 0; }
  .video-duration { padding: 4px 0 2px; }
  .video-library-card { padding: 16px; }
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: var(--cyan); color: var(--navy); }
.cta-band .eyebrow { color: var(--navy); opacity: .75; }
.cta-band h2 { color: var(--navy); }
.cta-band p { color: #032f3a; max-width: 560px; margin: 16px auto 0; font-size: 16px; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-cyan { background: var(--navy); color: var(--white); }
.cta-band .btn-cyan:hover { background: #0d2530; }
.cta-band .btn-outline-dark { background: transparent; color: var(--navy); border: 1px solid rgba(7,24,32,0.35); }
.cta-band .btn-outline-dark:hover { border-color: rgba(7,24,32,0.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 72px 0 32px; border-top: 1px solid var(--border-dark); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--border-dark); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-desc { font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer-col h5, .footer-col .footer-heading { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; line-height: 1.4; }
.section-dark .stat-label { color: rgba(255,255,255,.72) !important; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 14px; font-size: 12.5px; }
.footer-certs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-certs span { border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 5px 12px; font-size: 11.5px; }

/* ---------- Real screenshot card ---------- */
.shot-img-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 10px; overflow: hidden;
}
.section-dark .shot-img-card, .section-navy2 .shot-img-card { background: #0d232d; border-color: rgba(255,255,255,0.14); box-shadow: none; }
.shot-img-card .shot-topbar { display: flex; gap: 6px; padding: 6px 6px 10px; }
.shot-img-card .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.section-dark .shot-img-card .dot, .section-navy2 .shot-img-card .dot { background: rgba(255,255,255,0.18); }
.shot-img-card img { width: 100%; border-radius: 8px; display: block; }

/* ---------- Prose / legal pages ---------- */
.prose-wrap { max-width: 760px; margin: 0 auto; }
.legal-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 20px; background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 36px; font-size: 13px; color: var(--gray);
}
.prose h2 { font-size: 21px; color: var(--navy); margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-size: 16px; color: var(--navy); margin: 22px 0 8px; }
.prose p { color: var(--gray); line-height: 1.75; margin-bottom: 14px; font-size: 15px; }
.prose ul { margin-bottom: 14px; padding-left: 4px; }
.prose li { color: var(--gray); line-height: 1.75; font-size: 15px; padding-left: 22px; position: relative; margin-bottom: 6px; }
.prose li::before { content: "—"; position: absolute; left: 0; color: var(--cyan-dark); }
.prose .checklist { margin-top: 4px; }
.prose .checklist li { padding-left: 0; }
.prose .checklist li::before { content: none; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--cyan-dark); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0,144,172,0.3); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:last-of-type { border-bottom: none; }
.contact-item .icon-badge { width: 40px; height: 40px; border-radius: 10px; }
.contact-item h4 { font-size: 14px; margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14.5px; color: var(--gray); }
.contact-item a:hover { color: var(--cyan-dark); }
.partner-box { margin-top: 8px; padding: 20px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); }
.partner-box h5 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); margin-bottom: 14px; }
.partner-row { margin-bottom: 12px; }
.partner-row:last-child { margin-bottom: 0; }
.partner-row strong { display: block; font-size: 14px; margin-bottom: 2px; }
.partner-row span { font-size: 13.5px; color: var(--gray); }
.contact-stat-row { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.contact-stat-row .stat-num { color: var(--navy); font-size: 24px; }
.contact-stat-row .stat-label { color: var(--gray); text-transform: none; font-weight: 500; letter-spacing: 0; }

/* SEO-supporting FAQ and company fact blocks */
.faq-section { border-top: 1px solid var(--border); }
.faq-section > .wrap > .display { max-width: 760px; margin-top: 10px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: 0 8px 24px rgba(15, 23, 42, .05); }
.faq-item h3 { color: var(--navy); font-size: 18px; line-height: 1.35; margin: 0 0 10px; }
.faq-item p { color: var(--gray); line-height: 1.7; margin: 0; }
.faq-links { color: var(--gray); margin: 26px 0 0; }
.faq-links a { color: var(--cyan-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.facts-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.fact-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px 18px; display: flex; flex-direction: column; gap: 8px; }
.fact-card strong { color: var(--cyan-dark); font-size: 32px; line-height: 1; }
.fact-card span { color: var(--gray); font-size: 14px; font-weight: 600; }
@media (max-width: 800px) {
  .faq-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .facts-grid { grid-template-columns: 1fr; }
}

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-card); }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card > p { color: var(--gray); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 9px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); outline: none; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,180,216,0.14); }
.field textarea { min-height: 92px; resize: vertical; font-family: inherit; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 9px 15px; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s;
}
.chip-select .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); flex: none; transition: background .15s; }
.chip-select.selected { border-color: var(--cyan); background: rgba(0,180,216,0.08); color: var(--cyan-dark); }
.chip-select.selected .chip-dot { background: var(--cyan); }
.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; background: var(--cyan); color: var(--navy); font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 14px; border-radius: var(--radius-pill); border: none; cursor: pointer; margin-top: 6px;
}
.form-submit svg { width: 14px; height: 14px; flex: none; }
.form-submit:hover { background: #17c3e6; }
.form-submit:disabled { opacity: .6; cursor: default; }
.form-privacy { font-size: 12.5px; color: var(--gray-light); text-align: center; margin-top: 14px; }
.form-privacy a { color: var(--gray-light); text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 20px 4px; }
.form-success .icon-badge { width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px; }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--gray); font-size: 14.5px; line-height: 1.6; }
.form-success .success-links { margin-top: 22px; padding: 16px; background: var(--offwhite); border-radius: 10px; text-align: left; }
.form-success .success-links a { display: block; color: var(--cyan-dark); font-size: 14px; font-weight: 600; margin-top: 8px; }
.form-success .success-links a:first-of-type { margin-top: 10px; }

/* ---------- Notify / resources form ---------- */
.notify-form { display: flex; gap: 12px; max-width: 480px; margin: 24px auto 0; flex-wrap: wrap; justify-content: center; }
.notify-form input[type="email"] { flex: 1; min-width: 220px; padding: 13px 18px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14.5px; }
.notify-form input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(0,180,216,0.14); }
.notify-form button { background: var(--cyan); color: var(--navy); padding: 13px 26px; border-radius: 10px; font-family: inherit; font-size: 15px; font-weight: 700; border: none; cursor: pointer; white-space: nowrap; }
.notify-form button:hover { background: #17c3e6; }
.notify-success { display: none; }

/* ---------- Agent grid ---------- */
.agent-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.section-dark .agent-card, .section-navy2 .agent-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.agent-tag { font-size: 11px; font-weight: 700; color: var(--cyan-dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.section-dark .agent-tag, .section-navy2 .agent-tag { color: var(--cyan); }
.agent-card h4 { font-size: 15px; margin-bottom: 6px; }
.agent-card p { font-size: 13px; color: var(--gray); line-height: 1.55; }
.section-dark .agent-card p, .section-navy2 .agent-card p { color: rgba(255,255,255,0.62); }
.p1-badge { display: inline-block; font-size: 10.5px; font-weight: 700; background: rgba(0,180,216,0.14); color: var(--cyan-dark); border-radius: 5px; padding: 2px 7px; margin-left: 8px; vertical-align: middle; }
.section-dark .p1-badge, .section-navy2 .p1-badge { color: var(--cyan); }

/* ---------- Mobile nav ---------- */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-cyan.hide-mobile { display: none; }
}
