:root {
  --ink: #111111;
  --ink-soft: #363636;
  --muted: #6a6259;
  --line: #ded8d0;
  --paper: #ffffff;
  --sand: #eee4d7;
  --smoke: #f7f5f2;
  --rubber: #171717;
  --yellow: #f6b900;
  --red: #d71920;
  --green: #197a45;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  background: rgba(17, 17, 17, 0.94);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.brand strong { display: block; font-size: 1.1rem; line-height: 1; }
.brand small { display: block; color: #d6d1ca; font-size: 0.76rem; margin-top: 0.18rem; }
.main-nav { display: flex; gap: clamp(0.75rem, 2vw, 1.5rem); align-items: center; }
.main-nav a {
  color: #f8f8f8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}
.main-nav a:hover { color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 0.8rem; }
.phone-link {
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}
.icon-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
}
.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 680px;
  isolation: isolate;
  color: #fff;
  background: #111;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #111;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.64) 46%, rgba(0,0,0,0.35) 100%),
    linear-gradient(0deg, rgba(0,0,0,0.52), rgba(0,0,0,0.08));
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 740px; }
.source-note, .section-label {
  margin: 0 0 0.85rem;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.84rem;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero p {
  max-width: 670px;
  color: #f2f0ec;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}
.hero-ctas, .form-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, border 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--red); color: #fff; }
.button.secondary { background: var(--ink); color: #fff; border-color: rgba(255,255,255,0.22); }
.button.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.button.full { width: 100%; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 650px;
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.38);
}
.hero-proof img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}
.hero-proof span {
  color: #ede7dd;
  font-size: 0.84rem;
  line-height: 1.35;
}
.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
}
.quick-facts div {
  padding: 0.9rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.24);
}
.quick-facts dt { color: var(--yellow); font-weight: 900; font-size: 0.78rem; }
.quick-facts dd { margin: 0.2rem 0 0; font-weight: 800; }

.dispatch-card, .request-form, .request-output, .portal-panel, .package-card, .insight-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.dispatch-card {
  padding: 1.2rem;
}
.dispatch-card h2, .portal-panel h3, .request-output h3 { margin: 0 0 1rem; }
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d6d0c8;
  border-radius: 6px;
  padding: 0.7rem 0.75rem;
  color: var(--ink);
  background: #fff;
}
textarea { resize: vertical; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.dispatch-card label + label,
.dispatch-card label + button,
.portal-panel label + label,
.portal-panel label + button { margin-top: 0.8rem; }
.privacy-line { color: var(--muted); font-size: 0.8rem; margin: 0.8rem 0 0; }

.service-area, .section {
  padding: clamp(2.8rem, 7vw, 5.8rem) clamp(1rem, 4vw, 4rem);
}
.service-area {
  background: var(--paper);
  text-align: center;
}
.service-area h2, .section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.area-grid {
  width: min(1120px, 100%);
  margin: 1.6rem auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}
.area-grid span {
  min-height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  background: var(--smoke);
}
.section {
  width: min(1240px, 100%);
  margin: 0 auto;
}
.section.split, .payment-section, .contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
}
.section p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}
.insight-list { display: grid; gap: 0.9rem; }
.insight-list article { box-shadow: none; padding: 1rem; }
.insight-list strong { display: block; margin-bottom: 0.25rem; }
.insight-list span { color: var(--muted); line-height: 1.45; }
.section-heading {
  max-width: 820px;
  margin-bottom: 1.5rem;
}
.section-heading.narrow { max-width: 680px; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.package-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1rem;
  box-shadow: none;
}
.package-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rubber);
  color: var(--yellow);
  font-size: 1.6rem;
}
.package-card h3 { margin: 0; font-size: 1.15rem; }
.price { display: flex; align-items: baseline; gap: 0.25rem; color: var(--red); }
.price strong { font-size: 2.2rem; line-height: 1; }
.package-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.5;
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1rem;
}
.request-section .section-heading { grid-column: 1 / -1; }
.request-form, .request-output, .portal-panel {
  padding: 1rem;
  box-shadow: none;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}
.wide { grid-column: 1 / -1; }
.form-actions { margin-top: 1rem; }
.request-output textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.payment-section {
  width: 100%;
  max-width: none;
  background: var(--smoke);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.payment-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.payment-method strong { display: block; }
.payment-method span { color: var(--muted); font-size: 0.86rem; }
.payment-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
}
.payment-note h3 {
  margin: 0 0 0.7rem;
}
.payment-note ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}
.customer-payments .payment-method {
  align-items: flex-start;
}
.status {
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.74rem;
  white-space: nowrap;
}
.status.ready { color: var(--green); background: #dff3e8; }
.status.setup { color: #805300; background: #fff3cc; }

.how-it-works { text-align: center; }
.how-it-works .section-heading { margin-left: auto; margin-right: auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  counter-reset: steps;
}
.steps li {
  min-height: 145px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  counter-increment: steps;
}
.steps li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}
.steps strong { display: block; }
.steps span { display: block; color: var(--muted); line-height: 1.45; margin-top: 0.25rem; }

.launch-readiness {
  border-top: 1px solid var(--line);
}
.readiness-grid, .audit-grid, .policy-grid {
  display: grid;
  gap: 1rem;
}
.readiness-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.audit-grid, .policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.readiness-grid article, .audit-grid article, .policy-grid article, .fact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1rem;
}
.readiness-grid h3, .policy-grid h2, .fact-panel h2 {
  margin: 0 0 0.5rem;
}
.readiness-grid p, .policy-grid p, .fact-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.readiness-grid a {
  display: inline-flex;
  margin-top: 0.9rem;
  color: var(--red);
  font-weight: 900;
}
.audit-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}
.audit-grid span {
  color: var(--muted);
  line-height: 1.55;
}
.content-page {
  background: var(--smoke);
}
.admin-page .page-hero {
  border-bottom-color: var(--red);
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2.8rem, 7vw, 5.8rem) clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.72)),
    url("./assets/bt-hero-verified-brand.jpg") center / cover;
  color: #fff;
  border-bottom: 5px solid var(--yellow);
}
.page-hero.compact {
  display: block;
}
.page-hero > div {
  width: min(980px, 100%);
}
.page-hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.page-hero p {
  max-width: 820px;
  color: #f1ece4;
  line-height: 1.65;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}
.page-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: var(--shadow);
}
.content-layout {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.detail-list {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.detail-list div {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.detail-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.detail-list dt {
  color: var(--red);
  font-weight: 900;
}
.detail-list dd {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}
.policy-grid {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 4rem);
  align-items: stretch;
}
.surface-map {
  background: var(--paper);
}
.admin-payment {
  border-top: 1px solid var(--line);
}
.policy-grid article {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
}
.policy-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--yellow);
}
.policy-grid article:nth-child(2n)::before {
  background: var(--red);
}
.policy-grid article:last-child {
  grid-column: 1 / -1;
  background: #111;
  color: #fff;
  border-color: #111;
}
.policy-grid article:last-child h2,
.policy-grid article:last-child li {
  color: #fff;
}
.policy-grid article:last-child ul {
  columns: 2;
  column-gap: 2rem;
}
.policy-grid h2 {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: 0;
}
.policy-grid ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}
.compliance-note {
  padding-top: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2.8rem, 7vw, 5.8rem);
}
.compliance-note h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}
.compliance-note p {
  max-width: 820px;
  padding: 1rem;
  border-left: 5px solid var(--red);
  background: #fff;
  color: var(--ink-soft);
}

.contact-section {
  width: 100%;
  max-width: none;
  background: var(--rubber);
  color: #fff;
}
.contact-section p { color: #ded8d0; }
.map-card {
  min-height: 280px;
  position: relative;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(12deg, transparent 46%, rgba(246,185,0,0.9) 47%, rgba(246,185,0,0.9) 49%, transparent 50%),
    radial-gradient(circle at 25% 70%, rgba(255,255,255,0.22), transparent 24%),
    linear-gradient(135deg, #47392c, #1b1b1b);
}
.map-card span, .map-card strong {
  position: absolute;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.map-card span:nth-child(1) { left: 8%; top: 62%; }
.map-card span:nth-child(2) { left: 34%; top: 48%; }
.map-card span:nth-child(3) { left: 44%; top: 70%; }
.map-card span:nth-child(4) { right: 8%; top: 34%; }
.map-card strong { left: 48%; top: 52%; background: var(--yellow); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
  background: #0b0b0b;
  color: #fff;
}
.site-footer p { margin: 0.35rem 0 0; color: #cfc7bc; }
.copyright-line { font-size: 0.85rem; }
.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.site-footer a { color: #fff; font-weight: 800; }

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: 360px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(160%);
  transition: transform 180ms ease;
}
.toast:empty { display: none; }
.toast.show { transform: translateY(0); }

@media (max-width: 980px) {
  .icon-button { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    padding: 1rem;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  body.menu-open .main-nav { display: grid; }
  .hero-content, .section.split, .payment-section, .contact-section, .request-section, .page-hero, .content-layout {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
  .quick-facts, .area-grid, .package-grid, .form-grid, .payment-methods, .steps, .readiness-grid, .audit-grid, .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header { padding: 0.55rem 0.75rem; }
  .brand small { display: none; }
  .phone-link { font-size: 0.9rem; }
  .hero-content { width: min(100% - 1rem, 1180px); padding-top: 2rem; }
  .hero h1 { font-size: clamp(2.25rem, 13vw, 3.5rem); }
  .page-hero {
    padding-top: 2.1rem;
    padding-bottom: 2.2rem;
  }
  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1;
  }
  .quick-facts, .area-grid, .package-grid, .form-grid, .payment-methods, .steps, .readiness-grid, .audit-grid, .policy-grid {
    grid-template-columns: 1fr;
  }
  .section, .service-area, .page-hero, .content-layout, .policy-grid { padding-left: 0.75rem; padding-right: 0.75rem; }
  .policy-grid article {
    padding: 1rem 1rem 1rem 1.15rem;
  }
  .policy-grid article:last-child ul {
    columns: 1;
  }
  .policy-grid h2 {
    font-size: 1.2rem;
  }
  .dispatch-card, .request-form, .request-output, .portal-panel { padding: 0.85rem; }
  .button { width: 100%; }
  .hero-proof {
    align-items: flex-start;
  }
  .hero-proof span { font-size: 0.78rem; }
  .site-footer { flex-direction: column; }
}
