/* Steel Dealer Launch landing page. System fonts only; no external files. */

:root {
  --charcoal: #1b1f23;
  --charcoal-2: #262b31;
  --steel-600: #4b5661;
  --steel-500: #6b7682;
  --steel-300: #aeb8c2;
  --steel-200: #d3dae0;
  --steel-100: #e7ebef;
  --steel-50: #f4f6f8;
  --white: #ffffff;
  --accent: #f08a24;
  --accent-hover: #ff9f45;
  --accent-dark: #c4600a;
  --accent-wash: #fff1e3;
  --radius: 6px;
  --measure: 40rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
}

p {
  margin: 0;
  text-wrap: pretty;
}

h1,
h2 {
  text-wrap: balance;
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header and wordmark */

.site-header {
  background: var(--charcoal);
  border-bottom: 1px solid #343b42;
  padding: 1rem 0;
}

.logo {
  display: block;
  height: 44px;
  width: auto;
}

.logo-small {
  height: 34px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wordmark::before {
  content: "";
  width: 0.75em;
  height: 0.75em;
  background: var(--accent);
}

/* Hero */

.hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 2.5rem 0 3rem;
  border-bottom: 6px solid var(--accent);
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 8.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.tagline {
  color: var(--accent);
  font-size: clamp(1.25rem, 4.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.intro {
  color: var(--steel-200);
  font-size: 1.125rem;
  max-width: 36rem;
}

.video-box {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-2);
  border: 2px dashed var(--steel-500);
  border-radius: var(--radius);
  padding: 1rem;
}

.video-label {
  color: var(--steel-200);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-light {
  background: var(--steel-50);
  border-bottom: 1px solid var(--steel-100);
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.55rem, 5.5vw, 2.15rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-top: 0.6rem;
  background: var(--accent);
}

/* What we build for you */

.build-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.build-list li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-left: 4px solid var(--steel-600);
  border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3rem;
}

.build-list li::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 1.2rem;
  width: 0.45rem;
  height: 0.85rem;
  border: solid var(--accent-dark);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Cards */

.card-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.card-dark {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.card-rule {
  border-left: 4px solid var(--steel-600);
}

.lead-in {
  font-weight: 800;
}

.card-dark .lead-in {
  color: var(--accent);
}

/* Guarantee */

.guarantee {
  margin: 0;
  max-width: var(--measure);
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.25rem 1.4rem;
  line-height: 1.7;
}

/* Disclosure and call to action */

.notice {
  margin-top: 1rem;
  border-top: 1px solid var(--steel-200);
  padding-top: 1.25rem;
}

.notice p {
  max-width: var(--measure);
}

.cta-row {
  margin-top: 2rem;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: var(--charcoal);
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-hover);
}

.button:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 3px;
}

/* Application form */

.section-form {
  background: var(--steel-100);
}

.apply {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-top: 6px solid var(--charcoal);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  scroll-margin-top: 1rem;
}

.field {
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field > label,
.field > legend {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  padding: 0;
  line-height: 1.35;
}

.apply input[type="text"],
.apply input[type="tel"],
.apply input[type="email"] {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  font-family: inherit;
  font-size: 1.0625rem;
  color: var(--charcoal);
  background: var(--white);
  border: 2px solid var(--steel-500);
  border-radius: var(--radius);
}

.apply input:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 1px;
  border-color: var(--charcoal);
}

.field > .choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.85rem;
  font-weight: 400;
  border: 2px solid var(--steel-200);
  border-radius: var(--radius);
  cursor: pointer;
}

.field > .choice:has(input:checked) {
  border-color: var(--accent-dark);
  background: var(--accent-wash);
}

.choice input {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  accent-color: var(--accent-dark);
}

.field > .choice-consent {
  align-items: flex-start;
  margin-top: 0;
}

.choice-consent input {
  margin-top: 0.15rem;
}

.form-note {
  margin: 0.5rem 0 0;
}

.button-submit {
  margin-top: 0.5rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 700;
}

.form-status:not(:empty) {
  background: var(--accent-wash);
  border-left: 4px solid var(--accent-dark);
  padding: 0.75rem 1rem;
}

/* Footer */

.site-footer {
  background: var(--charcoal);
  color: var(--steel-300);
  padding: 1.5rem 0;
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer .wordmark {
  font-size: 0.85rem;
}

/* Wider screens */

@media (min-width: 48rem) {
  .wrap {
    padding: 0 2rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .section {
    padding: 4rem 0;
  }

  .build-list {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 1.5rem;
  }

  .button {
    display: inline-flex;
    width: auto;
    min-width: 16rem;
  }

  .button-submit {
    display: flex;
    width: 100%;
  }

  .apply {
    padding: 2rem;
  }
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

/* Until the form is connected (04 target V6): say when applications open, show the fields greyed. */
.form-open {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  font-weight: 700;
  font-size: 1.15rem;
}
.prelaunch {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.prelaunch:disabled {
  opacity: 0.55;
}
