:root {
  --teal: #18d6c8;
  --teal-deep: #069e96;
  --teal-soft: #d8fffb;
  --ink: #050707;
  --muted: #667370;
  --line: rgba(5, 7, 7, 0.10);
  --cream: #fffdf8;
  --sand: #fff6e8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── SITE HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.site-header-inner {
  max-width: 828px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
  letter-spacing: -0.01em;
}
.back-link:hover { color: var(--teal-deep); gap: 10px; text-decoration: none; }

.page { max-width: 780px; margin: 0 auto; padding: 48px 24px 100px; }

h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(24, 214, 200, 0.28);
}

.meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.intro {
  background: linear-gradient(135deg, rgba(24, 214, 200, 0.09) 0%, rgba(255, 246, 232, 0.7) 100%);
  border: 1px solid rgba(24, 214, 200, 0.24);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 52px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.68;
  box-shadow: 0 4px 20px rgba(24, 214, 200, 0.07);
}

h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 48px 0 14px;
}

p { margin-bottom: 16px; font-size: 15px; line-height: 1.75; }
p:last-child { margin-bottom: 0; }

ul { margin: 10px 0 16px; padding: 0; list-style: none; }
ul li {
  font-size: 15px;
  line-height: 1.65;
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
ul li:last-child { border-bottom: none; }
ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

.callout {
  background: linear-gradient(135deg, rgba(24, 214, 200, 0.10) 0%, rgba(24, 214, 200, 0.04) 100%);
  border: 1px solid rgba(24, 214, 200, 0.28);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 20px 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
  box-shadow: 0 2px 14px rgba(24, 214, 200, 0.06);
}

.divider { height: 1px; background: var(--line); margin: 52px 0; }

/* ── privacy.html ── */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-family: 'Manrope', sans-serif; }
.data-table th {
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.data-table th:first-child { border-radius: 12px 0 0 0; }
.data-table th:last-child  { border-radius: 0 12px 0 0; }
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.55;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(odd) td { background: white; }

.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.right-card { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.right-card:hover { transform: translateY(-2px); border-color: rgba(24, 214, 200, 0.36); box-shadow: 0 6px 22px rgba(5, 7, 7, 0.08); }
.right-card strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.right-card span   { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── terms.html ── */
.policy-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.policy-row  { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.policy-row:hover { transform: translateY(-2px); border-color: rgba(24, 214, 200, 0.32); box-shadow: 0 6px 20px rgba(5, 7, 7, 0.07); }
.policy-row strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.policy-row span   { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── global ── */
a { color: var(--teal-deep); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

footer {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-help {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.footer-help a {
  color: var(--teal-deep);
  font-weight: 800;
}
.footer-help a:hover { text-decoration: underline; }

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.footer-links-row a { color: var(--muted); }
.footer-links-row a:hover { color: var(--teal-deep); }
