/* 루미의 등대 / Lumi's Lighthouse — site stylesheet. No external fonts or scripts. */
:root {
  --bg: #fdf6ec;
  --surface: #ffffff;
  --ink: #2e3a46;
  --muted: #5d6b78;
  --sea: #1f5f7a;
  --sea-dark: #164a60;
  --lamp: #f2b33d;
  --lamp-soft: #fff1cf;
  --line: #ead9c0;
  --draft-bg: #fde4e1;
  --draft-ink: #8a1f14;
  --radius: 14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

a { color: var(--sea); }
a:hover, a:focus { color: var(--sea-dark); }

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: var(--sea);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  flex-wrap: wrap;
}
.site-header a { color: #fff; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.site-nav a:hover, .site-nav a:focus { text-decoration: underline; }

/* Draft banner */
.draft-banner {
  background: var(--draft-bg);
  color: var(--draft-ink);
  border-bottom: 2px solid var(--draft-ink);
  padding: 10px 16px;
  text-align: center;
  font-weight: 700;
}

main { padding: 28px 0 40px; }

/* Hero */
.hero {
  text-align: center;
  padding: 16px 0 8px;
}
.hero img.icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 6px 18px rgba(31, 95, 122, 0.25);
}
.hero h1 { margin: 16px 0 4px; font-size: 30px; line-height: 1.3; }
.hero .tagline { margin: 0 0 16px; color: var(--muted); font-size: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
}

.stores {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.store-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.store-btn:hover, .store-btn:focus { color: var(--lamp-soft); }
.store-btn[aria-disabled="true"] { opacity: 0.75; cursor: default; }

.links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.links a {
  padding: 8px 14px;
  border: 1px solid var(--sea);
  border-radius: 999px;
  text-decoration: none;
}

/* Long-form documents */
.doc h1 { font-size: 26px; line-height: 1.35; margin: 0 0 12px; }
.doc h2 { font-size: 21px; margin: 32px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--lamp); }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin: 4px 0; }
.doc code {
  background: var(--lamp-soft);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.92em;
}

.table-scroll { overflow-x: auto; margin: 12px 0; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; background: var(--surface); font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--lamp-soft); }
@media (max-width: 600px) {
  table { min-width: 520px; }
}

.lang-switch { text-align: right; font-size: 15px; margin: 0 0 8px; }

/* Footer */
.site-footer {
  background: #f3e6d2;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 20px 0 28px;
}
.site-footer dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; }
.site-footer dt { font-weight: 600; }
.site-footer dd { margin: 0; }
.site-footer p { margin: 10px 0 0; }
@media (max-width: 480px) {
  .site-footer dl { grid-template-columns: 1fr; }
  .site-footer dd { margin-bottom: 6px; }
}
