:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Pretendard", "Segoe UI", sans-serif;
  background: #eef6ff;
  color: #191f28;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(49, 130, 246, 0.18), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

button {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(109, 151, 192, 0.18);
}

body[data-platform="ios"] .page {
  padding: 0;
}

body[data-platform="ios"] .card {
  width: 100%;
  min-height: 100vh;
  border-radius: 0;
  padding: 20px 18px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7ff 100%);
  box-shadow: none;
  color: #191f28;
}

.ios-guide {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ios-hero {
  flex: 1;
  padding: 16px 14px 18px;
}

.ios-app-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  display: block;
  box-shadow: 0 18px 40px rgba(49, 130, 246, 0.16);
}

.ios-title {
  margin: 28px 0 0;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 900;
  color: #191f28;
  letter-spacing: 0;
}

.ios-steps {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 24px;
}

.ios-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #4e5968;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
}

.ios-steps span {
  min-width: 22px;
  color: #4e8df0;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.ios-steps em {
  background: rgba(49, 130, 246, 0.12);
  border-radius: 999px;
  padding: 2px 10px;
  font-style: normal;
  color: #191f28;
  white-space: nowrap;
}

.ios-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.ios-primary {
  min-width: 188px;
  min-height: 54px;
  border: none;
  border-radius: 16px;
  background: #3182f6;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

body[data-platform="ios"] .android-guide {
  display: none !important;
}

body[data-platform="android"] .ios-guide {
  display: none !important;
}

body[data-platform="android"] .card {
  display: block;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  display: block;
  box-shadow: 0 12px 28px rgba(49, 130, 246, 0.18);
}

.eyebrow {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: #3182f6;
}

.title {
  margin: 8px 0 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.body {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4e5968;
  font-weight: 600;
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.primary,
.secondary {
  border: none;
  border-radius: 16px;
  min-height: 56px;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  background: #3182f6;
  color: #ffffff;
}

.secondary {
  background: #f2f4f6;
  color: #191f28;
}

.status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7684;
  font-weight: 600;
}

.guide {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.guide [hidden] {
  display: none !important;
}

.guide-block {
  padding: 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid #e5edf6;
}

.guide-block h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 800;
}

.guide-block p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4e5968;
  font-weight: 600;
}

.guide-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #4e5968;
  font-weight: 600;
}

.guide-steps span {
  min-width: 18px;
  color: #3182f6;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
}

.guide-steps em {
  background: rgba(49, 130, 246, 0.12);
  border-radius: 999px;
  padding: 1px 8px;
  font-style: normal;
  color: #191f28;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .page {
    padding: 16px;
  }

  .card {
    border-radius: 22px;
    padding: 24px 18px 20px;
  }

  .title {
    font-size: 28px;
  }
}
