:root {
  color-scheme: light;
  --navy: #08284b;
  --navy-deep: #061b34;
  --blue: #087cfa;
  --blue-dark: #0065d7;
  --ice: #eff6ff;
  --paper: #ffffff;
  --ink: #10243c;
  --muted: #5d6e82;
  --line: #dce6f2;
  --radius: 22px;
  font-family: Inter, Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f8fbff; line-height: 1.6; word-break: keep-all; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--navy); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 40px, 1080px); margin: 0 auto; }

.site-header { position: relative; z-index: 5; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(8,40,75,.09); }
.site-header .shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { width: 156px; height: auto; }
.header-label { color: var(--muted); font-size: .8rem; font-weight: 750; letter-spacing: .04em; }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 82% 16%, rgba(8,124,250,.45), transparent 32%), linear-gradient(145deg, #06182e 0%, #08284b 62%, #0c3f78 100%); }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(106,181,255,.18); border-radius: 50%; pointer-events: none; }
.hero::before { width: 340px; height: 340px; right: -190px; top: -210px; }
.hero::after { width: 250px; height: 250px; right: -130px; bottom: -190px; }
.hero-grid { position: relative; z-index: 1; padding: 54px 0 58px; display: grid; gap: 36px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #5fb1ff; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(2.25rem, 11vw, 4.4rem); line-height: 1.06; letter-spacing: -.055em; }
.lead { max-width: 620px; margin-bottom: 28px; color: #dcecff; font-size: 1.05rem; line-height: 1.72; }
.download-button { min-height: 68px; width: 100%; display: flex; align-items: center; gap: 13px; padding: 12px 18px; color: #fff; background: var(--blue); border: 1px solid #43a0ff; border-radius: 16px; box-shadow: 0 15px 38px rgba(0,77,169,.32); text-decoration: none; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.download-button:hover { background: #1686fb; transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0,77,169,.42); }
.download-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.button-icon { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; color: var(--blue); background: #fff; border-radius: 12px; font-size: 1.65rem; font-weight: 900; line-height: 1; }
.download-button strong, .download-button small { display: block; }
.download-button strong { font-size: 1rem; line-height: 1.35; }
.download-button small { margin-top: 2px; color: #dcebff; font-size: .76rem; }
.security-note { margin: 16px 2px 0; display: flex; align-items: flex-start; gap: 8px; color: #c8dcf3; font-size: .8rem; }
.security-note span { color: #73e6bd; font-weight: 900; }

.phone-card { justify-self: center; width: min(100%, 330px); padding: 18px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 28px; box-shadow: inset 0 1px rgba(255,255,255,.08), 0 28px 70px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.phone-visual { min-height: 260px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, #f8fbff, #eaf3ff); border: 5px solid #081b31; border-radius: 30px; box-shadow: 0 16px 38px rgba(0,0,0,.25); overflow: hidden; }
.phone-visual::after { content: ""; position: absolute; width: 170px; height: 170px; bottom: -105px; right: -75px; border-radius: 50%; background: rgba(8,124,250,.11); }
.phone-speaker { position: absolute; top: 11px; width: 48px; height: 5px; background: #c9d4df; border-radius: 10px; }
.phone-visual img { width: 76px; height: 76px; margin-bottom: 16px; }
.phone-visual strong { color: var(--navy); font-size: 1.2rem; letter-spacing: -.025em; }
.phone-visual small { margin-top: 5px; color: var(--muted); font-weight: 700; }
.ready-copy { padding: 17px 6px 3px; }
.ready-copy strong, .ready-copy span { display: block; }
.ready-copy strong { font-size: .92rem; }
.ready-copy span { margin-top: 4px; color: #cadbef; font-size: .8rem; }

.steps-section { padding: 64px 0 54px; background: var(--paper); }
.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin: 9px 0 7px; font-size: clamp(1.65rem, 7vw, 2.4rem); line-height: 1.2; letter-spacing: -.045em; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.section-heading.compact { margin-bottom: 20px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.steps li { min-height: 110px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 20px; background: #f8fbff; border: 1px solid var(--line); border-radius: 18px; }
.step-number { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 13px; font-size: .92rem; font-weight: 900; }
.steps strong { display: block; margin-top: 1px; font-size: 1rem; }
.steps p { margin: 5px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.58; }
.permission-callout { margin-top: 18px; padding: 20px; display: grid; grid-template-columns: 40px 1fr; gap: 13px; background: #eff8f5; border: 1px solid #cfeae0; border-radius: 18px; }
.shield-icon { width: 38px; height: 38px; display: grid; place-items: center; color: #087b5c; background: #d8f2e8; border-radius: 12px; }
.permission-callout strong { display: block; color: #155e4b; font-size: .9rem; }
.permission-callout p { margin: 4px 0 0; color: #45685f; font-size: .82rem; }

.platform-section { padding: 52px 0 68px; background: #f2f6fb; }
.ios-card { padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ios-card > div { display: flex; align-items: center; gap: 14px; }
.platform-mark { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; color: #4f6175; background: #edf1f5; border-radius: 15px; font-size: .78rem; font-weight: 900; }
.ios-card strong, .ios-card p { display: block; }
.ios-card strong { font-size: .94rem; }
.ios-card p { margin: 3px 0 0; color: var(--muted); font-size: .8rem; }
.platform-button { min-width: 82px; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 13px; font: inherit; font-size: .82rem; font-weight: 800; text-decoration: none; }
.platform-button:hover { background: #10375f; }
.platform-button:focus-visible { outline: 3px solid rgba(20, 160, 214, .35); outline-offset: 3px; }

footer { padding: 30px 0 38px; color: #91a4b9; background: var(--navy-deep); }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
footer img { width: 124px; filter: brightness(0) invert(1); opacity: .92; }
footer p { margin: 0; font-size: .75rem; }

@media (min-width: 720px) {
  .shell { width: min(100% - 64px, 1080px); }
  .site-header .shell { min-height: 78px; }
  .brand { width: 184px; }
  .hero-grid { min-height: 650px; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .7fr); align-items: center; gap: 72px; padding: 76px 0; }
  .download-button { width: min(100%, 450px); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { min-height: 138px; }
  .permission-callout { margin-top: 20px; }
}

@media (max-width: 379px) {
  .shell { width: min(100% - 28px, 1080px); }
  .site-header .shell { min-height: 62px; }
  .brand { width: 140px; }
  .header-label { font-size: .7rem; }
  .hero-grid { padding-top: 42px; }
  .download-button { padding-inline: 14px; }
  .button-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .ios-card { align-items: flex-start; flex-direction: column; }
  .platform-button { width: 100%; }
  footer .shell { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .download-button { transition: none; }
}
