:root {
  --bg: #f3f6fb;
  --card: #ffffff;
  --text: #172033;
  --text-soft: #667085;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --line: #e5eaf2;
  --soft-blue: #eaf1ff;
  --soft-yellow: #fff7e6;
  --yellow-line: #f0d89a;
  --shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 15px;
  --max-width: 720px;
  --bottom-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, #dce8ff 0, transparent 280px),
    linear-gradient(180deg, #eef4ff 0, var(--bg) 260px);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Noto Sans KR",
    Arial,
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 14px calc(var(--bottom-height) + 26px);
}

.hero {
  padding: 24px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.app-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--soft-blue);
  font-size: 30px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 15px;
}

.version-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.version-box div {
  padding: 13px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.version-box span {
  display: block;
  margin-bottom: 5px;
  color: var(--text-soft);
  font-size: 12px;
}

.version-box strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.download-button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.download-button:active {
  transform: scale(0.98);
}

.primary {
  margin-top: 20px;
  background: var(--primary);
  color: #ffffff;
}

.primary:hover {
  background: var(--primary-dark);
}

.download-note {
  margin: 11px 0 0;
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

main {
  margin-top: 16px;
}

.card {
  margin-bottom: 14px;
  padding: 20px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 15px;
}

.card p:last-child {
  margin-bottom: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.feature-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-blue);
  color: var(--primary);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 900;
}

.feature-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.feature-item p {
  margin: 0;
  font-size: 14px;
}

.check-list,
.step-list {
  margin: 0;
  padding-left: 20px;
}

.check-list li,
.step-list li {
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 15px;
}

.check-list li:last-child,
.step-list li:last-child {
  margin-bottom: 0;
}

.notice {
  margin-top: 16px;
  padding: 14px;
  background: var(--soft-yellow);
  border: 1px solid var(--yellow-line);
  border-radius: var(--radius-md);
}

.notice > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.notice p strong {
  display: inline;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: 800;
}

.notice p {
  margin: 0;
  color: #6f5a1f;
  font-size: 14px;
}

.permission-guide {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.permission-step {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.permission-step__number {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--soft-blue);
  color: var(--primary);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
}

.permission-step strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.permission-step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.path-box {
  margin-top: 10px;
  padding: 11px 12px;
  background: #ffffff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.notice--warning {
  background: #fff1f1;
  border-color: #f4b7b7;
}

.notice--warning p {
  color: #7a2e2e;
}

.contact-card {
  margin-bottom: 0;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.contact-box div {
  padding: 13px 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-box span {
  display: block;
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 12px;
}

.contact-box strong {
  display: block;
  font-size: 15px;
}
.contact-box--single {
  grid-template-columns: 1fr;
}

.contact-link {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.contact-link:active {
  transform: scale(0.98);
}

.kakao-link {
  background: #fee500;
  border: 1px solid #e6cf00;
  color: #191919;
}

.kakao-link:hover {
  background: #f3da00;
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 50;
}

.bottom-bar .download-button {
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 560px) {
  .page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding: 30px 24px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .card {
    padding: 24px 20px;
  }

  .contact-box {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-box--single {
  grid-template-columns: 1fr;
  }
  
  .download-button[aria-disabled="true"] {
  opacity: 0.65;
  pointer-events: none;
}

.version-load-error {
  color: #b42318;
  font-weight: 700;
}

.feedback-card {
  margin-bottom: 14px;
}

.feedback-box {
  margin-top: 14px;
}

.feedback-link {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 13px;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease;
}

.feedback-link:active {
  transform: scale(0.98);
}

.feedback-link:hover {
  background: var(--primary-dark);
}
}