/* ===== steelbuy USA — shared stylesheet (v17 direction) ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; background: #0A2923; color: #F2EDE7; }
a { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #4AFB86; outline-offset: 2px; }

/* Nav */
.sb-nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; border-bottom: 1px solid rgba(242,237,231,0.12); flex-wrap: wrap; gap: 1rem; }
.sb-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.sb-logo-image { display: block; width: 190px; height: auto; }
.sb-nav-links { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.sb-nav-links a { color: rgba(255,255,255,0.7); font-size: 13px; text-decoration: none; }
.sb-nav-links a:hover { color: #4AFB86; }
.sb-nav-cta { background: #4AFB86; color: #0A2923; font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 20px; text-decoration: none; }

/* Hero */
.sb-hero { padding: 5rem 2rem 4rem; text-align: center; }
.sb-badge { display: inline-block; border: 1.5px solid #4AFB86; border-radius: 20px; padding: 4px 16px; font-size: 11px; color: #4AFB86; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem; }
.sb-hero h1 { font-size: 52px; font-weight: 700; line-height: 1.2; margin: 0 0 0.5rem; color: #F2EDE7; }
.sb-opportunity-pill { display: inline-block; background: #4AFB86; color: #0A2923; font-size: 52px; font-weight: 700; padding: 0.05em 0.45em; border-radius: 50px; line-height: 1.25; margin-top: 0.25rem; }
.sb-hero-sub { font-size: 15px; color: rgba(242,237,231,0.7); line-height: 1.7; margin: 1.75rem auto 2rem; max-width: 560px; }
.sb-hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.sb-btn-primary { background: #4AFB86; color: #0A2923; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 24px; text-decoration: none; border: none; cursor: pointer; display: inline-block; }
.sb-btn-secondary { border: 1.5px solid rgba(255,255,255,0.3); color: #F2EDE7; font-size: 14px; padding: 12px 28px; border-radius: 24px; text-decoration: none; background: transparent; cursor: pointer; display: inline-block; }

/* Divider */
.sb-divider { height: 1px; background: rgba(74,251,134,0.1); margin: 0 2rem; }

/* Sections */
.sb-section { padding: 3.5rem 2rem; max-width: 900px; margin: 0 auto; }
.sb-section-label { font-size: 11px; color: #FF8E14; letter-spacing: 0.1em; text-transform: lowercase; font-weight: 600; margin-bottom: 0.75rem; }
.sb-section h2 { font-size: 28px; font-weight: 700; color: #F2EDE7; margin: 0 0 0.75rem; }
.sb-section p { font-size: 15px; color: rgba(242,237,231,0.65); line-height: 1.7; margin: 0 0 2rem; }

/* Cards */
.sb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 2rem; }
.sb-card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 1.5rem; }
.sb-card h3 { font-size: 15px; font-weight: 700; color: #4AFB86; margin: 0 0 0.75rem; }
.sb-card p { font-size: 13px; color: rgba(242,237,231,0.6); line-height: 1.5; margin: 0; }

/* Audience cards */
.sb-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.sb-audience-card { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 1.25rem; }
.sb-audience-card h3 { font-size: 14px; font-weight: 700; color: #F2EDE7; margin: 0 0 0.75rem; }
.sb-audience-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sb-audience-card ul li { font-size: 12px; color: rgba(242,237,231,0.6); display: flex; align-items: flex-start; gap: 6px; line-height: 1.4; }
.sb-audience-card ul li::before { content: "•"; color: #4AFB86; flex-shrink: 0; }

/* Video */
.sb-video-wrap { position: relative; width: 100%; padding-top: 56.25%; margin-top: 1.5rem; margin-bottom: 2.5rem; border-radius: 12px; overflow: hidden; background: #06120F; }
.sb-video-wrap video, .sb-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.sb-video-placeholder { background: rgba(255,142,20,0.06); border: 1px dashed rgba(255,142,20,0.25); border-radius: 12px; padding: 4rem 2rem; text-align: center; margin-top: 1.5rem; margin-bottom: 2.5rem; }
.sb-video-placeholder p { font-size: 13px; color: rgba(255,142,20,0.5); margin: 0; }

/* Request info / access forms (v17 field style: no border, soft fill) */
.sb-form-section { max-width: 900px; margin: 0 auto; padding: 0 2rem 3.5rem; }
.sb-form-label { font-size: 11px; color: #FF8E14; letter-spacing: 0.1em; text-transform: lowercase; font-weight: 600; margin-bottom: 0.75rem; }
.sb-form-section h3 { font-size: 24px; font-weight: 700; color: #F2EDE7; margin: 0.5rem 0 0.75rem; }
.sb-form-section .sb-form-blurb { font-size: 14px; color: rgba(242,237,231,0.6); line-height: 1.6; margin-bottom: 1.5rem; }
.sb-form { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 1.5rem; }
.sb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.sb-form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.sb-form-field label { font-size: 12px; font-weight: 600; color: #F2EDE7; }
.sb-form-field label span { color: #4AFB86; }
.sb-form-field input, .sb-form-field select, .sb-form-field textarea { background: rgba(255,255,255,0.07); border: none; border-radius: 8px; padding: 10px 14px; font-size: 13px; color: #F2EDE7; width: 100%; font-family: Arial, sans-serif; }
.sb-form-field input::placeholder, .sb-form-field textarea::placeholder { color: rgba(242,237,231,0.4); }

/* Keep dark theme when browser autofills fields (override white autofill background) */
.sb-form-field input:-webkit-autofill,
.sb-form-field input:-webkit-autofill:hover,
.sb-form-field input:-webkit-autofill:focus,
.sb-form-field input:-webkit-autofill:active,
.sb-form-field textarea:-webkit-autofill,
.sb-form-field textarea:-webkit-autofill:hover,
.sb-form-field textarea:-webkit-autofill:focus,
.sb-form-field select:-webkit-autofill,
.sb-form-field select:-webkit-autofill:hover,
.sb-form-field select:-webkit-autofill:focus {
  -webkit-text-fill-color: #F2EDE7;
  -webkit-box-shadow: 0 0 0 1000px #16362E inset;
  box-shadow: 0 0 0 1000px #16362E inset;
  caret-color: #F2EDE7;
  transition: background-color 9999s ease-in-out 0s;
}
.sb-form-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%234AFB86'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 32px; }
.sb-form-field select option { background: #0A2923; color: #F2EDE7; }
.sb-form-field textarea { height: 100px; resize: vertical; }
.sb-form-field .sb-hint { font-size: 11px; color: rgba(242,237,231,0.35); margin-top: 2px; }
.sb-form-field a { color: #4AFB86; }
.sb-form-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 1rem 0; }
.sb-form-confirm input { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; accent-color: #4AFB86; }
.sb-form-confirm label { font-size: 12px; color: rgba(242,237,231,0.6); line-height: 1.5; }
.sb-form-confirm label span { color: #4AFB86; }
.sb-submit-btn { background: #4AFB86; color: #0A2923; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 24px; border: none; cursor: pointer; }
.sb-form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; flex-wrap: wrap; }
.sb-success-message { display: none; margin-top: 1.25rem; background: rgba(74,251,134,0.08); border-radius: 10px; padding: 1rem 1.25rem; font-size: 13px; color: #cdfde0; line-height: 1.6; }
.sb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sb-form-error { background: rgba(255,179,163,0.12); border-radius: 8px; padding: 12px 16px; font-size: 13px; color: #ffb3a3; margin-bottom: 12px; }
.sb-field-error { font-size: 11px; color: #ffb3a3; margin-top: 4px; }
.sb-submit-pending { font-size: 13px; color: rgba(242,237,231,0.6); }

/* Onboarding form (Request Access page) */
.sb-form-page { max-width: 1080px; margin: 0 auto; padding: 3.5rem 2rem 5rem; display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.sb-form-aside { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 1.75rem; position: sticky; top: 1.5rem; }
.sb-form-aside h1 { font-size: 26px; font-weight: 700; margin: 0.75rem 0 0.75rem; line-height: 1.2; color: #F2EDE7; }
.sb-form-aside .sb-lead { font-size: 14px; color: rgba(242,237,231,0.65); line-height: 1.6; margin-bottom: 1.25rem; }
.sb-form-aside ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-direction: column; gap: 8px; }
.sb-form-aside ul li { font-size: 12.5px; color: rgba(242,237,231,0.6); display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.sb-form-aside ul li::before { content: "•"; color: #4AFB86; flex-shrink: 0; }
.sb-form-aside .sb-switch { font-size: 12.5px; color: rgba(242,237,231,0.55); line-height: 1.6; }
.sb-form-aside .sb-switch a { color: #4AFB86; text-decoration: underline; }

.sb-form-panel { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 2rem; }
.sb-form-intro { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sb-form-intro h2 { font-size: 20px; font-weight: 700; margin: 0 0 0.5rem; color: #F2EDE7; }
.sb-form-intro p { font-size: 13px; color: rgba(242,237,231,0.6); line-height: 1.6; max-width: 520px; margin: 0; }
.sb-required-note { font-size: 12px; color: rgba(242,237,231,0.45); white-space: nowrap; }
.sb-required { color: #4AFB86; }

.sb-fieldset { border: none; padding: 0; margin: 0 0 2rem; }
.sb-fieldset legend { font-size: 11px; color: #FF8E14; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; padding: 0; }
.sb-fieldset-hint { font-size: 12px; color: rgba(242,237,231,0.45); margin-top: 0.5rem; }

.sb-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sb-field-grid.full { grid-template-columns: 1fr 1fr; }
.sb-field { display: flex; flex-direction: column; gap: 0.4rem; }
.sb-field.span-2 { grid-column: span 2; }
.sb-field label { font-size: 12.5px; font-weight: 700; color: #F2EDE7; }
.sb-field label span.sb-required { color: #4AFB86; }
.sb-field input[type="text"], .sb-field input[type="email"], .sb-field input[type="tel"], .sb-field input[type="number"], .sb-field select, .sb-field textarea {
  background: rgba(255,255,255,0.07); border: none; border-radius: 8px; color: #F2EDE7; font-size: 13px; padding: 10px 12px; font-family: inherit; width: 100%;
}
.sb-field textarea { resize: vertical; min-height: 90px; }
.sb-field input::placeholder, .sb-field textarea::placeholder { color: rgba(242,237,231,0.35); }

/* Keep dark theme when browser autofills fields (override white autofill background) */
.sb-field input:-webkit-autofill,
.sb-field input:-webkit-autofill:hover,
.sb-field input:-webkit-autofill:focus,
.sb-field input:-webkit-autofill:active,
.sb-field textarea:-webkit-autofill,
.sb-field textarea:-webkit-autofill:hover,
.sb-field textarea:-webkit-autofill:focus,
.sb-field select:-webkit-autofill,
.sb-field select:-webkit-autofill:hover,
.sb-field select:-webkit-autofill:focus {
  -webkit-text-fill-color: #F2EDE7;
  -webkit-box-shadow: 0 0 0 1000px #16362E inset;
  box-shadow: 0 0 0 1000px #16362E inset;
  caret-color: #F2EDE7;
  transition: background-color 9999s ease-in-out 0s;
}
.sb-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0l5 6 5-6z' fill='%234AFB86'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.sb-field select option { background: #0A2923; color: #F2EDE7; }
.sb-hint { font-size: 11px; color: rgba(242,237,231,0.4); line-height: 1.4; }
.sb-hint a { color: #4AFB86; }

.sb-upload-box { background: rgba(255,142,20,0.04); border: 1px dashed rgba(255,142,20,0.3); border-radius: 10px; padding: 1rem; }
.sb-upload-box label { display: block; margin-bottom: 0.5rem; }
.sb-upload-box input[type="file"] { width: 100%; font-size: 12px; color: rgba(242,237,231,0.7); }

/* Uploaded file list with remove option */
.file-list { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 6px; }
.file-list-header { font-size: 11px; color: rgba(242,237,231,0.5); margin-bottom: 2px; }
.file-item { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 8px 10px; }
.file-icon { width: 18px; height: 18px; flex-shrink: 0; color: #4AFB86; }
.file-info { flex: 1; min-width: 0; }
.file-name { font-size: 12.5px; color: #F2EDE7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: 11px; color: rgba(242,237,231,0.45); margin-top: 1px; }
.file-remove { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; background: transparent; border: none; border-radius: 6px; color: rgba(242,237,231,0.6); cursor: pointer; transition: background 0.15s, color 0.15s; }
.file-remove:hover { background: rgba(255,90,90,0.12); color: #ff6b6b; }
.file-remove:focus-visible { outline: 2px solid #4AFB86; outline-offset: 1px; }
.file-remove svg { width: 16px; height: 16px; }

.sb-checkbox-field { display: flex; align-items: flex-start; gap: 10px; grid-column: span 2; }
.sb-checkbox-field input[type="checkbox"] { margin-top: 3px; width: 16px; height: 16px; accent-color: #4AFB86; flex-shrink: 0; }
.sb-checkbox-field span { font-size: 12.5px; color: rgba(242,237,231,0.7); line-height: 1.5; }

.sb-privacy-note { grid-column: span 2; font-size: 11.5px; color: rgba(242,237,231,0.45); line-height: 1.6; background: rgba(255,255,255,0.03); border-radius: 8px; padding: 0.85rem 1rem; }
.sb-privacy-note strong { color: rgba(242,237,231,0.65); }

/* Access / "Get started" band (v17: single centered CTA) */
.sb-access { background: rgba(74,251,134,0.04); border-top: 1px solid rgba(74,251,134,0.12); padding: 3.5rem 2rem; }
.sb-access-inner { max-width: 400px; margin: 0 auto; text-align: center; }
.sb-access h2 { font-size: 32px; font-weight: 700; color: #F2EDE7; margin: 0 0 1.5rem; }

/* Footer */
.sb-footer { padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.sb-footer p { font-size: 12px; color: #4AFB86; margin: 0; }

/* Confirmation pages */
.sb-confirm-wrap { max-width: 620px; margin: 0 auto; padding: 4.5rem 2rem 5rem; text-align: center; }
.sb-confirm-check { width: 52px; height: 52px; border-radius: 50%; background: rgba(74,251,134,0.12); color: #4AFB86; font-size: 24px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.sb-confirm-wrap h1 { font-size: 28px; font-weight: 700; margin: 0 0 0.75rem; color: #F2EDE7; }
.sb-confirm-wrap .sb-lead { font-size: 15px; color: rgba(242,237,231,0.65); line-height: 1.7; margin-bottom: 2.5rem; }
.sb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; margin-bottom: 2rem; }
.sb-step { background: rgba(255,255,255,0.04); border-radius: 12px; padding: 1.25rem; }
.sb-step-number { width: 24px; height: 24px; border-radius: 50%; background: #4AFB86; color: #0A2923; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 0.6rem; }
.sb-step strong { font-size: 13px; display: block; margin-bottom: 0.35rem; color: #F2EDE7; }
.sb-step p { font-size: 12px; color: rgba(242,237,231,0.6); line-height: 1.5; margin: 0; }
.sb-help-card { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 1rem 1.25rem; font-size: 13px; color: rgba(242,237,231,0.65); margin-bottom: 2rem; text-align: left; }
.sb-help-card a { color: #4AFB86; }
.sb-confirm-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 900px) {
  .sb-form-page { grid-template-columns: 1fr; }
  .sb-form-aside { position: static; }
  .sb-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sb-nav { flex-direction: column; align-items: flex-start; }
  .sb-logo-image { width: 170px; }
  .sb-nav-links { gap: 1rem; font-size: 12px; }
  .sb-hero { padding: 3.5rem 1.25rem 2.5rem; }
  .sb-hero h1, .sb-opportunity-pill { font-size: 34px; }
  .sb-hero-sub { font-size: 14px; }
  .sb-section { padding: 2.5rem 1.25rem; }
  .sb-form-section { padding: 0 1.25rem 2.5rem; }
  .sb-form-row { grid-template-columns: 1fr; }
  .sb-footer { flex-direction: column; align-items: flex-start; text-align: left; }
  .sb-field-grid, .sb-field-grid.full { grid-template-columns: 1fr; }
  .sb-field.span-2, .sb-checkbox-field, .sb-privacy-note { grid-column: span 1; }
  .sb-form-intro { flex-direction: column; }
  .sb-form-panel { padding: 1.25rem; }
}
