/* 처음 온 사람의 출발점(starter.js). 색·글꼴·간격은 design.css 토큰만 쓴다.
   고르는 문이라 카드에 테두리는 두되 그림자는 두지 않는다(떠 있을 이유가 없다). 번호를 달지 않는 것은
   출발점끼리 순서가 없어서다. */
.starter { margin: 0 0 var(--sp-6); }
.starterHead { margin: 0 0 var(--sp-2); font-size: var(--fs-xl); line-height: var(--lh-snug); word-break: keep-all; }
.starterFacts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-4); padding: 0; }
.starterFacts li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-full);
  background: var(--surface-2); color: var(--text); font-size: var(--fs-sm); line-height: var(--lh-snug); }
.starterFacts li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: var(--r-full); background: var(--ok-fill); }
.starterFacts li[hidden], .starter [hidden] { display: none; }
.starterPicks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.starterPick { display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 44px; box-sizing: border-box;
  padding: var(--sp-4); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface);
  color: var(--text); text-decoration: none; }
.starterPick:hover { border-color: var(--accent); }
.starterPick:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.starterEyebrow { color: var(--dim); font-size: var(--fs-xs); }
.starterTitle { font-size: var(--fs-md); font-weight: var(--fw-semibold); line-height: var(--lh-snug); overflow-wrap: anywhere; }
.starterBlurb { color: var(--dim); font-size: var(--fs-sm); line-height: var(--lh-base); word-break: keep-all; overflow-wrap: anywhere; }
.starterMeta { margin-top: auto; padding-top: var(--sp-2); color: var(--accent-text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.starterMeta::after { content: " →"; }
.starterGoal { background: var(--surface-2); }
.starterMore { margin: var(--sp-3) 0 0; }
.starterMoreLink { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--accent-text);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); text-underline-offset: .2em; }
.starterCount { color: var(--dim); font-weight: var(--fw-regular); }

/* 랜딩의 소개 칸 안에서는 좁으니 한 줄에 하나, 소개 문장은 뺀다(제목·첫 레슨 시간만으로 고를 수 있다). */
.discoveryStarter:empty { display: none; }
.discoveryStarter { margin-top: var(--sp-6); }
.discoveryStarter .starterPicks { grid-template-columns: minmax(0, 1fr); }
.discoveryStarter .starterBlurb { display: none; }
.discoveryStarter .starterPick { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); }
.discoveryStarter .starterEyebrow { flex-basis: 100%; }
.discoveryStarter .starterMeta { margin: 0 0 0 auto; padding: 0; }
/* 배우기·홈에서는 머리글과 탭 사이에 둔다. 스크립트가 못 떴으면 빈 자리를 남기지 않는다. */
.learnStarter:empty, .homeStarter:empty { display: none; }
.learnStarter { margin: var(--sp-5) 0 var(--sp-2); }
.homeStarter { margin: var(--sp-6) 0; }
@media (max-width: 560px) {
  .starterHead { font-size: var(--fs-lg); }
  .starterPick { padding: var(--sp-3) var(--sp-4); }
}
