/* ==========================================================================
   GBN Agency — components added for the launch pass.
   Loaded after style.css, which owns the design tokens.
   ========================================================================== */

/* --------------------------------------------------------------- icons */
/* Sized in em so an icon inherits the box it sits in (.service-icon,
   .step-icon, .contact-list .ico, .industry .ico all set font-size). */
.icn {
  width: 1em; height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.service-icon .icn, .step-icon .icn, .industry .ico .icn { stroke-width: 1.8; }
.footer-cert .icn { width: 20px; height: 20px; color: var(--gold); }
.social-row .icn { width: 16px; height: 16px; }
.contact-list .ico .icn { width: 20px; height: 20px; }
.industry .ico { color: var(--accent-ink); line-height: 0; }

/* --------------------------------------------------------------- misc */
.center { text-align: center; }
.inline-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.inline-link:hover { color: var(--gold-deep); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  background: var(--rule-soft);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 1px 5px;
}
.btn-sm { font-size: 13px; padding: 8px 16px; }

/* Honeypot — off-screen, never focusable, invisible to real visitors. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------- section helpers */
.sector-h2 { font-size: 30px; line-height: 1.12; color: var(--ink); margin-bottom: 16px; }
.sector-p { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.list-box-title {
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--accent-ink); margin-bottom: 18px;
}

/* --------------------------------------------------------- partner badge */
.partner-badge { display: block; line-height: 0; }
.partner-badge img { width: 112px; height: auto; }

/* ------------------------------------------------------------ scheduler */
.scheduler-empty {
  border: 2px dashed var(--rule);
  border-radius: 16px;
  background: var(--cream);
  padding: 48px 32px;
  text-align: center;
  display: grid; justify-items: center; gap: 14px;
}
.scheduler-empty .icn { width: 34px; height: 34px; color: var(--accent-ink); }
.scheduler-empty p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; max-width: 46ch; }

.video-empty {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 90% at 25% 15%, rgba(240, 180, 41, .3), transparent 62%),
    var(--navy-700);
}
.video-empty .icn { width: 44px; height: 44px; color: rgba(255, 255, 255, .85); stroke-width: 1.6; }
.lesson-video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

/* -------------------------------------------------------------- article */
.article-meta {
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--star-dim); margin: 0;
}
.prose { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose .lede-p { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose h2 {
  font-size: 26px; line-height: 1.2; color: var(--ink);
  margin-top: 2.2em; margin-bottom: .1em;
  padding-top: 1.4rem; border-top: 1px solid var(--rule);
}
.prose h2:first-of-type { margin-top: 1.6em; }
.prose h3 { font-size: 19px; color: var(--ink); margin-top: 1.8em; margin-bottom: .1em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li { line-height: 1.65; }
.prose li::marker { color: var(--accent-ink); font-weight: 700; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--ink); }
.prose a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.callout {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 15px;
}
.callout p { margin: 0; }

.data-table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.data-table th { font-family: var(--font-heading); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }

.post-next { display: grid; gap: 6px; }
.post-next-link { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--ink); }
.post-next-link:hover { color: var(--accent-ink); }

/* ------------------------------------------------------- consent banner */
.consent {
  position: fixed; z-index: 80;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--navy-800);
  color: var(--star-body);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 24px 50px -12px rgba(10, 20, 40, .55);
  display: flex; flex-direction: column; gap: 14px;
}
/* display:flex would otherwise beat the [hidden] attribute's display:none. */
.consent[hidden] { display: none; }
.consent p { font-size: 14px; line-height: 1.55; margin: 0; }
.consent a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; gap: 10px; }
.consent .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.consent .btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .5); }

@media (min-width: 720px) {
  .consent {
    left: auto; right: 24px; bottom: 24px;
    max-width: 420px;
  }
}

/* ------------------------------------------------------------ responsive */
@media (min-width: 768px) {
  .sector-h2 { font-size: 36px; }
  .prose { font-size: 18px; }
  .prose h2 { font-size: 30px; }
  .data-table { display: table; }
}

/* ------------------------------------------------- service spec cards */
.spec-card { border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; }
.spec-card .service-icon { margin: 0 0 18px; }
.spec-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 18px; }
.spec-card .plan-list { margin-bottom: 0; gap: 10px; }

.split-note {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px 24px;
}
.bg-paper .split-note { background: var(--cream); }
.split-note p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 0; }
.split-note strong { color: var(--ink); }

/* Boundaries block on the ad-account section — crosses, not ticks. */
.warn-box { background: #fff; border-color: rgba(217, 119, 6, .35); }
.crossitem-grid { gap: 10px; }
.crossitem { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.crossitem::before {
  content: "";
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4432B' stroke-width='3' stroke-linecap='round'><path d='M18 6 6 18M6 6l12 12'/></svg>");
}

/* Form submit states. .err has to be as visible as .ok — a failed send that
   looks like nothing happened costs a lead. */
.form-status:empty { display: none; }
.form-status.err { color: #b4432b; }
.form-panel button[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Two buttons side by side, wrapping cleanly on narrow screens. */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Monogram avatars. Deliberately not photographs: a face next to a quote reads
   as proof that a specific person said it, so only use a real portrait when the
   review is real and that person agreed to it. Varying the tone per card keeps
   six monograms from looking like a rendering bug. */
.review-card:nth-child(3n+2) .review-avatar { background: linear-gradient(135deg, #a8c6ff, #3b82f6); }
.review-card:nth-child(3n)   .review-avatar { background: linear-gradient(135deg, #f9c9b0, #d97706); }
.review-avatar {
  letter-spacing: .02em;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 4px 10px rgba(10, 20, 40, .35);
}
