/* =====================================================================
   Product pages (PremierGuard & SuperShift) — shared bespoke components
   ===================================================================== */

/* Brand wordmark in hero */
.pg-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.75rem;
  color: #fff;
}
.pg-wordmark svg { width: 46px; height: 46px; color: var(--color-gold); flex-shrink: 0; }
.pg-wordmark span {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pg-wordmark span b { color: var(--color-gold); font-weight: 800; }

/* Hero themed background motif */
.hero-motif { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-motif svg { position: absolute; right: -70px; top: 50%; transform: translateY(-50%); width: min(560px, 72%); height: auto; color: #fff; opacity: 0.06; }
/* Wide, centered motif variant (e.g. the SuperShift EKG pulse line) */
.hero-motif--pulse svg { right: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(1000px, 132%); }

/* Process-step themed icon */
.ps-icon { position: absolute; top: 1.5rem; right: 1.5rem; width: 30px; height: 30px; color: var(--color-gold); opacity: 0.5; }
.ps-icon svg { width: 100%; height: 100%; }

/* Feature pills */
.pg-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; }
.pg-pills--center { justify-content: center; }
.pg-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--color-accent-soft);
  color: var(--color-brand);
}
.section--dark .pg-pill { background: rgba(255,255,255,0.08); color: rgba(248,250,252,0.92); }

/* Phone showcase */
.pg-phones {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.pg-phone-item { width: 232px; max-width: 64vw; }
.pg-phone {
  position: relative;
  border-radius: 32px;
  background: #0b1530;
  padding: 11px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.pg-phone::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 54px; height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.22);
  z-index: 2;
}
.pg-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 23px;
  background: #fff;
}
.pg-phone-cap { text-align: center; margin: 1.1rem 0 0; font-weight: 700; font-size: 0.95rem; }
.pg-phone-sub { text-align: center; margin: 0.2rem 0 0; color: var(--color-text-muted); font-size: 0.8125rem; line-height: 1.45; }

/* Browser frame for the agency dashboard */
.pg-browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.pg-browser-bar {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: #eef1f7;
  border-bottom: 1px solid var(--color-border);
}
.pg-browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.pg-browser-dots span { width: 11px; height: 11px; border-radius: 50%; background: #c8cfdd; display: block; }
.pg-browser-url {
  flex: 1;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg-browser-body svg { display: block; width: 100%; height: auto; }

/* SMS conversation mockup */
.pg-chat {
  background: linear-gradient(170deg, #0d1b3a 0%, #112a5c 100%);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: var(--shadow-lg);
}
.pg-chat-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding-bottom: 0.85rem; margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-weight: 700; font-size: 0.95rem;
}
.pg-chat-head svg { width: 22px; height: 22px; color: var(--color-gold); }
.pg-bubble {
  max-width: 82%;
  padding: 0.65rem 0.95rem;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.pg-bubble small { display: block; opacity: 0.6; font-size: 0.6875rem; margin-top: 0.3rem; }
.pg-bubble--in { align-self: flex-start; background: rgba(255,255,255,0.12); color: #fff; border-bottom-left-radius: 4px; }
.pg-bubble--out { align-self: flex-end; background: var(--color-brand-light); color: #fff; border-bottom-right-radius: 4px; }

/* Integration badges */
.pg-integrations { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 0.5rem; }
.pg-int {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-weight: 600; font-size: 0.875rem; color: var(--color-text);
}
.pg-int svg { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }

/* Dual-market callout */
.pg-note {
  display: flex; align-items: flex-start; gap: 1rem;
  max-width: 760px; margin: 2.5rem auto 0;
  padding: 1.5rem 1.75rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
}
.pg-note svg { width: 26px; height: 26px; color: var(--color-gold); flex-shrink: 0; margin-top: 2px; }
.pg-note p { margin: 0; font-size: 0.95rem; }
.pg-note strong { color: var(--color-text); }

/* Badge for "card eyebrow" inside service cards */
.service-card .pg-tag {
  display: inline-block; margin-bottom: 0.6rem;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-gold);
}

/* In-app SMS consent screen (illustration of the real web opt-in) */
.sms-optin-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(31, 71, 150, 0.1), transparent 22rem),
    radial-gradient(circle at 88% 28%, rgba(244, 180, 0, 0.13), transparent 20rem),
    var(--color-bg-soft);
}
.sms-optin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.opt-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 71, 150, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}
.opt-panel h3 { margin-bottom: 0.45rem; }
.opt-lead { margin: 0 0 1.25rem; color: var(--color-text-muted); font-size: 0.96rem; }
.consent-screen {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
  overflow: hidden;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--color-border);
}
.consent-figure {
  position: sticky;
  top: 112px;
  margin: 0;
  padding: 0.5rem;
}
.consent-figure::before {
  content: "";
  position: absolute;
  inset: 7% 0 auto;
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31, 71, 150, 0.12), rgba(244, 180, 0, 0.16));
  filter: blur(34px);
  z-index: 0;
}
.consent-screen,
.cs-caption {
  position: relative;
  z-index: 1;
}
.cs-appbar {
  background: linear-gradient(135deg, #0d1b3a 0%, #1f4796 100%);
  color: #fff;
  padding: 0.95rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cs-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; }
.cs-brand svg { width: 22px; height: 22px; color: var(--color-gold); }
.cs-crumb {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(248,250,252,0.78);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.22rem 0.6rem; border-radius: 999px;
}
.cs-body {
  padding: 1.5rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.cs-title { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.3rem; letter-spacing: -0.01em; color: var(--color-text); }
.cs-intro { font-size: 0.8125rem; line-height: 1.5; color: var(--color-text-soft); margin: 0 0 1.25rem; }
.cs-field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.cs-field label { font-size: 0.8125rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.4rem; }
.cs-field input {
  width: 100%; padding: 0.7rem 0.9rem; font: inherit; font-size: 0.9375rem;
  color: var(--color-text); background: var(--color-bg-soft);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md);
}
.cs-consent {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.95rem 1rem; margin: 0 0 1.1rem;
  background: #fff;
  border: 1px solid rgba(244, 180, 0, 0.38);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cs-consent input[type="checkbox"] {
  width: 20px; height: 20px; flex-shrink: 0; margin: 0.1rem 0 0;
  accent-color: var(--color-brand); cursor: pointer;
}
.cs-consent label { font-size: 0.8125rem; line-height: 1.5; color: var(--color-text); cursor: pointer; }
.cs-send {
  display: block; width: 100%; text-align: center;
  padding: 0.85rem 1.25rem; font: inherit; font-size: 0.9375rem; font-weight: 600;
  color: #fff; background: var(--color-brand);
  border: 1.5px solid transparent; border-radius: var(--radius-md);
  cursor: pointer; transition: background var(--transition-base);
}
.cs-send:hover:not(:disabled) { background: var(--color-brand-hover); }
.cs-send:disabled { background: #c5cdda; color: #eef1f7; cursor: not-allowed; }
.cs-hint { font-size: 0.75rem; color: var(--color-text-muted); margin: 0.55rem 0 0; text-align: center; }
.cs-policy-links {
  font-size: 0.8125rem; line-height: 1.5; color: var(--color-text-soft);
  margin: 0.75rem 0 0;
}
.cs-policy-links a { color: var(--color-brand); font-weight: 600; }
.cs-disclosure {
  font-size: 0.75rem; line-height: 1.55; color: var(--color-text-soft);
  margin: 1.1rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--color-border);
}
.cs-caption { text-align: center; margin: 0.9rem 0 0; color: var(--color-text-muted); font-size: 0.8125rem; line-height: 1.45; }

/* Numbered opt-in workflow + sender reference line */
.opt-steps {
  counter-reset: opt-step;
  list-style: none;
  margin: 0;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 1.6rem);
  display: grid;
  gap: 0;
  border: 1px solid rgba(31, 71, 150, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-sm);
}
.opt-steps li {
  counter-increment: opt-step;
  position: relative;
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  column-gap: 0.95rem;
  align-items: start;
  padding-bottom: 1.15rem;
}
.opt-steps li:last-child { padding-bottom: 0; }
.opt-steps li::before {
  content: counter(opt-step);
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(31, 71, 150, 0.28);
}
.opt-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(0.95rem - 1px);
  top: 2.1rem;
  bottom: -0.05rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-brand) 0%, rgba(31, 71, 150, 0.16) 100%);
}
.opt-step-text {
  padding-top: 0.22rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.opt-steps strong { color: var(--color-text); font-weight: 700; }
.opt-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.opt-proof {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.9rem;
  border: 1px solid rgba(31, 71, 150, 0.12);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  color: var(--color-text-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}
.opt-proof svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.opt-proof strong { color: var(--color-text); }
.opt-reference {
  margin: 0.5rem 0 0; padding: 1rem 1.1rem;
  background: linear-gradient(90deg, rgba(244, 180, 0, 0.13), rgba(31, 71, 150, 0.06));
  border: 1px solid rgba(244, 180, 0, 0.35);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  font-size: 0.9rem; line-height: 1.5; color: var(--color-text);
}
.opt-assurance {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(31, 71, 150, 0.14);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.opt-assurance svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.opt-assurance p { margin: 0; font-size: 0.95rem; }
.opt-assurance strong { color: var(--color-text); }
.opt-confirm {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(31, 71, 150, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  box-shadow: var(--shadow-sm);
}
.opt-confirm h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text);
}
.opt-confirm p { margin: 0 0 0.85rem; font-size: 0.9375rem; line-height: 1.55; color: var(--color-text-soft); }
.opt-confirm p:last-child { margin-bottom: 0; }
.opt-confirm-sample {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .sms-optin-grid { grid-template-columns: 1fr; }
  .consent-figure { position: relative; top: auto; }
}
@media (max-width: 600px) {
  .pg-phone-item { width: 70vw; }
  .opt-proof-grid { grid-template-columns: 1fr; }
  .opt-panel { padding: 1rem; }
  .cs-appbar { align-items: flex-start; flex-direction: column; gap: 0.6rem; }
  .cs-body { padding: 1.2rem; }
  .opt-assurance { padding: 1rem; }
}

/* ===== A2P 10DLC verification — compact ribbon + polished evidence section ===== */
.a2p-ribbon {
  background: linear-gradient(90deg, #0d1b3a 0%, #1f4796 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* Top padding clears the fixed site header (~88px) so the ribbon content
     is visible on load; the dark band itself extends behind the header,
     which avoids any gap when the header height varies by breakpoint. */
  padding: calc(88px + 0.65rem) 0 0.65rem;
}
/* The hero no longer needs to clear the fixed header when the ribbon precedes it */
.a2p-ribbon + .hero { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.a2p-ribbon-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  text-align: center;
}
.a2p-ribbon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(244, 180, 0, 0.18);
  border: 1px solid rgba(244, 180, 0, 0.35);
  color: #fde68a;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.a2p-ribbon-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.a2p-ribbon-text {
  margin: 0;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.875rem;
  line-height: 1.4;
}
.a2p-ribbon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background var(--transition-base), border-color var(--transition-base);
}
.a2p-ribbon-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff !important;
}
.a2p-ribbon-link svg { width: 16px; height: 16px; }

#a2p-verification { scroll-margin-top: 88px; }
.a2p-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(31, 71, 150, 0.09), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(244, 180, 0, 0.1), transparent 18rem),
    var(--color-bg-soft);
}
.a2p-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.a2p-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.875rem;
}
.a2p-toc {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.a2p-toc h4 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.a2p-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}
.a2p-toc li { margin-bottom: 0.35rem; }
.a2p-toc a {
  color: var(--color-text-soft);
  line-height: 1.4;
}
.a2p-toc a:hover { color: var(--color-brand); }
.a2p-doc-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(31, 71, 150, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.a2p-doc-links span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.a2p-doc-links a {
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-all;
}
.a2p-main {
  display: grid;
  gap: 1rem;
}
.a2p-card {
  padding: clamp(1.15rem, 2.5vw, 1.5rem);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}
.a2p-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--color-text);
  scroll-margin-top: 110px;
}
.a2p-card p:last-child,
.a2p-card ul:last-child,
.a2p-card ol:last-child { margin-bottom: 0; }
.a2p-optional-banner {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  border: 2px solid #854d0e;
  background: #fefce8;
  color: #422006;
  font-size: 0.98rem;
  line-height: 1.45;
}
.a2p-optional-banner strong { color: #422006; }
.a2p-lead {
  margin: 0 0 1rem;
  padding: 1rem 1.15rem;
  background: linear-gradient(90deg, rgba(244, 180, 0, 0.12), rgba(31, 71, 150, 0.06));
  border: 1px solid rgba(244, 180, 0, 0.32);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.a2p-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.a2p-summary-card {
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.a2p-summary-card span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.a2p-summary-card p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1.45;
}
.a2p-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.a2p-proof {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.85rem;
  background: var(--color-bg-soft);
  border: 1px solid rgba(31, 71, 150, 0.1);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text-soft);
}
.a2p-proof svg {
  width: 18px;
  height: 18px;
  color: var(--color-brand);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.a2p-proof strong { color: var(--color-text); }
.a2p-proof--wide { grid-column: 1 / -1; }
.a2p-steps {
  counter-reset: a2p-step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.a2p-steps li {
  counter-increment: a2p-step;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 1rem;
  background: var(--color-bg-soft);
  border: 1px solid rgba(31, 71, 150, 0.1);
  border-radius: var(--radius-md);
}
.a2p-steps li::before {
  content: counter(a2p-step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-brand-light));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.a2p-steps span {
  padding-top: 0.2rem;
  color: var(--color-text-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.a2p-sample {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #0d1b3a;
  border-radius: var(--radius-md);
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.a2p-golden {
  margin: 0;
  padding: 1rem 1.15rem;
  background: linear-gradient(90deg, rgba(244, 180, 0, 0.16), rgba(31, 71, 150, 0.08));
  border: 1px solid rgba(244, 180, 0, 0.35);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.55;
}
.a2p-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}
.a2p-keyword {
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--color-brand-soft);
  border: 1px solid rgba(31, 71, 150, 0.14);
  color: var(--color-brand);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.a2p-screenshot-note {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--color-bg-soft);
  border: 1px dashed rgba(31, 71, 150, 0.22);
  border-radius: var(--radius-md);
}
.a2p-screenshot-note svg {
  width: 22px;
  height: 22px;
  color: var(--color-brand);
  flex-shrink: 0;
  margin-top: 2px;
}
.a2p-screenshot-note p { margin: 0; font-size: 0.9rem; }
.a2p-screenshot-note a { font-weight: 600; }
.a2p-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.a2p-fig {
  margin: 0;
}
.a2p-fig a {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.a2p-fig a:hover {
  border-color: rgba(31, 71, 150, 0.35);
  box-shadow: var(--shadow-md);
}
.a2p-screenshot {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}
.a2p-fig figcaption {
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-text-soft);
}
.a2p-fig figcaption a {
  display: inline;
  border: 0;
  box-shadow: none;
  font-weight: 600;
  color: var(--color-brand);
}
@media (max-width: 720px) {
  .a2p-evidence-grid { grid-template-columns: 1fr; }
}
.a2p-footnote {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.a2p-section .section-header { margin-bottom: 2rem; }
.a2p-section .section-header .a2p-lead { text-align: left; }
@media (max-width: 900px) {
  .a2p-layout { grid-template-columns: 1fr; }
  .a2p-sidebar { position: static; }
  .a2p-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1rem;
  }
}
@media (max-width: 640px) {
  .a2p-summary,
  .a2p-proof-grid { grid-template-columns: 1fr; }
  .a2p-toc ol { grid-template-columns: 1fr; }
  .a2p-ribbon-inner { flex-direction: column; gap: 0.5rem; }
}
