/* ============================================================
   WebsitePairs × PH7 look (Nov 2026): black + electric blue, like ph7records.com,
   keeping the repair-shop bones: blueprint grid, work-order ticket, stamp, mono labels.
   Loads LAST on every page, so it only re-colours; layout lives in styles.css / brand.css.
   ============================================================ */
:root {
  --abyss: #07080a;
  --deep: #0c0c0d;
  --ocean: #edeff2;          /* headings (were dark navy on light) */
  --tide: #3b9dff;           /* links, labels: PH7 blue */
  --aqua: #3b9dff;           /* primary action */
  --aqua-ink: #050b14;       /* text on blue */
  --foam: #0c0c0d;           /* page ground (was light foam) */
  --mist: rgba(255, 255, 255, .10);
  --ink: #edeff2;
  --slate: #a6aebb;
  --spray: #a6aebb;

  --surface: #131315;
  --surface-2: #17171a;
  --line2: rgba(255, 255, 255, .16);
  --electric: #3d6bff;
  --cyan: #22d3ee;

  --bp-navy: #0a0b0e;
  --bp-blue: #111521;
  --bp-line: rgba(59, 157, 255, .09);
  --bp-ink: #c9d3e0;
  --ticket: #f4f6f9;         /* the work order stays paper-white: the one light object on the bench */
  --ticket-ink: #14181f;
  --stamp: #3d6bff;
  color-scheme: dark;
}

body { background: var(--deep); color: var(--ink); }
::selection { background: rgba(59, 157, 255, .35); }
a { color: var(--tide); }
h2 { color: var(--ink); }

/* Buttons */
.btn-primary { box-shadow: 0 10px 30px -12px rgba(59, 157, 255, .75); }
.btn-primary:hover { background: #63b3ff; }
.btn-ghost { border-color: var(--line2); color: #fff; }
.btn-outline { border-color: var(--line2); color: var(--ink); }
.btn-outline:hover { background: rgba(59, 157, 255, .12); border-color: var(--tide); color: #fff; }

/* Nav, footer, page heroes */
.nav { background: rgba(12, 12, 13, .86); border-bottom-color: rgba(255, 255, 255, .08); }
.nav-links a:hover, .nav-menu summary:hover, .nav-menu[open] summary { color: #fff; }
.menu-panel { background: var(--surface-2); border-color: var(--line2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); }
.menu-panel a { color: var(--ink) !important; }
.menu-panel a:hover { background: rgba(59, 157, 255, .10); }
.menu-panel .soon { border-top-color: var(--mist); }
.tabbar { background: rgba(12, 12, 13, .94); border-top-color: rgba(255, 255, 255, .08); }
.footer { background: var(--abyss); border-top: 1px solid rgba(255, 255, 255, .06); }
.crumbs { background: var(--abyss); border-bottom-color: rgba(255, 255, 255, .06); }
.page-hero, .hero, .bp {
  background-color: var(--bp-navy);
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px),
    linear-gradient(rgba(59, 157, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 157, 255, .04) 1px, transparent 1px),
    radial-gradient(900px 500px at 88% -10%, rgba(59, 157, 255, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(61, 107, 255, .14), transparent 60%);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px, auto, auto;
}
.hero h1 em, .home-hero h1 .re { color: var(--tide); }
.dim-line { color: rgba(59, 157, 255, .45); }

/* Dark cards instead of white ones */
.leak, .plan, .faq details, .checklist, .intake, .thanks .card, .sstep, .ind-card, .journey,
.compare-wrap, .howto li, .path, .pmsg.bot {
  background: var(--surface); border-color: rgba(255, 255, 255, .09);
}
.leaks { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .09); }
.plans-section { background: var(--deep); }
.plan.featured {
  background: linear-gradient(180deg, #0f1828, #0c1220); border-color: rgba(59, 157, 255, .55);
  box-shadow: 0 0 0 1px rgba(59, 157, 255, .25), 0 30px 70px -30px rgba(59, 157, 255, .45);
}
.plan.featured .plan-depth { color: var(--cyan); }
.feature .icon, .howto li::before { background: var(--surface-2); color: var(--tide); border: 1px solid rgba(59, 157, 255, .25); }
.insight { background: var(--surface); border: 1px solid rgba(255, 255, 255, .09); }
.insight .big { color: var(--tide); }
.cta-band { background: linear-gradient(120deg, #0f1a33, #13306b 55%, #1e4fd8); border: 1px solid rgba(59, 157, 255, .35); }
.cta-band p { color: #c9d3e0; }
.note-box { background: rgba(255, 201, 63, .07); border-color: rgba(255, 201, 63, .35); color: var(--ink); }

/* Light-blue info chips → blue tint on dark */
.step-out, .jstep .fix, .compare td.win { background: rgba(59, 157, 255, .10); color: var(--ink); }
.compare thead th { background: var(--surface-2); }
.compare td:first-child { color: var(--ink); }
.choice { background: var(--surface-2); color: var(--ink); border-color: var(--mist); }
.choice[aria-pressed="true"] { background: var(--tide); border-color: var(--tide); color: var(--aqua-ink); }
.sstep.is-active .snum i { color: var(--aqua-ink); }

/* Form fields on dark */
.field input, .field select, .field textarea, .sstep select, .sstep input[type=url], .sstep input[type=text],
.patch-in input, .chips label {
  background: #0a0a0b; border-color: rgba(255, 255, 255, .14); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus, .sstep select:focus, .sstep input:focus {
  background: #0f1012; border-color: var(--tide); box-shadow: 0 0 0 4px rgba(59, 157, 255, .18);
}
.field input::placeholder, .field textarea::placeholder { color: #6f7887; }
.chips label:has(input:checked) { background: rgba(59, 157, 255, .14); border-color: var(--tide); color: #fff; }
.form-done { background: rgba(143, 217, 184, .10); border-color: rgba(143, 217, 184, .4); color: #b8ecd2; }
.checklist .ready a { color: var(--ink); }
.checklist .ready a:hover, .checklist .ready a:focus-visible { background: rgba(59, 157, 255, .08); }

/* The work order, the analyzer result and the lead box stay paper on the dark bench */
.ticket { background-image: repeating-linear-gradient(transparent 0 31px, rgba(61, 107, 255, .12) 31px 32px); }
.ticket::before { background: radial-gradient(circle, var(--deep) 3.5px, transparent 4px) 0 0 / 24px 8px repeat-x; }
.lead-fields input { background: #fff; border-color: #d3d9e2; color: var(--ticket-ink); }
.lead-fields input:focus { background: #fff; border-color: var(--stamp); box-shadow: 0 0 0 4px rgba(61, 107, 255, .15); }
.inrebuild { color: var(--tide); border-color: rgba(59, 157, 255, .5); }

/* Free check-up box + score card */
.checkup-form input { border-color: rgba(59, 157, 255, .35); background: rgba(255, 255, 255, .04); }
.checkup-form input:focus { border-color: var(--tide); box-shadow: 0 0 0 4px rgba(59, 157, 255, .2); }
#wp-analyzer { background: rgba(255, 255, 255, .03); border-color: rgba(59, 157, 255, .22); }
#wp-analyzer .wscore { --ws-box: rgba(255, 255, 255, .04); --ws-line: rgba(255, 255, 255, .12); --ws-dim: #c9d3e0; --ws-mute: #8b93a1; --ws-accent: #3b9dff; }
#wp-analyzer .wscore .fix { background: rgba(59, 157, 255, .10); }

/* Patch, the guide */
.patch-launch { background: var(--surface-2); border-color: rgba(59, 157, 255, .5); }
.patch-launch .ping { background: var(--tide); }
.patch { background: var(--surface); border-color: var(--line2); }
.patch-head { background: #0a0b0e; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.patch-log { background: var(--deep); }
.pmsg.me { background: var(--tide); color: var(--aqua-ink); }
.pmsg .mini-ticket { background: var(--surface-2); }
.patch-chips, .patch-in { background: var(--surface); }
.patch-chips button { background: transparent; color: var(--ink); border-color: rgba(59, 157, 255, .55); }
.patch-chips button:hover { background: rgba(59, 157, 255, .12); }

/* Phone mockup keeps a light "client site" screen; its chips read on white */
.screen .screen-row span { background: #eef3f9; color: #14181f; }
.screen .trip { border-color: #dfe5ee; }
.screen .trip .trip-price { color: #1e4fd8; }
.screen .trip small { color: #5d6b7b; }

/* ---------- Four plans (Plus, Nov 2026) ---------- */
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plans.four .plan { padding: 28px 22px; }
.plans.four .plan h3 { font-size: 2.1rem; }
.plans.four .price-main { font-size: 2.6rem; }
@media (max-width: 1180px) { .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; max-width: 520px; } }

/* Plus box on the industry pages */
.plus-box {
  margin-top: 28px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: center;
  background: linear-gradient(180deg, #0f1828, #0c1220); border: 1px solid rgba(59, 157, 255, .55);
  border-radius: 20px; padding: clamp(22px, 4vw, 34px); position: relative;
  box-shadow: 0 30px 70px -30px rgba(59, 157, 255, .45);
}
.plus-box > div { min-width: 0; }
.plus-box .plan-badge { position: static; display: inline-block; margin-bottom: 12px; }
.plus-box h3 { font: 800 2rem/1.05 var(--font-display); text-transform: uppercase; color: #fff; }
.plus-box p { color: var(--slate); margin-top: 8px; }
.plus-box ul { margin: 14px 0 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--ink); }
.plus-price { display: grid; gap: 6px; justify-items: start; }
.plus-price b { font: 800 3rem/1 var(--font-display); color: #fff; }
.plus-price span { font-family: var(--font-mono); font-size: .82rem; color: var(--slate); }
.plus-price .btn { margin-top: 10px; }
@media (max-width: 760px) { .plus-box { grid-template-columns: 1fr; } }
.screen { color: #14181f; }
.screen .trip b, .screen .trip span { color: #14181f; }

/* Client login stays in the header on phones (the other links move to the bottom bar) */
@media (max-width: 760px) { .nav-links a.nav-login { display: inline-flex; font-size: .85rem; padding: 7px 12px; border: 1px solid rgba(59,157,255,.55); border-radius: 999px; color: #fff; } }
