/* Stellingo 홈페이지 — specs/027 시안 v1 (homepage-v1.html) 에서 옮겼다. 값을 바꾸면 시안과 함께 본다. */
:root{--ink:#0F172A;--muted:#64748B;--line:#E6EAF0;--cyan:#06BCF9;--cyanS:#2BEEEE;--mint:#06D6A0;--dark:#070B18;--dk2:#0F1B3A;--w:#fff;--w2:#A5B4CF}
*{box-sizing:border-box}html{scroll-behavior:auto}
/* 그림의 width · height 속성은 자리 잡기(늦게 떠도 밀리지 않게)용 — 높이는 CSS 너비에 맞춘 비율로.
   없으면 속성 높이가 그대로 남아 폰 화면이 세로로 늘어난다. 높이를 정하는 규칙(.gs 등)이 따로 있으면 그쪽이 이긴다. */
img{height:auto}
body{margin:0;background:var(--dark);color:var(--ink);font-family:"Pretendard Variable",Pretendard,"Noto Sans KR",sans-serif;-webkit-font-smoothing:antialiased}
#galaxy{position:fixed;inset:0;width:100%;height:100%;z-index:0;display:block}
.wrap{position:relative;z-index:1}
.inner{width:min(1180px,calc(100% - 48px));margin:0 auto}
nav{position:sticky;top:0;z-index:5;backdrop-filter:blur(10px);background:rgba(7,11,24,.45);border-bottom:1px solid rgba(255,255,255,.06)}
nav .inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{color:#fff;font-weight:700;font-size:18px;letter-spacing:-0.02em}.logo i{display:inline-block;width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,var(--cyanS),var(--mint));margin-right:8px;box-shadow:0 0 12px var(--cyanS)}
nav a{color:var(--w2);text-decoration:none;font-size:14px;margin-left:24px}nav a.lang{font-weight:700;font-size:12px;letter-spacing:.06em;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:3px 9px}nav a:hover{color:#fff}nav a.logo{color:#fff;margin-left:0;font-size:18px}
.btn{display:inline-block;padding:14px 22px;border-radius:12px;font-weight:600;font-size:15px;text-decoration:none;transition:transform .15s}
.btn:hover{transform:translateY(-1px)}
.btn.p{background:linear-gradient(135deg,var(--cyanS),var(--mint));color:#06231F;box-shadow:0 10px 30px rgba(43,238,238,.25)}
.btn.l{background:var(--cyan);color:#06231F}
.btn.ghost{color:#fff;border:1px solid rgba(255,255,255,.22);margin-left:10px}
.btn.sm{padding:9px 14px;font-size:13px}
/* hero */
.hero{padding:96px 0 0;text-align:center;color:#fff;min-height:calc(100vh - 64px)}
.eyebrow{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--w2);border:1px solid rgba(255,255,255,.14);padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.04)}
.eyebrow b{color:var(--cyanS);font-weight:600}
h1{font-size:60px;line-height:1.16;letter-spacing:-0.025em;font-weight:600;margin:26px auto 20px;max-width:1000px}
h1 em{font-style:normal;background:linear-gradient(90deg,var(--cyanS),var(--mint));-webkit-background-clip:text;background-clip:text;color:transparent}
.sub{font-size:19px;line-height:1.65;color:var(--w2);max-width:680px;margin:0 auto 32px}
.hero .cta{margin-bottom:64px}
.stage{position:relative;height:620px;margin:0 auto;max-width:1180px}
.browser{position:absolute;left:50%;transform:translateX(-50%);top:0;width:1000px;height:600px;border-radius:14px;background:#fff;box-shadow:0 40px 120px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.08);overflow:hidden}
.browser .bar{height:34px;background:#F1F5F9;border-bottom:1px solid #E2E8F0;display:flex;align-items:center;gap:7px;padding:0 14px}
.browser .bar i{width:10px;height:10px;border-radius:50%;background:#CBD5E1}.browser .bar span{margin-left:12px;font-size:12px;color:#94A3B8;background:#fff;border-radius:6px;padding:3px 60px 3px 10px}
.browser img{display:block;width:1280px;margin-left:-240px}
.phone{position:absolute;width:250px;height:520px;border-radius:36px;background:#0b0f1a;padding:10px;box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.12)}
.phone .scr{border-radius:28px;overflow:hidden;height:100%;background:#FAFAFA}.phone img{width:100%;display:block}
.hero .phone{right:60px;top:160px}
.trust{color:var(--w2);font-size:14px;text-align:center;padding:26px 0 70px;display:flex;gap:28px;justify-content:center;flex-wrap:wrap}
.trust span b{color:#fff;font-weight:600}.trust .dot{opacity:.4}
/* sections */
section{padding:104px 0}
.light{background:#fff;color:var(--ink)}.light.alt{background:#F6F8FB}
.dark{color:#fff}
.kicker{font-size:13px;font-weight:600;letter-spacing:.06em;color:var(--cyan);text-transform:uppercase;margin-bottom:14px}
.dark .kicker{color:var(--cyanS)}
h2{font-size:44px;line-height:1.2;letter-spacing:-0.02em;font-weight:600;margin:0 0 16px;max-width:760px}
.lead{font-size:18px;line-height:1.7;color:var(--muted);max-width:640px;margin:0 0 44px}.dark .lead{color:var(--w2)}
.sched{margin:0 0 56px}
.sched-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.wf-chips{display:flex;gap:8px;flex-wrap:wrap}
.wfc{padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:600;color:#475569;cursor:pointer;transition:all .2s}
.wfc.on{background:var(--cyan);border-color:var(--cyan);color:#06231F;box-shadow:0 6px 16px rgba(6,188,249,.3)}
.sched-legend{display:flex;gap:18px;font-size:13px;color:var(--muted)}.sched-legend span{display:flex;align-items:center;gap:6px}
.lg{display:inline-block}.lg.dot{width:9px;height:9px;border-radius:50%;background:#60A5FA}.lg.bar{width:22px;height:7px;background:rgba(96,165,250,.35)}.lg.line{width:22px;height:7px;border-radius:4px;background:rgba(220,220,220,.9)}
.sched-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 60px rgba(15,23,42,.08);padding:18px 8px 6px 0;overflow-x:auto;overflow-y:hidden}
.sched-tip{position:absolute;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity .15s,transform .15s;background:#fff;border:1px solid #E0E0E0;border-radius:10px;box-shadow:0 8px 24px rgba(15,23,42,.14);padding:8px 12px;font-size:12px;color:#475569;white-space:nowrap}
.sched-tip b{display:block;font-size:13px;color:#0F172A;margin-bottom:2px}.sched-tip.on{opacity:1;transform:none}
.sched-cap{font-size:14px;color:var(--muted);margin:14px 4px 0;line-height:1.6}.sched-cap b{color:var(--ink)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.shot{border-radius:14px;overflow:hidden;box-shadow:0 30px 80px rgba(15,23,42,.18),0 0 0 1px rgba(15,23,42,.06);background:#fff}
.shot img{display:block;width:100%}
.cal{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 28px}
.cal>div{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;min-height:150px;font-size:13px;color:var(--muted)}
.cal b{display:block;font-size:12px;color:#94A3B8;margin-bottom:8px;font-weight:600}
.chip{display:inline-block;font-size:12px;padding:4px 10px;border-radius:999px;font-weight:600;margin:0 4px 6px 0}
.c-prep{background:#E0F2FE;color:#075985}.c-hw{background:#DCFCE7;color:#166534}.c-rev{background:#FEF3C7;color:#92400E}
.c-voc{background:#E0F2FE;color:#075985}.c-gra{background:#EDE9FE;color:#5B21B6}.c-rd{background:#DCFCE7;color:#166534}.c-ls{background:#FCE7F3;color:#9D174D}.c-sp{background:#FFEDD5;color:#9A3412}
.steps{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.steps li{display:flex;gap:14px;align-items:flex-start;font-size:16px;line-height:1.55}
.steps li i{flex:none;width:28px;height:28px;border-radius:8px;background:#E8FAFE;color:#0369A1;font-style:normal;font-weight:700;font-size:13px;display:grid;place-items:center}
.dark .steps li i{background:rgba(43,238,238,.15);color:var(--cyanS)}
.steps li small{display:block;color:var(--muted);font-size:14px}.dark .steps li small{color:var(--w2)}
.phones{display:flex;gap:28px;justify-content:center;align-items:flex-end;margin-top:20px}
.phones .phone{position:relative;width:270px;height:560px}.phones .cap{text-align:center;color:var(--w2);font-size:14px;margin-top:16px}.phones .cap b{color:#fff;display:block;font-size:16px;margin-bottom:4px}
.galaxyscr{position:relative;background:radial-gradient(circle at 50% 35%,#1B2A4A,#070B18);height:100%}
.galaxyscr canvas{width:100%;height:100%;display:block}
.galaxyscr .lbl{position:absolute;left:0;right:0;bottom:22px;text-align:center;color:#fff;font-size:13px}.galaxyscr .lbl b{display:block;font-size:22px;font-weight:600;background:linear-gradient(90deg,var(--cyanS),var(--mint));-webkit-background-clip:text;background-clip:text;color:transparent}
.game-slides{position:relative;background:#0b1020}
.game-slides .gs{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;object-position:center top;opacity:0;transition:opacity .8s ease}
.game-slides .gs.on{opacity:1}
.gs-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;gap:6px;justify-content:center;z-index:2}
.gs-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.35);cursor:pointer;transition:all .3s}
.gs-dots i.on{width:20px;border-radius:4px;background:var(--cyanS)}
.phones .cap span{display:block}
.ops-hero{display:grid;grid-template-columns:5fr 7fr;gap:40px;align-items:center;background:#F6F8FB;border:1px solid var(--line);border-radius:24px;padding:36px;margin-bottom:22px}
.ops-text h4{font-size:24px;margin:0 0 10px;letter-spacing:-.01em}.ops-text p{color:var(--muted);font-size:16px;line-height:1.7;margin:0 0 18px}
.ops-tags{display:flex;flex-wrap:wrap;gap:8px}.ops-tags span{font-size:13px;font-weight:600;color:#0369A1;background:#E8FAFE;border-radius:999px;padding:6px 12px}
.ops-shot{border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(15,23,42,.12),0 0 0 1px rgba(15,23,42,.06)}
.ops-shot img{display:block;width:100%}
.ops-shot.sm{height:230px;margin-bottom:18px;box-shadow:0 12px 30px rgba(15,23,42,.08),0 0 0 1px rgba(15,23,42,.06)}
.ops-shot.sm img{width:155%;max-width:none;height:auto}
.ops-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ops-tile{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 18px 22px}
.ops-tile h4{margin:0 0 6px;font-size:17px}.ops-tile p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
@media (max-width:900px){.ops-hero,.ops-grid{grid-template-columns:1fr}}
.bento{display:grid;grid-template-columns:2fr 1fr 1fr;grid-template-rows:auto auto;gap:18px}
.bento .tile{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;overflow:hidden}
.bento .big{grid-row:1/3}.bento .tile h4{margin:0 0 6px;font-size:17px}.bento .tile p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:1.55}
.bento .big .shot{margin-top:6px}.bento .big .shot img{width:160%;max-width:none;margin-left:-22%}
.tile .ico{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;font-size:18px;margin-bottom:12px}
.three{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}
.card{border:1px solid var(--line);border-radius:18px;padding:24px;background:#fff}.card .shot{max-height:200px}.card h4{margin:10px 0 6px;font-size:17px}.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.faq{max-width:760px}.faq details{border-bottom:1px solid var(--line);padding:16px 0}.faq summary{cursor:pointer;font-weight:600;font-size:16px}.faq p{color:var(--muted);margin:10px 0 0;font-size:15px;line-height:1.6}
footer{padding:60px 0 40px;color:var(--w2);font-size:13px}footer .inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px}footer a{color:var(--w2);text-decoration:none;margin-right:18px}
@media (max-width:900px){h1{font-size:40px}.two,.bento,.three{grid-template-columns:1fr}.stage{height:auto}.browser{position:relative;left:0;transform:none;width:100%;height:auto}.browser img{width:100%;margin:0}.hero .phone{display:none}.phones{flex-wrap:wrap}.cal{grid-template-columns:1fr 1fr}}
@media (prefers-reduced-motion:reduce){#galaxy{opacity:.6}}

/* ── 휴대폰 (2026-10-20 모바일 확인) ── */
body{word-break:keep-all;overflow-wrap:break-word}
@media (max-width:900px){
 nav .sec{display:none}
 nav .inner{height:56px}
 .nav-r{display:flex;align-items:center;gap:14px}.nav-r a{margin-left:0}
 .hero{padding-top:56px}
 h1{font-size:34px;line-height:1.22}
 h2{font-size:30px}
 .sub{font-size:16px}
 .eyebrow{font-size:12px;flex-wrap:wrap;justify-content:center}
 .eyebrow b{white-space:nowrap}
 section{padding:72px 0}
 .lead{font-size:16px;margin-bottom:32px}
 .hero .cta{margin-bottom:40px}
 .trust{gap:10px 16px;padding:20px 16px 48px;font-size:13px}.trust .dot{display:none}
 .phones.pair{justify-content:center!important;gap:12px;flex-wrap:nowrap}
 .phones.pair .phone{width:44vw;height:calc(44vw * 2.07);border-radius:24px;padding:7px}
 .phones.pair .phone .scr{border-radius:18px}
 .phones.trio{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 4px 12px;margin:0 -24px;padding-left:24px;scrollbar-width:none}
 .phones.trio::-webkit-scrollbar{display:none}
 .phones.trio>div{flex:none;scroll-snap-align:center}
 .phones.trio .phone{width:64vw;height:calc(64vw * 2.07)}
 .ops-hero{padding:22px;gap:22px}
 .ops-text h4{font-size:21px}
  footer .inner{flex-direction:column;align-items:flex-start}
}
/* 접근성: 키보드 초점 */
a:focus-visible,.wfc:focus-visible,summary:focus-visible{outline:2px solid var(--cyanS);outline-offset:3px;border-radius:6px}
/* 브라우저 틀 주소 — 좁은 폭에서 두 줄로 꺾이지 않게 */
.browser .bar span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:72%}
/* 예전 인라인 style 자리 (2026-11-22) — 보안 헤더의 CSP 가 인라인 style 을 막는다(firebase.json www).
   인라인처럼 기존 규칙을 이기도록 선택자를 더 구체적으로 둔다. 폰의 .phones.pair 가운데 정렬(!important)은 예전에도 이겼다. */
.mb28{margin-bottom:28px}
.mt36{margin-top:36px}
.center{text-align:center}
.final-title{margin:0 auto 18px}
.phones.pair.end{margin:0;justify-content:flex-end}
.game-slides .gs.fit{object-fit:contain;object-position:center}
.game-slides .gs.bg-mahjong{background:#7A4A24}
.game-slides .gs.bg-defense{background:#080C22}
