@import url('./quest-colors.css');
/* Pages copied from the old systems (winter quote, financing, signing, privacy, detail request) wearing the
 * site's look. Only colours, type and the old logo bar change; the pages' wording, rules and scripts do not.
 * Loaded after the pages' own styles, so plain overrides win; `html:root` beats the pages' `:root`. */

html:root {
  --navy: #0e2133; --navy-2: #1d3a56; --navy-deep: #0a1825;
  --ice: #edf0f1; --frost: var(--quest-blue); --frost-soft: #e3e9ee;
  --gold: var(--quest-blue); --gold-soft: #fdf6d3;
  --paper: #ffffff; --ink: #0e2133; --muted: #5c6874; --line: #d3d9de;
  --radius: 4px;
  --disp: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif;
  --legal: "Neue Haas Display", "Helvetica Neue", Arial, sans-serif;
}
html body { font-family: var(--body); background: var(--ice); color: var(--ink); letter-spacing: .012em; -webkit-font-smoothing: antialiased; }

/* One voice: sentence case, normal tracking, figures that line up. */
body *:not(input):not(textarea):not(select) { text-transform: none !important; }
body h1, body h2, body h3, body .btn, body button, body label, body .step, body nav.steps a, body nav.steps button { letter-spacing: .005em !important; }
body { font-variant-numeric: tabular-nums; }
body h1, body h2, body h3 { font-weight: 500 !important; letter-spacing: -.015em !important; }

/* The old logo bar: the site's header now says who we are. Keep the season line as a quiet title. */
header.site { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; padding: 12px 20px; }
header.site .brand { display: none; }
header.site .season { font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
header.tracker-head { display: none; }

/* Buttons: square-ish, the site's weights; primary actions use white on Quest blue. */
body .btn, body button.btn { border-radius: 3px; font-family: var(--body); font-weight: 500; }
body .btn.gold, body .mobilebar button { color: white !important; }
body .opt .p, body .qtyrow .p { color: var(--ink); }

/* Cards and fields: hairlines and small corners, like the rest of the site. */
body .card, body .panel, body .ticket-card, body section.panel { border-radius: 4px; box-shadow: none; }
body input, body select, body textarea { border-radius: 3px; font-family: var(--body); }

/* Privacy and terms: the site's type at a readable size, the old dark bar as a plain title strip. */
html body .topbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; }
html body .topbar img { display: none; }
html body .topbar .ttl { font-family: var(--body); font-size: 22px; color: var(--ink); }
html body .topbar .ttl small { color: var(--muted); font-size: 13px; }
html body .topbar .back { color: var(--ink); border-color: var(--line); font-weight: 500; }
html body .doc { font-size: 16px; line-height: 1.6; text-align: left; hyphens: manual; }
html body .doc h2 { font-size: 20px; margin-top: 28px; }
html body .doc h3 { font-size: 17px; font-style: normal; }
html body .doc > :first-child, html body .doc .doctitle { font-size: 15px; }

@media print { quest-header, quest-footer { display: none !important; } }

@media screen {
  html:root { --navy: #142b48; --navy-2: var(--quest-blue); --ink: #142b48; --ice: #f1f5fa; --muted: #52656a; --line: #ced9e6; }
  header.site { background: #f1f5fa; }
  header.site .season { margin: 0; font-size: clamp(19px,2.3vw,30px); line-height: 1.18; text-align: left; }
  header.site .season span { font-size: .76em; white-space: nowrap; color: var(--muted); }
  body section.panel, body .doc, body .ticket-card { border-top: 3px solid var(--quest-blue); }
  body .doc { padding: clamp(20px,4vw,48px); }
  html body .topbar { background: #f1f5fa; }
  body :focus-visible { outline: 3px solid var(--quest-blue); outline-offset: 3px; }
}
.customer-reply {
  box-sizing: border-box; max-width: 540px; margin: clamp(20px,5vw,66px) auto; padding: clamp(22px,4vw,38px);
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-2);
}
.customer-reply h1 { font-size: clamp(26px,3.2vw,38px); line-height: 1.1; margin: 0 0 12px; }
.customer-reply p, .customer-reply .warn { line-height: 1.5; }
.customer-reply label { display: block; margin: 16px 0 4px; }
.customer-reply input:not([type="hidden"]), .customer-reply textarea { box-sizing: border-box; padding: 11px; width: 100%; border: 1px solid var(--muted); font: inherit; }
.customer-reply button { margin-top: 16px; padding: 12px 20px; border: 0; border-radius: 3px; background: var(--gold); color: white; font: inherit; cursor: pointer; }
.customer-reply .warn { padding: 10px; background: var(--gold-soft); }

@media screen {
  body > header.site { padding:0; color:#fff; background:#142e50; border-bottom:3px solid var(--quest-blue-light); }
  body > header.site .site-inner { padding:clamp(14px,2.5vw,30px) clamp(16px,3vw,42px); }
  body > header.site .season, body > header.site .season span { color:inherit; }
  body nav.steps { gap:5px; align-items:stretch; }
  body nav.steps button { padding:8px 11px; min-height:40px; border-radius:4px; }
  body nav.steps button.active { background:var(--quest-blue); border-color:var(--quest-blue); color:white; }
  body section.panel, body .ticket-card, body .doc { border-radius:7px; }
  body .ticket-head { background:#123340; }
  body .ticket-card .num, body .amount { font-variant-numeric:tabular-nums; }
  body .doc h2 { padding-top:12px; border-top:1px solid var(--line); }
  body .customer-reply { border-radius:7px; }
}
