@font-face {
  font-family: "Inter";
  src: url("/welcome/Inter-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #141414;
  background: #EFF5FA;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #EFF5FA;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #141414;
  background: #EFF5FA;
}

.header {
  position: relative;
  width: 100%;
  padding: 8px 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 12px 20px;
}

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

.brand-logo {
  display: block;
  width: auto;
  max-width: 210px;
  height: 42px;
  object-fit: contain;
}

.main {
  width: 100%;
  padding: 0 20px 100px;
}

.welcome {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.intro {
  margin: 0 auto 48px;
  text-align: center;
}

.intro h1 {
  margin: 0;
  color: #141414;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.intro-description {
  max-width: 650px;
  margin: 20px auto 0;
  color: #657582;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
}

.instruction-card {
  width: 100%;
  margin-top: 20px;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #E6EEF4;
  border-radius: 32px;
  box-shadow: rgba(17, 17, 26, 0.05) 0 4px 12px;
}

.instruction-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 675px;
  margin: 0 auto 24px;
}

.step-number {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: #027FFF;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.instruction-text h2 {
  margin: 0 0 6px;
  color: #141414;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
}

.instruction-text p {
  margin: 0;
  color: #657582;
  font-size: 16px;
  line-height: 1.6;
}

.instruction-image {
  display: block;
  width: 100%;
  max-width: 675px;
  height: auto;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #E6EEF4;
  border-radius: 24px;
  box-shadow: rgba(17, 17, 26, 0.08) 0 8px 24px;
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand-logo {
    max-width: 180px;
    height: 36px;
  }

  .main {
    padding: 0 12px 72px;
  }

  .intro {
    margin-bottom: 32px;
  }

  .intro-description {
    margin-top: 16px;
  }

  .instruction-card {
    margin-top: 12px;
    padding: 20px;
    border-radius: 24px;
  }

  .instruction-text {
    gap: 12px;
    margin-bottom: 20px;
  }

  .step-number {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 16px;
  }

  .instruction-text h2 {
    font-size: 19px;
  }

  .instruction-text p {
    font-size: 15px;
  }

  .instruction-image {
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  .header {
    padding: 6px 6px 0;
  }

  .header-inner {
    min-height: 58px;
    padding: 8px 10px;
  }

  .brand-logo {
    max-width: 160px;
    height: 32px;
  }

  .main {
    padding-top: 0;
  }

  .instruction-card {
    padding: 16px;
    border-radius: 20px;
  }

  .instruction-text {
    align-items: flex-start;
  }

  .instruction-image {
    border-radius: 14px;
  }
}
