/* ==========================================================================
   Booked Solid — getbookedsolid.ca
   Charcoal and safety orange. Big type, hard edges, high contrast.
   Shared by the English and French pages.
   ========================================================================== */

:root {
  --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;

  --char: #16181b;
  --char-2: #202429;
  --char-3: #2d3238;
  --orange: #ff6b1a;
  --orange-hot: #e25400;
  --orange-ink: #c2410c;
  --paper: #ffffff;
  --paper-2: #f3f2ef;
  --ink: #16181b;
  --ink-soft: #4d5560;
  --ash: #b4bac2;
  --line: #dbd8d2;
  --line-dark: #363c44;
}

/* --------------------------------------------------------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 .55em;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
}
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--orange-ink); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.shell {
  width: min(100% - 2.25rem, 72rem);
  margin-inline: auto;
}
.shell-tight {
  width: min(100% - 2.25rem, 48rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 30;
  padding: .7rem 1.1rem;
  background: var(--orange);
  color: var(--char);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 0; }

/* hazard stripe, used as a divider */
.hazard {
  height: 9px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 12px,
    var(--char) 12px 24px
  );
}

/* ------------------------------------------------------- buttons --------- */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem 1.7rem;
  background: var(--orange);
  color: var(--char);
  border: 0;
  border-bottom: 4px solid var(--orange-hot);
  font: inherit;
  font-weight: 800;
  font-size: 1.03rem;
  letter-spacing: .01em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .14s ease;
}
.cta:hover { background: #ff7f38; }
.cta:active { border-bottom-width: 2px; margin-top: 2px; }
.cta-block { width: 100%; padding-block: 1.15rem; font-size: 1.1rem; }

.underlink {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .92rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 26, .45);
  padding-bottom: 3px;
}
.underlink:hover { border-bottom-color: var(--orange); }
.underlink-dark { color: var(--orange-ink); border-bottom-color: rgba(194, 65, 12, .35); }
.underlink-dark:hover { border-bottom-color: var(--orange-ink); }

/* ------------------------------------------------------ masthead --------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--char);
  border-bottom: 1px solid var(--line-dark);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  padding-block: .5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
}
.wordmark-box {
  display: grid;
  place-items: center;
  width: 1.85rem; height: 1.85rem;
  background: var(--orange);
  color: var(--char);
  flex: none;
}
.mast-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.mast-nav a {
  color: var(--ash);
  text-decoration: none;
}
.mast-nav a:hover { color: var(--orange); }
.lang {
  color: #fff !important;
  border: 1px solid var(--line-dark);
  padding: .4rem .7rem;
}
.lang:hover { border-color: var(--orange); }

@media (max-width: 52em) {
  .mast-nav .nav-item { display: none; }
}
/* keep the wordmark on one line on the narrowest phones */
@media (max-width: 26em) {
  .wordmark { font-size: .92rem; gap: .45rem; }
  .wordmark-box { width: 1.6rem; height: 1.6rem; }
  .mast-nav { font-size: .78rem; gap: .9rem; }
  .lang { padding: .35rem .55rem; }
}

/* ---------------------------------------------------------- hero --------- */

.hero {
  background: var(--char);
  color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 8vw, 5rem);
}
.hero h1 {
  font-size: clamp(2.15rem, 6.6vw, 4.15rem);
  letter-spacing: -0.035em;
  max-width: 17ch;
  margin-bottom: .5em;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--orange); }
.hero-sub {
  max-width: 52ch;
  font-size: clamp(1.06rem, 2.1vw, 1.28rem);
  color: var(--ash);
  line-height: 1.55;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

/* ------------------------------------------------------ sections --------- */

.block { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.block-dark { background: var(--char); color: #fff; }
.block-grey { background: var(--paper-2); }

[id] { scroll-margin-top: 4.5rem; }

.kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.kicker::before {
  content: "";
  width: 1.9rem;
  height: 4px;
  background: var(--orange);
}
.block-dark .kicker { color: var(--orange); }

.block h2 {
  font-size: clamp(1.75rem, 4.4vw, 2.75rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: .7em;
}

/* the problem */
.problem-copy {
  max-width: 58ch;
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.block-dark .problem-copy { color: var(--ash); }

/* how it works */
.numbered {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--char);
}
.numbered li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem 1.25rem;
  align-items: start;
  padding: clamp(1.5rem, 3.5vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 46em) {
  .numbered li { grid-template-columns: 6rem 1fr; gap: 2.5rem; align-items: baseline; }
}
.numeral {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -0.05em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.numbered h3 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  margin-bottom: .4em;
}
.numbered p {
  max-width: 54ch;
  color: var(--ink-soft);
}

/* the offer */
.rates {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 56em) {
  .rates { grid-template-columns: 1.15fr 1fr; gap: 1.75rem; align-items: stretch; }
}
.rate-main {
  background: var(--char);
  color: #fff;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border-left: 8px solid var(--orange);
}
.rate-figure {
  display: block;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: .6rem;
}
.rate-main p { color: var(--ash); }
.rate-terms {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .9rem;
  color: #fff;
}
.rate-free {
  background: var(--paper);
  border: 3px solid var(--char);
  padding: clamp(1.6rem, 4vw, 2.5rem);
}
.block-grey .rate-free { background: var(--paper); }
.free-tag {
  display: inline-block;
  margin-right: .35rem;
  padding: .1rem .45rem;
  background: var(--orange);
  color: var(--char);
  font-weight: 800;
}
.rate-free p { color: var(--ink-soft); max-width: 46ch; }
.rate-free .free-line { color: var(--ink); font-size: 1.1rem; line-height: 1.55; }

/* trust */
.trust-grid { display: grid; gap: 1.75rem; }
@media (min-width: 56em) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.trust-big {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}
.trust-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
  font-weight: 700;
}
.trust-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.trust-list svg { color: var(--orange); margin-top: .15rem; flex: none; }
.trust-note { margin-top: 1.25rem; color: var(--ash); font-weight: 400; }

/* faq */
.qa { border-top: 3px solid var(--char); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 0;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  flex: none;
  width: 1.4rem; height: 1.4rem;
  background:
    linear-gradient(var(--char) 0 0) center / 100% 3px no-repeat,
    linear-gradient(var(--char) 0 0) center / 3px 100% no-repeat;
  transition: rotate .18s ease;
}
.qa details[open] summary::after {
  background: linear-gradient(var(--orange-ink) 0 0) center / 100% 3px no-repeat;
}
.qa details p {
  padding: 0 0 1.4rem;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- form --------- */

.leadblock {
  background: var(--char);
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}
.leadcard {
  background: var(--paper);
  border-top: 10px solid var(--orange);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.leadcard h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.leadcard form { display: grid; gap: 1.15rem; }

.row { display: grid; gap: .4rem; }
.row label {
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.opt { font-weight: 500; letter-spacing: .04em; color: var(--ink-soft); }

.row input,
.row textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper-2);
  width: 100%;
  padding: .85rem .9rem;
  border: 2px solid var(--line);
  border-radius: 0;
}
.row textarea { min-height: 7.5rem; resize: vertical; }
.row input:hover, .row textarea:hover { border-color: #b7b3ab; }
.row input:focus-visible,
.row textarea:focus-visible {
  outline: 3px solid rgba(255, 107, 26, .55);
  outline-offset: 0;
  border-color: var(--char);
  background: #fff;
}

@media (min-width: 40em) {
  .row-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
}

.row-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .75rem;
  align-items: start;
  background: var(--paper-2);
  border-left: 5px solid var(--orange);
  padding: 1rem 1.1rem;
}
.row-check input {
  width: 1.2rem; height: 1.2rem;
  margin: .18rem 0 0;
  accent-color: var(--orange-hot);
  flex: none;
}
.row-check label {
  font-weight: 400;
  font-size: .97rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}

.hp { display: none; }

/* -------------------------------------------------------- footer --------- */

.site-foot {
  background: var(--char);
  color: var(--ash);
  padding: 2.5rem 0;
  font-size: .95rem;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.foot-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.foot-links a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* ----------------------------------------------------- sub pages --------- */

.page { padding: clamp(3rem, 9vw, 5.5rem) 0 clamp(3rem, 8vw, 5rem); }
.page h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.2rem);
  text-transform: uppercase;
}
.page-lead {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 44ch;
}
.prose { max-width: 62ch; color: var(--ink-soft); }
.prose a { color: var(--orange-ink); }
.page-back { margin-top: 2.25rem; }
.mark-bar {
  width: 4.5rem;
  height: 8px;
  background: var(--orange);
  margin-bottom: 1.75rem;
}
