/* TextBack — shared styles
   Palette: workwear navy, hi-vis orange, hi-vis yellow (highlighter only), concrete grey.
   Type: Barlow Condensed (display, signwriting feel) + Barlow (body). */

:root {
  --navy: #101D33;
  --navy-2: #1B2D4D;
  --orange: #FF7A1A;
  --orange-dark: #E96400;
  --hivis: #E6F23C;
  --concrete: #EEF0F2;
  --line: #D5DAE0;
  --ink: #101D33;
  --grey: #55607A;
  --white: #FFFFFF;
  --sms: #DDF6E3;
  --warn: #C2321B;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 18px; }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 700px; }
a { color: var(--navy); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* header */
.top { border-top: 6px solid var(--orange); padding: 16px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.top .call { font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.top .call b { font-variant-numeric: tabular-nums; }

/* type */
h1, h2, .display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.005em; color: var(--navy); }
h1 { font-size: clamp(50px, 9.5vw, 96px); line-height: 0.92; }
h2 { font-size: clamp(34px, 5vw, 50px); line-height: 1; margin-bottom: 22px; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; }
.hl { background: linear-gradient(transparent 58%, var(--hivis) 58%, var(--hivis) 92%, transparent 92%); padding: 0 0.08em; }
.lead { font-size: 20px; color: var(--grey); max-width: 31em; }
.muted { color: var(--grey); }
.small { font-size: 15px; color: var(--grey); }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 10px; }

/* buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; background: var(--orange); color: var(--navy); padding: 12px 26px; border-radius: 10px; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; transition: background 0.15s, transform 0.15s; }
.button:hover { background: var(--orange-dark); }
.button:active { transform: translateY(1px); }
.button.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.button.ghost:hover { background: var(--concrete); }
.button[disabled] { opacity: 0.6; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

section { padding: 64px 0; }
.band { background: var(--concrete); }

/* phone + messages */
.phone { background: var(--navy); border-radius: 38px; padding: 14px; max-width: 350px; width: 100%; box-shadow: 0 24px 50px -22px rgba(16, 29, 51, 0.55); }
.screen { background: var(--concrete); border-radius: 26px; padding: 18px 14px 20px; min-height: 100%; }
.screen .who { text-align: center; font-size: 13px; font-weight: 600; color: var(--grey); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.notif { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 10px 12px; margin-bottom: 14px; font-size: 15px; line-height: 1.3; }
.notif .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--warn); display: grid; place-items: center; }
.notif .dot svg { width: 16px; height: 16px; }
.notif b { display: block; }
.notif span { color: var(--grey); font-size: 13px; }
.stamp { text-align: center; font-size: 12px; color: var(--grey); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.bubble { padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; margin-bottom: 8px; max-width: 90%; white-space: pre-wrap; overflow-wrap: break-word; }
.bubble.in { background: var(--white); border-bottom-left-radius: 5px; }
.bubble.out { background: var(--navy-2); color: var(--white); margin-left: auto; border-bottom-right-radius: 5px; }
.bubble.sys { background: var(--sms); border-bottom-left-radius: 5px; }

/* cards + notes */
.note { background: var(--concrete); border-radius: 14px; padding: 18px 20px; }
.err { color: var(--warn); font-weight: 600; }
.ok { color: #17693A; font-weight: 600; }

/* forms */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-size: 15px; color: var(--grey); font-weight: 400; margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: inherit; background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
input[type=file] { font: inherit; font-size: 15px; max-width: 100%; }
fieldset { border: 0; margin: 38px 0 10px; }
legend { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; width: 20px; height: 20px; flex: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { font-weight: 400; display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 14px; margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* legal + simple pages */
.page { padding-top: 28px; padding-bottom: 72px; }
.page h1 { font-size: clamp(42px, 7vw, 64px); }
.legal h2 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 22px; letter-spacing: 0; line-height: 1.25; margin: 36px 0 10px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 22px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--grey); margin: 10px 0 30px; }

/* footer */
footer { background: var(--navy); color: #B9C2D3; padding: 34px 0 44px; font-size: 15px; }
footer a { color: var(--white); margin-right: 18px; }
footer .logo { color: var(--white); font-size: 24px; margin-bottom: 14px; }
footer p + p { margin-top: 10px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  section { padding: 46px 0; }
  .grid2 { grid-template-columns: 1fr; }
  .top .call span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
