/* ==========================================================================
   HOA Provider Registry — global stylesheet
   Palette drawn from the logo: charcoal ink, sage-green check, white ground.
   Operated by DealMate Holdings, LLC.
   ========================================================================== */

:root {
  /* Brand */
  --ink: #1C242C;          /* logo charcoal */
  --ink-2: #4A5561;
  --ink-3: #7A8590;
  --ink-4: #A3ACB5;
  --sage: #7B9B7E;         /* logo check */
  --sage-dark: #5F8264;
  --sage-light: #EEF3EE;
  --white: #FFFFFF;
  --gray-1: #F5F6F7;
  --gray-2: #ECEEF0;
  --line: #E3E6E9;
  --line-2: #EEF0F2;
  --dark: #1C242C;
  --dark-2: #242E38;
  --on-dark: #C8CED4;
  --on-dark-2: #8E98A2;

  /* Status */
  --s-registered: #2F5F8F;
  --s-approved: #5F8264;
  --s-active: #8A6D1F;
  --s-review: #B3620F;
  --s-suspended: #B42318;
  --s-removed: #6B7280;

  /* Legacy aliases (kept so page fragments that reference them still resolve) */
  --navy-900: var(--dark);
  --navy-800: var(--dark);
  --navy-700: var(--dark-2);
  --navy-600: var(--ink-2);
  --gold-600: var(--sage-dark);
  --gold-500: var(--sage);
  --gold-400: #A9C4AB;
  --gold-200: #C8DAC9;
  --ivory: var(--white);
  --ivory-2: var(--gray-1);
  --paper: var(--white);

  --display: "Montserrat", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(28, 36, 44, 0.04), 0 12px 40px rgba(28, 36, 44, 0.08);
  --shadow-sm: 0 1px 2px rgba(28, 36, 44, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; color: var(--ink); margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
h4 { font-size: 1rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink-2); max-width: 58ch; line-height: 1.5; font-weight: 400; }
.muted { color: var(--ink-3); }
.small { font-size: 0.9375rem; }
.mono { font-family: var(--mono); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow / labels */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 0.875rem;
  display: block;
}
.eyebrow.light { color: var(--gold-400); }
.label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Top bar — retired in the light design */
.topbar { display: none; }

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .brand-mark { width: 36px; height: 34px; flex: none; }
.brand .brand-name { font-family: var(--display); font-size: 1.3125rem; letter-spacing: -0.02em; white-space: nowrap; line-height: 1; }
.brand .brand-name b { font-weight: 700; }
.brand .brand-name span { font-weight: 400; }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; padding: 8px 12px; border-radius: var(--radius-sm); transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--gray-1); text-decoration: none; }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav .btn { margin-left: 10px; }
.nav a.btn-gold { color: #fff; }
.nav a.btn-gold:hover { color: #fff; background: #2B3641; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 12px; border-radius: var(--radius-sm); font: inherit; font-size: 0.875rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; }
  .brand .brand-name { font-size: 1.125rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .1s;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.985); }
.btn-gold, .btn-navy { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-gold:hover, .btn-navy:hover { background: #2B3641; border-color: #2B3641; }
.btn-outline { background: var(--gray-1); color: var(--ink); border-color: var(--gray-1); }
.btn-outline:hover { background: var(--gray-2); border-color: var(--gray-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 9px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.cta-band .btn-gold, .section-navy .btn-gold { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-gold:hover, .section-navy .btn-gold:hover { background: var(--gray-2); border-color: var(--gray-2); }

/* Status badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  padding: 5px 10px; border-radius: var(--radius-pill); border: 1px solid transparent; line-height: 1.2; white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-registered { color: var(--s-registered); background: rgba(47,95,143,.09); }
.badge-approved { color: var(--s-approved); background: rgba(95,130,100,.13); }
.badge-active { color: var(--s-active); background: rgba(138,109,31,.11); }
.badge-review { color: var(--s-review); background: rgba(179,98,15,.1); }
.badge-suspended { color: var(--s-suspended); background: rgba(180,35,24,.08); }
.badge-removed { color: var(--s-removed); background: rgba(107,114,128,.12); }
.badge-lg { font-size: 0.75rem; padding: 7px 13px; }
.badge.on-dark { background: rgba(255,255,255,0.1); }
.on-dark.badge-registered { color: #9DBDE3; }
.on-dark.badge-approved { color: #A9C4AB; }
.on-dark.badge-active { color: #E0C46A; }
.on-dark.badge-review { color: #F0A65A; }
.on-dark.badge-suspended { color: #F08A82; }
.on-dark.badge-removed { color: #B6BEC9; }

/* Hero — light, typographic */
.hero { position: relative; background: var(--white); color: var(--ink); }
.hero::after { display: none; }
.hero .wrap { position: relative; z-index: 1; padding: 96px 28px 72px; }
.hero h1 { color: var(--ink); max-width: 16ch; }
.hero .lead { color: var(--ink-2); }
.hero .eyebrow { color: var(--sage-dark); }
.hero .btn-outline-light { background: var(--gray-1); color: var(--ink); border-color: var(--gray-1); }
.hero .btn-outline-light:hover { background: var(--gray-2); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; }
.hero-seal { display: flex; justify-content: center; }
.hero-seal img { width: min(280px, 60vw); filter: drop-shadow(0 24px 48px rgba(28,36,44,0.14)); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-seal { order: 1; } .hero-seal img { width: 180px; } .hero .wrap { padding: 56px 28px 48px; } }

/* Registry search box */
.registry-search {
  background: #fff; color: var(--ink); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); border: 1px solid var(--line);
  display: grid; grid-template-columns: 180px 1fr auto; gap: 8px; margin-top: 36px;
}
.registry-search select, .registry-search input {
  height: 52px; border: 1px solid transparent; border-radius: 10px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--gray-1); width: 100%;
}
.registry-search select { font-weight: 500; font-size: 0.9375rem; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A5561' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.registry-search input::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 3px rgba(123,155,126,0.35); border-color: var(--sage) !important; }
.registry-search .btn { height: 52px; border-radius: 10px; padding: 0 26px; }
@media (max-width: 720px) { .registry-search { grid-template-columns: 1fr; } }
.search-hint { font-size: 0.8125rem; color: var(--ink-3); margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.search-hint span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); margin-right: 7px; vertical-align: middle; }

/* Stats ribbon */
.stats-ribbon { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); }
.stats-ribbon .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.stat .lbl { font-size: 0.8125rem; color: var(--ink-3); margin-top: 8px; font-weight: 500; }
@media (max-width: 720px) { .stats-ribbon .wrap { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-1); }
.section-navy { background: var(--dark); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: var(--on-dark); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head .eyebrow { margin-bottom: 10px; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cat:hover { border-color: var(--ink-4); text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.cat .cat-name { font-weight: 600; font-size: 0.9375rem; letter-spacing: -0.005em; }
.cat .cat-count { font-size: 0.75rem; color: var(--ink-3); margin-top: 3px; text-transform: none; letter-spacing: 0; }
.cat .arrow { color: var(--ink-4); font-size: 1.125rem; transition: color .15s, transform .15s; }
.cat:hover .arrow { color: var(--sage-dark); transform: translateX(2px); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* Feature trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature { border-top: 1px solid var(--line); padding-top: 22px; }
.feature .num { font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.section-navy .feature { border-top-color: rgba(255,255,255,0.15); }
.section-navy .feature .num { color: var(--gold-400); }
.feature h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: 1rem; }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; gap: 24px; } }

/* Record table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.records { width: 100%; border-collapse: collapse; min-width: 640px; }
table.records th { text-align: left; font-size: 0.6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--gray-1); }
table.records td { padding: 16px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; font-size: 0.9375rem; }
table.records tr:last-child td { border-bottom: 0; }
table.records tr:hover td { background: #FAFBFB; }
table.records .name { font-weight: 600; color: var(--ink); }
table.records .sub { color: var(--ink-3); font-size: 0.8125rem; margin-top: 2px; }
table.records .rid { font-family: var(--mono); font-size: 0.8125rem; color: var(--ink-2); letter-spacing: .02em; white-space: nowrap; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* Provider cards */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pcard:hover { text-decoration: none; border-color: var(--ink-4); box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .avatar { width: 44px; height: 44px; border-radius: 10px; background: var(--gray-1); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.125rem; display: grid; place-items: center; }
.pcard .pname { font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; }
.pcard .psub { color: var(--ink-3); font-size: 0.8125rem; }
.pcard .rid { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); margin-top: auto; letter-spacing: .02em; padding-top: 6px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .card-grid { grid-template-columns: 1fr; } }

/* Callout / notice */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--sage); background: var(--white); padding: 16px 20px; border-radius: var(--radius-sm); font-size: 0.9375rem; color: var(--ink-2);
}
.section-alt .notice { background: var(--white); }
.notice strong { color: var(--ink); }
.notice.warn { border-left-color: var(--s-review); }
.notice.danger { border-left-color: var(--s-suspended); }
.notice.success { border-left-color: var(--s-approved); }

/* CTA band */
.cta-band { background: var(--dark); color: #fff; }
.cta-band .wrap { padding: 88px 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; padding: 64px 28px; } .cta-band .actions { justify-content: flex-start; } }

/* Footer */
.site-footer { background: var(--gray-1); color: var(--ink-2); font-size: 0.9375rem; border-top: 1px solid var(--line); }
.site-footer .wrap { padding: 64px 28px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--ink); font-family: var(--sans); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); margin-bottom: 14px; }
.footer-brand img { width: 30px; height: 28px; }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.125rem; letter-spacing: -0.02em; }
.footer-brand .brand-name b { font-weight: 700; } .footer-brand .brand-name span { font-weight: 400; }
.footer-brand .brand-sub { font-size: 0.75rem; color: var(--ink-3); }
.footer-transparency { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 0.8125rem; line-height: 1.6; color: var(--ink-2); }
.footer-transparency strong { color: var(--ink); font-size: 0.6875rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--ink-3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page header (interior pages) */
.page-head { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding: 64px 28px 48px; }
.page-head h1 { color: var(--ink); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-head .lead { color: var(--ink-2); margin: 0; }
.crumbs { font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 18px; font-weight: 500; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; font: inherit; font-size: 0.9375rem; background: #fff; color: var(--ink); }
.field textarea { height: auto; min-height: 110px; padding: 10px 14px; resize: vertical; }
.field .help { font-size: 0.8125rem; color: var(--ink-3); margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; padding: 10px 0; border-radius: var(--radius-sm); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ink); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .form-grid, .check-grid { grid-template-columns: 1fr; } }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); font-size: 1.0625rem; }
.panel-navy { background: var(--dark); color: #fff; border-color: var(--dark); }
.panel-navy h3 { color: #fff; border-color: rgba(255,255,255,0.12); }
.panel-navy p { color: var(--on-dark); }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 12px 20px; font-size: 0.9375rem; margin: 0; }
.kv dt { font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.kv dd { margin: 0; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 12px; } }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr !important; } }
.sticky { position: sticky; top: 88px; }

/* Standards list */
.standards-list { display: grid; gap: 12px; }
.standard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.standard .std-num { font-family: var(--display); font-weight: 700; font-size: 1.75rem; color: var(--ink-4); line-height: 1; letter-spacing: -0.03em; }
.standard h3 { margin: 0 0 8px; font-size: 1.25rem; }
.standard p { margin: 0 0 12px; color: var(--ink-2); }
.standard ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 0.9375rem; }
.standard li { margin-bottom: 5px; }
@media (max-width: 600px) { .standard { grid-template-columns: 1fr; gap: 8px; padding: 22px; } }

/* Compliance grid on profile */
.compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.comp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--gray-1); font-size: 0.9rem; }
.comp-row .cnum { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); margin-right: 10px; }
.comp-status { font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.comp-status.ok { color: var(--s-approved); }
.comp-status.pending { color: var(--s-review); }
.comp-status.fail { color: var(--s-suspended); }
@media (max-width: 640px) { .compliance { grid-template-columns: 1fr; } }

/* Profile header */
.profile-head { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line); }
.profile-head .wrap { padding: 56px 28px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.profile-head h1 { color: var(--ink); font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin: 12px 0 8px; }
.profile-head .meta { color: var(--ink-2); font-size: 0.9375rem; }
.profile-head .rid-box { background: var(--gray-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; min-width: 250px; text-align: center; }
.profile-head .rid-box .label { color: var(--ink-3); }
.profile-head .rid-box .rid { font-family: var(--mono); font-size: 1.375rem; color: var(--ink); letter-spacing: .04em; margin: 6px 0 10px; }
.profile-head .rid-box .small { color: var(--ink-2) !important; }
.profile-head .badge.on-dark { background: var(--white); border: 1px solid var(--line); }
.profile-head .on-dark.badge-registered { color: var(--s-registered); }
.profile-head .on-dark.badge-approved { color: var(--s-approved); }
.profile-head .on-dark.badge-active { color: var(--s-active); }
.profile-head .on-dark.badge-review { color: var(--s-review); }
.profile-head .on-dark.badge-suspended { color: var(--s-suspended); }
.profile-head .on-dark.badge-removed { color: var(--s-removed); }
@media (max-width: 800px) { .profile-head .wrap { grid-template-columns: 1fr; } }

/* Feedback */
.review { border-top: 1px solid var(--line-2); padding: 16px 0; }
.review:first-of-type { border-top: 0; padding-top: 0; }
.review .rhead { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--ink-3); margin-bottom: 6px; flex-wrap: wrap; }
.review .stars { color: var(--sage-dark); letter-spacing: 2px; }
.review p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 16px 20px; font-size: 0.9rem; }
.timeline li::before { content: ""; position: absolute; left: -5.5px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.timeline .tdate { font-size: 0.75rem; color: var(--ink-3); font-weight: 500; letter-spacing: .02em; }

/* Steps rail (register) */
.steps-rail { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-rail li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 0.9rem; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.steps-rail li:last-child { border-bottom: 0; }
.steps-rail li::before { counter-increment: step; content: counter(step); font-size: 0.75rem; font-weight: 600; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-3); flex: none; }
.steps-rail li.current { color: var(--ink); font-weight: 600; }
.steps-rail li.current::before { background: var(--ink); color: #fff; border-color: var(--ink); }
.steps-rail li.done { color: var(--sage-dark); }
.steps-rail li.done::before { content: "\2713"; background: var(--sage); color: #fff; border-color: var(--sage); }
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-panel h2 { font-size: 1.625rem; margin-bottom: 6px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.progress { height: 4px; background: var(--gray-2); border-radius: 2px; overflow: hidden; margin-bottom: 24px; }
.progress span { display: block; height: 100%; background: var(--sage); width: 0; transition: width .3s; }
.step-counter { font-size: 0.75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 8px; }

/* Price cards */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--white); }
.price.primary { border-color: var(--ink); }
.price .amt { font-family: var(--display); font-weight: 700; font-size: 2.5rem; color: var(--ink); line-height: 1; letter-spacing: -0.03em; }
.price .amt small { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; }
.price ul { padding-left: 18px; margin: 14px 0 0; color: var(--ink-2); font-size: 0.9rem; }
.price li { margin-bottom: 6px; }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; flex: none; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .body { padding: 0 22px 20px; color: var(--ink-2); font-size: 0.9375rem; }

/* Utility */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.divider { height: 1px; background: var(--line); margin: 32px 0; }
.result-count { font-size: 0.8125rem; color: var(--ink-3); font-weight: 500; }
.empty { padding: 56px 24px; text-align: center; color: var(--ink-3); }
.status-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; background: var(--gray-1); border: 1px solid var(--line); padding: 12px; border-radius: var(--radius); margin-bottom: 24px; }
.filters select, .filters input { height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 12px; font: inherit; font-size: 0.9375rem; background: #fff; width: 100%; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .filters { grid-template-columns: 1fr; } }
.lookup-result { margin-top: 20px; }
.seal-inline { width: 72px; height: 72px; }
.verified-line { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--s-approved); }
.verified-line::before { content: "\2713"; font-weight: 700; }
.pending-line { color: var(--s-review); }
.pending-line::before { content: "\2022"; }
table.records.status-table { min-width: 0; width: 100%; }
table.status-table td:first-child { white-space: nowrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; flex-wrap: wrap; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: inherit; font-size: 0.875rem; font-weight: 500; color: var(--ink-3); cursor: pointer; margin-bottom: -1px; }
.tabs button.active { color: var(--ink); border-bottom-color: var(--ink); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 0.9375rem; display: flex; justify-content: space-between; gap: 12px; }
.list-plain li:last-child { border-bottom: 0; }
.chip { display: inline-block; background: var(--gray-1); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 5px 12px; font-size: 0.8125rem; color: var(--ink-2); margin: 0 6px 6px 0; }
.big-seal { width: 160px; margin: 0 auto 20px; }
.flow { counter-reset: flow; display: grid; gap: 12px; }
.flow-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.flow-step::before { counter-increment: flow; content: counter(flow); font-family: var(--display); font-weight: 700; font-size: 1.25rem; color: var(--ink-4); padding-top: 0; letter-spacing: -0.02em; }
.flow-step h4 { margin: 0 0 4px; font-size: 1.0625rem; }
.flow-step p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }

/* Dark-panel quote block on the homepage */
.section-navy .panel { background: var(--dark-2) !important; border-color: rgba(255,255,255,0.1) !important; }

/* ==========================================================================
   Mobile hardening
   Grid/flex children default to min-width:auto, which lets wide content
   (tables with min-width, long mono IDs, email addresses) stretch the page
   wider than the viewport instead of scrolling inside their container.
   ========================================================================== */
html { overflow-x: clip; }
.two-col > *, .grid-2 > *, .grid-3 > *, .trio > *, .hero-grid > *, .cta-band .wrap > *, .card-grid > *, .cat-grid > *, .price-grid > *, .form-grid > *, .compliance > *, .footer-grid > * { min-width: 0; }
.panel, .table-wrap, .sticky { min-width: 0; max-width: 100%; }
.kv dd, .list-plain li, .review p, .notice, .flow-step, .standard > div { min-width: 0; overflow-wrap: anywhere; }
p, li, dd, td { overflow-wrap: break-word; }
.list-plain li > * { min-width: 0; }
.list-plain li a { overflow-wrap: anywhere; }
.table-wrap { -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .panel { padding: 22px 20px; }
  .kv { grid-template-columns: 1fr; }
  .profile-head .rid-box { min-width: 0; width: 100%; }
  .section-head { margin-bottom: 28px; }
  .step-actions { flex-direction: column-reverse; }
  .step-actions .btn { width: 100%; }
  .cta-band .actions .btn, .hero .btn { width: 100%; }
  
  table.status-table th:first-child, table.status-table td:first-child { white-space: normal; }
  .status-table td, .status-table th { padding: 12px 12px; }
  .badge { white-space: normal; text-align: left; }
  .list-plain li { flex-direction: column; gap: 2px; }
}
@media (max-width: 640px) {
  /* Status definitions table stacks: badge above its meaning */
  table.status-table, table.status-table tbody, table.status-table tr, table.status-table td { display: block; width: 100%; }
  table.status-table thead { display: none; }
  table.status-table tr { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  table.status-table tr:last-child { border-bottom: 0; }
  table.status-table td { padding: 0; border: 0; }
  table.status-table td:first-child { margin-bottom: 8px; }
  table.status-table tr:hover td { background: transparent; }
}
