:root {
  --primary: #2457a6;
  --primary-dark: #15366f;
  --bg: #f3f6fb;
  --panel: #ffffff;
  --text: #172033;
  --muted: #64708a;
  --border: #d9e1ee;
  --shadow: 0 18px 40px rgba(22, 42, 82, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, #eef3fa 0%, #f8fbff 100%);
  color: var(--text);
}

a {
  color: inherit;
}

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

.header {
  background: #fff;
  color: #000;
  box-shadow: 0 8px 24px rgba(16, 35, 71, 0.18);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

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

.main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  flex: 1;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 20px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.steps-panel {
  padding: 24px;
}

.panel-title {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.panel-desc {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e7edf6;
  border-radius: 12px;
  background: #fbfdff;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2c2c2c 0%, #111111 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.step-copy {
  min-width: 0;
}

.step-copy strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.step-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.step-image {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
}

.download-panel {
  padding: 24px;
  position: sticky;
  top: 20px;
}

.download-panel h2 {
  margin: 14px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.download-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.download-meta {
  margin: 18px 0 20px;
  padding: 14px;
  background: #f7faff;
  border: 1px solid #dce6f6;
  border-radius: 12px;
  color: #31415f;
  font-size: 14px;
}

.download-meta strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.download-meta-row + .download-meta-row {
  margin-top: 10px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
  border: none;
  box-shadow: 0 14px 28px rgba(31, 86, 191, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(31, 86, 191, 0.28);
}

.download-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.footer {
  padding: 18px 20px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .download-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 16px 16px;
  }

  .brand-logo {
    width: 44px;
    height: auto;
  }

  .brand-title {
    font-size: 19px;
  }

  .main {
    padding: 18px 16px 28px;
  }

  .steps-panel,
  .download-panel {
    padding: 18px;
  }

  .panel-title,
  .download-panel h2 {
    font-size: 20px;
  }

  .step-item {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 44px;
    height: 44px;
  }
}
