/* Product entry presentation. Variables and selectors stay inside this opt-in
   surface; quote state, consent, validation and other site pages are unchanged. */
body.v6-entry-page {
  --entry-ink: #102a54;
  --entry-muted: #59677c;
  --entry-canvas: #fbfaf7;
  --entry-paper: #ffffff;
  --entry-border: #76869d;
  --entry-line: #dce1e7;
  --entry-accent: #ff4438;
  --entry-action-hover: #203f6c;
  --entry-focus: #2364bd;
  background: var(--entry-canvas);
  color: var(--entry-ink);
}
/* The form header participates in layout, leaving the first field visible. */
.v6-entry-page site-layout { padding-top: 0; }
.v6-entry-header {
  background: var(--entry-paper);
  border-bottom: 1px solid var(--entry-line);
}
.v6-entry-header-inner {
  max-width: 1120px;
  min-height: 80px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.v6-entry-header-inner img { display: block; width: 156px; height: 52px; }
.v6-entry-help {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--entry-ink);
  font-size: 16px;
  font-weight: 700;
}
.v6-entry {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  line-height: 1.5;
}
.v6-entry-progress { margin-bottom: 32px; }
.v6-entry-progress ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.v6-entry-progress li {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: var(--entry-muted);
  font-size: 14px;
  line-height: 1.5;
}
.v6-entry-progress li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(50% + 24px);
  right: calc(-50% + 24px);
  top: 16px;
  border-top: 1px solid var(--entry-line);
}
.v6-step-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--entry-border);
  border-radius: 50%;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.v6-entry-progress [aria-current='step'] { color: var(--entry-ink); font-weight: 700; }
.v6-entry-progress [aria-current='step'] .v6-step-number {
  background: var(--entry-ink);
  border-color: var(--entry-ink);
  color: var(--entry-paper);
}
.v6-entry-card {
  background: var(--entry-paper);
  padding: 32px;
  border: 1px solid var(--entry-line);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgb(16 42 84 / 4%);
}
.v6-entry-heading { margin-bottom: 32px; }
.v6-entry-product {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--entry-muted);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}
.v6-entry-product::before {
  content: '';
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--entry-accent);
}
.v6-entry-heading h1 { color: var(--entry-ink); font-size: 32px; font-weight: 700; line-height: 1.25; letter-spacing: -.7px; margin: 0 0 16px; }
.v6-entry-introduction { margin: 0; font-size: 16px; color: var(--entry-muted); line-height: 1.5; }
.v6-entry-form .sb-quote-panel,
.v6-entry-form .form-column { margin: 0; padding: 0; width: 100%; max-width: none; background: transparent; border: 0; box-shadow: none; }
.v6-entry-form .v6-field-label { display: block; margin: 24px 0 8px; color: var(--entry-ink); font-size: 16px; font-weight: 700; line-height: 1.5; }
.v6-entry-form .v6-field-label:first-child { margin-top: 0; }
.v6-entry-form .io-form-group { margin-bottom: 16px; }
.v6-entry-form .io-textbox .io-form-control {
  min-height: 56px;
  height: 56px;
  border: 1px solid var(--entry-border);
  border-radius: 12px;
  background: var(--entry-paper);
  color: var(--entry-ink);
  font-size: 16px;
  line-height: 24px;
}
.v6-entry-form .io-textbox .v6-field-control { padding: 16px; }
.v6-entry-form .v6-field-control::placeholder { opacity: 1 !important; color: var(--entry-muted) !important; }
.v6-entry-form .v6-field-control ~ .io-floating-placeholder { display: none; }
.v6-entry-form .io-textbox .io-form-control:focus { outline: 3px solid var(--entry-focus); outline-offset: 3px; }
.v6-entry-form .io-textbox .io-form-control[aria-invalid='true'] { border-color: #b42318; }
.v6-identity-help { margin: 0 0 16px; color: var(--entry-muted); font-size: 14px; line-height: 1.5; }
.v6-identity-help summary { width: fit-content; min-height: 48px; padding: 12px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.v6-identity-help p { padding: 16px; margin: 8px 0 0; border-radius: 8px; background: var(--entry-canvas); line-height: 1.5; }
.v6-email-disclosure { margin: 8px 0 24px; }
.v6-email-disclosure > button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 8px 0;
  min-height: 48px;
  background: transparent;
  color: var(--entry-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.v6-email-disclosure > button::before { content: '+'; font-size: 24px; font-weight: 400; }
.v6-email-disclosure > button[aria-expanded='true']::before { content: '−'; }
.v6-email-disclosure > div:not([hidden]) { margin-top: 8px; }
.v6-entry-form .form-checkbox { color: var(--entry-muted); font-size: 14px; line-height: 1.5; gap: 8px; align-items: flex-start; min-height: 48px; }
.v6-entry-form .form-checkbox input { flex-shrink: 0; margin-top: 0; accent-color: var(--entry-ink); }
.v6-entry-form .form-checkbox .consent-link { color: var(--entry-ink); font-size: inherit; line-height: inherit; }
.v6-entry-form.quote-form-shell .form-column .io-btn.io-btn-primary {
  width: 100%;
  max-width: none;
  border-radius: 12px;
  min-height: 56px;
  margin: 8px 0 0;
  padding: 16px 24px;
  background: var(--entry-ink) !important;
  border-color: var(--entry-ink) !important;
  color: var(--entry-paper) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 24px !important;
  transition: background-color 160ms ease;
}
.v6-entry-form.quote-form-shell .form-column .io-btn.io-btn-primary:hover:not(:disabled) { background: var(--entry-action-hover) !important; border-color: var(--entry-action-hover) !important; }
.v6-entry-form.quote-form-shell .form-column .io-btn.io-btn-primary:focus-visible { outline: 3px solid var(--entry-focus); outline-offset: 3px; }
.v6-entry-form .v6-next-step-note { margin: 16px 0 0; text-align: center; font-size: 14px; line-height: 1.5; color: var(--entry-muted); }
.v6-entry-header a:focus-visible,
.v6-entry-form summary:focus-visible,
.v6-email-disclosure > button:focus-visible { outline: 3px solid var(--entry-focus); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 599.98px) {
  .v6-entry-header-inner { min-height: 72px; padding: 8px 16px; }
  .v6-entry-header-inner img { width: 140px; height: 47px; }
  .v6-entry { max-width: 480px; padding: 24px 16px 40px; }
  .v6-entry-progress { margin-bottom: 24px; }
  .v6-entry-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .v6-entry-heading { margin-bottom: 24px; }
  .v6-entry-heading h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .v6-entry-form.quote-form-shell .form-column .io-btn.io-btn-primary { transition: none; }
}
