/* AAA Rapid Supply — site stylesheet
   Direction: Catalog. White, utilitarian, cobalt actions, yellow highlighter on the one phrase that matters.
   Type: Inter throughout; IBM Plex Mono only for IDs and file names. */

:root {
  --bg: #FFFFFF;
  --bg-2: #F8F9FA;
  --bg-3: #F1F3F5;
  --text: #1A1D21;
  --text-2: #3C4043;
  --muted: #5F6368;
  --line: #E3E6EA;
  --line-2: #D0D4DA;
  --cobalt: #1F4FD8;
  --cobalt-hover: #173FB0;
  --cobalt-soft: #EEF3FF;
  --cobalt-line: #C7D5F7;
  --highlight: #FFE762;
  --ok: #1E7F4F;
  --err: #C8463A;
  --radius: 6px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --monof: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: inline-block; vertical-align: middle; }
a { color: var(--cobalt); }
a:hover { color: var(--cobalt-hover); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.mono { font-family: var(--monof); }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  background: var(--cobalt); color: #fff; padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--cobalt); color: #fff; }
.btn-accent:hover { background: var(--cobalt-hover); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.btn:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-weight: 800; font-size: 20px; letter-spacing: -0.015em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px; }
.site-nav > a:not(.btn):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { background: var(--bg); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr); gap: 56px; align-items: center;
  padding-top: 72px; padding-bottom: 80px;
}
h1 {
  margin: 0 0 22px; font-weight: 800;
  font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -0.03em;
}
h1 mark { background: linear-gradient(transparent 58%, var(--highlight) 58%); color: inherit; padding: 0 0.05em; }
.lede { margin: 0 0 14px; max-width: 560px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; color: var(--text-2); }
.lede-strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Example intake card */
.intake-card {
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 40px -24px rgba(26, 29, 33, 0.35);
  padding: 20px 22px 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.intake-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.intake-id { font-weight: 500; }
.intake-status { display: inline-flex; align-items: center; gap: 8px; color: var(--cobalt); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.intake-body { margin: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: 15px; line-height: 1.55; color: var(--text); background: #fff; }
.intake-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.intake-files li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 11px 4px 9px; font-size: 12px; color: var(--text-2);
}
.intake-foot {
  display: flex; align-items: center; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line);
  font-weight: 600; font-size: 14px; color: var(--cobalt);
}

/* ---------- Proof strip ---------- */
.proof { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-list li {
  display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 20px 0; margin-right: 20px;
  font-size: 14.5px; line-height: 1.45; color: var(--text-2); font-weight: 500; border-right: 1px solid var(--line);
}
.proof-list li:last-child { border-right: 0; margin-right: 0; }
.proof-list svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--cobalt); margin-top: -1px; }

/* ---------- Sections (shared) ---------- */
.section-head { max-width: 720px; margin-bottom: 40px; }
h2 { margin: 0 0 14px; font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -0.025em; }
h3 { margin: 0 0 8px; font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.how .wrap { padding-top: 88px; padding-bottom: 88px; }
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.steps li { padding: 28px 26px 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; }
.steps li:last-child { border-right: 0; }
.step-num { font-size: 12px; font-weight: 500; color: var(--cobalt); margin-bottom: 16px; }
.steps h3 { color: var(--text); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- What we source ---------- */
.source { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source .wrap { padding-top: 88px; padding-bottom: 88px; }
.source-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.source-note { margin: 22px 0 0; padding-top: 22px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 15px; max-width: 540px; }
.source-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.source-col h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.source-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.source-col li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text); line-height: 1.45; }
.source-col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--cobalt); border-radius: 1px; }

/* ---------- RFQ form ---------- */
.rfq { background: var(--bg); }
.rfq .wrap { padding-top: 88px; padding-bottom: 104px; }
.rfq-form { max-width: 800px; display: flex; flex-direction: column; gap: 20px; }

.fs {
  margin: 0; padding: 28px 28px 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  display: flex; flex-direction: column; gap: 20px;
}
.fs legend {
  float: left; width: 100%; margin: 0 0 4px; padding: 0;
  font-weight: 700; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.fs legend + * { clear: both; }
.fs-num {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--cobalt); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.label-hint { font-weight: 400; color: var(--muted); }
.label-minor { font-weight: 500; color: var(--muted); }
.req { margin-left: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field-minor { max-width: 360px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-width: 0; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--text);
  font: inherit; font-size: 15px; line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { height: auto; min-height: 160px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F6368' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; }
input::placeholder, textarea::placeholder { color: #8A9099; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(31, 79, 216, 0.18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }

.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--cobalt); cursor: pointer; }
.recurring-fields { margin-top: 12px; }
.check-note { margin: 6px 0 0 28px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.tiered-fields { margin-top: 12px; max-width: 420px; }

/* Dropzone */
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  padding: 26px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-2); color: var(--muted);
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.dropzone:hover, .dropzone:focus-visible, .dropzone.is-drag { border-color: var(--cobalt); background: var(--cobalt-soft); outline: none; }
.dropzone svg { color: var(--cobalt); }
.dropzone input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-text { font-size: 15px; color: var(--text); }
.dz-sub { font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.file-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.file-list:empty { display: none; }
.file-list li {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px;
}
.file-list .fname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.file-list .fsize { flex: 0 0 auto; font-family: var(--monof); font-size: 12px; color: var(--muted); }
.file-list .fremove {
  flex: 0 0 auto; border: none; background: transparent; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 4px;
  display: inline-flex; line-height: 0;
}
.file-list .fremove:hover { color: var(--err); background: #FFF0EE; }
.file-list li.is-bad { border-color: var(--err); background: #FFF3F1; }
.file-list li.is-bad .fsize { color: var(--err); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot:empty { display: none; }
.form-error { margin: 0; padding: 11px 13px; border-radius: var(--radius); background: #FFF0EE; border: 1px solid #F3C2BB; color: #8E2A20; font-size: 14.5px; }
.dz-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.dz-note strong { color: var(--text); font-weight: 600; }
.privacy-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  font-size: 13.5px; line-height: 1.5; color: var(--text-2);
}
.privacy-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--cobalt); }
.privacy-note a { font-weight: 500; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 4px; }
.submit-note { margin: 0; flex: 1 1 260px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* Success state */
.rfq-success {
  max-width: 800px; padding: 36px 32px; border-radius: 8px; background: var(--cobalt-soft); border: 1px solid var(--cobalt-line); color: var(--text);
  display: flex; flex-direction: column; gap: 10px;
}
.rfq-success > svg { color: var(--cobalt); margin-bottom: 4px; }
.rfq-success .eyebrow { color: var(--cobalt); }
.rfq-success h3 { font-size: 24px; color: var(--text); }
.rfq-success h3 .mono { color: var(--cobalt); font-size: 20px; font-weight: 500; }
.rfq-success p { margin: 0; color: var(--text-2); max-width: 620px; }
.rfq-success strong { color: var(--text); }
.success-contact { margin-top: 8px !important; font-size: 14.5px; color: var(--muted) !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 44px; padding-bottom: 32px;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 48px; align-items: start;
}
.foot-brand { display: flex; gap: 14px; align-items: flex-start; }
.foot-brand strong { display: block; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; margin-top: 4px; }
.foot-brand p { margin: 6px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.foot-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--text-2); }
.foot-contact a { font-weight: 600; text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
.foot-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
  .intake-card { max-width: 560px; }
  .proof-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-list li:nth-child(2n) { border-right: 0; margin-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .source-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .site-header .wrap { height: 62px; }
  .brand-name strong { font-size: 18px; }
  .site-nav > a:not(.btn) { display: none; }
  .hero-grid { padding-top: 40px; padding-bottom: 52px; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .intake-card { padding: 16px 16px 14px; }
  .proof-list { grid-template-columns: 1fr; }
  .proof-list li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .proof-list li:last-child { border-bottom: 0; }
  .how .wrap, .source .wrap, .rfq .wrap { padding-top: 60px; padding-bottom: 68px; }
  .section-head { margin-bottom: 28px; }
  .source-lists { grid-template-columns: 1fr; gap: 24px; }
  .fs { padding: 20px 16px 22px; }
  .fs legend { font-size: 17px; }
  .grid-2 { grid-template-columns: 1fr; }
  .btn-lg, .submit-row .btn { width: 100%; }
  .rfq-success { padding: 26px 20px; }
  .rfq-success h3 .mono { display: block; margin-top: 6px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dropzone, input, select, textarea { transition: none; }
}
