/* =====================================================
   ALBERTINO ROSSI START AND LAUNCH

   Frontend foundation for business discovery, assisted
   registration and post-registration launch tracking.
===================================================== */

.start-page,
.launch-page {
  background: #fff;
}

.start-intro {
  display: grid;
  gap: 38px;
  align-items: end;
  padding-top: 76px;
  padding-bottom: 56px;
}

.start-intro h1 {
  margin-bottom: 24px;
}

.start-promise {
  display: grid;
  border-top: 1px solid var(--line);
}

.start-promise span {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.start-promise b {
  color: #777;
  font-size: .78rem;
}

.start-workspace,
.launch-layout {
  display: grid;
  gap: 22px;
  align-items: start;
  padding-top: 30px;
}

.start-workspace::before,
.launch-layout::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background: #f5f5f7;
}

.start-workspace,
.launch-layout {
  position: relative;
}

.start-form,
.start-summary,
.launch-card,
.launch-checklist {
  padding: 24px;
}

.form-progress {
  display: grid;
  gap: 8px;
  margin-bottom: 34px;
  color: #666;
  font-size: .82rem;
  font-weight: 750;
}

.form-progress > div,
.readiness-score > div {
  overflow: hidden;
  height: 5px;
  border-radius: 99px;
  background: #e4e4e7;
}

.form-progress i,
.readiness-score i {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: #050505;
  transition: width .25s ease;
}

.form-step {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  scroll-margin-top: 104px;
}

.form-step.active {
  display: grid;
  gap: 18px;
}

.form-step h2,
.start-summary h2,
.launch-card h2,
.launch-checklist h2 {
  margin-bottom: 2px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.form-step > p:not(.eyebrow),
.start-summary > p,
.launch-checklist > p,
.legal-note {
  color: #686868;
}

.form-step label:not(.choice-card):not(.consent-row) {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.form-step input,
.form-step textarea,
.form-step select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #d8d8da;
  border-radius: 14px;
  outline: none;
  background: #fff;
  color: #050505;
  font: inherit;
}

.form-step textarea {
  min-height: 132px;
  resize: vertical;
}

.form-step input:focus,
.form-step textarea:focus,
.form-step select:focus {
  border-color: #050505;
  box-shadow: 0 0 0 3px rgba(5, 5, 5, .08);
}

.choice-grid,
.name-grid {
  display: grid;
  gap: 10px;
}

.choice-card {
  position: relative;
  cursor: pointer;
}

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

.choice-card > span {
  min-height: 91px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border: 1px solid #dedee1;
  border-radius: 18px;
  background: #fff;
}

.choice-card small,
.route-list small,
.launch-checklist small,
.case-timeline small {
  color: #737373;
  font-size: .82rem;
  font-weight: 500;
}

.choice-card input:checked + span {
  border-color: #050505;
  background: #050505;
  color: #fff;
}

.choice-card input:checked + span small {
  color: #d2d2d5;
}

.choice-card input:focus-visible + span {
  outline: 3px solid rgba(5, 5, 5, .18);
  outline-offset: 2px;
}

.secure-note {
  padding: 18px;
  border-radius: 18px;
  background: #f2f2f4;
}

.secure-note p {
  margin: 5px 0 0;
  color: #626262;
  font-size: .9rem;
}

.consent-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 650;
}

.consent-row input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin-top: 3px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

.form-actions .button:last-child {
  margin-left: auto;
}

.start-summary {
  border-radius: 26px;
  background: #050505;
  color: #fff;
}

.start-summary .eyebrow {
  color: #fff;
}

.route-list {
  display: grid;
  margin-top: 28px;
}

.route-list article {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-top: 1px solid #303033;
}

.route-list article > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #242426;
  font-size: .78rem;
  font-weight: 800;
}

.route-list article.active > span {
  background: #fff;
  color: #050505;
}

.route-list article > div {
  display: grid;
  gap: 2px;
}

.route-list small,
.summary-note {
  color: #aeadb2;
}

.summary-note {
  margin: 26px 0 0;
  font-size: .78rem;
}

.launch-hero {
  padding-bottom: 28px;
}

.launch-main {
  display: grid;
  gap: 20px;
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
}

.case-status {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: #050505;
  color: #fff;
  font-size: .74rem;
  font-weight: 800;
}

.case-status.neutral {
  background: #ededf0;
  color: #444;
}

.case-timeline {
  display: grid;
  margin-bottom: 24px;
}

.case-timeline > div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 13px;
  min-height: 66px;
  position: relative;
}

.case-timeline > div::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -4px;
  left: 7px;
  width: 1px;
  background: #d9d9dc;
}

.case-timeline > div:last-child::before {
  display: none;
}

.case-timeline i {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border: 2px solid #bdbdc1;
  border-radius: 50%;
  background: #fff;
}

.case-timeline > div.complete i,
.case-timeline > div.current i {
  border-color: #050505;
  background: #050505;
}

.case-timeline span {
  display: grid;
  align-content: start;
}

.legal-note {
  margin: 18px 0 0;
  font-size: .78rem;
}

.workflow-note,
.section-explainer {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: #f2f2f4;
  color: #5f5f63;
  font-size: .88rem;
}

.workflow-note p,
.section-explainer {
  margin-bottom: 0;
}

.workflow-note b {
  color: #050505;
}

.case-timeline em,
.launch-checklist em {
  width: max-content;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ededf0;
  color: #4c4c50;
  font-size: .66rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.document-list {
  display: grid;
}

.document-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.document-list > div > span {
  display: grid;
}

.document-list > div > span b {
  color: #050505;
}

.document-list > div > span small {
  color: #737373;
}

.document-list strong {
  color: #737373;
  text-align: right;
  font-size: .82rem;
}

.launch-checklist {
  display: grid;
  gap: 5px;
}

.launch-checklist > label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}

.launch-checklist > label input {
  width: 20px;
  height: 20px;
  accent-color: #050505;
}

.launch-checklist > label.system-task {
  cursor: default;
}

.launch-checklist > label input:disabled {
  opacity: .65;
}

.launch-checklist > label span {
  display: grid;
}

.readiness-score {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
  padding: 18px;
  border-radius: 18px;
  background: #f2f2f4;
  font-weight: 800;
}

.readiness-score > div {
  grid-column: 1 / -1;
}

.readiness-score i {
  width: 0;
}

.readiness-goal {
  margin-top: 12px;
  font-size: .79rem;
}

.button:disabled {
  cursor: default;
  opacity: .52;
  transform: none;
}

.pathway-section {
  padding-top: 70px;
}

.pathway-section .feature-icon {
  margin-bottom: 30px;
}

.dash-link-anchor {
  display: block;
  text-decoration: none;
}

@media (min-width: 760px) {
  .start-intro {
    grid-template-columns: 1.25fr .75fr;
  }

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

  .name-grid label:first-child {
    grid-column: 1 / -1;
  }

  .start-form,
  .start-summary,
  .launch-card,
  .launch-checklist {
    padding: 34px;
  }
}

@media (min-width: 980px) {
  .start-workspace {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  }

  .start-summary,
  .launch-checklist {
    position: sticky;
    top: 105px;
  }

  .launch-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  }
}

@media (max-width: 520px) {
  .start-form,
  .start-summary,
  .launch-card,
  .launch-checklist {
    padding: 21px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .button,
  .form-actions .button:last-child {
    width: 100%;
    margin-left: 0;
  }

  .card-heading,
  .document-list > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-list strong {
    text-align: left;
  }
}
