/* Shared styles for public/{terms,privacy,consent}.html.
   Long-form Korean legal copy on the seeat.* brand palette.
   Mirrors seeatTokens.js so the policy pages feel like the app. */

:root {
  --bg:         #F6F5F1;
  --surface:    #FFFFFF;
  --surfaceAlt: #FAFAF7;
  --ink:        #1B1F1A;
  --inkSub:     #5C615A;
  --inkMute:    #9CA09B;
  --border:     #ECEAE3;
  --brand:      #5E7A52;
  --brandDeep:  #3F5436;
  --brandSoft:  #E9EFE2;
  --brandTint:  #F2F5EC;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Pretendard","Pretendard Variable",-apple-system,BlinkMacSystemFont,system-ui,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
a:hover { color: var(--brandDeep); }

.wrap { max-width: 720px; margin: 0 auto; padding: 24px 20px 64px; }

header.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0 32px;
}
header.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
header.nav .brand img { width: 32px; height: 32px; }
header.nav .brand .en { color: var(--inkMute); font-weight: 500; }
header.nav nav a { color: var(--inkSub); margin-left: 20px; font-size: 14px; text-decoration: none; }
header.nav nav a:hover { color: var(--brand); }

main h1 {
  font-size: 28px; line-height: 1.25; margin: 12px 0 6px;
  font-weight: 800; letter-spacing: -0.02em;
}
.effective {
  color: var(--inkMute); font-size: 13px; margin: 0 0 32px;
}

article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 28px 32px;
  font-size: 15px;
  line-height: 1.8;
}
article > p:first-child { margin-top: 0; }
article > *:last-child { margin-bottom: 0; }

article h2 {
  font-size: 17px; font-weight: 700; margin: 28px 0 10px;
  letter-spacing: -0.01em; color: var(--ink);
}
article h2:first-child { margin-top: 0; }

article h3 {
  font-size: 15px; font-weight: 700; margin: 18px 0 8px;
  color: var(--brandDeep);
}

article p { margin: 0.55em 0; color: var(--inkSub); }
article strong { color: var(--ink); font-weight: 600; }

article ul, article ol { margin: 0.55em 0; padding-left: 1.4em; color: var(--inkSub); }
article li { margin: 0.35em 0; }
article ol > li { padding-left: 0.2em; }
article ul ul, article ol ul { margin: 0.2em 0; }

article a { word-break: break-all; }

.table-scroll { overflow-x: auto; margin: 0.8em 0; -webkit-overflow-scrolling: touch; }
article table {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--surfaceAlt);
  border-radius: 10px;
  overflow: hidden;
}
article th, article td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--inkSub);
  line-height: 1.6;
}
article th {
  background: var(--brandTint);
  color: var(--brandDeep);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}
article tr:last-child td { border-bottom: none; }

.callout {
  background: var(--brandTint);
  border-left: 3px solid var(--brand);
  padding: 12px 14px;
  margin: 12px 0;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--brandDeep);
}
.callout p { color: var(--brandDeep); margin: 0.3em 0; }

footer {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding-top: 24px;
  color: var(--inkMute); font-size: 13px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
}
footer nav a { margin-right: 16px; color: var(--inkSub); text-decoration: none; }
footer nav a:hover { color: var(--brand); }
