:root {
  color-scheme: light;
  --ink: #222529;
  --muted: #66706f;
  --line: #d9dfd9;
  --surface: #ffffff;
  --wash: #f6f8f4;
  --forest: #176b58;
  --forest-dark: #104d3f;
  --accent: #ff481f;
  --accent-soft: #fff3e9;
  --shadow: 0 18px 60px rgba(35, 42, 36, 0.12);
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0, rgba(246, 248, 244, 0.96) 390px),
    var(--wash);
  color: var(--ink);
}

body,
a {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

[hidden] {
  display: none !important;
}

.intro-app {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(217, 223, 217, 0.52);
}

.intro-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px 20px calc(124px + env(safe-area-inset-bottom));
}

.intro-brand {
  min-height: 52px;
  display: flex;
  align-items: center;
  margin-bottom: 42px;
}

.intro-logo {
  width: 172px;
  height: auto;
}

.intro-copy {
  margin-bottom: 28px;
}

.intro-eyebrow {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 850;
}

.intro-copy h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 930;
}

.intro-copy p:not(.intro-eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.intro-facts {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.intro-facts div {
  min-height: 58px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: #fbfcfa;
}

.intro-facts span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.intro-facts strong {
  min-width: 0;
  font-size: 16px;
  font-weight: 880;
}

.intro-notice {
  margin-top: auto;
  margin-bottom: 14px;
  border: 1px solid rgba(23, 107, 88, 0.18);
  border-radius: 8px;
  padding: 14px;
  background: #edf6f2;
}

.intro-notice strong {
  display: block;
  color: var(--forest);
  font-size: 14px;
  font-weight: 880;
}

.intro-notice p {
  margin: 6px 0 0;
  color: #4f625b;
  font-size: 13px;
  line-height: 1.5;
}

.intro-actions {
  display: grid;
  gap: 10px;
}

.intro-primary,
.intro-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 850;
}

.intro-primary {
  background: var(--forest);
  color: #fff;
}

.intro-primary:hover {
  background: var(--forest-dark);
}

.intro-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--forest);
}

.complete-hero {
  justify-content: center;
  padding-bottom: calc(52px + env(safe-area-inset-bottom));
}

.complete-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 0 24px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 18px;
  font-weight: 930;
  box-shadow: 0 18px 44px rgba(23, 107, 88, 0.22);
}

.complete-copy {
  margin-bottom: 22px;
}

.complete-notice {
  margin-top: 0;
}

@media (min-width: 760px) {
  body {
    padding: 28px 0;
  }

  .intro-app {
    min-height: calc(100vh - 56px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .intro-hero {
    min-height: calc(100vh - 56px);
    padding-bottom: 28px;
  }

  .intro-actions {
    position: static;
    width: auto;
    padding: 0;
    border-top: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (max-width: 759px) {
  .intro-app,
  .intro-hero {
    min-height: 100dvh;
  }

  .intro-actions {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 0;
    z-index: 20;
    width: min(100%, 430px);
    transform: translateX(-50%);
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(217, 223, 217, 0.9);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -16px 36px rgba(28, 34, 31, 0.12);
    backdrop-filter: blur(16px);
  }
}
