:root{
    --navy:#0B1B3A; --navy2:#13284F; --ink:#0B1B3A; --sub:#3A4660; --mute:#56627A;
    --line:#CBD3E1; --bg:#F3F5F9; --white:#FFFFFF;
    --accent:#E8590C; --accent-dark:#C24A08; --ok:#1E7B4F; --err:#C92A2A;
  }
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);
font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",sans-serif;
-webkit-font-smoothing:antialiased;word-break:keep-all}
.wrap{max-width:480px;margin:0 auto;background:var(--bg);min-height:100vh;padding-bottom:96px}
a{color:inherit}
ol, ul {list-style:none;}

/* 상단바 */
.top{background:var(--navy);color:#fff;display:flex;justify-content:space-between;align-items:center;padding:14px 20px}
.brand{font-weight:800;font-size:15px;letter-spacing:-.2px}
.top small{font-size:12px;color:#C9D3E6}

/* 히어로 */
.hero{background:var(--navy);color:#fff;padding:22px 20px 44px}
.badge{display:inline-flex;align-items:center;gap:6px;background:var(--accent);color:#fff;font-weight:700;font-size:13px;padding:6px 12px;border-radius:999px}
.badge .dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:blink 1.4s infinite}
@keyframes blink{50%{opacity:.25}}
.hero h1{margin:16px 0 10px;font-size:42px;line-height:1.15;font-weight:900;letter-spacing:-1.2px}
.hero h1 em{font-style:normal;color:#FF8A3D}
.hero p{margin:0;font-size:17px;line-height:1.55;color:#DCE3F0}
.date{margin-top:6px;font-size:13px;color:#9FB0CF}

.list{margin-top:20px;background:#fff;border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px}
.row{display:flex;align-items:center;gap:12px;padding:12px;background:var(--bg);border-radius:10px}
.num{width:32px;height:32px;border-radius:8px;background:var(--navy);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.name{flex:1;font-size:17px;font-weight:800;color:var(--ink);filter:blur(6px);user-select:none}
.tag{font-size:12px;color:var(--mute);background:#fff;border:1px solid var(--line);padding:3px 8px;border-radius:999px}
.list .hint{text-align:center;font-size:14px;color:var(--mute);padding-top:4px}

/* 폼 */
.form{margin:-24px 16px 0;position:relative;background:#fff;border-radius:18px;padding:22px 18px;box-shadow:0 10px 28px rgba(11,27,58,.14)}
.form h2{margin:0 0 4px;font-size:21px;font-weight:800;letter-spacing:-.4px}
.form .lead{margin:0 0 16px;font-size:14px;color:var(--mute)}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.field label{font-size:14px;font-weight:600;color:var(--sub)}
.field select,
.field input{height:54px;border:1.5px solid var(--line);border-radius:10px;padding:0 10px;
font-size:17px;font-family:inherit;color:var(--ink);background:#fff;outline:none;transition:border-color .15s}
.field input:focus{border-color:var(--navy)}
.field input.invalid{border-color:var(--err)}
.msg{font-size:13px;color:var(--err);min-height:0}
.field label[for='phone'] + div {display:flex; align-items:center; justify-content:space-between;}
.field label[for='phone'] + div select {width:25%;}
.field label[for='phone'] + div input {width:33%;}

.chips{display:flex;gap:8px;margin-bottom:14px; padding-left:0; margin-top:0;}
.chips li {width:calc(33.33% - 5px)}
.chips li input {width:0; height:0; display:none;}
.chips li label {width:100%; flex:1;height:44px;border:1.5px solid var(--line);background:#fff; border-radius:10px; font-family:inherit; font-size:15px; font-weight:600; color:var(--sub); cursor:pointer; font-size:14px;font-weight:600;color:var(--sub);margin-bottom:6px;display:flex; align-items:center; justify-content:center;}
.chips li input:checked + label {border-color:var(--navy);background:var(--navy);color:#fff} 
.chips-label {font-size: 14px; font-weight: 600; color: var(--sub); margin-bottom: 6px; display: block;}

.agree{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--sub);margin:4px 0 14px}
.agree input{width:20px;height:20px;margin:0;flex-shrink:0;accent-color:var(--navy)}
.agree button{background:none;border:0;padding:0;font:inherit;color:var(--mute);text-decoration:underline;cursor:pointer}

.cta{width:100%;height:60px;border:0;border-radius:12px;background:var(--accent);color:#fff;font-size:19px;font-weight:800;font-family:inherit;cursor:pointer;box-shadow:0 6px 16px rgba(232,89,12,.32);transition:transform .08s,background .15s}
.cta:active{transform:scale(.98)}
.cta:disabled{background:#A9B2C3;box-shadow:none;cursor:default}
.safe{margin-top:10px;text-align:center;font-size:13px;color:var(--mute)}

/* 섹션 */
.sec{padding:36px 20px 0}
.sec h3{margin:0 0 14px;font-size:22px;font-weight:800;letter-spacing:-.4px}
.card{background:#fff;border-radius:14px;padding:18px;display:flex;gap:14px;align-items:flex-start;margin-bottom:10px}
.card b{display:block;font-size:17px;margin-bottom:4px}
.card span{font-size:15px;color:var(--sub);line-height:1.5}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.step{background:#fff;border-radius:12px;padding:16px 6px;text-align:center}
.step i{display:block;font-style:normal;font-size:24px;font-weight:900;color:var(--accent);margin-bottom:4px}
.step b{font-size:14px}

.again{margin:32px 16px 0;background:var(--navy);border-radius:18px;padding:26px 20px;color:#fff}
.again b{display:block;font-size:26px;line-height:1.25;font-weight:900;letter-spacing:-.6px;margin-bottom:14px}
.again a{display:flex;align-items:center;justify-content:center;height:56px;border-radius:12px;background:var(--accent);color:#fff;font-size:18px;font-weight:800;text-decoration:none}

.legal{padding:28px 20px 20px;font-size:12px;line-height:1.7;color:#4A5670}
.legal p{margin:0 0 6px}

/* 하단 고정 CTA */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(243,245,249,.96);backdrop-filter:blur(6px);border-top:1px solid #DDE3EC;transform:translateY(110%);transition:transform .25s}
.sticky.show{transform:none}
.sticky a{max-width:448px;margin:0 auto;display:flex;align-items:center;justify-content:center;height:54px;border-radius:12px;background:var(--accent);color:#fff;font-size:18px;font-weight:800;text-decoration:none}

/* 모달 */
.modal{position:fixed;inset:0;z-index:50;background:rgba(11,27,58,.6);display:none;align-items:flex-end;justify-content:center}
.modal.open{display:flex}
.sheet{width:100%;max-width:480px;max-height:85vh;overflow:auto;background:#fff;border-radius:18px 18px 0 0;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}
.sheet h4{margin:0 0 12px;font-size:19px}
.sheet p,.sheet li{font-size:14px;line-height:1.6;color:var(--sub)}
.sheet .close{margin-top:16px;width:100%;height:50px;border:0;border-radius:10px;background:var(--navy);color:#fff;font-size:16px;font-weight:700;font-family:inherit;cursor:pointer}
.done{text-align:center;padding-top:8px}
.done .check{width:64px;height:64px;border-radius:50%;background:#E6F4EC;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.done h4{font-size:22px}

/* 인증 */
.cert-wrap { position: relative; }
.cert-box { display: none; z-index: 9; position: absolute; top: 0; left: 0; right: 0; font-size: 16px; }
.cert-box.is-active { display: block; }
.cert-box > .inner { position: relative; width: 100%; min-width: 200px; max-width: 610px; margin: 0 auto; padding: 30px 15px; border: 1px solid #000; background: #fff; box-sizing: border-box; box-shadow: 0 0 15px rgba(0, 0, 0, 0.8); }
.cert-box > .inner:after { content: ''; display: table; clear: both; }
.cert-box .cert-bg { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); }
.cert-box .cert-notice { color: #000; padding-bottom: 10px; }
.cert-box .input-num { float: left; width: 70%; height: 30px; padding: 5px; box-sizing: border-box; border: 0 none; background: #eee; }
.cert-box .input-submit { float: right; width: 30%; border: 0 none; background: #212121; color: #eee; height: 30px; font-weight: bold; cursor: pointer; }
.cert-box .input-re { display: none; clear: both; margin-top: 20px; padding: 3px 10px; border: 2px solid #ddd; border-color: #ddd #bbb #bbb #ddd; background: #f6f6f6; border-radius: 15px; font-size: 13px; color: #666; letter-spacing: -0.1em; cursor: pointer; }
.cert-box .input-re.is-active { display: inline-block; }

