/* 태랩 site: the app's look on the web. Black, white and lime, one font, plenty of room. */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --ground: #000000;
  --surface: #141416;
  --raised: #1f1f22;
  --outline: #34343a;
  --content: #f5f5f7;      /* 19.3:1 on ground */
  --secondary: #a1a1a6;    /* 8.2:1 on ground */
  --brand: #c2f23a;        /* lime: fills under black text, never text on white */
  --on-brand: #000000;
  --radius: 16px;
  --width: 720px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--content);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;          /* Korean breaks between words, as in the app */
  overflow-wrap: anywhere;
}

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

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 20px; }

/* Header: the app's wordmark, the lime dot beside the name. */
.site-header { border-bottom: 1px solid var(--outline); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.wordmark::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.site-header nav a { color: var(--secondary); font-size: 15px; text-decoration: none; }
.site-header nav a:hover { color: var(--content); }

/* Draft notice on every policy page until the lawyer's review. */
.draft {
  margin: 28px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--secondary);
  font-size: 15px;
}
.draft strong { color: var(--on-brand); background: var(--brand); padding: 2px 8px; border-radius: 999px; margin-right: 8px; font-size: 13px; }

/* Policy pages */
.doc { padding: 8px 0 64px; }
.doc h1 { font-size: 32px; line-height: 1.3; margin: 32px 0 4px; letter-spacing: -0.01em; }
.doc .meta { color: var(--secondary); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 20px; margin: 40px 0 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { color: var(--content); }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li + li { margin-top: 6px; }
.doc .muted { color: var(--secondary); }
.toc { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 8px; font-size: 15px; }
.toc ol { margin: 0; columns: 2; column-gap: 24px; }
@media (max-width: 520px) { .toc ol { columns: 1; } }

/* Placeholders still to fill, after the lawyer's review. */
mark { background: var(--raised); color: var(--brand); padding: 0 4px; border-radius: 4px; }

.table-scroll { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--outline); }
th { color: var(--secondary); font-weight: 600; }

/* Home */
.hero { padding: 72px 0 40px; }
.hero h1 { font-size: clamp(36px, 8vw, 56px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { color: var(--secondary); font-size: 19px; margin: 0; max-width: 34em; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 16px; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 24px 0 56px; }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.feature h2 { font-size: 18px; margin: 0 0 6px; }
.feature p { color: var(--secondary); margin: 0; font-size: 15px; line-height: 1.6; }
.feature .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-bottom: 14px; }

/* Footer: every policy, and how to reach us. */
.site-footer { border-top: 1px solid var(--outline); padding: 28px 0 48px; color: var(--secondary); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.site-footer a { color: var(--secondary); text-decoration: none; }
.site-footer a:hover { color: var(--content); }
.site-footer p { margin: 4px 0; }
