.profile-intro-page {
  --intro-blue: #0966c2;
  --intro-blue-soft: #e6f1fd;
  --intro-ink: #111827;
  --intro-muted: #536176;
  min-height: 100svh;
  background: #f4f5f8;
  color: var(--intro-ink);
  font-family: Inter, Arial, sans-serif;
}
.profile-intro { min-height: 100svh; padding: 26px 56px 128px; box-sizing: border-box; }
.profile-intro-header {
  width: min(100%, 1380px); min-height: 52px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.profile-intro-quit { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: #647188; font-size: 15px; font-weight: 600; text-decoration: none; }
.profile-intro-quit svg { width: 18px; height: 18px; }
.profile-intro-brand { display: inline-flex; align-items: center; gap: 7px; color: var(--intro-blue); font-size: 25px; font-weight: 700; letter-spacing: -1.2px; line-height: 1; }
.profile-intro-brand img { width: 36px; height: 36px; object-fit: contain; }
.profile-intro-brand > span > span { color: #0759aa; }
.profile-intro-saved { justify-self: end; color: #929daf; font-size: 14px; }
.profile-intro-progress { width: min(100%, 1380px); margin: 30px auto 0; }
.profile-intro-progress ol { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.profile-intro-progress li { min-width: 0; display: flex; align-items: center; gap: 12px; flex: 1; }
.profile-intro-progress li:last-child { flex: 0 0 24px; }
.profile-intro-progress li > span { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; background: #d8e7f7; }
.profile-intro-progress li > i { height: 8px; flex: 1; border-radius: 999px; background: #d8e7f7; }
.profile-intro-progress .is-current > span { background: var(--intro-blue); }
.profile-intro-content { width: min(100%, 1080px); margin: 42px auto 0; text-align: center; }
.profile-intro-content h1 { margin: 0; color: var(--intro-ink); font-size: clamp(38px, 4.15vw, 64px); line-height: 1.1; font-weight: 500; letter-spacing: -3px; text-wrap: balance; }
.profile-intro-lead { max-width: 930px; margin: 36px auto 0; color: var(--intro-muted); font-size: clamp(18px, 1.65vw, 25px); line-height: 1.55; text-wrap: pretty; }
.profile-intro-process {
  width: min(100%, 920px); min-height: 290px; margin: 50px auto 0; padding: 42px 72px;
  display: grid; grid-template-columns: 1fr 42px 1fr 42px 1fr; align-items: center; gap: 20px;
  border-radius: 32px; background: #fff; box-shadow: 0 2px 5px rgb(15 23 42 / 12%); box-sizing: border-box;
}
.profile-intro-process-step { min-width: 0; display: flex; align-items: center; flex-direction: column; text-align: center; }
.profile-intro-icon { width: 112px; height: 112px; margin-bottom: 15px; border-radius: 24px; display: grid; place-items: center; background: var(--intro-blue-soft); color: var(--intro-blue); }
.profile-intro-icon svg { width: 49px; height: 49px; stroke-width: 1.8; }
.profile-intro-process-step strong { color: var(--intro-ink); font-size: 21px; line-height: 1.25; }
.profile-intro-process-step small { margin-top: 6px; color: #909090; font-size: 17px; line-height: 1.3; }
.profile-intro-arrow { width: 30px; height: 30px; color: #929dac; stroke-width: 1.8; }
.profile-intro-footer {
  position: fixed; z-index: 5; right: 0; bottom: 0; left: 0; padding: 22px 24px max(20px, env(safe-area-inset-bottom));
  background: linear-gradient(0deg, #f4f5f8 76%, rgb(244 245 248 / 0%));
}
.profile-intro-footer form { width: min(100%, 920px); margin: 0 auto; }
.profile-intro-footer button {
  width: 100%; min-height: 70px; border: 2px solid #3b8edf; border-radius: 999px; background: var(--intro-blue);
  box-shadow: 0 4px 0 #07509b, 0 8px 18px rgb(9 102 194 / 18%); color: #fff;
  font: 700 20px/1.2 Inter, Arial, sans-serif; cursor: pointer;
}
.profile-intro-footer button:hover { background: #075caf; }
.profile-intro-footer button:focus-visible { outline: 3px solid #9acbfa; outline-offset: 3px; }

@media (max-width: 800px) {
  .profile-intro { padding: 20px 15px 126px; }
  .profile-intro-header { min-height: 47px; grid-template-columns: 1fr auto 1fr; }
  .profile-intro-quit span, .profile-intro-saved { display: none; }
  .profile-intro-quit svg { width: 25px; height: 25px; }
  .profile-intro-brand { gap: 5px; font-size: 21px; letter-spacing: -1px; }
  .profile-intro-brand img { width: 32px; height: 32px; }
  .profile-intro-progress { margin-top: 55px; }
  .profile-intro-progress ol { gap: 7px; }
  .profile-intro-progress li { gap: 7px; }
  .profile-intro-progress li:last-child { flex-basis: 24px; }
  .profile-intro-progress li > span { width: 24px; height: 24px; flex-basis: 24px; }
  .profile-intro-progress li > i { height: 8px; }
  .profile-intro-content { margin-top: 68px; }
  .profile-intro-content h1 { max-width: 610px; margin: 0 auto; font-size: clamp(38px, 10.5vw, 58px); line-height: 1.12; letter-spacing: -2.1px; }
  .profile-intro-lead { max-width: 540px; margin-top: 45px; font-size: clamp(19px, 4.9vw, 25px); line-height: 1.55; }
  .profile-intro-process {
    width: min(100%, 550px); min-height: 320px; margin-top: 55px; padding: 38px 22px; grid-template-columns: 1fr 24px 1fr 24px 1fr;
    gap: 6px; border-radius: 28px;
  }
  .profile-intro-icon { width: 96px; height: 96px; margin-bottom: 14px; border-radius: 22px; }
  .profile-intro-icon svg { width: 41px; height: 41px; }
  .profile-intro-process-step strong { font-size: 19px; }
  .profile-intro-process-step small { font-size: 17px; }
  .profile-intro-arrow { width: 24px; height: 24px; }
  .profile-intro-footer { padding: 18px 15px max(18px, env(safe-area-inset-bottom)); }
  .profile-intro-footer button { min-height: 72px; font-size: 21px; }
}

@media (max-width: 420px) {
  .profile-intro { padding-right: 12px; padding-left: 12px; }
  .profile-intro-brand { font-size: 18px; }
  .profile-intro-brand img { width: 29px; height: 29px; }
  .profile-intro-progress li > span { width: 20px; height: 20px; flex-basis: 20px; }
  .profile-intro-progress li:last-child { flex-basis: 20px; }
  .profile-intro-progress li > i { height: 7px; }
  .profile-intro-content { margin-top: 50px; }
  .profile-intro-content h1 { font-size: 40px; }
  .profile-intro-lead { margin-top: 34px; font-size: 19px; }
  .profile-intro-process { min-height: 230px; margin-top: 38px; padding: 31px 14px; grid-template-columns: 1fr 18px 1fr 18px 1fr; border-radius: 25px; }
  .profile-intro-icon { width: 68px; height: 68px; border-radius: 18px; }
  .profile-intro-icon svg { width: 34px; height: 34px; }
  .profile-intro-process-step strong { font-size: 14px; }
  .profile-intro-process-step small { font-size: 13px; }
  .profile-intro-arrow { width: 18px; height: 18px; }
  .profile-intro-footer { padding-right: 12px; padding-left: 12px; }
  .profile-intro-footer button { min-height: 64px; font-size: 19px; }
}

@media (max-height: 700px) {
  .profile-intro { padding-bottom: 18px; }
  .profile-intro-footer { position: static; padding: 38px 0 18px; background: transparent; }
}
