/* ============================================================
   🏠 첫 화면 (손님) — A안 「벤토 그리드」
   ------------------------------------------------------------
   index.php 의 로그인 전 화면에만 붙습니다 (page_style('assets/landing.css')).
   모든 이름이 lp- 로 시작해 다른 화면과 섞이지 않습니다.
   색: 학원 남색 #0B3D8E · 노랑 #FFC53D · 바탕 #F3F5F9
   ============================================================ */
body.lp-page{ background:#F3F5F9; }
body.lp-page main{ display:block; }
body.lp-page .site-foot{ margin-top:0; background:#F3F5F9; }

.lp{ --lp-navy:#0B3D8E; --lp-navy-dk:#082D68; --lp-yel:#FFC53D; --lp-ink:#141C2B; --lp-soft:#4A5568; --lp-faint:#5F6B80; --lp-line:#E2E7EF;
  color:var(--lp-ink); font-family:var(--font-body); }
.lp *{ box-sizing:border-box; }
.lp a{ text-decoration:none; }
.lp-wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.lp-en{ font-family:'Segoe UI', 'Helvetica Neue', Arial, var(--font-body); letter-spacing:-.02em; }

/* ---------- 위쪽 막대 ---------- */
.lp-top{ position:sticky; top:0; z-index:20; background:rgba(243,245,249,.86); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); border-bottom:1px solid var(--lp-line); }
.lp-top .lp-wrap{ display:flex; align-items:center; gap:28px; padding-top:12px; padding-bottom:12px; }
.lp-logo{ display:flex; align-items:center; gap:10px; color:var(--lp-navy) !important; }
.lp-logo svg{ width:32px; height:32px; flex:none; }
.lp-logo b{ font-weight:800; font-size:20px; letter-spacing:.03em; }
.lp-links{ display:flex; gap:22px; font-size:14.5px; font-weight:500; }
.lp-links a{ color:#3A4558; }
.lp-links a:hover{ color:var(--lp-navy); }
.lp-top-cta{ margin-left:auto; display:flex; gap:8px; }
.lp-btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:10px 20px;
  border-radius:999px; font-weight:700; font-size:14.5px; border:1px solid transparent; transition:transform .15s, box-shadow .15s, background .15s; }
.lp-btn:hover{ transform:translateY(-1px); }
.lp-btn-ghost{ color:var(--lp-navy) !important; }
.lp-btn-ghost:hover{ background:#E6ECF6; }
.lp-btn-solid{ color:#fff !important; background:var(--lp-navy); }
.lp-btn-solid:hover{ background:var(--lp-navy-dk); }
.lp-btn-lg{ padding:16px 28px; border-radius:16px; font-size:16.5px; }
.lp-btn-lg.lp-btn-solid{ box-shadow:0 10px 24px rgba(11,61,142,.25); }
.lp-btn-white{ color:var(--lp-navy) !important; background:#fff; border-color:#D5DDEA; }
.lp-btn-yel{ color:#3D2B00 !important; background:var(--lp-yel); font-weight:800; }
.lp-btn-line{ color:#fff !important; background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.32); }
.lp-btn svg{ width:18px; height:18px; }

/* ---------- 첫 화면 ---------- */
.lp-hero{ padding:72px 0 40px; }
.lp-hero-grid{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:48px; align-items:center; }
.lp-hero-copy{ display:flex; flex-direction:column; gap:22px; }
.lp-kicker{ align-self:flex-start; display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px; background:#fff;
  border:1px solid #DCE3EE; font-weight:700; font-size:12.5px; letter-spacing:.1em; color:var(--lp-navy); }
.lp-kicker i{ width:8px; height:8px; border-radius:50%; background:var(--lp-yel); }
.lp-h1{ margin:0; font-size:clamp(40px, 6vw, 64px); line-height:1.14; font-weight:700; letter-spacing:-.045em; }
.lp-h1 em{ font-style:normal; color:var(--lp-navy); }
.lp-lead{ margin:0; font-size:18px; line-height:1.75; color:var(--lp-soft); max-width:520px; }
.lp-lead b{ color:var(--lp-ink); }
.lp-cta{ display:flex; gap:10px; flex-wrap:wrap; }
.lp-note{ margin:0; font-size:13.5px; color:var(--lp-faint); }

/* 오른쪽 — 학습 화면 미리보기 (예시 그림) */
.lp-show{ position:relative; height:440px; }
.lp-show-bg{ position:absolute; inset:0 0 0 40px; border-radius:32px; background:var(--lp-navy); }
.lp-show-bg::after{ content:''; position:absolute; inset:0; border-radius:inherit;
  background:radial-gradient(circle at 85% 15%, rgba(255,197,61,.28), transparent 45%); }
.lp-word{ position:absolute; top:36px; left:0; right:56px; background:#fff; border-radius:24px; padding:24px; box-shadow:0 24px 48px rgba(8,45,104,.22);
  display:flex; flex-direction:column; gap:16px; }
.lp-word-top{ display:flex; align-items:center; justify-content:space-between; font-size:13px; font-weight:700; color:var(--lp-faint); }
.lp-word-top span:last-child{ font-size:12px; color:var(--lp-navy); background:#E9F0FB; padding:4px 10px; border-radius:999px; }
.lp-word-en{ display:flex; align-items:center; gap:14px; }
.lp-word-en b{ font-size:44px; font-weight:700; letter-spacing:-.03em; }
.lp-word-en span{ width:44px; height:44px; border-radius:50%; background:#FFF4D6; display:grid; place-items:center; color:#8A5A00; }
.lp-word-en svg{ width:20px; height:20px; }
.lp-word-hide{ height:46px; border-radius:12px; background:repeating-linear-gradient(-45deg, #EEF2F8 0 8px, #F6F8FC 8px 16px);
  display:grid; place-items:center; font-size:13.5px; color:var(--lp-faint); font-weight:500; }
.lp-word-btns{ display:flex; gap:8px; }
.lp-word-btns span{ flex:1; text-align:center; padding:11px; border-radius:12px; background:#F1F4F9; font-weight:700; font-size:14px; color:var(--lp-soft); }
.lp-word-btns span + span{ background:var(--lp-navy); color:#fff; }
.lp-graph{ position:absolute; bottom:24px; right:0; width:230px; background:#fff; border-radius:20px; padding:18px; box-shadow:0 18px 36px rgba(8,45,104,.2);
  display:flex; flex-direction:column; gap:10px; font-size:12.5px; font-weight:700; color:var(--lp-faint); }
.lp-bars{ display:flex; align-items:flex-end; gap:7px; height:70px; }
.lp-bars i{ flex:1; border-radius:6px; background:#D5E1F5; }
.lp-bars i:nth-child(4){ background:#8FB0E6; } .lp-bars i:nth-child(5){ background:var(--lp-navy); }
.lp-graph small{ font-size:11.5px; font-weight:500; }
.lp-sticker{ position:absolute; top:0; right:14px; padding:9px 14px; border-radius:14px; background:var(--lp-yel); color:#3D2B00; font-weight:800; font-size:13.5px;
  box-shadow:0 10px 20px rgba(0,0,0,.12); transform:rotate(2deg); }

/* 세계 시계 */
.lp-clocks{ margin-top:56px; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.lp-clock{ display:flex; align-items:center; gap:10px; padding:8px 16px 8px 8px; border-radius:999px; background:#fff; border:1px solid var(--lp-line); }
.lp-clock svg{ width:32px; height:32px; flex:none; }
.lp-clock .face{ fill:#F3F5F9; stroke:var(--lp-navy); stroke-width:6; }
.lp-clock .hh{ stroke:var(--lp-ink); stroke-width:8; stroke-linecap:round; }
.lp-clock .mh{ stroke:var(--lp-navy); stroke-width:5; stroke-linecap:round; }
.lp-clock .pin{ fill:var(--lp-yel); }
.lp-clock b{ font-size:13.5px; }
.lp-clock time{ font-size:14px; color:var(--lp-faint); font-variant-numeric:tabular-nums; }

/* ---------- 벤토 ---------- */
.lp-sec{ padding:48px 0; }
.lp-sec-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:26px; }
.lp-h2{ margin:0; font-size:clamp(28px, 3.6vw, 38px); font-weight:700; letter-spacing:-.04em; line-height:1.28; }
.lp-sec-head p{ margin:0; font-size:15.5px; color:var(--lp-soft); max-width:380px; line-height:1.7; }
.lp-bento{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); grid-auto-rows:minmax(200px, auto); gap:16px; }
.lp-tile{ border-radius:28px; padding:26px; display:flex; flex-direction:column; justify-content:space-between; gap:14px; background:#fff; border:1px solid var(--lp-line);
  position:relative; overflow:hidden; color:var(--lp-ink) !important; transition:transform .18s, box-shadow .18s; }
a.lp-tile:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(20,28,43,.08); }
.lp-tile h3{ margin:0 0 6px; font-size:19px; font-weight:700; letter-spacing:-.02em; }
.lp-tile p{ margin:0; font-size:13.5px; line-height:1.65; color:var(--lp-soft); }
.lp-tile .tag{ font-size:13px; font-weight:700; color:var(--lp-navy); }
.lp-tile svg.ic{ width:34px; height:34px; }
.lp-w2{ grid-column:span 2; } .lp-w4{ grid-column:1 / -1; } .lp-h2r{ grid-row:span 2; }
.lp-row{ flex-direction:row; align-items:center; gap:22px; }
.lp-row > div:first-child{ flex:1; display:flex; flex-direction:column; gap:8px; }
.lp-row h3{ font-size:22px; margin:0; }

.lp-t-words{ background:var(--lp-navy); border:0; color:#fff !important; padding:34px; }
.lp-t-words .tag{ color:var(--lp-yel); letter-spacing:.06em; }
.lp-t-words h3{ font-size:30px; line-height:1.3; margin:12px 0 10px; color:#fff; }
.lp-t-words p{ font-size:15px; color:#C9D7F0; max-width:360px; }
.lp-big{ display:flex; align-items:baseline; gap:10px; position:relative; z-index:1; }
.lp-big b{ font-size:clamp(56px, 7vw, 84px); line-height:1; font-weight:700; letter-spacing:-.04em; }
.lp-big span{ font-size:15px; color:#C9D7F0; font-weight:500; }
.lp-floats{ position:absolute; right:-36px; top:64px; display:flex; flex-direction:column; gap:10px; transform:rotate(-8deg); pointer-events:none; }
.lp-floats span{ padding:10px 18px; border-radius:14px; background:rgba(255,255,255,.1); font-size:20px; font-weight:700; }
.lp-floats span:nth-child(2){ background:rgba(255,255,255,.16); margin-left:30px; }
.lp-floats span:nth-child(3){ background:var(--lp-yel); color:#3D2B00; }

.lp-minibars{ width:150px; height:120px; display:flex; align-items:flex-end; gap:8px; flex:none; }
.lp-minibars i{ flex:1; border-radius:8px; background:#E3EAF6; }
.lp-minibars i:nth-child(3){ background:#C3D3EE; } .lp-minibars i:nth-child(4){ background:#7FA3E0; } .lp-minibars i:nth-child(5){ background:var(--lp-navy); }

.lp-t-wrong{ background:#FFE9B0; border:0; }
.lp-t-wrong h3{ color:#3D2B00; } .lp-t-wrong p{ color:#5C4410; }
.lp-t-phon{ background:#E8F3EC; border:0; }
.lp-t-phon .tag{ color:#1E6B43; } .lp-t-phon h3{ color:#12301F; } .lp-t-phon p{ color:#2F5A42; }
.lp-abc{ display:grid; grid-template-columns:repeat(2, 64px); gap:8px; flex:none; }
.lp-abc span{ height:64px; border-radius:18px; background:#fff; display:grid; place-items:center; font-size:22px; font-weight:700; color:#1E6B43; }
.lp-abc span:nth-child(1){ font-size:28px; }
.lp-abc span:nth-child(2){ background:#FFF1E6; color:#B4541A; }
.lp-abc span:nth-child(3){ background:#EAF6FF; color:#1F6FD1; }
.lp-abc span:nth-child(4){ background:#1E6B43; color:#fff; }
.lp-abc svg{ width:22px; height:22px; }
.lp-num{ font-size:44px; font-weight:700; color:var(--lp-navy); line-height:1; letter-spacing:-.03em; }
.lp-num small{ font-size:18px; color:var(--lp-faint); font-weight:500; margin-left:3px; }
.lp-t-diary{ background:var(--lp-ink); border:0; color:#fff !important; }
.lp-t-diary .tag{ color:var(--lp-yel); }
.lp-t-diary q{ quotes:none; font-size:23px; line-height:1.5; font-weight:500; letter-spacing:-.01em; }
.lp-t-diary s{ color:#8E99AD; } .lp-t-diary ins{ color:var(--lp-yel); text-decoration:none; }
.lp-t-diary p{ color:#B8C2D3; font-size:14px; }
.lp-t-diary{ min-height:0; padding-top:30px; padding-bottom:30px; }
@media (min-width:961px){ .lp-t-diary{ display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,.8fr); align-items:center; gap:28px; } }

/* ---------- 세 걸음 ---------- */
.lp-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.lp-steps li{ background:#fff; border-radius:22px; padding:24px; border:1px solid var(--lp-line); display:flex; gap:16px; align-items:flex-start; }
.lp-steps li > span{ flex:none; width:40px; height:40px; border-radius:12px; background:var(--lp-navy); color:#fff; display:grid; place-items:center; font-weight:700; }
.lp-steps li:last-child > span{ background:var(--lp-yel); color:#3D2B00; }
.lp-steps b{ font-size:17px; }
.lp-steps p{ margin:6px 0 0; font-size:14px; color:var(--lp-soft); line-height:1.6; }

/* ---------- 마무리 ---------- */
.lp-end{ padding:8px 0 64px; }
.lp-end-box{ border-radius:32px; background:var(--lp-navy); color:#fff; padding:56px 40px; display:flex; flex-direction:column; align-items:center; gap:22px; text-align:center;
  position:relative; overflow:hidden; }
.lp-end-box::before{ content:''; position:absolute; width:420px; height:420px; border-radius:50%; right:-140px; top:-200px; background:rgba(255,197,61,.14); }
.lp-end-box blockquote{ margin:0; font-size:clamp(22px, 3vw, 30px); font-weight:700; line-height:1.5; letter-spacing:-.03em; position:relative; }
.lp-end-box blockquote em{ font-style:normal; color:var(--lp-yel); }
.lp-end-box .lp-cta{ justify-content:center; position:relative; }
.lp-end-box small{ color:#C9D7F0; font-size:13px; position:relative; line-height:1.8; }

/* ---------- 좁은 화면 ---------- */
@media (max-width:960px){
  .lp-hero-grid{ grid-template-columns:minmax(0,1fr); }
  .lp-show{ max-width:520px; width:100%; margin:0 auto; }
  .lp-bento{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .lp-steps{ grid-template-columns:minmax(0,1fr); }
}
@media (max-width:640px){
  .lp-links{ display:none; }
  .lp-top .lp-wrap{ gap:12px; }
  .lp-hero{ padding-top:40px; }
  .lp-show{ height:400px; }
  .lp-bento{ grid-template-columns:minmax(0,1fr); grid-auto-rows:auto; }
  .lp-tile{ padding:24px; }
  .lp-tile svg.ic, .lp-num{ margin-bottom:6px; }
  .lp-w2, .lp-h2r{ grid-column:auto; grid-row:auto; }
  .lp-row{ flex-direction:column; align-items:flex-start; }
  .lp-t-words{ min-height:360px; }
  .lp-floats{ display:none; }
  .lp-end-box{ padding:40px 22px; }
  .lp-btn-lg{ padding:15px 22px; }
}
@media (prefers-reduced-motion:reduce){ .lp-btn, .lp-tile{ transition:none; } }
