/* ── css/tokens.css ───────────────────────────── */
/* tokens.css — the AgentReady design tokens.
 *
 * Before the migration this :root block was duplicated across ten pages in six
 * apparently-different variants. Diffing them during migration showed the ONLY
 * differences were whitespace and notation:
 *
 *     --bg: #ffffff   vs  --bg: #fff                            (same colour)
 *     linear-gradient(135deg, #6366f1, #8b5cf6)
 *       vs linear-gradient(135deg,#6366f1,#8b5cf6)              (same gradient)
 *     "Plus Jakarta Sans", system-ui, sans-serif
 *       vs "Plus Jakarta Sans",system-ui,sans-serif             (same stack)
 *
 * Plus four tokens that only some pages declared because only those pages used
 * them. Consolidating is therefore visually lossless — there was no real drift.
 */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg2: #f8f9fc;
  --bg3: #f1f3f8;
  --surface: #eef0f6;
  --surface2: #e4e7f0;
  --border: #e2e5ee;
  --border2: #c9cede;

  /* Text */
  --text: #111827;
  --text2: #4b5563;
  --text3: #9ca3af;

  /* Brand */
  --accent: #6366f1;
  --accent2: #4f46e5;
  --accent-g: linear-gradient(135deg, #6366f1, #8b5cf6);

  /* Status. The -dim variants were declared only by index.html, which is the
     only page that renders audit score states. Harmless elsewhere. */
  --green: #059669;
  --green-dim: #d1fae5;
  --teal: #0891b2;
  --teal-dim: #cffafe;
  --amber: #d97706;
  --amber-dim: #fef3c7;
  --red: #dc2626;
  --red-dim: #fee2e2;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;

  /* Radii */
  --r: 8px;
  --r2: 14px;
  --r3: 20px;

  /* Article measure. Declared only by the three industry-insights pages;
     nothing else references var(--max). */
  --max: 760px;
}


/* ── css/base.css ───────────────────────────── */
/* base.css — the reset every page shared, verbatim.
 *
 * These are the only two rules that were byte-identical on all twelve pages.
 * Everything else that looked shared turned out to be either page-specific or
 * dead nav/footer styling, so this file is deliberately small.
 *
 * `body` is NOT here. There are three legitimate variants and merging them
 * would change rendering:
 *
 *   index, contact, faq              min-height:100vh; overflow-x:hidden
 *   about, how-it-works, pricing,    overflow-x:hidden
 *     privacy, terms, 404
 *   the three article pages          font-size:16px; line-height:1.7
 *
 * Each page keeps its own body rule in assets/css/pages/*.css.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Respect a reduced-motion preference for the smooth scroll above. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* ── css/components.css ───────────────────────────── */
/* components.css — the global header and footer.
 *
 * Lifted verbatim from the Webflow Symbols, which the 18 Aug 2026 production
 * capture verified are byte-identical to frontend/src/components/*.html.
 *
 * The --ar-* prefix exists because these styles used to be injected into a
 * Webflow document alongside twelve pages' worth of leaking global selectors
 * (bare `nav`, `footer`, `a`, `button`). Off Webflow that collision is gone
 * and the prefix could be unwound — deliberately left alone here so this
 * migration stays visually lossless. See the post-migration list.
 */
:root {
    --ar-accent: #6366f1;
    --ar-accent-g: linear-gradient(135deg, #6366f1, #8b5cf6);
    --ar-text: #111827;
    --ar-text2: #4b5563;
    --ar-text3: #9ca3af;
    --ar-border: #e2e5ee;
    --ar-bg: #ffffff;
    --ar-surface: #eef0f6;
    --ar-font: "Plus Jakarta Sans", system-ui, sans-serif;
    --ar-mono: "JetBrains Mono", monospace;
    --ar-r2: 14px;
  }

  .ar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 60px;
    border-bottom: 1px solid var(--ar-border);
    background: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--ar-font);
  }

  .ar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ar-text);
    letter-spacing: -0.3px;
    text-decoration: none;
  }

  .ar-logo:hover {
    text-decoration: none;
    color: var(--ar-text);
  }

  .ar-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ar-accent-g);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .ar-logo sup {
    font-size: 9px;
    font-family: var(--ar-mono);
    color: var(--ar-text3);
    vertical-align: super;
    font-weight: 400;
  }

  .ar-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ar-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--ar-text2);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
  }

  .ar-nav-link:hover {
    color: var(--ar-text);
    background: var(--ar-surface);
  }

  .ar-nav-cta {
    background: var(--ar-accent-g);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--ar-r2);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.15s;
  }

  .ar-nav-cta:hover {
    opacity: 0.88;
  }

  /* Burger Menu */
  .ar-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
  }

  .ar-burger span {
    height: 2px;
    width: 100%;
    background: var(--ar-text);
    transition: all 0.3s ease;
  }

  /* Mobile Menu */
  .ar-mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95); /* Solid white like nav */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ar-border);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    z-index: 5;

    /* Animation setup */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .ar-mobile-menu.active {
    max-height: 320px; /* Enough space for all links */
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
  }

  .ar-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }

  .ar-mobile-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--ar-text2);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s;
  }

  .ar-mobile-link:hover {
    background: var(--ar-surface);
    color: var(--ar-text);
  }

  .ar-mobile-cta {
    margin-top: 12px;
    padding: 0 20px 20px;
  }

  /* Active Burger Animation */
  .ar-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .ar-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .ar-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  @media (max-width: 768px) {
    .ar-nav {
      padding: 0 16px;
      height: 52px;
    }

    .ar-nav-links {
      display: none;
    }

    .ar-burger {
      display: flex;
    }

    .ar-nav-cta {
      font-size: 12px;
      padding: 7px 14px;
    }
  }

.ar-footer {
    padding: 32px 40px;
    border-top: 1px solid #e2e5ee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #ffffff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  }
  .ar-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
  }
  .ar-footer-brand:hover { text-decoration: none; color: #4b5563; }
  .ar-footer-dot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 5px;
  }
  .ar-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .ar-footer-link {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
  }
  .ar-footer-link:hover { color: #4b5563; }
  .ar-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
  }
  .ar-footer-social:hover { color: #0a66c2; background: #f3f4f6; }
  .ar-footer-social svg { width: 16px; height: 16px; display: block; fill: currentColor; }
  .ar-footer-copy {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #9ca3af;
  }
  @media(max-width: 768px) {
    .ar-footer { padding: 20px 16px; flex-direction: column; text-align: center; gap: 12px; }
    .ar-footer-brand { justify-content: center; }
    .ar-footer-links { justify-content: center; }
  }


/* ── css/pages/pricing.css ───────────────────────────── */
/* pricing.css — extracted from pricing.html during the Webflow → Eleventy migration.
   Tokens live in tokens.css, reset in base.css, header/footer in components.css.
   Dead nav/footer rules removed (verified unused: no page referenced them). */

body {
        background: var(--bg);
        color: var(--text);
        font-family: var(--font);
        font-size: 15px;
        line-height: 1.6;
        overflow-x: hidden;
      }

button {
        cursor: pointer;
        border: none;
        font-family: inherit;
      }

a {
        text-decoration: none;
      }

::-webkit-scrollbar {
        width: 5px;
      }

::-webkit-scrollbar-track {
        background: var(--bg);
      }

::-webkit-scrollbar-thumb {
        background: var(--border2);
        border-radius: 99px;
      }

.orb {
        position: fixed;
        pointer-events: none;
        border-radius: 50%;
        filter: blur(120px);
        opacity: 0.06;
        z-index: 0;
      }

.orb-1 {
        width: 700px;
        height: 700px;
        background: #6366f1;
        top: -250px;
        right: -150px;
      }

.orb-2 {
        width: 500px;
        height: 500px;
        background: #8b5cf6;
        bottom: 5%;
        left: -150px;
      }

.page {
        position: relative;
        z-index: 1;
      }

.nav-link.active {
        color: var(--accent2);
      }

/* PAGE HERO */
      .page-hero {
        background: var(--bg2);
        border-bottom: 1px solid var(--border);
        padding: 72px 24px 64px;
        text-align: center;
      }

.page-hero-inner {
        max-width: 640px;
        margin: 0 auto;
      }

.section-label {
        font-family: var(--mono);
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--accent2);
        margin-bottom: 14px;
      }

.page-hero h1 {
        font-size: clamp(30px, 4.5vw, 52px);
        font-weight: 800;
        letter-spacing: -1.2px;
        line-height: 1.1;
        color: var(--text);
        margin-bottom: 18px;
      }

.grad {
        background: linear-gradient(
          135deg,
          var(--accent2) 0%,
          #a78bfa 50%,
          var(--teal) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }

.page-hero-lead {
        font-size: 17px;
        color: var(--text2);
        line-height: 1.7;
        margin-bottom: 32px;
      }

.hero-cta {
        background: var(--accent-g);
        color: #fff;
        font-size: 15px;
        font-weight: 700;
        padding: 13px 32px;
        border-radius: var(--r2);
        border: none;
        cursor: pointer;
        transition: opacity 0.15s;
      }

.hero-cta:hover {
        opacity: 0.88;
      }

.hero-trust {
        font-family: var(--mono);
        font-size: 12px;
        color: var(--text3);
        margin-top: 14px;
      }

/* PRICING GRID */
      .pricing-section {
        max-width: 1180px;
        margin: 0 auto;
        padding: 64px 24px;
      }

.pricing-section-label {
        font-family: var(--mono);
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--accent2);
        margin-bottom: 10px;
        text-align: center;
      }

.pricing-section-sub {
        font-size: 15px;
        color: var(--text2);
        text-align: center;
        margin-bottom: 48px;
      }

/* PRIMARY CARDS ROW */
      .cards-primary {
        display: grid;
        /* LAUNCH: 2 cards (Free + Full) while the $25 Re-Audit card is hidden.
           Restore to repeat(3, 1fr) and remove max-width/margin centering when
           the Re-Audit card is un-commented below. */
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 16px;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
      }

.cards-secondary {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        margin-bottom: 64px;
      }

.p-card {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r3);
        padding: 28px 26px;
        display: flex;
        flex-direction: column;
        position: relative;
        transition:
          box-shadow 0.2s,
          border-color 0.2s;
      }

.p-card:hover {
        box-shadow: 0 8px 32px rgba(99, 102, 241, 0.09);
      }

.p-card.popular {
        border-color: var(--accent);
        background: rgba(99, 102, 241, 0.04);
      }

.p-card.subtle {
        background: var(--bg3);
        border-style: dashed;
      }

.popular-tag {
        position: absolute;
        top: -12px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--accent-g);
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 3px 16px;
        border-radius: 99px;
        white-space: nowrap;
        font-family: var(--mono);
      }

.p-card-label {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text3);
        margin-bottom: 10px;
      }

.p-card-name {
        font-size: 20px;
        font-weight: 800;
        color: var(--text);
        margin-bottom: 4px;
        letter-spacing: -0.3px;
      }

.p-card-price {
        font-size: 40px;
        font-weight: 800;
        color: var(--text);
        letter-spacing: -2px;
        line-height: 1;
        margin-bottom: 4px;
      }

.p-card-price span {
        font-size: 14px;
        font-weight: 400;
        color: var(--text3);
        font-family: var(--mono);
        letter-spacing: 0;
      }

.p-card-tagline {
        font-size: 14px;
        color: var(--text2);
        line-height: 1.55;
        margin-bottom: 20px;
        min-height: 40px;
      }

.p-card-divider {
        height: 1px;
        background: var(--border);
        margin-bottom: 20px;
      }

.p-card-includes {
        font-family: var(--mono);
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text3);
        margin-bottom: 12px;
      }

.p-card-features {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 24px;
        flex: 1;
      }

.p-card-features li {
        font-size: 13px;
        color: var(--text2);
        display: flex;
        align-items: flex-start;
        gap: 9px;
        line-height: 1.45;
      }

.p-card-features li::before {
        content: "✓";
        color: var(--green);
        font-family: var(--mono);
        font-size: 11px;
        flex-shrink: 0;
        margin-top: 2px;
        font-weight: 700;
      }

.p-card-features li.muted::before {
        content: "→";
        color: var(--text3);
      }

.p-card-features li.muted {
        color: var(--text3);
      }

.p-card-note {
        font-size: 12px;
        color: var(--text3);
        line-height: 1.55;
        margin-bottom: 18px;
        padding: 10px 14px;
        background: var(--bg3);
        border-radius: var(--r);
        border-left: 3px solid var(--border2);
        font-style: italic;
      }

.p-card-btn {
        width: 100%;
        padding: 12px;
        border-radius: var(--r2);
        font-size: 14px;
        font-weight: 700;
        font-family: var(--font);
        cursor: pointer;
        border: none;
        transition: opacity 0.15s;
        margin-top: auto;
      }

.btn-primary {
        background: var(--accent-g);
        color: #fff;
      }

.btn-secondary {
        background: var(--surface);
        color: var(--text2);
        border: 1px solid var(--border2);
      }

.btn-outline {
        background: transparent;
        color: var(--accent2);
        border: 1.5px solid var(--accent);
        padding: 11px;
      }

.p-card-btn:hover {
        opacity: 0.85;
      }

/* PROGRESS STRIP */
      .progress-strip {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        padding: 18px 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-bottom: 64px;
        flex-wrap: wrap;
      }

.prog-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 600;
        color: var(--text2);
        white-space: nowrap;
      }

.prog-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent-g);
        flex-shrink: 0;
      }

.prog-arrow {
        color: var(--border2);
        margin: 0 12px;
        font-size: 14px;
      }

/* AGENCY SECTION */
      .agency-section {
        background: var(--bg2);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 64px 24px;
      }

.agency-inner {
        max-width: 1180px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center;
      }

.agency-left {
      }

.agency-eyebrow {
        font-family: var(--mono);
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--accent2);
        margin-bottom: 12px;
      }

.agency-h2 {
        font-size: clamp(24px, 3vw, 36px);
        font-weight: 800;
        letter-spacing: -0.6px;
        color: var(--text);
        margin-bottom: 14px;
        line-height: 1.2;
      }

.agency-desc {
        font-size: 15px;
        color: var(--text2);
        line-height: 1.7;
        margin-bottom: 24px;
      }

.agency-card {
        background: var(--bg);
        border: 1px solid var(--accent);
        border-radius: var(--r3);
        padding: 32px 28px;
      }

.agency-price {
        font-size: 36px;
        font-weight: 800;
        color: var(--text);
        letter-spacing: -1.5px;
        margin-bottom: 2px;
      }

.agency-price span {
        font-size: 14px;
        font-weight: 400;
        color: var(--text3);
        font-family: var(--mono);
        letter-spacing: 0;
      }

.agency-name {
        font-family: var(--mono);
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--text2);
        margin-bottom: 20px;
      }

.agency-features {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 20px;
      }

.agency-features li {
        font-size: 13px;
        color: var(--text2);
        display: flex;
        align-items: flex-start;
        gap: 9px;
        line-height: 1.45;
      }

.agency-features li::before {
        content: "✓";
        color: var(--green);
        font-family: var(--mono);
        font-size: 11px;
        flex-shrink: 0;
        margin-top: 2px;
        font-weight: 700;
      }

.agency-extras {
        font-size: 12px;
        color: var(--text3);
        font-family: var(--mono);
        line-height: 1.7;
        padding-top: 14px;
        border-top: 1px solid var(--border);
      }

.agency-btn {
        width: 100%;
        margin-top: 20px;
        padding: 13px;
        border-radius: var(--r2);
        font-size: 14px;
        font-weight: 700;
        font-family: var(--font);
        background: var(--accent-g);
        color: #fff;
        border: none;
        cursor: pointer;
        transition: opacity 0.15s;
      }

.agency-btn:hover {
        opacity: 0.88;
      }

/* MID CTA */
      .mid-cta {
        background: var(--accent-g);
        border-radius: var(--r3);
        padding: 52px 40px;
        text-align: center;
        margin: 0 auto 64px;
        max-width: 700px;
      }

.mid-cta h2 {
        font-size: clamp(22px, 3vw, 32px);
        font-weight: 800;
        color: #fff;
        margin-bottom: 10px;
        letter-spacing: -0.4px;
      }

.mid-cta p {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 24px;
        line-height: 1.65;
      }

.mid-cta-btn {
        display: inline-block;
        background: #fff;
        color: var(--accent2);
        font-family: var(--font);
        font-size: 14px;
        font-weight: 700;
        padding: 12px 32px;
        border-radius: var(--r2);
        border: none;
        cursor: pointer;
        transition: opacity 0.15s;
      }

.mid-cta-btn:hover {
        opacity: 0.9;
      }

/* FAQ */
      .faq-section {
        max-width: 820px;
        margin: 0 auto;
        padding: 0 24px 80px;
      }

.faq-section-h2 {
        font-size: clamp(22px, 3vw, 30px);
        font-weight: 800;
        color: var(--text);
        letter-spacing: -0.4px;
        margin-bottom: 28px;
      }

.faq-list {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }

.faq-item {
        background: var(--bg2);
        border: 1px solid var(--border);
        border-radius: var(--r2);
        overflow: hidden;
      }

.faq-q {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        cursor: pointer;
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        gap: 12px;
        transition: background 0.15s;
      }

.faq-q:hover {
        background: var(--bg3);
      }

.faq-chev {
        color: var(--text3);
        font-size: 12px;
        transition: transform 0.2s;
        flex-shrink: 0;
      }

.faq-item.open .faq-chev {
        transform: rotate(180deg);
      }

.faq-a {
        display: none;
        padding: 0 20px 18px;
        font-size: 14px;
        color: var(--text2);
        line-height: 1.75;
      }

.faq-item.open .faq-a {
        display: block;
      }

@media (max-width: 1024px) {
.cards-primary,
        .cards-secondary {
          grid-template-columns: repeat(2, 1fr);
        }
.agency-inner {
          grid-template-columns: 1fr;
        }
}

@media (max-width: 768px) {
.page-hero {
          padding: 48px 16px 40px;
        }
.pricing-section {
          padding: 40px 16px;
        }
.cards-primary,
        .cards-secondary {
          grid-template-columns: 1fr;
        }
.progress-strip {
          gap: 6px;
          justify-content: flex-start;
        }
.prog-arrow {
          margin: 0 6px;
        }
.agency-section {
          padding: 40px 16px;
        }
.mid-cta {
          padding: 36px 20px;
          margin: 0 0 48px;
        }
.faq-section {
          padding: 0 16px 60px;
        }
}


/* ── Purchase modal ────────────────────────────────────────────────────
   Self-contained on purpose. The audit page's .modal-* classes live in
   home.css, which the pricing page does not load, and moving them into the
   shared sheet would touch a working checkout for no benefit here. */
.pm-bg {
  position: fixed;
  inset: 0;
  background: rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.pm-bg.pm-hidden {
  display: none !important;
}

.pm-card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r3);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  position: relative;
  margin: auto;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pm-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text3);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
}

.pm-close:hover { color: var(--text); }

.pm-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.pm-sub {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.55;
  margin-bottom: 24px;
}

.pm-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
}

.pm-optional {
  font-weight: 400;
  color: var(--text3);
}

.pm-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border2);
  border-radius: var(--r2);
}

.pm-input:focus {
  outline: 2px solid var(--accent-g, #6366f1);
  outline-offset: 1px;
  border-color: transparent;
}

.pm-error {
  display: none;
  font-size: 13px;
  color: #b91c1c;
  margin-bottom: 12px;
  line-height: 1.5;
}

.pm-error.pm-show { display: block; }

.pm-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: var(--accent-g, #6366f1);
  border: none;
  border-radius: var(--r2);
  cursor: pointer;
}

.pm-submit:disabled { opacity: 0.6; cursor: default; }

.pm-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text3);
  line-height: 1.5;
  text-align: center;
}

.pm-note a { color: var(--text2); }

@media (max-width: 560px) {
  .pm-bg { padding: 12px; align-items: flex-start; }
  .pm-card { padding: 24px 18px; border-radius: var(--r2); }
  .pm-title { font-size: 18px; }
}
