/* ============================================================
   PROMPT BATTALION — Design System
   Issues In. Missions Out.
   Palette: Command Black + Battalion Red + Mission White
   ============================================================ */

:root {
  /* Core brand — tuned to the PB shield crimson */
  --pb-black: #161313;
  --pb-ink: #1c1718;
  --pb-red: #b21d2c;          /* battalion crimson */
  --pb-red-dark: #7d1420;     /* maroon shade */
  --pb-red-deep: #5c0d16;     /* deepest shield maroon */
  --pb-red-bright: #c0392b;   /* lighter highlight red */
  --pb-red-soft: #fbeced;
  --pb-white: #ffffff;
  --pb-bg: #f6f5f4;
  --pb-surface: #ffffff;

  /* Neutrals */
  --pb-gray-900: #1f2024;
  --pb-gray-700: #44464d;
  --pb-gray-500: #71747d;
  --pb-gray-400: #9a9da6;
  --pb-gray-300: #d7d9de;
  --pb-gray-200: #e7e8ec;
  --pb-gray-100: #f1f2f4;

  /* Status (used sparingly per brand: 10% status colors) */
  --pb-available: #3b82f6;
  --pb-progress: #f59e0b;
  --pb-submitted: #8b5cf6;
  --pb-approved: #16a34a;
  --pb-rejected: #dc2626;

  /* Difficulty */
  --pb-easy: #16a34a;
  --pb-medium: #f59e0b;
  --pb-hard: #d7263d;

  /* Type */
  --font-head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadow (soft) */
  --sh-1: 0 1px 2px rgba(17,17,17,.06), 0 1px 3px rgba(17,17,17,.04);
  --sh-2: 0 4px 14px rgba(17,17,17,.07), 0 2px 6px rgba(17,17,17,.05);
  --sh-3: 0 14px 40px rgba(17,17,17,.12), 0 4px 12px rgba(17,17,17,.06);
  --sh-red: 0 8px 24px rgba(178,29,44,.30);

  /* Layout */
  --maxw: 1120px;
  --gutter: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--pb-ink);
  background: var(--pb-bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--pb-black);
}

h1 { font-size: clamp(2.1rem, 7vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }

p { margin: 0 0 1em; color: var(--pb-gray-700); }

.mono { font-family: var(--font-mono); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.center { text-align: center; }
.muted { color: var(--pb-gray-500); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pb-red);
  background: var(--pb-red-soft);
  padding: 6px 12px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow--ghost { background: rgba(255,255,255,.12); color: #fff; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--pb-gray-700); max-width: 60ch; }
.section-head { max-width: 64ch; }
.section-head.center { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  min-height: 52px; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--pb-red); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { background: var(--pb-red-dark); }
.btn--dark { background: var(--pb-black); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--pb-black); border-color: var(--pb-gray-300); }
.btn--ghost:hover { border-color: var(--pb-black); }
.btn--light { background: #fff; color: var(--pb-black); }
.btn--light:hover { background: var(--pb-gray-100); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 1.08rem; min-height: 58px; }
.btn--sm { padding: 10px 16px; min-height: 42px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cards ---------- */
.card {
  background: var(--pb-surface);
  border: 1px solid var(--pb-gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
}
.card--pad { padding: 26px; }
.card--hover { transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--pb-gray-300); }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 700; font-family: var(--font-head);
  padding: 6px 12px; border-radius: var(--r-pill);
  letter-spacing: .01em;
}
.pill--easy { background: #e8f7ee; color: #15803d; }
.pill--medium { background: #fef3e2; color: #b45309; }
.pill--hard { background: var(--pb-red-soft); color: var(--pb-red-dark); }
.pill--soon { background: var(--pb-gray-100); color: var(--pb-gray-500); }
.pill--mono { font-family: var(--font-mono); font-weight: 600; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--pb-gray-700);
  background: var(--pb-gray-100); padding: 5px 11px; border-radius: var(--r-pill);
}

/* ---------- Grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--pb-gray-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; color: var(--pb-black); font-size: 1.12rem; letter-spacing: -0.02em; }
.brand__mark { flex: 0 0 auto; }
.brand__name b { color: var(--pb-red); }
.brand__tag { display: block; font-family: var(--font-mono); font-size: .58rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--pb-gray-500); margin-top: 1px; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a { padding: 9px 13px; border-radius: var(--r-sm); font-weight: 600; font-size: .92rem; color: var(--pb-gray-700); transition: background .15s, color .15s; }
.nav__links a:hover { background: var(--pb-gray-100); color: var(--pb-black); }
.nav__links a.active { color: var(--pb-black); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 940px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  /* Submit Work lives in the mobile menu — free up header space so the brand never wraps */
  .nav__cta .btn--primary { display: none; }
  .nav { gap: 10px; }
  .brand__name { font-size: 1rem; white-space: nowrap; }
  .brand__mark { width: 34px; height: 34px; }
}
.mobile-menu {
  display: none; border-bottom: 1px solid var(--pb-gray-200); background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px var(--gutter); font-weight: 600; border-top: 1px solid var(--pb-gray-100); color: var(--pb-gray-700); }
.mobile-menu a:first-child { border-top: 0; }
.mobile-menu .btn { margin: 14px var(--gutter); width: calc(100% - 2*var(--gutter)); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--pb-black); color: #fff; }
.hero::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(178,29,44,.42), transparent 60%),
    radial-gradient(700px 600px at 0% 110%, rgba(92,13,22,.45), transparent 55%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 96px) 0; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--pb-red); }
.hero .lead { color: rgba(255,255,255,.82); }
.hero__stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-mono); font-size: 1.5rem; color: #fff; display: block; line-height: 1; }
.hero__stat span { font-size: .82rem; color: rgba(255,255,255,.6); }
.hero__art { position: relative; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__art { order: -1; max-width: 420px; }
}

/* ============================================================
   STEPS (How it works)
   ============================================================ */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px; background: #fff; border: 1px solid var(--pb-gray-200); border-radius: var(--r-md);
}
.step__num {
  counter-increment: step;
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  background: var(--pb-black); color: #fff; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
}
.step__num--red { background: var(--pb-red); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; font-size: .95rem; }

/* horizontal connector flow on wide screens */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.flow__item { text-align: center; }
.flow__icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; background: #fff; border: 1px solid var(--pb-gray-200); display: grid; place-items: center; box-shadow: var(--sh-1); }
.flow__item h4 { font-family: var(--font-head); font-size: .98rem; margin: 0 0 4px; color: var(--pb-black); }
.flow__item p { font-size: .82rem; margin: 0; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   MISSION TYPE CARDS
   ============================================================ */
.mtype { display: flex; flex-direction: column; gap: 14px; padding: 24px; height: 100%; }
.mtype__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--pb-red-soft); display: grid; place-items: center; }
.mtype h3 { font-size: 1.1rem; margin: 0; }
.mtype p { font-size: .9rem; margin: 0; flex: 1; }
.mtype__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ============================================================
   MISSION CARD (operator)
   ============================================================ */
.mission {
  background: #fff; border: 1px solid var(--pb-gray-200); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh-1);
}
.mission__head {
  display: flex; justify-content: space-between; gap: 14px; align-items: flex-start;
  padding: 20px 22px; border-bottom: 1px solid var(--pb-gray-100);
}
.mission__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pb-red); font-weight: 600; margin-bottom: 4px; }
.mission__title { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--pb-black); margin: 0; letter-spacing: -.02em; }
.mission__reward { text-align: right; flex: 0 0 auto; }
.mission__reward b { font-family: var(--font-mono); font-size: 1.25rem; color: var(--pb-black); display: block; line-height: 1; }
.mission__reward span { font-size: .68rem; color: var(--pb-gray-400); text-transform: uppercase; letter-spacing: .06em; }
.mission__meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 0; }
.mission__body { padding: 18px 22px; }
.mission__instructions {
  background: var(--pb-gray-100); border: 1px solid var(--pb-gray-200);
  border-radius: var(--r-sm); padding: 16px; position: relative;
  font-size: .92rem; color: var(--pb-gray-900); white-space: pre-wrap; line-height: 1.6;
}
.mission__section-label { font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pb-gray-500); margin: 20px 0 10px; }
.copy-btn {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--pb-gray-300); border-radius: var(--r-pill);
  padding: 6px 12px; font-size: .76rem; font-weight: 700; font-family: var(--font-head);
  color: var(--pb-gray-700); cursor: pointer; transition: all .15s;
}
.copy-btn:hover { border-color: var(--pb-black); color: var(--pb-black); }
.copy-btn.copied { background: var(--pb-approved); border-color: var(--pb-approved); color: #fff; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--pb-gray-900); }
.checklist .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--pb-gray-300); flex: 0 0 auto; }

.field { margin-top: 14px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--pb-gray-900); }
.field .hint { font-weight: 400; color: var(--pb-gray-400); font-size: .8rem; }
.input, .textarea, .select {
  width: 100%; font-family: var(--font-body); font-size: .95rem;
  padding: 13px 14px; border: 1px solid var(--pb-gray-300); border-radius: var(--r-sm);
  background: #fff; color: var(--pb-ink); transition: border .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--pb-red); box-shadow: 0 0 0 3px rgba(178,29,44,.16); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.upload {
  border: 2px dashed var(--pb-gray-300); border-radius: var(--r-sm);
  padding: 22px; text-align: center; color: var(--pb-gray-500); font-size: .9rem;
  background: var(--pb-gray-100); cursor: pointer;
}
.upload:hover { border-color: var(--pb-red); color: var(--pb-red); }
.mission__foot { padding: 4px 22px 22px; }

/* status pills */
.status { display:inline-flex; align-items:center; gap:7px; font-size:.76rem; font-weight:700; padding:5px 11px; border-radius:var(--r-pill); font-family:var(--font-head); }
.status--available { background:#eaf1fe; color:#1d4ed8; }
.status--progress { background:#fef3e2; color:#b45309; }
.status--submitted { background:#f3eefe; color:#6d28d9; }
.status--approved { background:#e8f7ee; color:#15803d; }

/* ============================================================
   OPERATOR APP SHELL
   ============================================================ */
.app-body { background: var(--pb-bg); }
.app-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.app-side {
  background: var(--pb-black); color: #fff; padding: 22px 16px;
  position: sticky; top: 0; height: 100vh; align-self: start; overflow-y: auto;
}
.app-side .brand { color: #fff; margin: 4px 8px 22px; }
.app-side .brand__tag { color: rgba(255,255,255,.5); }
.app-nav { display: flex; flex-direction: column; gap: 4px; }
.app-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  color: rgba(255,255,255,.72); font-weight: 600; font-size: .94rem; transition: background .15s, color .15s;
}
.app-nav a svg { width: 20px; height: 20px; flex: 0 0 auto; }
.app-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.app-nav a.active { background: var(--pb-red); color: #fff; }
.app-side__foot { margin-top: 22px; padding: 14px; border-radius: var(--r-md); background: rgba(255,255,255,.06); font-size: .8rem; color: rgba(255,255,255,.6); }
.app-side__rank { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.rank-badge { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; flex: 0 0 auto; font-size: .8rem; }

.app-main { padding: 26px clamp(18px, 4vw, 40px); max-width: 1000px; }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.app-mobilebar { display: none; }

.page-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2rem); color: var(--pb-black); margin: 0 0 4px; letter-spacing: -.02em; }
.page-sub { color: var(--pb-gray-500); margin: 0 0 24px; }

.stat-card { padding: 20px; }
.stat-card .k { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--pb-black); line-height: 1; }
.stat-card .l { font-size: .82rem; color: var(--pb-gray-500); margin-top: 6px; }
.stat-card .badge-soon { margin-top: 8px; }

.banner {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fffaf0; border: 1px solid #fde9c8; color: #92591a;
  border-radius: var(--r-md); padding: 14px 16px; font-size: .88rem; margin-bottom: 22px;
}
.banner svg { flex: 0 0 auto; margin-top: 1px; }
.banner b { color: #7a4711; }

.ad-slot {
  border: 1px dashed var(--pb-gray-300); border-radius: var(--r-md);
  background: var(--pb-gray-100); color: var(--pb-gray-400);
  padding: 18px; text-align: center; font-size: .8rem; font-family: var(--font-mono);
  letter-spacing: .04em;
}

@media (max-width: 820px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-side.open { display: block; position: fixed; inset: 0 30% 0 0; z-index: 60; height: 100%; }
  .app-mobilebar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--pb-black); color: #fff; padding: 12px 16px; position: sticky; top: 0; z-index: 40;
  }
  .app-mobilebar .brand { color: #fff; }
  .app-mobilebar button { background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
  .app-main { padding: 20px 16px 80px; }
}

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.acc { border: 1px solid var(--pb-gray-200); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.acc__item + .acc__item { border-top: 1px solid var(--pb-gray-100); }
.acc__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--pb-black);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.acc__q span.ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: var(--pb-gray-100); display: grid; place-items: center; transition: transform .2s, background .2s, color .2s; color: var(--pb-gray-700); font-size: 1.2rem; line-height: 1; }
.acc__item.open .acc__q span.ic { background: var(--pb-red); color: #fff; transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.acc__a p { padding: 0 22px 20px; margin: 0; font-size: .95rem; }

/* ============================================================
   FORMS (apply / hire / contact)
   ============================================================ */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .82rem; color: var(--pb-gray-500); }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--pb-gray-700); }
.checkline input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--pb-red); flex: 0 0 auto; }
.success-note {
  display: none; gap: 12px; align-items: center;
  background: #e8f7ee; border: 1px solid #b7e4c7; color: #15803d;
  border-radius: var(--r-md); padding: 16px; font-weight: 600; margin-top: 6px;
}
.success-note.show { display: flex; }

.chip-select { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid var(--pb-gray-300); border-radius: var(--r-pill);
  padding: 9px 15px; font-size: .88rem; font-weight: 600; color: var(--pb-gray-700);
  background: #fff; transition: all .15s; user-select: none;
}
.chip input { display: none; }
.chip:has(input:checked) { background: var(--pb-black); color: #fff; border-color: var(--pb-black); }

/* ============================================================
   CTA band + Footer
   ============================================================ */
.cta-band { background: var(--pb-red); color: #fff; border-radius: var(--r-lg); padding: clamp(34px, 6vw, 56px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 90% -20%, rgba(255,255,255,.18), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); position: relative; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { position: relative; justify-content: center; }

.site-footer { background: var(--pb-black); color: rgba(255,255,255,.7); padding: 56px 0 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h5 { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.site-footer a { display: block; padding: 5px 0; color: rgba(255,255,255,.65); font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-disclaimer { max-width: 60ch; font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 14px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- utility ---------- */
.stack-sm > * + * { margin-top: 10px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.hide { display: none !important; }
.divider { height: 1px; background: var(--pb-gray-200); border: 0; margin: 28px 0; }
.fine { font-size: .8rem; color: var(--pb-gray-400); }
.placeholder-note { display:inline-flex; align-items:center; gap:6px; font-size:.74rem; font-weight:700; font-family:var(--font-head); color:var(--pb-gray-500); background:var(--pb-gray-100); padding:4px 10px; border-radius:var(--r-pill); }

.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--pb-black); color: #fff; padding: 13px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .9rem; box-shadow: var(--sh-3); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Icon sizing ---------- */
[data-ic] { display: inline-flex; align-items: center; justify-content: center; }
[data-ic] svg { width: 1.2em; height: 1.2em; }
.flow__icon svg { width: 30px; height: 30px; }
.mtype__icon svg { width: 28px; height: 28px; }
.checklist li svg { width: 20px; height: 20px; flex: 0 0 auto; }
.checklist li [data-ic] { flex: 0 0 auto; }
.checklist li [data-ic] svg { width: 20px; height: 20px; }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--lg svg { width: 20px; height: 20px; }
.tag svg, .status svg { width: 14px; height: 14px; flex: 0 0 auto; }
.copy-btn svg { width: 14px; height: 14px; }
.banner svg, .app-side__foot svg { width: 19px; height: 19px; }
.eyebrow svg { width: 14px; height: 14px; }
.ic-inline { display: inline-flex; width: 18px; height: 18px; vertical-align: -3px; }
.ic-inline svg { width: 100%; height: 100%; }

/* ---------- Payment / add-on option rows ---------- */
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--pb-gray-200); border-radius: var(--r-md); padding: 13px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: var(--pb-gray-300); }
.pay-opt input { margin-top: 3px; accent-color: var(--pb-red); flex: 0 0 auto; }
.pay-opt:has(input:checked) { border-color: var(--pb-red); background: var(--pb-red-soft); }
.pay-opt.off { opacity: .6; }
