/* Follow ME 공개 사이트. 색·글꼴은 앱 디자인 토큰(docs/design/tokens.json)에서 가져왔다 (ADR 0068) */
@font-face {
  font-family: "Pretendard";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Pretendard-Medium.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Pretendard-Bold.subset.woff") format("woff");
}
@font-face {
  font-family: "Pretendard";
  font-weight: 800;
  font-display: swap;
  src: url("fonts/Pretendard-ExtraBold.subset.woff") format("woff");
}

:root {
  --emerald: #32d7a0;
  --emerald-deep: #0a7f5a;
  --emerald-soft: #e3f9f0;
  --ocean-top: #72b6ff;
  --bg: #ffffff;
  --text: #0b1f18;
  --text-muted: #3b5249;
  --on-brand: #06261b;
  --line: #cdebdf;
  --line-strong: #6e9a89;
  --todo: #fef1c8;
  --radius-md: 15px;
  --radius-lg: 22px;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--emerald-deep); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--emerald-deep); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.site { display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
nav.site a { text-decoration: none; }

main { padding: 28px 0 48px; }

h1 { font-size: 28px; line-height: 1.3; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; }
h2 { font-size: 20px; line-height: 1.4; font-weight: 800; margin: 36px 0 10px; }
h3 { font-size: 17px; line-height: 1.4; font-weight: 700; margin: 24px 0 8px; }
p, ul, ol { margin: 0 0 12px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.muted { color: var(--text-muted); }

.hero {
  background: linear-gradient(180deg, var(--ocean-top), var(--emerald));
  color: var(--on-brand);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin-bottom: 28px;
}
.hero h1 { font-size: 30px; }
.hero p { font-size: 18px; font-weight: 700; margin: 0; }

.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--bg);
}
.card h3 { margin-top: 0; }

.stores { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 0; }
.button {
  display: inline-block;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.table-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--emerald-soft); font-weight: 700; }
/* 칸이 많은 표는 휴대폰에서 옆으로 밀어 본다 */
table.wide { min-width: 640px; }
table.wide td:first-child, table.wide th:first-child { white-space: nowrap; }

dl.info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.info dt { font-weight: 700; color: var(--text-muted); }
dl.info dd { margin: 0; }

details { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 48px; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* 아직 정하지 않은 값. 배포 전에 채운다 */
.todo { background: var(--todo); color: var(--text); padding: 0 4px; border-radius: 4px; font-weight: 700; }

footer.site { border-top: 1px solid var(--line); font-size: 14px; color: var(--text-muted); }
footer.site .wrap { padding-top: 20px; padding-bottom: 32px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
