/* Quiet type — prefix qt- | editorial Swiss, not cards-in-a-grid */
:root {
  --qt-paper: #f6f3ec;
  --qt-sheet: #fffcf7;
  --qt-ink: #141414;
  --qt-mute: #5c5a55;
  --qt-line: #141414;
  --qt-rule: rgba(20, 20, 20, 0.14);
  --qt-accent: #c43c22;
  --qt-serif: "Fraunces", Georgia, serif;
  --qt-sans: "Karla", "Segoe UI", sans-serif;
  --qt-max: 1080px;
}

html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 96px; }
*, *::before, *::after { box-sizing: border-box; }

body.qt-body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--qt-ink);
  font-family: var(--qt-sans);
  font-size: 16.5px;
  line-height: 1.55;
  background: var(--qt-paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--qt-ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--qt-accent); }
button, input { font: inherit; }
h1, h2, h3 { font-family: var(--qt-serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
ul, ol { margin: 0; padding: 0; }

.qt-wrap { width: min(var(--qt-max), calc(100% - 40px)); margin: 0 auto; }
.index-page #main-content { margin-top: 0; }
#main-content, main.qt-main { flex: 1 0 auto; }

.qt-skip { position: absolute; left: -999px; }
.qt-skip:focus { left: 8px; top: 8px; z-index: 200; background: #fff; padding: 8px; }

.qt-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--qt-paper);
  border-bottom: 1px solid var(--qt-ink);
}
.qt-header__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 10px 0 8px;
}
.qt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--qt-ink);
  text-decoration: none;
  font-family: var(--qt-serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.qt-brand img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.qt-nav { display: flex; gap: 22px; }
.qt-nav a { text-decoration: none; font-size: 0.92rem; }
.qt-nav a[aria-current="page"] { text-decoration: underline; }
.qt-header__cta { display: flex; align-items: center; gap: 10px; }
.qt-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--qt-ink);
  background: transparent; cursor: pointer;
}
.qt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px;
  border: 1px solid var(--qt-ink); border-radius: 0;
  background: var(--qt-ink); color: #fff;
  text-decoration: none; font-weight: 700; cursor: pointer;
}
.qt-btn:hover { background: var(--qt-accent); border-color: var(--qt-accent); color: #fff; }
.qt-btn--ghost { background: transparent; color: var(--qt-ink); }

.qt-activity { padding: 6px 0 8px; border-bottom: 1px solid var(--qt-rule); }
.qt-activity .activity-bar {
  background: var(--qt-sheet);
  border-color: var(--qt-rule);
}
.qt-activity .activity-bar__name { color: var(--qt-ink); }
.qt-activity .activity-bar.activity-bar--dim { opacity: 1; background: #efebe3; }
.qt-activity .activity-bar.activity-bar--dim .activity-bar__name { color: #1a1a1a; }

#mob-menu {
  display: none; position: fixed; inset: 0; z-index: 90;
  background: rgba(20, 20, 20, 0.45);
}
#mob-menu.is-open { display: block; }
.qt-drawer {
  width: min(300px, 88vw); height: 100%; margin-left: auto;
  background: var(--qt-paper); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  border-left: 1px solid var(--qt-ink);
}
.qt-drawer a { text-decoration: none; font-size: 1.1rem; padding: 6px 0; border-bottom: 1px solid var(--qt-rule); }

/* Hero */
.qt-hero, #hero-section { padding: 40px 0 52px; }
.qt-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: start;
}
.qt-kicker, .qt-label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--qt-accent);
}
.qt-hero h1 { margin: 0 0 18px; font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 14ch; }
.qt-lead { margin: 0 0 12px; color: var(--qt-mute); max-width: 48ch; }
.qt-marks { display: flex; flex-wrap: wrap; gap: 0; margin: 18px 0 10px; }
.qt-mark {
  padding: 4px 0;
  margin-right: 18px;
  border: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.qt-mark + .qt-mark { border-left: 1px solid var(--qt-ink); padding-left: 18px; }
.qt-disclaimer { margin: 10px 0 0; font-size: 0.78rem; color: var(--qt-mute); }

/* CSS mock: print proof with crop marks — not a dashboard/table */
.qt-proof {
  position: relative;
  margin-top: 28px;
  padding: 22px 24px 18px;
  background: var(--qt-sheet);
  border: 1px solid var(--qt-ink);
}
.qt-proof::before, .qt-proof::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--qt-ink);
}
.qt-proof::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; }
.qt-proof::after { top: -7px; right: -7px; border-left: 0; border-bottom: 0; }
.qt-proof__feet { position: absolute; left: 0; right: 0; bottom: -7px; height: 12px; pointer-events: none; }
.qt-proof__feet span {
  position: absolute; width: 12px; height: 12px;
  border: 1px solid var(--qt-ink); border-top: 0;
}
.qt-proof__feet span:first-child { left: -7px; border-right: 0; }
.qt-proof__feet span:last-child { right: -7px; border-left: 0; }
.qt-proof__run {
  display: flex; justify-content: space-between;
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--qt-mute);
}
.qt-proof__num {
  display: block;
  font-family: var(--qt-serif);
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.qt-proof__cap { margin: 8px 0 0; font-size: 0.82rem; color: var(--qt-mute); }

/* Form */
.qt-signup, #form-main {
  position: relative;
  padding: 22px 22px 18px;
  background: var(--qt-sheet);
  border: 1px solid var(--qt-ink);
  width: 100%;
  max-width: 420px;
}
#hero-section .qt-signup { max-width: none; }
.qt-signup__title { margin: 0 0 4px; font-family: var(--qt-serif); font-size: 1.55rem; }
.qt-signup__sub, .qt-signup__foot { color: var(--qt-mute); font-size: 0.88rem; }
.qt-signup__foot a, .qt-terms a { color: var(--qt-accent); }
#myform { display: grid; gap: 10px; }
.qt-field input, #form-main input[type="text"], #form-main input[type="email"] {
  width: 100%; min-height: 48px; padding: 0 12px;
  border: 0; border-bottom: 1px solid var(--qt-ink);
  border-radius: 0; background: transparent;
}
.qt-field input:focus, #form-main input:focus {
  outline: none; border-bottom-color: var(--qt-accent);
}
#roi_btn_register {
  width: 100%; min-height: 48px; margin-top: 4px;
  border: 1px solid var(--qt-ink); border-radius: 0;
  background: var(--qt-ink); color: #fff; font-weight: 700; cursor: pointer;
}
#roi_btn_register:hover { background: var(--qt-accent); border-color: var(--qt-accent); }
.qt-terms { display: flex; align-items: flex-start; gap: 10px; color: var(--qt-mute); font-size: 0.8rem; }
#roi_terms { width: 1.1em; height: 1.1em; margin-top: 3px; flex-shrink: 0; }

#roi_dropdown_input_group { display: block; width: 100%; position: relative; min-height: 72px; }
#roi_dropdown_input_group .iti, .iti { display: block; width: 100%; }
#roi_dropdown_input_group #phone, #form-main #phone, #phone, input[name="phone"] { padding-left: 90px !important; }
.iti input[name="phone"], .iti input[type="text"], .iti input[type="tel"] {
  height: 48px !important; min-height: 48px !important; color: var(--qt-ink) !important;
  background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--qt-ink) !important; border-radius: 0 !important;
}
.iti__flag-container { position: absolute !important; top: 0 !important; height: 48px !important; }
.iti__selected-flag { height: 48px !important; display: flex !important; align-items: center !important; }
.iti__selected-dial-code { color: var(--qt-ink) !important; font-weight: 600; }
#roi_dropdown_content { display: none; }
#roi_error_firstname, #roi_error_lastname, #roi_error_email, #roi_error_phone, #roi_error_terms { display: none !important; }
.preloader {
  display: none; position: absolute; inset: 0; z-index: 20;
  background: rgba(255,252,247,0.82) url(../../preloader.gif) center no-repeat;
}
.roi-form-container { position: relative; }

.qt-head { margin-bottom: 28px; }
.qt-head h2, .qt-platform h2, .qt-markets h2, .qt-tech h2, .qt-smarter h2,
.qt-start h2, .qt-about h2, .qt-team h2, .qt-reviews h2, .qt-faq h2, .qt-hiring h2, .qt-final h2, .qt-mid h2 {
  margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 22ch;
}
.qt-head p { color: var(--qt-mute); max-width: 62ch; }
.qt-cta { margin: 24px 0 0; }

/* Partners as a typeset credit line */
.qt-credits { padding: 14px 0; border-block: 1px solid var(--qt-ink); }
.qt-credits__list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 0; list-style: none;
}
.qt-credits__list li {
  display: flex; align-items: center;
  list-style: none;
}
.qt-credits__list li:not(:last-child)::after {
  content: "·";
  margin: 0 14px;
  color: var(--qt-mute);
}
.qt-credits img { height: 22px; width: auto; max-width: 72px; object-fit: contain; filter: grayscale(1); opacity: 0.7; }

.qt-platform, .qt-markets, .qt-tech, .qt-start, .qt-about, .qt-team, .qt-reviews, .qt-faq, .qt-hiring, .qt-final { padding: 72px 0; }

/* Hanging index — not a card grid, not a timeline */
.qt-hang { display: grid; gap: 0; }
.qt-hang__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--qt-ink);
}
.qt-hang__row:last-child { border-bottom: 1px solid var(--qt-ink); }
.qt-hang__n {
  font-family: var(--qt-serif);
  font-size: 1.6rem;
  color: var(--qt-accent);
  line-height: 1;
}
.qt-hang__row h3 { margin: 0 0 6px; font-size: 1.15rem; }
.qt-hang__row p { margin: 0; color: var(--qt-mute); }
.qt-note { margin: 0 0 22px; max-width: 68ch; color: var(--qt-mute); font-size: 0.95rem; }

/* TOC with dotted leaders */
.qt-toc { display: grid; gap: 0; }
.qt-toc__row {
  display: grid;
  grid-template-columns: 140px minmax(24px, 1fr) minmax(0, 2.2fr);
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px dotted var(--qt-ink);
}
.qt-toc__row:last-child { border-bottom: 1px dotted var(--qt-ink); }
.qt-toc__name { font-family: var(--qt-serif); font-size: 1.25rem; }
.qt-toc__dots {
  border-bottom: 1px dotted var(--qt-ink);
  height: 0.85em;
}
.qt-toc__row p { margin: 0; color: var(--qt-mute); font-size: 0.95rem; }
.qt-strip { margin: 0 0 8px; }
.qt-strip img { width: 100%; height: 160px; object-fit: cover; filter: grayscale(0.35); }

/* Glossary */
.qt-gloss { display: grid; gap: 0; }
.qt-gloss__item {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) 1.3fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--qt-rule);
}
.qt-gloss__item:last-child { border-bottom: 1px solid var(--qt-rule); }
.qt-gloss__item dt { font-weight: 700; }
.qt-gloss__item dd { margin: 0; color: var(--qt-mute); }

/* Rule-band smarter */
.qt-smarter { padding: 64px 0; background: var(--qt-ink); color: #f6f3ec; }
.qt-smarter h2 { color: #f6f3ec; }
.qt-smarter .qt-head p { color: rgba(246,243,236,0.65); }
.qt-ruleband { padding: 20px 0 8px; border-top: 3px solid #f6f3ec; }
.qt-ruleband h3 { margin: 0 0 8px; font-size: 1.2rem; color: #f6f3ec; }
.qt-ruleband p { margin: 0; color: rgba(246,243,236,0.7); max-width: 62ch; }
.qt-smarter__img { margin-top: 28px; }
.qt-smarter__img img { width: 100%; height: 180px; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: 0.85; }

.qt-start__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; }
.qt-nums { list-style: none; }
.qt-nums li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--qt-rule); }
.qt-nums li:last-child { border-bottom: 1px solid var(--qt-rule); }
.qt-nums span { font-family: var(--qt-serif); color: var(--qt-accent); }
.qt-nums p { margin: 4px 0 0; color: var(--qt-mute); font-size: 0.92rem; }

.qt-mid { padding: 0 0 64px; }
.qt-mid__inner {
  padding: 28px 0;
  border-top: 1px solid var(--qt-ink);
  border-bottom: 1px solid var(--qt-ink);
  text-align: left;
}
.qt-mid__inner p { color: var(--qt-mute); max-width: 52ch; }

.qt-about__grid { display: grid; grid-template-columns: minmax(0, 46rem); gap: 0; }
.qt-pull {
  margin: 22px 0;
  font-family: var(--qt-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.25;
  max-width: 40ch;
}
.qt-pull cite { display: block; margin-top: 10px; font-family: var(--qt-sans); font-size: 0.85rem; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--qt-accent); }
.qt-figs { display: flex; gap: 32px; margin: 20px 0; }
.qt-figs b { display: block; font-family: var(--qt-serif); font-size: 2rem; font-weight: 500; }
.qt-figs span { font-size: 0.8rem; color: var(--qt-mute); }

/* Directory */
.qt-dir { border-top: 1px solid var(--qt-ink); }
.qt-dir a {
  display: grid;
  grid-template-columns: 7rem minmax(140px, 0.6fr) 1.4fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--qt-ink);
  text-decoration: none;
  align-items: baseline;
}
.qt-dir a:hover { color: var(--qt-ink); background: rgba(196,60,34,0.06); }
.qt-dir__role { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qt-accent); }
.qt-dir__name { font-family: var(--qt-serif); font-size: 1.15rem; }
.qt-dir__q { color: var(--qt-mute); font-size: 0.9rem; }

/* Magazine column reviews */
.seo-reviews .qt-col { display: grid; gap: 0; }
.seo-review {
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid var(--qt-ink);
  background: transparent;
}
.seo-review:last-child { border-bottom: 1px solid var(--qt-ink); }
.seo-review__body {
  margin: 0 0 14px;
  font-family: var(--qt-serif);
  font-size: 1.2rem;
  line-height: 1.35;
  max-width: 48ch;
}
.qt-who { display: flex; align-items: center; gap: 10px; }
.qt-avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--qt-paper);
}
.qt-avatar--lg { width: 52px; height: 52px; }
.qt-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.32);
  mix-blend-mode: multiply;
}
.seo-review__author { margin: 0; font-weight: 700; font-size: 0.88rem; }
.qt-who small { display: block; color: var(--qt-mute); font-size: 0.75rem; }
.seo-review__rating { margin-left: auto; letter-spacing: 2px; font-size: 0.75rem; }

.seo-faq__item { border-top: 1px solid var(--qt-ink); background: transparent; }
.seo-faq__item:last-child { border-bottom: 1px solid var(--qt-ink); }
.seo-faq__question {
  width: 100%; display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border: 0; background: transparent; text-align: left;
  font-family: var(--qt-serif); font-size: 1.1rem; cursor: pointer;
}
.qt-faq__mark { color: var(--qt-accent); font-family: var(--qt-sans); }
.seo-faq__answer { max-height: 0; overflow: hidden; color: var(--qt-mute); }
.qt-faq__inner { padding: 0 0 14px; max-width: 62ch; }

.qt-hiring__grid, .qt-final__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.qt-pills { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 14px 0 18px; }
.qt-pills li { font-size: 0.85rem; }
.qt-pills li::before { content: "— "; color: var(--qt-accent); }
.qt-hiring__media img, .qt-final__media img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  object-position: center;
  background: #efebe3;
}
.qt-final p { color: var(--qt-mute); max-width: 52ch; }

.qt-footer {
  margin-top: auto; padding: 36px 0 28px;
  background: var(--qt-ink); color: rgba(246,243,236,0.72);
}
.qt-footer a { color: #f6f3ec; }
.qt-footer .qt-brand { color: #f6f3ec; }
.qt-footer__top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.qt-footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.qt-footer__nav a { text-decoration: none; }
.qt-footer__risk { font-size: 0.82rem; }
.qt-footer__risk h3 { margin: 0 0 8px; color: #f6f3ec; font-size: 0.95rem; }
.qt-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 0.8rem; }
.qt-footer__legal { display: flex; gap: 14px; }

.qt-page { padding: 40px 0 64px; }
.qt-page .qt-wrap {
  padding: 8px 0 24px;
}
.qt-crumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 18px; font-size: 0.82rem; color: var(--qt-mute); }
.qt-crumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.qt-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; }
.qt-page h2 { margin: 28px 0 10px; }
.qt-page p { color: var(--qt-mute); max-width: 62ch; }
.qt-page ul { padding-left: 1.1rem; color: var(--qt-mute); }
.qt-page .qt-figs { margin: 24px 0; }
.qt-page .qt-hang__row p, .qt-page .qt-gloss__item dd { max-width: none; }
.qt-contact, .qt-contact-grid { display: grid; grid-template-columns: 0.9fr auto; gap: 40px; align-items: start; }
.qt-stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 20px 0; }
.qt-stats__value { display: block; font-family: var(--qt-serif); font-size: 2rem; font-weight: 500; }
.qt-stats__label { font-size: 0.8rem; color: var(--qt-mute); }
.qt-timeline { display: grid; gap: 0; margin-top: 32px; }
.qt-timeline__item {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 16px 20px;
  padding: 18px 0;
  border-top: 1px solid var(--qt-ink);
  align-items: start;
}
.qt-timeline__item:last-child { border-bottom: 1px solid var(--qt-ink); }
.qt-timeline__num { font-family: var(--qt-serif); font-size: 1.6rem; color: var(--qt-accent); line-height: 1; }
.qt-timeline__item h3 { margin: 0 0 8px; font-size: 1.15rem; }
.qt-timeline__item p,
.qt-page .qt-timeline__item p { margin: 0; max-width: none; }
.qt-timeline__item > div { min-width: 0; }
.qt-banner { margin-top: 36px; }
.qt-banner__inner {
  padding: 24px 0;
  border-top: 1px solid var(--qt-ink);
  border-bottom: 1px solid var(--qt-ink);
}
.qt-banner__inner p { max-width: 52ch; }
.qt-roster { border-top: 1px solid var(--qt-ink); }
.qt-roster__row {
  display: grid;
  grid-template-columns: 52px 200px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--qt-ink);
  align-items: start;
}
.qt-roster__avatar { width: 52px; height: 52px; object-fit: cover; }
.qt-roster__name { margin: 0; font-size: 1.1rem; }
.qt-roster__role { margin: 4px 0 0; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qt-accent); }
.qt-roster__bio { margin: 0; }
@media (max-width: 960px) {
  .qt-roster__row { grid-template-columns: 40px 1fr; }
  .qt-roster__bio { grid-column: 1 / -1; }
}
.qt-office dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--qt-accent); }
.qt-office dd { margin: 4px 0 14px; }
.qt-map { margin-top: 28px; }
.qt-map iframe { width: 100%; min-height: 320px; border: 1px solid var(--qt-ink); }

.legal-table-wrap { margin: 12px 0 20px; overflow-x: auto; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.legal-table th, .legal-table td { border: 1px solid #cfc8bb; padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table thead th { background: #efebe3; font-weight: 700; }
.legal-section { margin: 22px 0; }
.legal-section p, .legal-document__intro, .qt-legal p { max-width: none; }

.qt-book { border-top: 1px solid var(--qt-ink); }
.qt-book__row {
  display: grid;
  grid-template-columns: 52px 200px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--qt-ink);
}
.qt-book__row img { width: 52px; height: 52px; object-fit: cover; }
.qt-book__row h3 { margin: 0; font-size: 1.1rem; }
.qt-book__row .qt-dir__role { margin: 4px 0 0; }
.qt-book__row p { margin: 0; }

.chat-widget { position: fixed; right: 22px; bottom: 22px; z-index: 70; }
.chat-bubble { display: none; }
.chat-button {
  width: 54px; height: 54px; border: 1px solid var(--qt-ink); border-radius: 0;
  background: var(--qt-ink); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.chat-button .chat-icon { width: 24px; height: 24px; }
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 95; background: rgba(20,20,20,0.55); align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.active { display: flex; }
.modal-content { position: relative; width: min(420px, calc(100% - 24px)); background: var(--qt-sheet); padding: 28px 24px 22px; border: 1px solid var(--qt-ink); }
.modal-close { position: absolute; top: 12px; right: 12px; border: 0; background: transparent; cursor: pointer; }
.modal-button { display: inline-flex; gap: 8px; padding: 12px 16px; background: var(--qt-ink); color: #fff; font-weight: 700; text-decoration: none; }
.modal-header { text-align: left; }
.modal-title { margin: 8px 0 0; font-family: var(--qt-serif); }
.modal-body { color: var(--qt-mute); }
.modal-footer { margin-top: 16px; }

.qt-reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
.qt-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .qt-reveal { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .qt-nav { display: none; }
  .qt-burger { display: inline-flex; align-items: center; justify-content: center; }
  .qt-hero__grid, .qt-about__grid, .qt-start__grid, .qt-hiring__grid, .qt-final__grid,
  .qt-contact, .qt-contact-grid, .qt-gloss__item, .qt-toc__row, .qt-dir a, .qt-book__row {
    grid-template-columns: 1fr;
  }
  .qt-toc__dots { display: none; }
  .qt-hero h1 { max-width: none; }
}
@media (max-width: 640px) {
  .qt-header__cta .qt-btn { display: none; }
  .qt-footer__top, .qt-footer__bottom { flex-direction: column; }
  .qt-hang__row { grid-template-columns: 40px 1fr; }
  .qt-figs { flex-direction: column; gap: 12px; }
}

/* Errors last — beat intlTelInput.min.css */
#first_name-error, #last_name-error, #email-error, #phone-error,
#first_name-1-error, #last_name-1-error, #email-1-error, #phone-1-error { display: none; }

#myform label.error, #form-main label.error, .qt-signup label.error,
.qt-field > label.error, #roi_dropdown_input_group label.error, .iti > label.error,
#first_name-error.error, #last_name-error.error, #email-error.error, #phone-error.error {
  position: static !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box;
  white-space: normal !important;
  margin: 8px 0 0 !important;
  padding: 8px 10px !important;
  color: #7a1c1c !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  background: #fff1f0 !important;
  border: 1px solid rgba(122,28,28,0.2) !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 18px rgba(17,17,17,0.12) !important;
}
#first_name-error.error, #last_name-error.error, #email-error.error, #phone-error.error,
#myform label.error:not([for="roi_terms"]):not(#terms-error),
#form-main label.error:not([for="roi_terms"]):not(#terms-error) { display: block !important; }

#first_name-error:empty, #last_name-error:empty, #email-error:empty, #phone-error:empty, label.error:empty {
  display: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important;
}

.qt-terms label.error, #myform .qt-terms label.error, #form-main .qt-terms label.error,
#myform label.error[for="roi_terms"], #terms-error, #roi_terms-error, #roi_error_terms {
  display: none !important; width: 0 !important; height: 0 !important; overflow: hidden !important;
  position: absolute !important; left: -9999px !important;
}

#myform input.error, #form-main input.error, #phone.error, .iti input.error {
  border-color: #d9534f !important; box-shadow: none !important;
}
