/* Shared styles for the legal pages (privacy, terms). */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --indigo: #4F46E5;
  --indigo-deep: #4338CA;
  --emerald: #10B981;
  --bg: #FAF9F7;
  --surface: #FFFFFF;
  --ink: #22232E;
  --muted: #55555D;
  --faint: #9A9AA2;
  --line: #E8E6E3;
  --line-soft: #F0EEEB;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); }
a:hover { color: var(--indigo-deep); }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header.nav { border-bottom: 1px solid var(--line-soft); background: var(--surface); }
.nav-inner { display: flex; align-items: center; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 0; }
.wordmark .mark { display: block; flex: none; border-radius: 6px; }
.wordmark .name { font-size: 18px; letter-spacing: -0.4px; color: var(--ink); white-space: nowrap; }
.wordmark .name b { font-weight: 700; }
.wordmark .name span { font-weight: 700; color: var(--muted); }
.nav-inner .back {
  margin-left: auto; font-size: 14.5px; font-weight: 500;
  color: var(--muted); text-decoration: none;
}
.nav-inner .back:hover { color: var(--ink); }

/* Document */
main.wrap { padding: 64px 24px 96px; }

h1 { font-size: 38px; font-weight: 800; letter-spacing: -1.2px; line-height: 1.12; margin-bottom: 12px; }
.updated { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 40px; }

.intro {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; font-size: 15.5px; color: var(--muted); line-height: 1.65;
  margin-bottom: 44px;
}

h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.5px;
  margin: 44px 0 14px; padding-top: 20px; border-top: 1px solid var(--line-soft);
}
h2:first-of-type { border-top: 0; padding-top: 0; }

h3 { font-size: 16.5px; font-weight: 700; margin: 26px 0 8px; }

p, li { font-size: 16px; color: var(--muted); line-height: 1.72; }
p { margin-bottom: 14px; }

ul, ol { margin: 0 0 16px 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--faint); }

strong { color: var(--ink); font-weight: 600; }

table.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
table.tbl th, table.tbl td {
  text-align: left; padding: 11px 12px; font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft); vertical-align: top;
}
table.tbl th {
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--faint);
}
table.tbl td { color: var(--muted); }
table.tbl td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }

.callout {
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--indigo); border-radius: 10px;
  padding: 18px 20px; margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }

.todo {
  background: #FFF7E6; border: 1px solid #F0D9A8; border-radius: 4px;
  padding: 1px 6px; font-weight: 700; color: #8A6100;
}

footer.site { border-top: 1px solid var(--line-soft); padding: 36px 0 56px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; margin-bottom: 16px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 560px) {
  main.wrap { padding: 44px 24px 64px; }
  h1 { font-size: 30px; letter-spacing: -0.8px; }
  h2 { font-size: 19px; }
  p, li { font-size: 15.5px; }
}
