/* ═══════════════════════════════════════════════════════════════════════════
   TIRQO · THE PUBLIC PAGES — round 41b
   ───────────────────────────────────────────────────────────────────────────
   tirqo.com's own pages before the sign-in (Tirqo/Tirqo.Master, Home, Terms,
   Privacy, Contact; round 41c: Pricing): plain sections with their words, laid out on the dash's
   dark tokens (tq.tokens.css) and kit (tq.kit.css: buttons, fields, links).
   No pictures: the pages' design comes in a later round.
   Round 43: the home page's pictures: the hero on its graphite with an orange
   glow, the words beside the dash and the website (under them on a narrow
   screen), and what a shop gets as four parts, each beside its picture.
   Prefix tqs- (s for site). Loads after tq.base.css, so a list that keeps its
   markers names its element (ol.tqs-steps), as base.css's reset does.
   ═══════════════════════════════════════════════════════════════════════════ */

.tqs {
  min-block-size: 100vh;
  margin: 0;
  background: var(--tq-bg);
  color: var(--tq-text-body);
  font-family: var(--tq-font-sans);
  font-size: 16px;
  line-height: 1.6;
}

.tqs-skip {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: -64px;
  z-index: 10;
  padding: 8px 14px;
  border-radius: var(--tq-r-md);
  background: var(--tq-surface-3);
  color: var(--tq-text-strong);
  font-weight: 600;
  text-decoration: none;
}
.tqs-skip:focus { inset-block-start: 12px; }

.tqs-wrap {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: calc(var(--tq-container) + 2 * var(--tq-gutter));
  margin-inline: auto;
  padding-inline: var(--tq-gutter);
}
.tqs-wrap--narrow { max-inline-size: calc(720px + 2 * var(--tq-gutter)); }
.tqs-wrap--prose { max-inline-size: calc(var(--tq-container-prose) + 2 * var(--tq-gutter)); }

/* ── the header ─────────────────────────────────────────────────────────── */
.tqs-header {
  border-block-end: 1px solid var(--tq-line);
  background: var(--tq-bg);
}
.tqs-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-block-size: 68px;
  padding-block: 10px;
}
.tqs-brand { display: inline-flex; align-items: center; flex: none; border-radius: var(--tq-r-sm); }
.tqs-brand__logo { display: block; block-size: 28px; inline-size: auto; }
.tqs-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.tqs-nav__link {
  color: var(--tq-text-muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.tqs-nav__link:hover { color: var(--tq-text-strong); }

/* ── the sections ───────────────────────────────────────────────────────── */
.tqs-main { display: block; }
.tqs-section {
  padding-block: clamp(40px, 6vw, 80px);
  border-block-start: 1px solid var(--tq-line-soft);
}
.tqs-section--first { border-block-start: 0; padding-block-start: clamp(44px, 8vw, 104px); }
.tqs-section--last { padding-block-end: clamp(48px, 8vw, 104px); }

.tqs-eyebrow {
  margin: 0 0 12px;
  color: var(--tq-accent-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.tqs-h1 {
  margin: 0 0 16px;
  color: var(--tq-text-strong);
  font-family: var(--tq-font-display);
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}
.tqs-h2 {
  margin: 0 0 16px;
  color: var(--tq-text-strong);
  font-family: var(--tq-font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.tqs-h3 {
  margin: 0 0 10px;
  color: var(--tq-text-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.tqs-lead {
  max-inline-size: 60ch;
  margin: 0 0 8px;
  color: var(--tq-text-body);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}
.tqs-text {
  max-inline-size: 65ch;
  margin: 0 0 12px;
  line-height: 1.65;
  text-wrap: pretty;
}
.tqs-meta { margin: 0 0 24px; color: var(--tq-text-muted); font-size: 14px; }
.tqs-small { margin: 0; color: var(--tq-text-muted); font-size: 13px; line-height: 1.5; }
.tqs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }

/* ── the hero (round 43): the words, then the picture: beside them from 1024px, under them below that; on a phone
   the picture is the phone and its quote request alone (Home.aspx's <picture>) ───────────────────────────────── */
.tqs-hero {
  background:
    radial-gradient(46% 64% at 76% 58%, rgb(var(--tq-brand-rgb) / .16), rgb(var(--tq-brand-rgb) / 0) 72%),
    radial-gradient(90% 90% at 16% 0%, var(--tq-graphite-800), rgb(25 28 32 / 0) 72%),
    var(--tq-graphite-900);
}
.tqs-hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}
.tqs-hero__words { min-inline-size: 0; }
.tqs-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--tq-text-muted);
  font-size: 14px;
  line-height: 20px;
}
.tqs-hero__trust > li { display: inline-flex; align-items: center; gap: 9px; }
.tqs-hero__trust > li::before {
  content: "";
  flex: none;
  inline-size: 6px;
  block-size: 6px;
  border-radius: 50%;
  background: var(--tq-accent-text);
}
.tqs-hero__art {
  display: block;
  justify-self: center;
  inline-size: 100%;
  max-inline-size: 780px;
  min-inline-size: 0;
}
.tqs-hero__img { display: block; inline-size: 100%; block-size: auto; }
@media (min-width: 1024px) {
  .tqs-hero__row { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}
@media (min-width: 1280px) {
  .tqs-hero__row { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
}
@media (max-width: 640px) {
  .tqs-hero__art { max-inline-size: 440px; }
}

/* ── what a shop gets (round 43): each part beside its picture, the pictures on alternate sides from 900px; below that
   the picture over its words ──────────────────────────────────────────────────────────────────────────────────── */
.tqs-feats {
  display: grid;
  gap: clamp(40px, 6vw, 76px);
  margin-block-start: clamp(28px, 4vw, 44px);
}
.tqs-feat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px clamp(32px, 5vw, 64px);
  align-items: center;
}
.tqs-feat__img {
  display: block;
  justify-self: center;
  inline-size: 100%;
  max-inline-size: 600px;
  block-size: auto;
  border-radius: 16px;
  background: var(--tq-surface);
  box-shadow: 0 0 0 1px rgb(var(--tq-white-rgb) / .10), 0 28px 60px -18px rgb(0 0 0 / .8), 0 10px 24px -12px rgb(0 0 0 / .6);
}
.tqs-feat__words { min-inline-size: 0; max-inline-size: 60ch; }
.tqs-feat__words > .tqs-h3 { color: var(--tq-accent-text); }
@media (min-width: 900px) {
  .tqs-feat { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .tqs-feat:nth-child(even) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .tqs-feat:nth-child(even) > .tqs-feat__img { order: 2; }
}
.tqs-features { margin: 0; }
.tqs-features dt { margin: 14px 0 0; color: var(--tq-text-strong); font-weight: 700; }
.tqs-features dt:first-child { margin-block-start: 0; }
.tqs-features dd { margin: 4px 0 0; line-height: 1.55; text-wrap: pretty; overflow-wrap: anywhere; }

/* ── how it works ───────────────────────────────────────────────────────── */
ol.tqs-steps {
  max-inline-size: 65ch;
  margin: 20px 0 0;
  padding-inline-start: 24px;
  list-style: decimal;
}
ol.tqs-steps > li { margin: 0 0 12px; padding-inline-start: 4px; line-height: 1.6; }
ol.tqs-steps > li::marker { color: var(--tq-accent-text); font-weight: 700; }
ol.tqs-steps b, .tqs-list b { color: var(--tq-text-strong); }

/* ── the legal pages ────────────────────────────────────────────────────── */
.tqs-prose > p { margin: 0 0 14px; line-height: 1.7; overflow-wrap: anywhere; }
.tqs-prose > .tqs-h2 { margin-block-start: 36px; font-size: clamp(19px, 2.2vw, 22px); }
ul.tqs-list { margin: 0 0 14px; padding-inline-start: 22px; list-style: disc; }
ul.tqs-list > li { margin: 0 0 10px; line-height: 1.65; overflow-wrap: anywhere; }

/* ── the contact form ───────────────────────────────────────────────────── */
.tqs-form {
  display: grid;
  gap: 18px;
  max-inline-size: 560px;
  margin-block-start: 28px;
}
.tqs-form .tqs-actions { margin: 4px 0 0; }
.tqs-trap {
  position: absolute;
  inset-inline-start: -10000px;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
}
.tqs-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--tq-line-strong);
  border-radius: var(--tq-r-md);
  background: var(--tq-surface);
  overflow-wrap: anywhere;
}
.tqs-note > p { margin: 0; }
.tqs-note > p + p { margin-block-start: 6px; }
.tqs-note__title { color: var(--tq-text-strong); font-weight: 700; }
.tqs-note--ok { border-color: rgb(var(--tq-success-rgb) / .45); background: rgb(var(--tq-success-rgb) / .08); }
.tqs-note--bad { border-color: rgb(var(--tq-danger-rgb) / .5); background: rgb(var(--tq-danger-rgb) / .08); }
ul.tqs-note__list { margin: 8px 0 0; padding-inline-start: 20px; list-style: disc; }
ul.tqs-note__list > li { margin: 0 0 4px; }

/* ── pricing (round 41c): the plan beside its add-ons, one under the other on a phone ── */
.tqs-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
  align-items: start;
  margin-block-start: 28px;
}
.tqs-plan,
.tqs-addon {
  min-inline-size: 0;
  padding: 22px 24px;
  border: 1px solid var(--tq-line);
  border-radius: var(--tq-r-lg);
  background: var(--tq-surface);
}
.tqs-plan { border-color: var(--tq-line-strong); }
.tqs-plan__name,
.tqs-addon__name {
  margin: 0 0 6px;
  color: var(--tq-text-strong);
  font-family: var(--tq-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}
.tqs-addon__name { font-size: 18px; }
.tqs-price { margin: 0 0 16px; color: var(--tq-text-muted); font-size: 15px; }
.tqs-price__amount {
  color: var(--tq-text-strong);
  font-family: var(--tq-font-display);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
}
ul.tqs-plan__list { margin-block-end: 0; }
.tqs-addons { display: flex; flex-direction: column; gap: 16px; min-inline-size: 0; }
.tqs-addons > .tqs-h2 { margin: 0; }
.tqs-addon > .tqs-text { margin-block-end: 12px; }
.tqs-addon > .tqs-price { margin-block-end: 0; }
.tqs-addon__note { margin-block-start: 6px; overflow-wrap: anywhere; }

/* ── sign-up (round 42a): what a shop pays, the Terms box, the test-mode note ── */
.tqs-note--warn { border-color: rgb(var(--tq-warning-rgb) / .5); background: rgb(var(--tq-warning-rgb) / .08); }
.tqs-bill {
  max-inline-size: 560px;
  margin-block-start: 24px;
  padding: 16px 18px;
  border: 1px solid var(--tq-line-strong);
  border-radius: var(--tq-r-md);
  background: var(--tq-surface);
}
.tqs-bill__title { margin: 0 0 6px; color: var(--tq-text-strong); font-weight: 700; }
.tqs-bill__rows { margin: 0 0 10px; }
.tqs-bill__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 7px;
  border-block-end: 1px solid var(--tq-line);
}
.tqs-bill__row > dt { min-inline-size: 0; margin: 0; overflow-wrap: anywhere; }
.tqs-bill__row > dd { flex: none; margin: 0; font-variant-numeric: tabular-nums; }
.tqs-bill__row--total { border-block-end: 0; color: var(--tq-text-strong); font-weight: 700; }
.tqs-agree__row { display: flex; align-items: flex-start; gap: 10px; }
.tqs-agree__box { flex: none; inline-size: 18px; block-size: 18px; margin: 3px 0 0; accent-color: var(--tq-accent); }
.tqs-agree__label { min-inline-size: 0; line-height: 1.55; overflow-wrap: anywhere; }

/* ── the footer ─────────────────────────────────────────────────────────── */
.tqs-footer {
  padding-block: 28px 36px;
  border-block-start: 1px solid var(--tq-line);
  color: var(--tq-text-muted);
  font-size: 14px;
}
.tqs-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
}
.tqs-footer__row > p { margin: 0; }
.tqs-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tqs-footer__link {
  color: var(--tq-text-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.tqs-footer__link:hover { color: var(--tq-text-strong); }

@media (max-width: 480px) {
  .tqs-brand__logo { block-size: 24px; }
  .tqs-actions > .tqd-btn { flex: 1 1 auto; justify-content: center; }
}
