/* 메인 (10/31 문 3개 위로 · 소개는 /about/) (10/30 B안 → 실제 메인, Tori 확정 색: 민트 + 살구) — 시안 원본 scripts/preview/designs/main-b.html */
/* 메인 B안 (10/30 윤비서): 색은 두 가지(주 색 + 토리 털색 살구)만. 하늘·보라·코랄은 학습 화면 안에서만 */
:root {
  --main: var(--brand); --main-deep: var(--brand-deep); --main-soft: var(--brand-soft);
  --sub: #6B6C66; --line: #ECE8DF;
  --en: var(--font-en-title);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body.home { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Pretendard', -apple-system, 'Apple SD Gothic Neo', sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.en { font-family: var(--en); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.btn-main { background: var(--main); color: #fff; box-shadow: 0 6px 16px rgba(45,46,43,.16); }
.btn-line { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }


/* 위 메뉴 */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand b { font-size: 18px; letter-spacing: -.01em; }
nav.top { display: flex; align-items: center; gap: 4px; }
nav.top a { text-decoration: none; font-size: 16px; font-weight: 600; color: var(--sub); padding: 8px 10px; border-radius: 10px; }
nav.top a:hover { color: var(--ink); background: var(--bg); }
nav.top .cta { background: var(--main); color: #fff; margin-left: 6px; }
.free { font-size: 13px; font-weight: 700; color: var(--apricot-deep); background: var(--apricot-soft); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 820px) { nav.top a:not(.cta):not(.login) { display: none; } .free { display: none; } }

/* 첫 화면 */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.who { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.who span { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--main-soft); color: var(--main-deep); }
.who span.b { background: var(--apricot-soft); color: var(--apricot-deep); }
h1 { margin: 0 0 18px; font-size: clamp(34px, 5.2vw, 54px); line-height: 1.22; letter-spacing: -.03em; font-weight: 800; }
h1 em { font-style: normal; color: var(--main); }
.lead { margin: 0 0 26px; font-size: 18px; color: var(--sub); max-width: 34em; }
.lead .en { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.note { margin-top: 12px; font-size: 15px; color: var(--sub); }
.note b { color: var(--apricot-deep); }

/* 영상 카드 */
.tj { background: var(--card); border-radius: 24px; padding: 14px; box-shadow: 0 18px 40px rgba(45,46,43,.10); border: 1px solid var(--line); }
.tj-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.tj-top .t { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.tj-top .tag { font-size: 13px; font-weight: 700; color: #fff; background: var(--apricot); padding: 4px 10px; border-radius: 999px; }
.tj-top .who2 { font-size: 14px; color: var(--sub); }
@media (max-width: 480px) { .tj-top .who2 { display: none; } }
.vbox { position: relative; border-radius: 16px; overflow: hidden; background: #e9e5dc; }
/* 11/9 세로(9:16) 제리토리 영상: 너무 길지 않게 높이를 묶고 가운데 */
.vbox video { display: block; height: min(460px, 62vh); width: auto; aspect-ratio: 9/16; margin: 0 auto; object-fit: cover; }
.lines .s b { font-family: var(--en); font-size: 14px; font-weight: 600; margin-right: 6px; padding: 2px 8px; border-radius: 999px; }
.lines .s .who-j { background: var(--main-soft); color: var(--main-deep); }
.lines .s .who-t { background: var(--apricot-soft); color: var(--apricot-deep); }
.sound { position: absolute; right: 12px; bottom: 12px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(45,46,43,.8); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.find { padding: 14px 6px 4px; }
.find h3 { margin: 0 0 10px; font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.find h3 small { font-weight: 500; color: var(--sub); font-size: 14px; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lines li { padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.lines .s { font-family: var(--font-en-text); font-size: 18px; font-weight: 400; }
.lines .k { font-size: 14px; color: var(--sub); }
.v { color: var(--main-deep); font-weight: 700; text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.more { margin-top: 8px; }
.more summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--sub); padding: 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 6px 4px; }
.chips span { font-family: var(--en); font-weight: 600; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: var(--main-soft); color: var(--main-deep); }

section.blk { padding: 56px 0; }
.eyebrow { font-family: var(--en); font-size: 15px; font-weight: 600; color: var(--apricot-deep); letter-spacing: .02em; }
h2 { margin: 6px 0 10px; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.02em; line-height: 1.3; }
.sub { margin: 0 0 26px; color: var(--sub); font-size: 17px; }

/* '안다'의 기준 — 바꿔 말하기 */
.know { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.know .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.verbpick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.verbpick button { font-family: var(--en); font-size: 17px; font-weight: 600; min-height: 42px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.verbpick button[aria-pressed="true"] { border-color: var(--main); background: var(--main); color: #fff; }
.ladder { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ladder li { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.ladder .q { font-size: 15px; color: var(--sub); }
.ladder .a { font-family: var(--font-en-text); font-size: 20px; font-weight: 400; }
.ladder .a b { color: var(--main-deep); }
@media (max-width: 560px) { .ladder li { grid-template-columns: 1fr; gap: 2px; } }

/* 누구를 위한 곳 */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--sub); }
.card .big { font-size: 16px; font-weight: 700; color: var(--main-deep); }
.card.b .big { color: var(--apricot-deep); }
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.path div { border-radius: 16px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); position: relative; }
.path b { display: block; font-size: 18px; }
.path span { font-size: 15px; color: var(--sub); }
.path .n { position: absolute; top: 14px; right: 16px; font-family: var(--en); font-size: 28px; font-weight: 700; color: var(--main-soft); }

/* 공부법 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.step h3 { margin: 0; font-family: var(--en); font-size: 24px; font-weight: 600; }
.step p { margin: 0; color: var(--sub); font-size: 16px; }
.phone { align-self: center; width: 150px; height: 230px; overflow: hidden; border-radius: 22px; border: 6px solid var(--ink); background: var(--bg); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.phone .w { margin: auto 0; text-align: center; font-family: var(--en); font-size: 26px; font-weight: 600; }
.phone .o { border-radius: 8px; padding: 6px; background: var(--card); border: 1px solid var(--line); text-align: center; font-family: var(--en); font-size: 13px; }
.phone .o.ok { background: var(--main); color: #fff; border-color: var(--main); }
.phone .stamp { margin: auto; width: 54px; height: 62px; border: 3px solid var(--seal); color: var(--seal); border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--en); font-weight: 700; transform: rotate(-8deg); }
.phone .rec { border-radius: 8px; padding: 6px 8px; background: var(--apricot-soft); color: var(--apricot-deep); font-weight: 700; }

/* 학부모 */
.parent { background: var(--main-soft); }
.parent .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.report { background: var(--card); border-radius: 20px; padding: 20px; box-shadow: 0 12px 28px rgba(45,46,43,.08); display: flex; flex-direction: column; gap: 14px; }
.report .days { display: flex; gap: 6px; }
.report .days i { flex: 1; height: 30px; border-radius: 8px; background: var(--line); }
.report .days i.on { background: var(--main); }
.report .nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.report .nums div { background: var(--bg); border-radius: 12px; padding: 10px 4px; }
.report .nums b { display: block; font-size: 22px; }
.report .nums span { font-size: 13px; color: var(--sub); }
.weak { border-radius: 12px; padding: 12px 14px; background: var(--apricot-soft); font-size: 15px; }
.weak b { color: var(--apricot-deep); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.ticks li::before { content: '✓'; color: var(--main); font-weight: 800; margin-right: 8px; }

.consult-band { border-radius: 28px; background: var(--ink); color: #fff; padding: 40px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.consult-band h2 { color: #fff; margin: 0 0 6px; }
.consult-band p { margin: 0; color: rgba(255,255,255,.75); }
.consult-band .btn-ap { background: var(--apricot); color: var(--ink); }
.consult-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consult-band .btn-line-w { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.consult-band .btn-line-w:hover { border-color: #fff; }
footer { padding: 32px 0 80px; color: var(--sub); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

@media (max-width: 900px) {
  .hero .wrap, .know .grid, .parent .grid { grid-template-columns: 1fr; gap: 28px; }
  .two, .steps, .gates, .path { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
}
  
footer .admin-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); display: inline-block; vertical-align: middle; margin-left: 8px; }
.btn-main { background: var(--brand); color: var(--brand-ink); }

/* ===== 10/31 메인 = 문 · 소개 = /about/ ===== */
/* 처음 온 사람 띠 */
/* 10/31 Tori: 살구띠를 작은 초대장처럼 크게 (제목 크게 → 질문 → 설명 작게 → 진한 버튼) */
.first { padding: 16px 0 4px; }
.first .invite { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 28px; align-items: center; background: var(--apricot-soft); border: 1px solid #F6D3A4; border-radius: 18px; padding: 18px 60px 18px 26px; }
.first .t { grid-column: 1; margin: 0 0 4px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.first .q { grid-column: 1; margin: 0; font-size: 17px; font-weight: 700; color: var(--apricot-deep); }
.first .d { grid-column: 1; margin: 2px 0 0; font-size: 15px; color: var(--sub); }
.first .go { grid-column: 2; grid-row: 1 / span 3; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.first .go:hover, .first .go:focus-visible { background: var(--apricot-deep); transform: translateY(-2px); }
.first .x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); border: 0; background: none; font-size: 17px; color: var(--sub); cursor: pointer; min-width: 36px; min-height: 36px; border-radius: 10px; }
.first .x:hover { background: #fff; }
@media (max-width: 760px) {
  .first .invite { grid-template-columns: 1fr; padding: 16px 44px 16px 18px; }
  .first .go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; min-height: 44px; }
  .first .x { top: 8px; transform: none; }
}

.door .lead b { color: var(--ink); }
.mine { display: flex; align-items: center; justify-content: center; min-height: 56px; margin: 0 0 14px; border-radius: 16px; background: var(--brand); color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; }

/* 문 3개 — 커서를 올리면 문마다 제 색으로 */
.gates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gate { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: 18px; text-decoration: none; background: var(--card); border: 2px solid var(--line); color: var(--ink);
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s; }
.gate i { font-style: normal; font-size: 26px; line-height: 1; margin-bottom: 4px; }
.gate b { font-size: 19px; letter-spacing: -.01em; }
.gate span { font-size: 14px; color: var(--sub); line-height: 1.4; transition: color .18s; }
.gate em { font-style: normal; font-weight: 700; font-size: 15px; margin-top: auto; padding-top: 8px; transition: color .18s; }
.g-st { border-color: var(--brand); } .g-st em { color: var(--brand-deep); }
.g-pa { border-color: var(--apricot); } .g-pa em { color: var(--apricot-deep); }
.g-te { border-color: #BDBCB5; } .g-te em { color: var(--ink); }
.gate:hover, .gate:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(45,46,43,.14); }
.g-st:hover, .g-st:focus-visible { background: var(--brand); border-color: var(--brand); color: #fff; }
.g-st:hover span, .g-st:hover em, .g-st:focus-visible span, .g-st:focus-visible em { color: #fff; }
.g-pa:hover, .g-pa:focus-visible { background: var(--apricot); border-color: var(--apricot); }
.g-pa:hover span, .g-pa:hover em, .g-pa:focus-visible span, .g-pa:focus-visible em { color: var(--ink); }
.g-te:hover, .g-te:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.g-te:hover span, .g-te:hover em, .g-te:focus-visible span, .g-te:focus-visible em { color: rgba(255,255,255,.9); }

.diag { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--apricot-soft); text-decoration: none; color: var(--ink); transition: background .18s; }
.diag b { display: block; font-size: 17px; }
.diag small { font-size: 14px; color: var(--apricot-deep); font-weight: 700; }
.diag em { font-style: normal; font-weight: 800; color: var(--apricot-deep); }
.diag:hover { background: #FFE6C4; }

/* 왜 비단 3줄 */
.why { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.why3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 22px; }
.why3 .card { background: var(--bg); position: relative; overflow: hidden; }
.why3 .card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--brand) 0 18px, var(--apricot) 18px 36px); opacity: .55; }
.why3 .no { font-family: var(--en); font-weight: 700; color: var(--brand); font-size: 16px; }
.why3 h3 { margin: 4px 0 8px; }
.why3 .en { color: var(--ink); font-weight: 600; }

/* ----- 소개 페이지 ----- */
.basis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.basis .no { font-family: var(--en); font-weight: 700; color: var(--brand); font-size: 16px; }
.basis h3 { margin: 4px 0 8px; font-size: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.facts div { background: var(--brand-soft); border-radius: 16px; padding: 16px 18px; }
.facts b { display: block; font-family: var(--en); font-size: 28px; color: var(--brand-deep); }
.facts span { font-size: 15px; color: var(--ink-sub); }
.honest { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--apricot-soft); font-size: 16px; }
.honest b { color: var(--apricot-deep); }
.ab-hero { padding: 60px 0 48px; }
.ab-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ab-hero .lead b { color: var(--ink); }
.weave { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ply { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-radius: 14px; font-size: 19px; background: var(--card); border: 1px solid var(--line);
  background-image: repeating-linear-gradient(90deg, transparent 0 10px, rgba(34,163,154,.06) 10px 11px); box-shadow: 0 6px 14px rgba(45,46,43,.06); }
.ply b { color: var(--brand-deep); }
.ply small { font-size: 13px; font-weight: 700; color: var(--apricot-deep); white-space: nowrap; }
.p1 { width: 34%; background-color: var(--brand-soft); font-size: 26px; font-weight: 600; }
.p2 { width: 52%; } .p3 { width: 68%; background-color: var(--apricot-soft); } .p4 { width: 82%; } .p5 { width: 100%; background-color: var(--brand-soft); }
.oops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.oops div { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.oops s { color: var(--seal); font-size: 18px; text-decoration-thickness: 2px; }
.oops .ok { font-size: 18px; } .oops .ok b { color: var(--brand-deep); }
.oops small { color: var(--sub); font-size: 14px; }
.teacher { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.teacher p { margin: 0 0 12px; font-size: 18px; line-height: 1.75; }
.teacher .sign { color: var(--sub); font-weight: 700; }
.tphoto { aspect-ratio: 4/5; border-radius: 24px; background: linear-gradient(160deg, var(--brand-soft), var(--apricot-soft)); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--brand-deep); font-weight: 800; font-size: 18px; border: 1px solid var(--line); }
.back { margin: 18px 4px 0; } .back a { color: var(--sub); font-weight: 600; }

@media (max-width: 900px) {
  .gates { grid-template-columns: 1fr; }
  .gate { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; padding: 14px 16px; }
  .gate i { margin: 0; font-size: 22px; }
  .gate span { flex-basis: 100%; order: 3; }
  .gate em { margin: 0 0 0 auto; padding: 0; }
  .why3, .oops, .ab-hero .wrap, .teacher, .basis, .facts { grid-template-columns: 1fr; }
  .tphoto { max-width: 180px; }
  .ab-hero { padding-top: 32px; }
}

@media (max-width: 520px) {
  nav.top a { white-space: nowrap; padding: 8px 8px; font-size: 15px; }
  .brand b { font-size: 16px; }
}
.basis-note { margin: 14px 0 0; font-size: 15px; color: var(--sub); } .basis-note a { color: var(--brand-deep); font-weight: 700; }
/* 10/31 소개 순서 바꿈: 선생님 이야기가 첫 화면 */
.ab-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.ab-hero .ask { margin: 4px 0 16px; padding: 14px 18px; border-left: 4px solid var(--apricot); background: var(--apricot-soft); border-radius: 0 14px 14px 0; font-size: 18px; font-weight: 700; }
.ab-hero .sign { color: var(--sub); font-weight: 700; margin: 0 0 18px; }
.ab-hero .next { display: inline-block; font-weight: 700; color: var(--brand-deep); text-decoration: none; border-bottom: 2px solid var(--brand); padding-bottom: 2px; }
.ab-hero .tphoto { max-width: 380px; justify-self: center; width: 100%; }
.tphoto small { font-size: 14px; font-weight: 600; color: var(--sub); }
.know-try, .name .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.name { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.name .sub b { color: var(--ink); }
.basis .hl { border: 2px solid var(--brand); }
.basis .ex { display: block; margin-bottom: 6px; padding: 6px 10px; border-radius: 10px; background: var(--brand-soft); color: var(--ink); font-weight: 700; }
.basis .ex .en { color: var(--brand-deep); }
@media (max-width: 900px) { .know-try, .name .grid { grid-template-columns: 1fr; gap: 24px; } .ab-hero .tphoto { max-width: 200px; justify-self: start; } }
.ab-tj { margin: 0; }
.ab-tj figcaption { padding: 12px 6px 4px; font-size: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.ab-tj figcaption span { color: var(--sub); font-size: 14px; }
.ab-tj figcaption em { font-style: normal; }
#why .oops div { background: var(--card); }
#why { padding-top: 0; }
/* 10/31 Tori 요청: 왜 동사인가 한 줄 · 분류 근거 강조 */
#why .quote { margin: 4px 0 10px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--brand-deep); letter-spacing: -.01em; }
#basis { background: var(--brand-soft); margin-bottom: 56px; }
#basis h2 { font-size: clamp(26px, 3.8vw, 38px); }
#basis .sub b { color: var(--ink); }
#basis .card { background: var(--card); }
#basis .card.key { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 14px 30px rgba(19,122,115,.25); transform: translateY(-6px); }
#basis .card.key .no { color: #fff; opacity: .9; }
#basis .card.key h3 { color: #fff; font-size: 20px; }
#basis .card.key p { color: rgba(255,255,255,.92); }
#basis .lists { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
#basis .lists li { background: rgba(255,255,255,.95); color: var(--ink); border-radius: 10px; padding: 7px 10px; font-size: 15px; }
#basis .lists b { color: var(--brand-deep); }
#basis .facts div { background: var(--card); }
#basis .honest { background: var(--card); }
@media (min-width: 1000px) {
  .ab-hero .wrap { grid-template-columns: 1.12fr .88fr; gap: 24px; }   /* 11/2 Tori: 오른쪽 그림 살짝 크게 */
  .ab-hero .lead.one { white-space: nowrap; font-size: 18px; }
}
@media (max-width: 900px) { #basis .card.key { transform: none; } }
/* 영어 예문 (11/11부터 Pretendard로 통일) */
.oops .en, .ply .en, .why3 .en, .phone .w, .phone .o, .door .lead .en { font-family: var(--font-en-text); }
.oops s, .oops .ok { font-weight: 400; }
/* 10/31 오후: 소개 첫 화면 그림 · 구동사 강조 · 진단 방법 버튼 색 */
.ab-pic { margin: 0; }
.ab-pic img { display: block; width: 100%; height: auto; }
#basis .card.phr .ex { background: var(--apricot-soft); }
#basis .card.phr .ex .en { color: var(--apricot-deep); }
#basis .card.phr b { color: var(--ink); }
#basis .small { margin-top: 10px; font-size: 14px; color: var(--sub); }
#basis .master { margin: 4px 0 12px; font-size: 18px; }
#basis .master b { color: var(--brand-deep); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 16px rgba(45,46,43,.18); }
.btn-ink:hover { background: var(--apricot-deep); }
section[id] { scroll-margin-top: 80px; }
.brand b { white-space: nowrap; }
@media (max-width: 520px) { nav.top a.login { display: none; } .brand b { font-size: 16px; } }
/* 10/31 구동사 = 비단의 핵심 학습 (살구로 포인트) */
#basis .card.phr { border: 2px solid var(--apricot); background: #FFFBF4; }
#basis .card.phr .no { color: #fff; background: var(--apricot-deep); display: inline-block; padding: 6px 14px; border-radius: 999px; font-family: var(--font-body); font-size: 16px; font-weight: 800; }
#basis .card.phr h3 { font-size: 20px; margin-top: 10px; }
#basis .card.phr .lead2 { font-size: 18px; margin: 0 0 10px; color: var(--ink); }
#basis .card.phr .lead2 b { color: var(--apricot-deep); }
#basis .card.phr .lead2 em { font-style: normal; font-weight: 800; background: linear-gradient(transparent 60%, #FFD9A8 60%); }
/* 10/31 02 · 체크포인트 배지도 01처럼 (민트 칸 위 흰 배지) */
#basis .card.key .no { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--brand-deep); opacity: 1; font-family: var(--font-body); font-size: 16px; font-weight: 800; }
#basis .honest b { color: var(--brand-deep); }
/* 10/31 체험 학습실 (/try/) */
.try-hero { padding: 40px 0 24px; }
.try-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.try-hero img { width: 100%; max-width: 260px; height: auto; justify-self: center; }
.try-hero .lead b { color: var(--ink); }
.try-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.try-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 20px; background: var(--card); border: 2px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s; }
.try-card:hover, .try-card:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(45,46,43,.12); }
.try-card .tag { align-self: flex-start; font-size: 14px; font-weight: 800; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); }
.try-card b.en { font-family: var(--font-en-text); font-size: 22px; }
.try-card p { margin: 0; color: var(--sub); font-size: 16px; }
.try-card p strong { color: var(--ink); }
.try-card em { font-style: normal; font-weight: 800; margin-top: auto; padding-top: 6px; color: var(--brand-deep); }
.try-card.c1:hover { border-color: var(--brand); }
.try-card.c2:hover { border-color: var(--sky); }
.try-card.c3 { border-color: var(--apricot); background: #FFFBF4; }
.try-card.c3 .tag { background: var(--apricot-deep); color: #fff; }
.try-card.c3 em { color: var(--apricot-deep); }
.try-card.c4:hover { border-color: var(--violet); }
/* [단어장] 11/3: 체험 카드 4개 → 2 × 2 */
@media (min-width: 901px) { .try-cards { grid-template-columns: repeat(2, 1fr); } }
.try-more { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 20px; background: var(--brand-soft); }
.try-more p { margin: 4px 0 0; color: var(--sub); font-size: 16px; }
.try-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.try-note { margin: 12px 4px 0; font-size: 15px; color: var(--sub); }
@media (max-width: 900px) { .try-hero .wrap, .try-cards { grid-template-columns: 1fr; } .try-hero img { max-width: 160px; } }
.diag.try { background: var(--brand-soft); margin-top: 8px; }
.diag.try small, .diag.try em { color: var(--brand-deep); }
.diag.try:hover { background: #C9EDE8; }
#basis .card.phr .try-phr { display: inline-flex; margin: 4px 0 6px; padding: 8px 14px; border-radius: 12px; background: var(--apricot-deep); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
#basis .card.phr .try-phr:hover { background: var(--ink); }
.gate.mine-gate { box-shadow: 0 0 0 3px var(--brand-soft); }
/* 11/11 오늘의 한 마디 아래 → 제리토리 앨범 */
.tj-album { display: block; margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: #FFF0F3; color: #3B2F2F; text-decoration: none; font-size: 15px; border: 2px dashed #F3A9BB; }
.tj-album b { color: #D9577A; }
.tj-album:hover { background: #FFE4EA; }
/* 11/23 오늘의 한 마디: 소리 없이 재생될 때 가운데 큰 「눌러서 소리 듣기」 */
.vbox video { cursor: pointer; }
.tap-sound { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; min-height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: rgba(45,46,43,.78); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.tap-sound[hidden] { display: none; }
.vbox .sound[hidden] { display: none; }
