:root {
  --bg: #eeeeee;
  --card: #ffffff;
  --text: #282828;
  --muted: #6b787f;
  --line: #ccd0d9;
  --accent: #fff7c0;
  --accent-strong: #434a54;
  --accent-soft: #f5f5f5;
  --danger: #df0000;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --headline: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
}

.shell {
  width: min(920px, calc(100% - 24px));
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 0;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}


.hero {
  padding: 0 0 42px;
  border-bottom: 1px solid var(--line);
}


h1 {
  margin: 44px 22px 20px;
  font-family: var(--headline);
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 300;
}

.lede {
  margin: 0 22px 54px;
  max-width: 1120px;
  color: var(--text);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.35;
}

.progress {
  display: grid;
  gap: 6px;
  margin: 0 22px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 13px;
  color: var(--muted);
}

.progress-meta strong {
  color: var(--text);
  font-weight: 400;
}

.progress-bar {
  height: 18px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #007faa;
  border-radius: inherit;
}


.brand-mark {
  display: block;
  padding: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.brand-mark img {
  display: block;
  width: 538px;
  max-width: 100%;
  height: auto;
}

form {
  padding: 18px 22px 20px;
}

.section-note {
  padding: 1rem 1rem;
  margin-bottom: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #ffffff;
}

.section-note h2,
.section-note h3,
.section-note p {
  margin: 0;
}

.section-note h3 {
  font-family: var(--headline);
  font-size: 1.625rem;
  font-weight: 300;
  color: var(--text);
}

.section-note p + p,
.section-note h3 + p {
  margin-top: 0.5rem;
}

.video-slot {
  margin: 0 0 2rem;
}

.video-card {
  border: 1px solid #ccd0d9;
  background: #ffffff;
}

.video-copy {
  padding: 1rem 1.2rem 0;
}

.video-kicker {
  margin: 0 0 0.3rem;
  color: #6b787f;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-title {
  margin: 0;
  color: #282828;
  font-size: 1rem;
  font-weight: 400;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: #f5f5f5;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.field {
  margin-bottom: 14px;
}

.field[data-invalid="true"] {
  padding: 16px 18px;
  background: #fff7c0;
}

.field label,
.choice-group legend {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.req {
  color: var(--danger);
}

input[type="email"],
input[type="tel"],
input[type="text"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #c9c0b3;
  border-radius: 0;
  background: #fff;
  color: var(--text);
  font: 14px/1.4 var(--body);
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

textarea {
  min-height: 11rem;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 247, 192, 0.9);
  border-color: var(--accent);
  box-shadow: none;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.choice-group {
  margin: 0 0 1.8rem;
  padding: 0;
  border: 0;
}

.choices {
  display: grid;
  gap: 0.5rem;
}

.choice {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.95rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem 0.75rem;
  border: 1px solid #ccd0d9;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.choice input {
  margin: 0.18rem 0 0;
  accent-color: var(--accent-strong);
}

.choice span {
  display: block;
}

.choice:hover {
  border-color: #ccd0d9;
  box-shadow: none;
  transform: none;
}

.choice:has(input:checked) {
  border-color: #ccd0d9;
  background: #fff7c0;
  box-shadow: none;
}

.choice small,
.hint {
  color: var(--muted);
}

.choice-group[data-invalid="true"] legend {
  color: var(--danger);
}

.choice-group[data-invalid="true"] {
  padding: 16px 18px;
  background: #fff7c0;
}

.choice-group[data-invalid="true"] .choices {
  border-left: 3px solid var(--danger);
  padding-left: 0.85rem;
}

.error {
  display: none;
  margin-top: 0.65rem;
  color: var(--danger);
  font-size: 0.92rem;
}

.choice-group[data-invalid="true"] .error {
  display: block;
}

.field[data-invalid="true"] .error {
  display: block;
}

.validation-summary {
  display: none;
  margin: 0 0 20px;
  padding: 18px 20px;
  background: #f4f6fb;
  color: var(--danger);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.validation-summary.is-visible {
  display: block;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.nav-end {
  justify-content: flex-end;
}

.button,
.link-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.button {
  padding: 0.95rem 1.9rem;
  background: #007faa;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: none;
  border: 1px solid #007faa;
}

.button:hover {
  background: #2685c6;
  border-color: #2685c6;
}

.link-button {
  padding: 0.95rem 1.9rem;
  background: #fff;
  color: #007faa;
  font-weight: 400;
  border: 1px solid #007faa;
}

.link-button:hover {
  background: #edeeee;
}

.status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0;
  background: #edf4ec;
  border: 1px solid #bfd2bc;
}

.status.is-visible {
  display: block;
}

.footer-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .shell {
    width: min(100%, calc(100% - 12px));
    margin: 0 auto;
  }

  .hero {
    padding: 0 0 24px;
  }

  .brand-mark img {
    width: 100%;
    height: auto;
  }

  h1 {
    margin: 28px 12px 14px;
    font-size: 30px;
  }

  .lede {
    margin: 0 12px 34px;
    font-size: 22px;
  }

  .progress {
    margin-left: 12px;
    margin-right: 12px;
    padding-top: 28px;
  }

  form {
    padding: 14px 12px 16px;
  }

  .nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .button,
  .link-button {
    text-align: center;
  }
}
