/* ══ 신간·개정 교재 검토단 이벤트 — 모바일 ═══════════════════════════════════
 * 원본: 디자이너 전달 시안 `mo_grammar-inside.html` 의 <style> 블록(104~733행) **그대로.**
 *   재타이핑하지 않고 범위를 통째로 복사한다 — PC 시트(`2026-0918.css`)와 같은 원칙이다.
 *   원본에서 바꾼 것: hero 배경(.hero::before, 65행) URL 1건뿐.
 *   (검수용 웹폰트 <style> 블록(원본 80~101행)은 가져오지 않았다 — 원본 주석이
 *    "실서비스 반영 시 이 <style> 전체를 삭제할 것" 으로 지정한 블록이다. PC 와 동일 처리.)
 * 2026-09-15 시정(task-20260915-101): 원본 시안 URL `images/hero-bg-mo.png` 은 레포에
 *   실린 적이 없어 운영에서 404(IT-8144 잔여). PC 시트(`2026-0918.css`:50)가 이미 CDN
 *   절대경로(`https://pic.neungyule.com/netutor/event/2026/0918/hero-bg.png`)를 쓰므로
 *   같은 패턴으로 맞췄다 — 실사용 자산은 CDN 에 이미 업로드돼 있다(PC 자산과 동일 시각 업로드,
 *   sha256 이 기획 전달 원본 파일과 동일함을 대조 완료).
 *
 * ⭐ **미디어쿼리로 감싸지 않는다.** PC/모바일을 한 페이지에 합치지 않고
 *   `/event/2026/0918/pc/index` · `/event/2026/0918/m/index` **두 라우트로 나눴기 때문**이다.
 *   이 시트는 모바일 라우트에서만 로드되므로 조건이 필요 없다.
 *
 * ── 왜 반응형을 접었나 (2026-09-15 사용자 결정) ─────────────────────────────
 * 시안이 두 벌이고 **둘 다 반응형이 아니다** — PC 는 `viewport width=1920` 고정,
 * 모바일은 device-width. 한 벌로 합치려면 DOM 을 두 시안의 합집합으로 만들어야 하는데,
 * 실제로 해 보니 대가가 컸다:
 *   · 캐스케이드는 **선언이 있어야** 이긴다 → PC 가 선언하고 MO 가 안 건드린 속성이
 *     모바일까지 살아남는다. 양쪽 다 선언한 셀렉터 199개 중 **49개**가 그랬다
 *   · 특이도가 높은 데스크톱 규칙은 모바일 시트가 **덮을 수 없어** 범위를 따로 가둬야 했다
 *   · 순서가 갈리는 블록(`.process-step`)은 `order` 로 뒤집어야 했고,
 *     그러면 DOM 순서와 시각 순서가 어긋난다
 *   · 콘텐츠가 다른 곳(DECODE 머리·플로팅 버튼)은 두 벌을 다 넣고 숨겨야 했다
 * 시안 대조 불일치가 모바일 384건에서 더 줄지 않았고, 시트에 우리가 쓴 보정이
 * 계속 쌓였다. **시안이 두 벌이면 결과물도 두 벌인 게 정직하다.**
 * 되돌린 이력은 커밋 `a0f7b5a` 이전을 볼 것.
 *
 * ⭐ 2026-09-16 퍼블리싱 재전달본(v4~v6)으로 **전체 재생성**했다.
 *   출처: `request/260918_신간개정교재채험단이벤트/mo_grammar-inside.html` 의 두 번째 <style> 블록.
 *   첫 블록(검수용 웹폰트)은 원본이 "실서비스 반영 시 삭제" 로 지정한 것이라 가져오지 않았다.
 */

  /* ---------- reset & base ---------- */
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { width: 100%; }
  body {
    font-family: 'Paperlogy', 'Pretendard', -apple-system, sans-serif;
    color: #1d1717;
    background: #fff;
    -webkit-text-size-adjust: 100%;
  }
  ul, ol { list-style: none; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; border: none; background: none; cursor: pointer; }
  img { display: block; max-width: 100%; }
  /* .chip 등에 display 를 직접 지정하면 HTML hidden 속성(브라우저 기본 display:none)이
     덮어써지므로, hidden 이 항상 이기도록 못박는다 */
  [hidden] { display: none !important; }

  /* 디자인 기준 폭은 390px 이지만 폭을 고정하지 않는다.
     실 서비스(m.netutor.co.kr)가 body{min-width:100%} 로 상한 없이 유동이므로
     동일하게 100% 로 두고, 폭에 따라 늘어나는 요소는 % 로 잡는다. */
  .page {
    width: 100%;
    position: relative; overflow: hidden;
    background: #fff;
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    height: 630px;
    display: flex;
    flex-direction: column;
    background: #180804;
    overflow: hidden;
    color: #fff;
    padding: 40px 20px 0;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://pic.neungyule.com/netutor/event/2026/0918/hero-bg-mo.png') center bottom / cover no-repeat;
    z-index: 0;
  }
  /* 배경 연출 : 무대 조명이 천천히 숨 쉬듯 밝아졌다 어두워짐 (PC판과 동일) */
  .hero__spotlight {
    position: absolute; left: 50%; top: 40%;
    width: 420px; height: 460px;
    pointer-events: none; z-index: 0;
    mix-blend-mode: screen;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,214,196,.34) 0%, rgba(232,56,40,.19) 34%, rgba(232,56,40,0) 70%);
    transform: translate(-50%, -50%);
    animation: heroSpotlightBreathe 3.6s ease-in-out -1.8s infinite;
  }
  @keyframes heroSpotlightBreathe {
    0%, 100% { opacity: .3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  }
  /* 진입 시 한 번만 : 조명이 확 켜졌다가 평소 밝기로 잦아듦 */
  .hero__spotlight::before {
    content: ''; position: absolute; inset: -8%;
    background: radial-gradient(ellipse at 50% 50%, rgba(255,226,212,.5) 0%, rgba(232,56,40,.28) 34%, rgba(232,56,40,0) 70%);
    animation: heroSpotlightIntro 2.2s ease-out forwards;
  }
  @keyframes heroSpotlightIntro {
    0% { opacity: 0; transform: scale(.9); }
    22% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 0; transform: scale(1); }
  }

  .hero__gnb { position: relative; z-index: 1; flex: none; }
  .hero__logo img { width: 77px; height: 16px; }

  .hero__center { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; }

  /* 시안 좌표(로고 하단 56 → 타이틀 113 / 타이틀 블록 하단 375 → 교재선택 479)에서 산출한 간격 */
  .hero__tit { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 57px; }
  .hero__tit-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }

  .hero__badges {
    display: flex; align-items: center; gap: 9px;
    padding: 6px 25px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 5px;
    opacity: 0; animation: heroFadeInUp .7s ease-out .1s forwards;
  }
  .hero__badges span { font-size: 11px; font-weight: 600; line-height: 11.3px; }
  .hero__badges .divider { width: 1px; height: 8px; background: rgba(255,255,255,.5); }

  .hero__title {
    font-size: 46px; font-weight: 800; line-height: 56px; text-align: center;
    opacity: 0; animation: heroFadeInUp .7s ease-out .15s forwards;
  }
  .hero__subtitle {
    font-size: 12px; font-weight: 500; line-height: 20px; text-align: center; color: #fcc0c0;
    opacity: 0; animation: heroFadeInUpDim .7s ease-out .45s forwards;
  }

  .hero__select { display: flex; flex-direction: column; align-items: center; margin-top: 104px; opacity: 0; animation: heroFadeInUp .7s ease-out .65s forwards; }
  /* 말풍선(본체 + 꼬리)은 한 덩어리로 움직여야 하므로 래퍼에 애니메이션을 건다 */
  .hero__notice { display: flex; flex-direction: column; align-items: center; margin-bottom: 7px; animation: noticeFloat 2.4s ease-in-out 1.4s infinite; }
  .hero-notice-pill {
    background: #e83828; color: #fff;
    font-size: 11px; font-weight: 600; line-height: 13.4px;
    padding: 7px 22px; border-radius: 999px;
    margin-bottom: -4px; position: relative; z-index: 1;
  }
  .hero__select-arrow { width: 12px; height: 10px; transform: scaleY(-1); }
  .hero-scroll-guide { font-size: 28px; font-weight: 700; }

  @keyframes heroFadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  @keyframes heroFadeInUpDim {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: .6; transform: translateY(0); }
  }
  @keyframes noticeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  /* ---------- 하단 고정 신청하기 바 ---------- */
  .floating-apply-btn {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    width: 100%;
    padding: 20px 0;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    background: #e83828; color: #fff;
    font-size: 28px; font-weight: 800; line-height: normal; text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    transition: transform .3s ease-out, opacity .3s ease-out, filter .2s ease-out;
  }
  .floating-apply-btn:active { filter: brightness(.92); }
  /* 본문 안 신청하기 버튼이 화면에 보이는 동안에는 하단 고정 바를 숨긴다(중복 노출 방지) */
  .floating-apply-btn.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
  /* 고정 바에 콘텐츠가 가리지 않도록 페이지 하단 여백 확보 */
  .page { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

  /* ---------- 스크롤 진입 시 페이드인 + 위로 슬라이드 (PC판과 동일) ---------- */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s ease-out; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }


  /* ---------- 검토단 신청 레이어 ---------- */
  /* 폼 영역은 NE Books 스타일 가이드에 따라 Pretendard 를 쓴다 */
  .apply-modal-backdrop {
    display: none;
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(13,13,13,.45);
    align-items: flex-end; justify-content: center;
  }
  .apply-modal-backdrop.is-open { display: flex; }
  /* 모바일은 화면 아래에서 올라오는 시트. 타이틀 고정 + 본문만 스크롤 (NE Books §10) */
  .apply-modal {
    position: relative;
    width: 100%; max-height: 92vh;
    background: #fff; border: 1px solid #eee;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    display: flex; flex-direction: column;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  }
  .apply-modal__header {
    flex: none; display: flex; align-items: flex-start; justify-content: space-between;
    padding: 41px 21px 20px; background: #fff;
  }
  .apply-modal__heading { display: flex; flex-direction: column; gap: 4px; }
  .apply-modal__heading strong { font-family: 'Paperlogy', 'Pretendard', sans-serif; font-size: 28px; font-weight: 800; color: #1d1717; }
  .apply-modal__heading span { font-size: 14px; font-weight: 500; color: #666; }
  .apply-modal__close { flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
  .apply-modal__close img { width: 26px; height: 26px; }
  /* min-height:0 이 없으면 flex 아이템이 내용 높이만큼 늘어나 스크롤이 생기지 않는다 */
  .apply-modal__scroll {
    flex: 1; min-height: 0; overflow-y: auto;
    padding: 0 21px 41px;
    display: flex; flex-direction: column; gap: 40px;
  }

  .modal-section { display: flex; flex-direction: column; gap: 30px; }
  .modal-section__label {
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    font-size: 18px; font-weight: 700; color: #e83828;
    padding-bottom: 10px; border-bottom: 1px solid rgba(102,102,102,.4);
  }
  .field-group { display: flex; flex-direction: column; gap: 10px; }
  .field-group--tight { gap: 6px; }
  .field-group__label { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: #000; }
  .field-group__label .required { color: #e83828; }

  /* 입력 필드 (NE Books §5 폼 필드 state) */
  .text-input, .textarea {
    width: 100%; padding: 16px;
    border: 1px solid #e5e5e5; border-radius: 10px;
    background: #fff; font-size: 14px; line-height: 22px; color: #1d1717;
  }
  .text-input::placeholder, .textarea::placeholder { color: #a9a9a9; }
  .text-input:focus, .textarea:focus { outline: none; border-color: #1d1717; }
  .text-input.is-readonly, .text-input:disabled { background: #f1f1f1; color: #a9a9a9; }
  .textarea { height: 155px; resize: none; }

  /* 값이 있거나 포커스일 때만 지우기 아이콘 노출 */
  .input-with-icon { position: relative; }
  .input-with-icon .text-input { padding-right: 42px; }
  .input-with-icon img {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; pointer-events: none; opacity: 0;
  }
  .input-with-icon .text-input:focus ~ img,
  .input-with-icon .text-input:not(:placeholder-shown) ~ img { opacity: 1; }

  /* flex 로는 select 의 최소 내용 폭에 밀려 3등분이 안 된다.
     minmax(0,1fr) 그리드로 세 칸을 정확히 균등하게 나눈다 */
  .phone-row {
    display: grid; align-items: center; gap: 4px;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  }
  .phone-row .phone-sep { font-size: 14px; color: #000; }
  .phone-select {
    flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between;
    padding: 16px; border: 1px solid #e5e5e5; border-radius: 10px;
    background: #fff; font-size: 14px; line-height: 22px; color: #1d1717;
  }
  .phone-select img { width: 14px; height: 14px; transform: rotate(180deg); }
  /* 박스 테두리는 .phone-select 가 그리므로 select 자체는 투명하게 얹는다 */
  /* flex 아이템 기본값 min-width:auto 라 select 의 최소 내용 폭만큼 박스가 벌어진다.
     0 으로 눌러야 세 칸이 정확히 균등 분할된다 */
  .phone-select__field { width: 100%; min-width: 0; border: none; background: transparent; appearance: none; -webkit-appearance: none; font: inherit; color: inherit; }
  /* 세 칸이 좁아 기본 좌우 여백(16/42)이면 번호가 잘린다 */
  .phone-row .text-input { padding-left: 12px; padding-right: 34px; }
  .phone-row .input-with-icon img { right: 12px; }
  .input-with-icon--grow { flex: 1; min-width: 0; }

  .member-row { display: flex; gap: 10px; }
  .member-row > * { flex: 1; min-width: 0; }

  .address-search-row { display: flex; align-items: flex-end; gap: 8px; }
  .address-search-row .field-group { flex: 1; min-width: 0; }
  .address-search-btn {
    flex-shrink: 0; width: 120px; padding: 16px;
    border: 1px solid #4d4e4d; border-radius: 8px; background: #fff;
    font-size: 14px; font-weight: 500; line-height: 22px; color: #1d1717;
  }
  .address-fields { display: flex; flex-direction: column; gap: 8px; }
  .address-notice { display: flex; gap: 5px; }
  .address-notice__mark {
    flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
    border-radius: 999px; background: #e83828; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; line-height: 1;
  }
  .address-notice__text p { font-size: 11px; line-height: 16px; color: #e83828; }

  /* 선택 칩 */
  .chip-grid { display: grid; gap: 8px; }
  .chip-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .chip-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .chip-row { display: flex; gap: 8px; }
  .chip-row .chip { flex: 1; min-width: 0; }
  .chip {
    display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 10px; border: 1px solid #e5e5e5; border-radius: 9999px;
    background: #fff; font-size: 14px; line-height: 22px; color: #666;
  }
  .chip img { width: 18px; height: 18px; flex-shrink: 0; }
  /* 미선택 상태로 제출 시도했을 때 강조 (README v5 §4-4) */
  .chip-row.is-invalid { outline: 1px solid #e83828; outline-offset: 8px; border-radius: 8px; }
  .chip.is-active { background: #e83828; border-color: #e83828; color: #fff; font-weight: 700; }

  .consent-row { display: flex; align-items: center; gap: 4px; }
  .consent-checkbox {
    flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; border: 1px solid #e5e5e5;
    display: flex; align-items: center; justify-content: center;
  }
  .consent-checkbox.is-checked { background: #e83828; border-color: #e83828; }
  .consent-checkbox img { width: 11px; }
  .consent-row .consent-text { font-size: 14px; font-weight: 600; line-height: 20px; color: #000; }
  /* 세로 flex 안에서 button 이 전체 폭으로 늘어나면 글자가 가운데로 가므로
     내용 폭만 차지하게 하고, 체크박스(18) + gap(4) 만큼 들여쓴다 (시안 pl-24) */
  .consent-detail-toggle { align-self: flex-start; margin-left: 24px; font-size: 14px; color: #e83828; text-decoration: underline; }
  .consent-detail-text {
    padding: 16px; background: #f9f9f9; border-radius: 10px;
    font-size: 12px; color: #666; line-height: 1.7; white-space: pre-line;
  }
  .modal-section--consent { display: flex; flex-direction: column; gap: 10px; }

  .apply-submit-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 16px; border-radius: 8px;
    background: #e83828; color: #fff;
    font-family: 'Paperlogy', 'Pretendard', sans-serif;
    font-size: 18px; font-weight: 700; letter-spacing: -0.14px;
  }

  /* ---------- tabs ---------- */
  /* 활성/비활성은 브랜드가 아니라 상태 class(.is-active)가 결정한다 (PC판과 동일 원칙) */
  .brand-tabs { display: flex; align-items: center; }
  .tab {
    flex: 1; min-width: 0; padding: 20px 0;
    text-align: center; font-size: 18px; font-weight: 800; line-height: normal;
    background: #180804; color: #555;
  }
  .tab.is-active { background: #fff; color: #e83828; }
  .tab-decode { position: relative; } /* 10/26 오픈 예정 뱃지의 기준점 */
  .tab-decode__badge {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    background: #180804; border: 1px solid #e83828; color: #e83828;
    font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 999px; white-space: nowrap;
  }

  /* ---------- DECODE 패널 ----------
     GI 는 흰색 → 회색(진행방법) → 흰색, DECODE 는 그 반대로 반전된다 (PC판과 동일) */
  .trust-bar.trust-bar--filled { background: #f0f0f0; padding: 60px 0; margin-top: 60px; }
  .trust-bar.trust-bar--filled .trust-bar__item { border-color: rgba(102,102,102,.4); }
  /* DECODE 는 위 신뢰 자산 바가 회색이라 흰 여백 없이 맞붙는다.
     기본 규칙이 이 블록보다 뒤에 정의돼 있어 명시도를 한 단계 올린다 */
  .process-section.process-section--plain { background: #fff; margin-top: 0; }
  .review-section.review-section--filled { background: #f0f0f0; padding: 60px 20px; }
  .review-section.review-section--filled .review-item { border-color: rgba(102,102,102,.4); }
  /* DECODE 는 마지막 후기 섹션이 회색이라, 패널 하단 흰 여백을 없애
     검은 유의사항 섹션이 회색 박스에 바로 맞붙게 한다.
     (GI 는 후기 섹션이 흰색이라 기본 60px 여백을 그대로 쓴다)
     기본 .panel 규칙이 이 블록보다 뒤에 있어 명시도를 한 단계 올린다 */
  .panel.panel--decode { padding-bottom: 0; }

  /* ---------- 특장점 섹션 헤드 ---------- */
  .panel { padding: 60px 0; }
  .feature-section-head { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
  .feature-section-head__eyebrow { font-size: 14px; font-weight: 400; line-height: 22px; color: #e83828; text-decoration: underline; }
  .feature-section-head__title { font-size: 32px; font-weight: 800; line-height: normal; color: #e83828; }
  .feature-section-head__desc { font-size: 14px; font-weight: 400; line-height: 22px; color: #000; }

  /* ---------- 표지 이미지 그룹 ---------- */
  /* 시안(390 기준) : 표지 1장 198.8×192.8, 서로 -130px 겹침 → 4장 합계 405px 로
     화면보다 살짝 넓어 양옆이 잘리는 구도. .page 의 overflow:hidden 이 이를 처리한다.
     화면 폭이 달라져도 이 구도가 유지되도록 px 이 아니라 % 로 잡는다
     (198.825/390 = 50.98%, 130/390 = 33.33%). % 마진은 컨테이너 '가로폭' 기준이라
     세로 비율은 aspect-ratio 로 따로 고정한다. */
  .book-cover-list { display: flex; align-items: center; justify-content: center; margin-top: 20px; }
  .book-cover-list li {
    position: relative;
    width: 50.98%; aspect-ratio: 999 / 967;
    flex-shrink: 0; margin-right: -33.33%;
  }
  .book-cover-list li:last-child { margin-right: 0; }
  /* DECODE 는 2권이라 겹침이 얕다 (시안 -80px = 390 기준 20.51%) */
  .book-cover-list--pair li { margin-right: -20.51%; }
  .book-cover-list img { width: 100%; height: 100%; object-fit: cover; }
  /* 라벨은 아이템 중심에서 +5px (시안 값).
     모바일은 표지가 -130px 로 크게 겹쳐 실제로 보이는 면이 PC 와 달라지므로,
     PC 의 +26px(앞표지 면 기준)을 그대로 환산하지 않고 시안 값을 따른다 */
  .book-cover-list .label {
    position: absolute; left: 50%; top: calc(100% - 8px);
    transform: translateX(calc(-50% + 5px));
    font-size: 9px; font-weight: 400; line-height: 11.3px; color: #666; white-space: nowrap;
  }

  /* ---------- 특장점 카드 ---------- */
  .feature-card-list { display: flex; flex-direction: column; gap: 60px; margin-top: 60px; }
  .feature-card { display: flex; flex-direction: column; gap: 20px; padding: 0 20px; }
  /* 번호와 제목은 한 덩어리(간격 0), 제목과 설명 사이만 10px */
  .feature-card__body { display: flex; flex-direction: column; gap: 10px; }
  .feature-card__head { display: flex; flex-direction: column; }
  .feature-card__num { font-size: 50px; font-weight: 700; line-height: normal; color: #000; }
  .feature-card__title { font-size: 24px; font-weight: 700; line-height: 46px; color: #000; }
  /* 제목이 두 줄인 카드는 줄간격을 좁힌다 (시안 34px) */
  .feature-card__title.is-tight { line-height: 34px; }
  .feature-card__desc { font-size: 14px; font-weight: 400; line-height: 24px; color: #666; }
  .feature-card__desc strong { color: #1d1717; font-weight: 700; }
  .feature-card__note { margin-top: 10px; font-size: 11px; color: #e83828; line-height: 1.6; }
  .feature-card__labels { display: flex; gap: 10px; margin-top: 10px; }
  .feature-card__label { padding: 5px 14px; border: 1px solid #e83828; border-radius: 4px; font-size: 12px; color: #e83828; }

  /* 지면 낱장 : 위치·크기는 PC판과 동일한 비율이라 % 로 잡으면 폭이 달라져도 구도가 유지된다 */
  .feature-card__visual { position: relative; width: 100%; aspect-ratio: 730 / 492; }
  .feature-card__visual .sheet {
    position: absolute; width: 42.47%; height: 85.16%;
    border: 1px solid #d0d0d0; box-shadow: 2px 0 5px rgba(0,0,0,.15); overflow: hidden;
  }
  .feature-card__visual .sheet img { width: 100%; height: 100%; object-fit: cover; }
  /* 왼쪽 묶음(l) / 오른쪽 묶음(r), 번호가 클수록 앞에 겹침 */
  .feature-card__visual .sheet--l1 { left: 5.75%; top: 2.03%; z-index: 1; }
  .feature-card__visual .sheet--l2 { left: 4.11%; top: 7.32%; z-index: 2; }
  .feature-card__visual .sheet--l3 { left: 1.37%; top: 13.01%; z-index: 3; }
  .feature-card__visual .sheet--r1 { left: 56.16%; top: 2.03%; z-index: 1; }
  .feature-card__visual .sheet--r2 { left: 53.70%; top: 7.11%; z-index: 2; }
  .feature-card__visual .sheet--r3 { left: 51.23%; top: 12.80%; z-index: 3; }
  /* 펼침면(양면) 낱장 : 이미지 2장을 좌우로 나눠 담는다 */
  .feature-card__visual .sheet--wide { width: 87.67%; height: 87.80%; }
  .feature-card__visual .sheet--wide img { width: 50%; height: 100%; float: left; }
  .feature-card__visual .sheet--w1 { left: 10.96%; top: 2.03%; z-index: 1; }
  .feature-card__visual .sheet--w2 { left: 1.37%; top: 10.16%; z-index: 2; }

  /* ---------- Quick Quiz (수업 연계 서비스) ---------- */
  .linked-service-section { background: #f0f0f0; display: flex; flex-direction: column; gap: 30px; padding: 60px 20px; margin-top: 60px; }
  .linked-service-head { display: flex; flex-direction: column; gap: 10px; }
  .linked-service-label {
    align-self: flex-start;
    background: #000; color: #fff; border-radius: 5px;
    padding: 8px 15px; font-size: 11px; font-weight: 500;
  }
  .linked-service-head__title { font-size: 32px; font-weight: 800; line-height: 42px; color: #e83828; }
  .quickquiz-card { display: flex; flex-direction: column; gap: 10px; }
  .quickquiz-card__q { font-size: 14px; font-weight: 700; line-height: 20px; color: #000; }
  .quickquiz-card__a { font-size: 14px; font-weight: 400; line-height: 20px; color: #666; }

  /* 수업 전/후 2단 카드 — 가운데 원형 화살표가 두 항목 사이에 얹힌다 */
  .quickquiz-steps { position: relative; background: #e2e2e2; border-radius: 16px; padding: 40px 30px; display: flex; flex-direction: column; gap: 30px; }
  .quickquiz-steps__item { display: flex; flex-direction: column; gap: 10px; }
  .quickquiz-steps__item h3 { font-size: 18px; font-weight: 700; color: #000; }
  .quickquiz-steps__item p { font-size: 14px; font-weight: 400; line-height: 20px; color: #666; }
  .quickquiz-steps__divider { height: 1px; background: rgba(102,102,102,.4); }
  .quickquiz-steps__center-icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 27px; height: 27px; }

  /* 위 회색 카드와의 간격 80px. 섹션 자체 gap 이 30px 이라 50px 을 더한다 */
  .linked-service-subhead { margin-top: 50px; font-size: 24px; font-weight: 800; line-height: 30px; color: #244371; }

  /* 3단계 스크린샷 — 화면보다 넓어 가로 스크롤(스와이프)로 넘긴다 */
  .quickquiz-sub-cards {
    position: relative;
    display: flex; align-items: flex-start;
    overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -20px; padding: 0 20px;              /* 좌우 여백 밖까지 스크롤되도록 */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .quickquiz-sub-cards::-webkit-scrollbar { display: none; }
  .quickquiz-sub-cards__item { flex-shrink: 0; width: 321px; scroll-snap-align: center; display: flex; flex-direction: column; gap: 20px; }
  .quickquiz-sub-cards__thumb {
    position: relative;
    background: #f5f5f5; border: 1px solid rgba(102,102,102,.4);
    border-radius: 40px 40px 0 0; height: 399px; overflow: hidden;
  }
  .quickquiz-sub-cards__thumb img.is-standard {
    position: absolute; left: 8.94px; top: 28.3px; width: 300.49px; height: 443px; max-width: none; object-fit: cover;
  }
  .quickquiz-sub-cards__thumb img.is-contain {
    position: absolute; left: -58.5px; top: -115.7px; width: 435.37px; height: 641.84px; max-width: none; object-fit: contain;
  }
  .quickquiz-sub-cards__caption { text-align: center; }
  .quickquiz-sub-cards__caption h4 { font-size: 18px; font-weight: 700; color: #1d1717; }
  .quickquiz-sub-cards__caption p { font-size: 14px; font-weight: 400; line-height: 28px; color: #666; }
  /* 카드 사이 화살표 : 아래를 향한 아이콘을 오른쪽으로 돌려 쓴다 */
  /* 카드 사이 화살표 : 아래를 향한 아이콘을 오른쪽으로 돌려 쓴다 (장식) */
  .quickquiz-sub-cards__arrow { flex-shrink: 0; width: 36px; height: 36px; align-self: center; margin-top: -60px; transform: rotate(90deg) scaleY(-1); }
  /* 카드를 터치하면 가운데로 오므로 손가락 커서를 보여준다 */
  .quickquiz-sub-cards__item { cursor: pointer; }

  /* 좌우 여백과 화살표 간격을 줄여 좁은 화면(360px)에서도 한 줄로 유지한다.
     white-space:nowrap 으로 줄바꿈을 막고, 그보다 더 좁은 기기에서는
     아래 미디어쿼리로 글자를 한 단계 줄여 넘침을 막는다 */
  .quickquiz-detail-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    background: #e83828; color: #fff; border-radius: 9999px;
    padding: 18px 24px;
    font-size: 20px; font-weight: 800; line-height: 26px; white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
  }
  .quickquiz-detail-btn img { flex-shrink: 0; width: 27px; height: 27px; transform: rotate(-90deg); }
  @media (max-width: 359px) {
    .quickquiz-detail-btn { gap: 8px; padding: 18px 16px; font-size: 18px; }
  }

  /* ---------- 2026년 11월 OPEN 배너 ---------- */
  /* 원(88px)과 문구가 고정 크기라 폭이 넓어져도 콘텐츠는 안 늘어난다.
     화면이 넓어지면 오른쪽이 비어 보이므로 콘텐츠를 가운데로 모은다.
     설계 기준 폭(390)에서는 콘텐츠가 이미 가득 차 변화가 없다. */
  /* 배너 내부 치수를 전부 em 으로 잡고, 기준 font-size 하나만 화면 폭에 맞춰 줄인다.
     타이틀·설명의 줄바꿈 위치(<br>)가 고정이라 내용 폭이 안 줄어드는 구조여서,
     좁은 화면에서는 통째로 비율을 유지한 채 축소되도록 했다.
     35.8 = 원 8.8em + 간격 1.4em + 본문 21.6em + 좌우 패딩 4em (내용이 딱 들어가는 배수)
     390px 이상에서는 10px 로 고정, 그보다 좁아지면 그 폭에 맞춰 비례 축소된다.
     ※ 계산식의 40px 은 이 섹션의 좌우 패딩(20px × 2) */
  .grammar-bank-teaser-banner {
    font-size: min(10px, calc((100vw - 40px) / 35.8));
    display: flex; gap: 1.4em; justify-content: center;
    background: #002b55; color: #fff; border-radius: 10px;
    padding: 3em 2em; overflow: hidden;
  }
  .grammar-bank-teaser-banner__open {
    flex-shrink: 0; width: 8.8em; height: 8.8em; border-radius: 999px;
    background: #7ae9ff; color: #000; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
  }
  .grammar-bank-teaser-banner__open .year { font-size: 0.88em; font-weight: 400; }
  .grammar-bank-teaser-banner__open .month { font-size: 1.76em; font-weight: 800; letter-spacing: -0.2em; }
  .grammar-bank-teaser-banner__open .open { font-size: 1.76em; font-weight: 900; }
  .grammar-bank-teaser-banner__body { display: flex; flex-direction: column; gap: 1em; }
  .grammar-bank-teaser-banner__title { font-size: 2.4em; font-weight: 800; line-height: normal; letter-spacing: -0.05em; color: #7ae9ff; }
  .grammar-bank-teaser-banner__desc { font-size: 1.1em; font-weight: 400; line-height: 1.4545; opacity: .7; }
  .grammar-bank-teaser-banner__tags { display: flex; gap: 0.4em; opacity: .7; }
  .grammar-bank-teaser-banner__tags span { background: #3d4665; border-radius: 0.53em; padding: 0.42em 1.05em; font-size: 0.95em; font-weight: 500; white-space: nowrap; }

  /* ---------- 신뢰 자산 바 ---------- */
  .trust-bar { display: flex; flex-direction: column; gap: 40px; margin-top: 60px; }
  .trust-bar__tit { display: flex; flex-direction: column; gap: 10px; padding: 0 20px; }
  .trust-bar__eyebrow { font-size: 14px; font-weight: 400; line-height: normal; color: #000; opacity: .7; }
  .trust-bar__title { font-size: 32px; font-weight: 800; line-height: normal; color: #e83828; }
  /* PC 는 4칸 가로 배열, 모바일은 2×2. 가운데 십자 구분선은 셀 테두리로 그린다 */
  /* 시안(390 기준) 왼쪽 칸 165px = 안쪽 폭 350px 의 47.14%.
     px 로 고정하면 화면이 넓어질 때 구분선이 왼쪽으로 쏠리므로 비율로 잡는다 */
  .trust-bar__grid { display: grid; grid-template-columns: 47.14% 1fr; margin: 0 20px; }
  .trust-bar__item { display: flex; flex-direction: column; gap: 10px; padding-left: 20px; }
  .trust-bar__item:nth-child(2n) { border-left: 1px solid #e5e5e5; }
  .trust-bar__item:nth-child(-n+2) { padding-bottom: 20px; }
  .trust-bar__item:nth-child(n+3) { border-top: 1px solid #e5e5e5; padding-top: 20px; }
  .trust-bar__item strong { font-size: 24px; font-weight: 800; line-height: normal; color: #000; }
  .trust-bar__item span { font-size: 14px; font-weight: 400; line-height: normal; color: #666; opacity: .7; }
  /* 점유율 항목만 문구가 길어 시안에서 더 작은 크기를 씁니다 */
  .trust-bar__item .is-small { font-size: 11px; line-height: 16px; }

  /* ---------- 진행 방법 ---------- */
  /* 진행방법이 패널 '안'에 있어(플로팅 버튼이 활성 패널에서 앵커를 찾아야 함)
     패널의 padding-bottom 은 후기 뒤로 가버린다. 위 신뢰 자산 바와의 흰 여백은 여기서 만든다 */
  .process-section { background: #f0f0f0; display: flex; flex-direction: column; gap: 40px; padding: 60px 20px; margin-top: 60px; }
  /* 타이틀 블록과 신청대상/기간 박스는 한 덩어리(간격 20px).
     섹션 자체 gap 은 40px 이라 따로 묶어야 20px 이 나온다 */
  .process-section__intro { display: flex; flex-direction: column; gap: 20px; }
  .process-section__head { display: flex; flex-direction: column; gap: 10px; }
  .process-section__head h3 { font-size: 32px; font-weight: 800; line-height: normal; color: #e83828; }
  .process-section__head p { font-size: 14px; font-weight: 400; line-height: 22px; color: #000; opacity: .7; }
  /* PC 는 한 줄 알약, 모바일은 두 줄 불릿 박스 */
  .process-section__period {
    display: flex; flex-direction: column; gap: 10px;
    background: #535353; color: #fff; border-radius: 5px; padding: 20px;
    font-size: 14px; font-weight: 400;
  }
  .process-section__period li { list-style: disc; margin-left: 21px; }

  .process-steps { display: flex; flex-direction: column; }
  .process-step { display: flex; gap: 20px; padding: 30px 0; border-bottom: 1px solid #e5e5e5; }
  .process-step:last-child { border-bottom: none; }
  .process-step__icon { flex-shrink: 0; width: 70px; height: 70px; border-radius: 999px; background: #fff; display: flex; align-items: center; justify-content: center; }
  .process-step__icon img { width: 42px; height: auto; }
  /* DECODE 진행방법 섹션은 배경이 흰색이라 아이콘 원을 회색으로 (PC 와 동일한 #f3f3f3) */
  .process-section--plain .process-step__icon { background: #f3f3f3; }
  .process-step__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
  .process-step__no { font-size: 14px; font-weight: 700; color: #e83828; }
  .process-step__title { font-size: 24px; font-weight: 700; color: #000; }
  .process-step__desc { font-size: 14px; font-weight: 400; line-height: 24px; color: #666; }
  /* STEP 3 은 아이콘·제목이 한 줄, 혜택 목록이 그 아래로 내려온다 */
  .process-step--3 { flex-direction: column; gap: 20px; }
  .process-step--3 .process-step__head { display: flex; gap: 10px; align-items: flex-start; }
  .process-step--3 .process-step__no { font-size: 16px; }
  .process-step--3 .process-step__title { font-size: 28px; }
  .benefits { display: flex; flex-direction: column; gap: 20px; padding-left: 80px; }
  /* 불릿은 ::before 로 박스 왼쪽 바깥에 내걸어, 본문 첫 글자가
     STEP 3 타이틀(참여 혜택 받기) 왼쪽과 같은 선에 오게 한다 */
  .benefit__title { position: relative; font-size: 18px; font-weight: 500; line-height: 26px; color: #000; }
  .benefit__title::before { content: '･'; position: absolute; right: 100%; top: 0; }
  .benefit__title em { font-style: normal; color: #e83828; }
  .benefit__desc { font-size: 16px; font-weight: 400; color: #666; }

  /* ---------- 샘플북 미리보기 ---------- */
  /* PC 는 4개 가로 배열, 모바일은 2×2 */
  .sample-preview-group { display: flex; flex-direction: column; gap: 10px; }
  .sample-preview-group__title { font-size: 28px; font-weight: 700; color: #000; }
  .sample-preview-group__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; justify-items: center; }
  .sample-btn { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
  .sample-btn img.cover { width: 163px; height: 222px; object-fit: cover; }
  .sample-btn .label {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(102,102,102,.4); border-radius: 6px;
    padding: 11px 31px; font-size: 12.6px; font-weight: 700; line-height: 17px;
    transition: border-color .2s ease-out, color .2s ease-out;
  }
  .sample-btn:active .label { border-color: #e83828; color: #e83828; }
  /* 아이콘은 stroke="currentColor" 인 인라인 SVG라 라벨 글자색을 그대로 따라간다 */
  .sample-btn__icon { width: 17px; height: 17px; flex-shrink: 0; }

  /* ---------- 인라인 신청 CTA ---------- */
  .apply-cta { display: flex; flex-direction: column; align-items: center; }
  .apply-cta__notice { display: flex; flex-direction: column; align-items: center; animation: noticeFloat 2.4s ease-in-out infinite; }
  .apply-cta__bubble {
    background: #000; color: #fff; font-size: 14px; font-weight: 600; line-height: 18px;
    padding: 10px 30px; border-radius: 999px; margin-bottom: -6px; position: relative; z-index: 1;
  }
  .apply-cta__arrow { width: 16px; height: 13px; transform: scaleY(-1); }
  /* 섹션 좌우 패딩(20px)을 넘어 화면 끝까지 붙는 버튼 */
  /* 페이지 이동이 아니라 신청 레이어를 여는 동작이라 <button> 을 쓴다 */
  .apply-cta-btn-style {
    width: 100%;                     /* 섹션 좌우 패딩(20px) 안에 들어간다 */
    padding: 20px 0; background: #e83828; color: #fff; border-radius: 8px;
    text-align: center; font-size: 28px; font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    cursor: pointer; transition: filter .2s ease-out;
  }
  .apply-cta-btn-style:active { filter: brightness(.92); }
  .apply-cta-btn-style:focus-visible { outline: 3px solid #1d1717; outline-offset: -3px; }

  /* ---------- 후기(기대평) ---------- */
  .review-section { display: flex; flex-direction: column; gap: 30px; padding: 60px 20px 0; }
  .review-section__title { font-size: 32px; font-weight: 800; line-height: 42px; color: #e83828; }
  .review-item { border-top: 1px solid #e5e5e5; padding: 20px 0; display: flex; flex-direction: column; gap: 20px; }
  .review-item__text { font-size: 14px; font-weight: 600; line-height: 22px; color: #000; }
  .review-item__foot { display: flex; gap: 20px; align-items: center; }
  .review-item__meta { border-right: 1px solid #e5e5e5; padding-right: 20px; }
  .review-item__meta, .review-item__date { font-size: 12px; font-weight: 400; line-height: 16px; color: #a9a9a9; }
  /* PC 는 페이지네이션(5개 묶음), 모바일은 더보기 버튼 방식 */
  .review-more { padding: 24px 0; }
  /* 더 불러올 후기가 없으면 개발에서 버튼에 hidden 을 부여한다 (README v5 §7-7 — 숨김 확정).
     버튼만 숨기면 감싼 div 의 위아래 24px 여백이 남으므로, 여백까지 함께 사라지게 한다 */
  .review-more:has(> [hidden]) { display: none; }
  .review-more__btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-width: 120px; height: 44px; padding: 13px 25px;
    background: #fff; border: 1px solid #1d1717; border-radius: 8px;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: -0.14px; color: #1d1717;
  }

  /* ---------- 유의사항 ---------- */
  .notice-section { background: #000; color: #fff; padding: 60px 20px; }
  /* PC 는 배지가 세로(원 + 글자), 모바일은 가로 한 줄 */
  .notice-section__head { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
  .notice-section__head span {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 999px; background: #fff; color: #000;
    font-size: 20px; font-weight: 900; line-height: 1;
  }
  .notice-section__head h3 { font-size: 20px; font-weight: 800; }
  .notice-section__body { display: flex; flex-direction: column; gap: 20px; }
  .notice-section__group { display: flex; flex-direction: column; gap: 14px; }
  .notice-section__list { display: flex; flex-direction: column; gap: 14px; }
  .notice-section__list li { list-style: decimal; margin-left: 18px; font-size: 13px; font-weight: 400; line-height: 20px; color: rgba(255,255,255,.8); }
  /* 혜택별 유의사항 — 검은 배경 위 한 단계 밝은 박스 */
  .notice-benefit-box { background: #1d1d1d; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
  .notice-benefit { display: flex; flex-direction: column; gap: 6px; }
  .notice-benefit__title { font-size: 13px; line-height: 20px; color: #e83828; }
  .notice-benefit__list { display: flex; flex-direction: column; gap: 6px; }
  .notice-benefit__list li { list-style: disc; margin-left: 18px; font-size: 13px; font-weight: 400; line-height: 20px; color: rgba(255,255,255,.8); }

  @media (prefers-reduced-motion: reduce) {
    .hero__badges, .hero__title, .hero__subtitle, .hero__select, .hero__notice,
    .hero__spotlight, .hero__spotlight::before { animation: none !important; }
    .hero__badges, .hero__title, .hero__select { opacity: 1 !important; }
    .hero__subtitle { opacity: .6 !important; }
    .hero__spotlight::before { opacity: 0 !important; }
    .floating-apply-btn { transition: none; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  }
