/* BRtrans 소개 페이지 — BR 제품군 색(design/brtrans/README.md), BRnote 소개 페이지와 같은 틀 */
:root {
  --forest: #123B33;
  --forest-2: #1C4A41;
  --amber: #E9B45A;
  --paper: #F6F4EE;
  --card: #FFFFFF;
  --ink: #18231F;
  --muted: #5B6661;
  --line: #E2DED4;
  --mint: #DCEAE3;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .92em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--forest); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* 머리말 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 244, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--mint); }
.nav .nav-login { background: var(--forest); color: var(--paper); margin-left: 4px; }
.nav .nav-login:hover { background: var(--forest-2); }

/* 첫 화면 */
.hero { background: var(--forest); color: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { color: var(--amber); font-weight: 600; letter-spacing: .02em; margin: 0 0 12px; font-size: 15px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.22; margin: 0 0 20px; letter-spacing: -.02em; font-weight: 800; }
.hero .lead { font-size: 19px; color: #D8E2DD; margin: 0 0 32px; max-width: 30em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.pills li { border: 1px solid rgba(246,244,238,.28); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hint { margin: 16px 0 0; font-size: 14px; color: #BFD0C8; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; border-radius: 14px; padding: 14px 22px; font-size: 16px; }
.btn-amber { background: var(--amber); color: var(--forest); }
.btn-ghost { color: var(--paper); border: 1px solid rgba(246,244,238,.4); }
.btn-ghost:hover { background: rgba(246,244,238,.08); }
.btn-forest { background: var(--forest); color: var(--paper); }

/* 첫 화면 예시 */
.hero-demo { align-self: center; }
.browser { background: var(--card); color: var(--ink); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.28); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EFECE3; border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D3CEC1; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--muted); background: var(--card); border-radius: 999px; padding: 2px 12px; }
.browser-body { position: relative; padding: 28px 28px 84px; }
.demo-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--forest); }
.demo-title { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--forest); line-height: 1.35; }
.demo-text { margin: 0 0 14px; color: var(--ink); }
.demo-src { margin: 0; font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.langbar { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 4px; padding: 4px; background: rgba(255,255,255,.96); border: 1px solid #ccc; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.15); font-size: 13px; }
.langbar img { width: 20px; height: 20px; border-radius: 5px; margin: 0 2px 0 4px; }
.langbar i { width: 1px; height: 18px; background: #ddd; margin: 0 2px; }
.langbar b { font-weight: 400; padding: 5px 9px; border-radius: 6px; color: #222; }
.langbar b.on { background: var(--forest); color: var(--paper); }
.demo-note { margin: 10px 0 0; font-size: 13px; color: #BFD0C8; text-align: right; }

/* 구역 */
section { padding: 96px 0; }
section[id] { scroll-margin-top: 72px; }
section.alt { background: #EFECE3; }
.section-head { max-width: 40em; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.3; margin: 0 0 12px; letter-spacing: -.015em; color: var(--forest); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* 세 가지 약속 */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.promise .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--forest); color: var(--amber); font-weight: 800; margin-bottom: 16px; }
.promise h3 { margin: 0 0 8px; font-size: 21px; color: var(--forest); }
.promise p { margin: 0; color: var(--muted); }

/* 기능 카드 */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--forest); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* 설치 */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; margin: 0 0 24px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--amber); color: var(--forest); font-weight: 800; margin-bottom: 6px; }
.steps b { color: var(--forest); font-size: 18px; }
.steps span { color: var(--muted); font-size: 16px; }
.code { background: var(--forest); color: var(--paper); border-radius: 14px; padding: 18px 22px; overflow-x: auto; margin: 0 0 16px; font-size: 15px; }
.note { margin: 0; color: var(--muted); font-size: 15px; }
.note code { background: var(--mint); border-radius: 6px; padding: 1px 6px; color: var(--forest); }

/* 관리 화면 */
.admin { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.admin .section-head { margin-bottom: 24px; }
.checks { list-style: none; padding: 0; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 28px; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.checks b { color: var(--ink); }

/* 지원 현황 */
.table-wrap { overflow-x: auto; }
.status { width: 100%; max-width: 760px; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.status th, .status td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.status th { background: #EFECE3; color: var(--forest); font-size: 15px; }
.status tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 2px 10px; margin-right: 6px; }
.tag.ok { background: var(--mint); color: var(--forest); }
.tag.soon { background: #F6E3BF; color: #6B4A12; }
.tag.plan { background: #ECE8DE; color: var(--muted); }

/* 자주 묻는 질문 */
.faq { max-width: 48em; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--forest); }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* 문의 */
.contact { background: var(--forest); color: var(--paper); text-align: center; }
.contact .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-mark { width: 56px; height: 56px; }
.contact h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); }
.contact p { margin: 0 0 8px; color: #D8E2DD; }

/* 꼬리말 */
.site-footer { background: #0B2722; color: #BFD0C8; padding: 36px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-footer img { height: 22px; width: auto; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--paper); }

@media (max-width: 900px) {
  .hero .wrap, .admin { grid-template-columns: 1fr; }
  .promises, .grid, .steps { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .nav a { font-size: 14px; padding: 6px 10px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 48px; }
  .browser-body { padding: 22px 18px 84px; }
}
