/* Dealer-Less design tokens + shared components (public site and portal). */
:root {
  --orange: #ff6300;          /* brand orange, taken from dealerlessfl.com */
  --orange-hover: #f25500;
  --orange-ink: #c44100;      /* orange for text on white (5.1:1) */
  --orange-tint: #fff2e9;
  --ink: #1c1f24;             /* asphalt */
  --ink-2: #3a404a;
  --steel: #5a6270;
  --line: #e4e7eb;
  --mist: #f4f5f7;
  --white: #ffffff;
  --ok: #17693f; --ok-tint: #e7f4ec;
  --err: #b42318; --err-tint: #fdecea;
  --blue: #1f5fad; --blue-tint: #e9f1fb;
  --amber: #8a5300; --amber-tint: #fff4dc;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --t-xs: .8125rem; --t-sm: .875rem; --t-base: 1rem; --t-md: 1.125rem; --t-lg: 1.375rem;
  --t-xl: 1.75rem; --t-2xl: 2.25rem; --t-3xl: 3rem;

  --r-sm: 4px; --r-md: 8px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink);
  background: var(--white); font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
[hidden] { display: none !important; }
/* A send-once form while its request is on the way (site.js). */
form[aria-busy="true"] [type="submit"] { opacity: .65; cursor: progress; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Display type: Archivo pushed wide, like badging on a tailgate. */
.display { font-stretch: 125%; font-weight: 800; letter-spacing: -.015em; line-height: 1.02; }
.wide { font-stretch: 112%; }
.muted { color: var(--steel); }
.num { font-variant-numeric: tabular-nums; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.2rem; border-radius: var(--r-sm); border: 2px solid transparent;
  font-weight: 700; font-stretch: 108%; font-size: var(--t-base); line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hover); color: var(--ink); }
.btn-primary:focus-visible { outline-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-2); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: transparent; border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-quiet { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: var(--white); border-color: #f1c4bf; color: var(--err); }
.btn-danger:hover { background: var(--err); border-color: var(--err); color: var(--white); }
.btn-sm { padding: .45rem .8rem; font-size: var(--t-sm); }
.btn-lg { padding: 1rem 1.6rem; font-size: var(--t-md); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--orange-ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }

/* Forms */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field > label, .label { font-weight: 600; font-size: var(--t-sm); color: var(--ink); }
.field .hint { font-size: var(--t-xs); color: var(--steel); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid #cdd2d8; border-radius: var(--r-sm); background: var(--white);
  font-size: var(--t-base); line-height: 1.4; transition: border-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(255, 99, 0, .35); outline-offset: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: var(--t-sm); font-weight: 600; }
.check { display: flex; gap: .55rem; align-items: center; font-size: var(--t-sm); font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--orange-ink); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.hp { position: absolute; left: -5000px; }

/* Notices */
.notice { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-sm); border: 1px solid; font-weight: 500; margin-bottom: 1.25rem; }
.notice-ok { background: var(--ok-tint); border-color: #b9dfc9; color: var(--ok); }
.notice-error { background: var(--err-tint); border-color: #f4c7c1; color: var(--err); }
.notice-info { background: var(--mist); border-color: var(--line); color: var(--ink-2); }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; }
.brand-name { display: block; white-space: nowrap; font-stretch: 125%; font-weight: 800; font-size: 1.2rem; letter-spacing: .01em; line-height: 1; }
.brand-sub { display: block; font-size: .72rem; color: var(--steel); letter-spacing: .02em; margin-top: .2rem; font-weight: 500; }
.brand:hover { color: var(--ink); }
