/* 2026 design tokens */
:root {
  --bg: #F8F8F8;
  --bg-dark: #1A1A1A;
  --fg: #1A1A1A;
  --fg-muted: #6B7280;
  --fg-light: #F8F8F8;
  --accent: #0057FF;
  --accent-dim: rgba(0, 87, 255, 0.08);
  --border: #E5E5E5;
  --border-dark: rgba(248,248,248,0.08);
  --card-bg: #FFFFFF;
  --shadow: 0 1px 4px rgba(26,26,26,0.06);
  --shadow-lg: 0 2px 16px rgba(26,26,26,0.08);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* NAV */
.nav {
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--card-bg);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  letter-spacing: -0.02em;
}

/* HERO */
.hero {
  padding: 80px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.hero-headline {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  display: block;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* FEATURES */
.features {
  padding: 96px 48px;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.features-header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}
.features-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}
.features-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.65;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s ease;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  margin-bottom: 16px;
}
.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* SPLIT SECTIONS */
.split-section {
  padding: 80px 48px;
}
.split-section--dark {
  background: var(--bg-dark);
  color: var(--fg-light);
}
.split-section--light {
  background: var(--card-bg);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.split-grid--reversed .split-content { order: 2; }
.split-grid--reversed .split-illustration { order: 1; }
.split-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.split-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: inherit;
  margin-bottom: 20px;
}
.split-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.split-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split-list li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
  color: var(--fg-muted);
}
.split-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.split-section--dark .split-list li,
.split-section--dark .split-body {
  color: rgba(248,248,248,0.6);
}

/* CLOSING CTA */
.closing {
  padding: 120px 48px;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 28px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.closing-body:last-child { margin-bottom: 0; }

/* FOOTER */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
}
.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.footer-copy {
  font-size: 12px;
  color: var(--fg-muted);
}

/* NAV LINKS */
.nav-right {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--fg); background: var(--bg); }
.nav-link--home {
  font-weight: 600;
  color: var(--fg);
}

/* CHECKOUT FORM (homepage form) */
.checkout-form-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.checkout-form-header {
  text-align: center;
  margin-bottom: 28px;
}
.checkout-price {
  font-size: 56px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.04em;
  line-height: 1;
}
.checkout-tagline {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 6px;
}
.bos-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.form-group select,
.form-group input {
  padding: 13px 16px;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  min-height: 44px;
}
.form-group select:focus,
.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group select option[value=""] { color: var(--fg-muted); }
.btn-checkout {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-checkout:hover:not(:disabled) { background: #0045d6; transform: scale(0.99); }
.btn-checkout:active:not(:disabled) { transform: scale(0.98); }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; }
.form-disclaimer {
  font-size: 12px;
  color: var(--fg-muted);
  text-align: center;
  line-height: 1.5;
}

/* STATES SECTION */
.states-section {
  padding: 80px 48px;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.states-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: center;
}
.states-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.states-sub { font-size: 16px; color: var(--fg-muted); }
.states-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 32px;
}
.state-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  background: var(--bg);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.state-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
.state-card--featured { border-color: var(--accent); }
.state-card-rank {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  min-width: 36px;
}
.state-card-info { flex: 1; }
.state-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.state-card-desc { font-size: 13px; color: var(--fg-muted); }
.all-states-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}
.state-chip {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s;
}
.state-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

/* TRUST SECTION */
.trust-section {
  padding: 80px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.trust-header {
  max-width: 800px;
  margin: 0 auto 56px;
  text-align: center;
}
.trust-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-grid--2col { max-width: 900px; }
.trust-card {
  padding: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-icon { margin-bottom: 16px; }
.trust-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 8px;
}
.trust-card-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }

/* FAQ SECTION */
.faq-section {
  padding: 80px 48px;
  background: var(--card-bg);
  border-top: 1px solid var(--border);
}
.faq-inner { max-width: 700px; margin: 0 auto; }
.faq-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 48px;
  text-align: center;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}
.faq-a { font-size: 15px; color: var(--fg-muted); line-height: 1.7; }

/* CTA STRIP */
.cta-strip {
  padding: 64px 48px;
  background: var(--fg);
  text-align: center;
}
.cta-strip-inner { max-width: 600px; margin: 0 auto; }
.cta-strip-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--fg-light);
  margin-bottom: 12px;
}
.cta-strip-sub { font-size: 16px; color: rgba(248,248,248,0.6); margin-bottom: 32px; }
.cta-strip-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.cta-strip-btn:hover { background: #0045d6; transform: scale(0.99); }

/* SUCCESS PAGE */
.success-section {
  padding: 80px 48px;
  max-width: 600px;
  margin: 0 auto;
}
.success-inner { text-align: center; }
.success-icon { margin-bottom: 24px; display: flex; justify-content: center; }
.success-headline {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}
.success-body { font-size: 17px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 36px; }
.success-order-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
  margin-bottom: 36px;
}
.success-order-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.success-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.success-order-row:last-child { border-bottom: none; }
.success-order-row span:first-child { color: var(--fg-muted); }
.success-next { text-align: left; margin-bottom: 36px; }
.success-next-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
}
.success-next-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.success-next-list li {
  font-size: 15px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.success-next-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.btn-back-home {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.btn-back-home:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* 404 PAGE */
.notfound-section {
  padding: 120px 48px;
  text-align: center;
}
.notfound-inner { max-width: 500px; margin: 0 auto; }
.notfound-code {
  font-size: 96px;
  font-weight: 700;
  color: var(--accent-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}
.notfound-headline {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}
.notfound-body { font-size: 16px; color: var(--fg-muted); margin-bottom: 32px; }

/* GUIDE PAGES */
.guide-hero {
  padding: 64px 48px 48px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.guide-hero-inner { max-width: 760px; margin: 0 auto; }
.guide-breadcrumb {
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 20px;
}
.guide-breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.guide-breadcrumb a:hover { color: var(--accent); }
.guide-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.05;
}
.guide-subhead {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 20px;
}
.guide-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
}
.guide-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.guide-toc { }
.toc-sticky {
  position: sticky;
  top: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.toc-sticky h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.toc-sticky ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-sticky ul li a {
  font-size: 14px;
  color: var(--fg-muted);
  text-decoration: none;
  line-height: 1.4;
}
.toc-sticky ul li a:hover { color: var(--accent); }
.guide-content { max-width: 700px; }
.guide-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  margin-top: 56px;
  line-height: 1.15;
}
.guide-content h2:first-child { margin-top: 0; }
.guide-content p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.guide-content ul, .guide-content ol {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 20px;
}
.guide-content li { margin-bottom: 8px; }
.guide-content a { color: var(--accent); text-decoration: none; }
.guide-content a:hover { text-decoration: underline; }
.guide-content strong { color: var(--fg); font-weight: 600; }
.guide-content em { font-style: italic; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.guide-table thead { background: var(--fg); }
.guide-table th {
  padding: 12px 16px;
  color: var(--fg-light);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: left;
}
.guide-table td {
  padding: 12px 16px;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.guide-table tr:last-child td { border-bottom: none; }
.guide-table td a { color: var(--accent); font-weight: 500; }
.guide-cta {
  background: var(--fg);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 56px;
}
.guide-cta h2 {
  font-size: 28px !important;
  font-weight: 700;
  color: var(--fg-light) !important;
  margin-top: 0 !important;
}
.guide-cta p {
  color: rgba(248,248,248,0.65) !important;
  font-size: 16px;
}
.guide-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}
.guide-cta-state a {
  display: block;
  padding: 12px 16px;
  background: rgba(248,248,248,0.08);
  border: 1px solid rgba(248,248,248,0.12);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-light);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.guide-cta-state a:hover { background: rgba(248,248,248,0.15); border-color: rgba(248,248,248,0.25); }
.guide-cta-price {
  font-size: 14px !important;
  color: rgba(248,248,248,0.45) !important;
  margin-top: 16px !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-inner { height: 56px; }
  .nav-right { gap: 2px; }
  .nav-link { font-size: 13px; padding: 6px 10px; }
  .hero { padding: 48px 24px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-headline { font-size: 40px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-right { display: flex; justify-content: center; }
  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .checkout-form-wrapper { padding: 24px; }
  .checkout-price { font-size: 44px; }
  .states-section { padding: 64px 24px; }
  .states-grid { grid-template-columns: 1fr; }
  .trust-section { padding: 64px 24px; }
  .trust-grid { grid-template-columns: 1fr; }
  .faq-section { padding: 64px 24px; }
  .cta-strip { padding: 48px 24px; }
  .success-section { padding: 48px 24px; }
  .notfound-section { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  /* Guide pages mobile */
  .guide-hero { padding: 40px 24px 32px; }
  .guide-body { grid-template-columns: 1fr; gap: 0; padding: 32px 24px; }
  .guide-toc { margin-bottom: 40px; }
  .toc-sticky { position: static; }
  .guide-cta { padding: 28px 24px; }
  .guide-cta-grid { grid-template-columns: 1fr; }
}

/* ─── Bill of Sale Flow (2026 modern) ──────────────────────────────────── */
.bos-page { background: #F8F8F8; }

.bos-layout {
  min-height: calc(100vh - 61px - 80px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 24px 80px;
}

.bos-container {
  width: 100%;
  max-width: 560px;
}

/* Header */
.bos-header { margin-bottom: 40px; }
.bos-step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.step-dots { display: flex; gap: 8px; align-items: center; }
.step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #D1D5DB;
  transition: background 0.2s ease;
}
.step-dot--active { background: #1A1A1A; width: 24px; border-radius: 4px; }
.step-dot--done   { background: #10B981; }
.step-label {
  font-size: 12px;
  font-weight: 500;
  color: #9CA3AF;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bos-title {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #1A1A1A;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.bos-sub {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Form */
.bos-form {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(26,26,26,0.04);
}

.bos-section {
  padding: 28px 28px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.bos-section:last-of-type { border-bottom: none; }
.bos-section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.bos-grid { display: grid; gap: 12px; margin-bottom: 20px; }
.bos-grid--2 { grid-template-columns: 1fr 1fr; }
.bos-grid--1 { grid-template-columns: 1fr; }

.bos-field { display: flex; flex-direction: column; gap: 6px; }
.bos-field label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.01em;
}
.bos-optional {
  font-weight: 400;
  color: #9CA3AF;
  font-size: 12px;
}
.bos-field input,
.bos-field select {
  padding: 13px 16px;
  border: 1.5px solid rgba(26, 26, 26, 0.12);
  border-radius: 10px;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  background: #F9FAFB;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}
.bos-field input::placeholder { color: #D1D5DB; }
.bos-field input:focus,
.bos-field select:focus {
  border-color: #1A1A1A;
  box-shadow: 0 0 0 3px rgba(26,26,26,0.06);
  background: #fff;
}
.bos-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.bos-price-input {
  position: relative;
  display: flex;
  align-items: center;
}
.bos-price-symbol {
  position: absolute;
  left: 14px;
  font-size: 15px;
  color: #6B7280;
  pointer-events: none;
  z-index: 1;
}
.bos-price-input input { padding-left: 28px; width: 100%; }

/* Submit row */
.bos-submit-row {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bos-error {
  font-size: 14px;
  color: #DC2626;
  min-height: 20px;
  text-align: center;
}
.btn-bos-primary {
  background: #1A1A1A;
  color: #F8F8F8;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: 'Inter', 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-bos-primary:hover:not(:disabled) {
  background: #2D2D2D;
}
.btn-bos-primary:active:not(:disabled) { transform: scale(0.99); }
.btn-bos-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-bos-text  { display: inline; }
.btn-bos-loading { display: none; align-items: center; gap: 8px; }

.spinner {
  width: 20px; height: 20px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.bos-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
}
.bos-security-note svg { flex-shrink: 0; }

/* PDF Preview Card */
.pdf-preview-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 1px 4px rgba(26,26,26,0.04);
}

.pdf-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.pdf-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.pdf-state-chip {
  font-size: 12px;
  font-weight: 600;
  background: #F3F4F6;
  color: #6B7280;
  border-radius: 100px;
  padding: 4px 12px;
  letter-spacing: 0.04em;
}

.pdf-document-wrap {
  padding: 0;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

/* Unlocked state */
.pdf-unlocked { display: flex; flex-direction: column; }
.pdf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #F9FAFB;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}
.pdf-meta { display: flex; flex-direction: column; gap: 2px; }
.pdf-vehicle {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
}
.pdf-doc-type {
  font-size: 12px;
  color: #9CA3AF;
}
.btn-download {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1A1A1A;
  color: #F8F8F8;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
  flex-shrink: 0;
}
.btn-download:hover { background: #2D2D2D; }

.pdf-iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  display: block;
}

/* Loading skeleton */
.pdf-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 20px;
}
.pdf-skeleton {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #F3F4F6 25%, #E5E7EB 50%, #F3F4F6 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: shimmer 1.5s ease-in-out infinite;
}
.skeleton-line--wide   { width: 90%; }
.skeleton-line--short  { width: 40%; }
.skeleton-line--medium { width: 65%; }
.skeleton-divider {
  height: 1px;
  background: #F3F4F6;
  margin: 4px 0;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.pdf-loading-text {
  font-size: 14px;
  color: #9CA3AF;
}

/* Error state */
.pdf-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
}
.pdf-error-state p { font-size: 15px; color: #6B7280; max-width: 360px; line-height: 1.6; }
.pdf-error-state a { color: #1A1A1A; font-weight: 600; }

/* Order summary card */
.bos-order-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.bos-order-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  margin-bottom: 14px;
}
.bos-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  color: #374151;
}
.bos-order-row:last-child { border-bottom: none; }
.bos-order-row span:first-child { color: #9CA3AF; }

/* Next steps */
.bos-next-steps { }
.bos-next-title {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
  font-family: 'Archivo', sans-serif;
}
.bos-next-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bos-next-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.bos-next-icon {
  width: 36px; height: 36px;
  background: #F9FAFB;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  flex-shrink: 0;
}
.bos-next-card strong { display: block; font-size: 15px; font-weight: 600; color: #1A1A1A; margin-bottom: 4px; }
.bos-next-card p { font-size: 14px; color: #6B7280; line-height: 1.55; margin: 0; }

/* Mobile adjustments */
@media (max-width: 640px) {
  .bos-layout { padding: 40px 16px 64px; }
  .bos-container { max-width: 100%; }
  .bos-grid--2 { grid-template-columns: 1fr; }
  .bos-section { padding: 20px 20px 0; }
  .bos-submit-row { padding: 20px 20px 24px; }
  .pdf-toolbar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .pdf-iframe { min-height: 400px; }
}