/* BCMTools website: one stylesheet for every page.
   Brand: BCMTools orange (from the wordmark) for actions, deep blue for links and labels, slate ink on white. */
:root {
  --ink: #1b2530;
  --body: #3d4954;
  --muted: #5f6b76;
  --line: #dde3e8;
  --line-strong: #b9c3cc;
  --ground: #ffffff;
  --ground-alt: #f3f6f8;
  --orange: #f2911e;       /* buttons: dark text on orange (8:1) */
  --orange-soft: #fdf1e2;
  --blue: #0b6e99;         /* links, labels, highlights: 5.4:1 on white */
  --blue-dark: #084f6e;
  --dark: #1b2530;
  --on-dark: #d3dbe2;
  --display: "Archivo", system-ui, sans-serif;
  --text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ground); padding: 8px 12px; z-index: 10; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: 64px; }
.section.tight { padding-block: 48px; }
.band { background: var(--ground-alt); border-block: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.intro { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.lead { font-size: 20px; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }
.body-text { color: var(--body); }
.small { font-size: 15px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.row > * { flex: 1 1 250px; min-width: 0; }
.row.wide > * { flex-basis: 340px; }
.split { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: center; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 340px; min-width: 0; }

/* header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 16px; }
.brand { display: flex; align-items: center; flex-grow: 1; }
.brand img { height: 32px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-weight: 600; font-size: 16px; margin: 0; padding: 0; list-style: none; }
.menu a { color: var(--ink); text-decoration: none; padding-block: 4px; }
.menu a[aria-current="page"] { color: var(--blue); border-bottom: 2px solid var(--blue); }

/* buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; border-radius: 6px; padding: 13px 22px; min-height: 48px; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #e5821a; color: var(--ink); }
.btn-secondary { background: var(--ground); color: var(--ink); border-color: var(--line-strong); font-weight: 600; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.menu .btn { font-size: 16px; padding: 10px 18px; min-height: 0; }
.menu .btn[aria-current="page"] { border-bottom: 1px solid transparent; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { background: var(--ground-alt); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-block: 72px 64px; }
.page-head { background: var(--ground-alt); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 56px 48px; display: flex; flex-direction: column; gap: 14px; }

/* cards */
.card { background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card.featured { border: 2px solid var(--blue); padding: 23px; }
.card .price { font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.1; }
.card .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--body); }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--blue); border-radius: 4px; padding: 2px 8px; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--blue); border: 1px solid var(--blue); border-radius: 4px; padding: 2px 8px; }
.note { margin-top: auto; font-size: 15px; background: var(--orange-soft); border-radius: 6px; padding: 10px 12px; }
.placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--ground-alt); color: var(--muted); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }

/* annual cycle and steps */
.cycle { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cycle li { display: flex; gap: 14px; align-items: baseline; }
.cycle .q, .step-n { font-family: var(--display); font-weight: 800; color: var(--blue); }
.cycle .q { min-width: 34px; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.step-n { font-size: 15px; }
.triggers > div { border-top: 3px solid var(--orange); padding: 16px 4px 4px; flex-basis: 340px; }

/* comparison table */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 720px; }
th, td { padding: 11px 16px; text-align: left; vertical-align: top; }
thead tr { background: var(--ground-alt); }
tbody tr { border-top: 1px solid var(--line); }
tbody th { font-weight: 600; }

/* dark call-to-action panel */
.panel { background: var(--dark); color: #fff; border-radius: 12px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.panel p { color: var(--on-dark); }
.panel .main { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.panel form { flex: 1 1 340px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.panel label { color: var(--on-dark); }

/* forms */
form .field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; min-width: 0; }
label { font-size: 15px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; padding: 11px 12px; width: 100%; }
.form-grid { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status[hidden] { display: none; }

/* footer */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 15px; }
.site-footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-footer a { color: #fff; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: flex-start; list-style: none; margin: 0; padding: 0; }
.site-footer .who { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; }
.site-footer strong { color: #fff; }

/* long-form pages (privacy, terms) */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; color: var(--body); }
.prose h2 { font-size: 24px; color: var(--ink); margin-top: 12px; }

/* home page slider (assets/slider.js): a 940x450 layer area centred in a full-width band, scaled down below 940px */
.home-slider { background: #f6f6f6; border-bottom: 1px solid var(--line); }
.sl-band { position: relative; width: 100%; height: 450px; overflow: hidden; background: #f6f6f6; user-select: none; }
.sl-slide { position: absolute; inset: 0; background-color: #f6f6f6; background-size: cover; background-position: 50% 50%; opacity: 0; }
.sl-slide.on { opacity: 1; } /* opacity only, never visibility: Chrome left re-shown layers hidden after a visibility toggle */
.sl-stage { position: absolute; top: 0; width: 940px; height: 450px; transform-origin: 0 0; }
.sl-layer { position: absolute; opacity: 0; pointer-events: none; }
.sl-layer > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; display: block; }
.sl-carry { position: absolute; inset: 0; z-index: 40; pointer-events: none; display: none; }
.sl-carry img { max-width: none; }
.sl-btext { position: absolute; display: flex; align-items: center; justify-content: center; text-align: center; color: #231f20; font-family: var(--text); font-weight: 400; line-height: 1.13; letter-spacing: -0.005em; }
.sl-btext.l { justify-content: flex-end; text-align: right; line-height: 1.2; }
.sl-btext.r { justify-content: flex-start; text-align: left; line-height: 1.2; }
.sl-hdr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3px; font-family: var(--text); font-size: 31px; line-height: 1.1; color: #fff; }
.sl-hdr span { background: #000; padding: 1px 6px 3px; white-space: nowrap; }
.sl-hdr em, .sl-s2t em { font-style: normal; color: #00cc00; }
.sl-banner { position: absolute; left: 144px; top: 168px; width: 382px; height: 35px; background: #00cc00; display: flex; align-items: center; padding-left: 44px; font-family: var(--text); font-size: 31px; color: #fff; white-space: nowrap; }
.sl-banner b { font-weight: 400; color: #000; }
.sl-s2t { position: absolute; inset: 0; font-family: var(--text); font-size: 21px; line-height: 29px; color: #fff; }
.sl-s2t span { background: #000; padding: 1px 6px 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sl-g47 { position: absolute; left: 0; top: 0; width: 733px; height: 437px; transform-origin: 0 0; }
.sl-g47 img { position: absolute; left: 0; top: 0; max-width: none; }
.sl-s3bar { position: absolute; background: #000; color: #fff; font-family: var(--text); font-size: 36px; display: flex; align-items: center; padding: 0 11px; white-space: nowrap; }
.sl-s3bar.g { color: #00cc00; }
.sl-s3banner { position: absolute; background: #00cc00; color: #fff; font-family: var(--text); font-size: 24px; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.sl-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 4px; background: rgba(0,0,0,.45); color: #fff; font-size: 26px; cursor: pointer; opacity: 0; transition: opacity .25s; z-index: 50; }
.sl-band:hover .sl-arrow, .sl-arrow:focus-visible { opacity: 1; }
.sl-prev { left: 10px; } .sl-next { right: 10px; }
.sl-timer { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; z-index: 50; }
.sl-timer circle { fill: none; stroke-width: 4; }
.sl-timer .track { stroke: rgba(0,0,0,.18); }
.sl-timer .sl-prog { stroke: rgba(255,255,255,.9); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.sl-controls { display: flex; gap: 16px; align-items: center; justify-content: center; padding-block: 10px; }
.sl-dots { display: flex; gap: 10px; }
.sl-dots button { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--muted); background: transparent; padding: 0; cursor: pointer; }
.sl-dots button[aria-current="true"] { background: var(--orange); border-color: var(--orange); }
.sl-play { font: 600 14px var(--text); padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ground); color: var(--ink); cursor: pointer; }
.sl-play:hover { border-color: var(--ink); }
@media (max-width: 599px) { .home-slider { display: none; } } /* too small to read on phones; they start at the hero */

@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .section { padding-block: 44px; }
  .panel { padding: 24px; }
  .hero .wrap { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
