:root {
  color-scheme: light;
  --black: #050505;
  --ink: #121212;
  --white: #ffffff;
  --paper: #f4f4f4;
  --muted: #666666;
  --line: #dedede;
  --red: #c41230;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

button,
select,
input {
  font: inherit;
}

.page-shell {
  width: min(820px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 34px;
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  margin-bottom: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-seal,
.brand-logo-wrap {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.brand-logo {
  display: block;
  width: min(360px, 82vw);
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.intro {
  display: grid;
  gap: 10px;
  border-top: 4px solid var(--red);
  padding: 24px 0 22px;
  color: var(--black);
}

.intro p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 950;
  line-height: 1.12;
}

.panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.request-form {
  display: grid;
  gap: 22px;
  padding: clamp(14px, 3vw, 22px);
}

.form-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 4vw, 24px);
  background: #fafafa;
}

.section-title {
  display: grid;
  gap: 6px;
}

.section-title span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(1.18rem, 4vw, 1.55rem);
  line-height: 1.15;
}

.section-title p,
.helper-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.input-grid,
.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
}

label,
legend {
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--black);
  background: #fafafa;
  font-size: 1rem;
  font-weight: 750;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder {
  color: #888888;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 18, 48, 0.12);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

select {
  appearance: none;
  padding-right: 46px;
}

.choice-card {
  display: block;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card span {
  position: relative;
  display: grid;
  min-height: 88px;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  color: var(--black);
  background: #fafafa;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.choice-card strong {
  color: var(--black);
  font-size: 0.93rem;
  font-weight: 950;
  line-height: 1.2;
}

.choice-card small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.choice-card i {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 160ms ease, transform 160ms ease;
}

.choice-card i::before {
  content: "\2713";
}

.option-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: rgba(196, 18, 48, 0.1);
  font-size: 0.86rem;
  font-weight: 950;
}

.choice-card input:checked + span {
  border-color: var(--red);
  background: rgba(196, 18, 48, 0.07);
  box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.08);
}

.choice-card input:checked + span i {
  opacity: 1;
  transform: scale(1);
}

.photo-field {
  padding: 0;
  background: transparent;
}

.photo-note {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.upload-box {
  display: grid;
  gap: 10px;
  min-height: 136px;
  place-items: center;
  border: 2px dashed rgba(196, 18, 48, 0.45);
  border-radius: 12px;
  padding: 18px;
  background: var(--white);
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.upload-title {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--white);
  background: var(--black);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.upload-copy {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.submit-btn,
.secondary-btn {
  display: inline-grid;
  min-height: 58px;
  width: 100%;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 10px;
  padding: 0 22px;
  color: var(--white);
  background: var(--red);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.final-section {
  display: grid;
  gap: 10px;
}

.submit-btn:hover,
.secondary-btn:hover {
  color: var(--red);
  background: transparent;
  transform: translateY(-1px);
}

.submit-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.45;
}

.success-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 5, 5, 0.92);
}

.success-card {
  display: grid;
  gap: 16px;
  width: min(620px, 100%);
  border: 1px solid var(--red);
  border-top: 5px solid var(--red);
  padding: clamp(24px, 7vw, 48px);
  color: var(--white);
  background: var(--black);
  box-shadow: var(--shadow);
}

.success-seal {
  width: 58px;
  height: 58px;
}

.success-card h2 {
  color: var(--white);
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  line-height: 1;
}

.success-card p:not(.eyebrow) {
  color: #e4e4e4;
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .page-shell {
    width: min(820px, calc(100% - 44px));
    padding-bottom: 48px;
  }

  .input-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-field {
    grid-column: 1 / -1;
  }

  .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hairline-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .brand-header {
    min-height: 76px;
  }

  .brand-logo {
    max-height: 62px;
  }
}
