/* Detox30 website - same calm palette as the app. */
:root {
  --canvas: #faf7f0;
  --surface: #ffffff;
  --ink: #16140f;
  --muted: #6b675e;
  --line: #e6e0d2;
  --mint: #ddefe6;
  --peach: #f8e1d4;
  --sky: #dfe8f5;
  --brand: #1e2a4a;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
}
.logo { font: 600 22px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo em { font-style: italic; font-weight: 400; }
nav.site { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current] { color: var(--ink); }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: clamp(38px, 7vw, 58px); margin: 40px 0 16px; }
h1 em, h2 em { font-style: italic; }
h2 { font-size: 28px; margin: 44px 0 10px; }
h3 { font-size: 17px; margin: 28px 0 6px; }
p, li { color: #2c2a24; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.button {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: var(--canvas); text-decoration: none; font-weight: 600;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 26px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.card p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.card strong { font-size: 17px; }
.tone-mint { background: var(--mint); border-color: transparent; }
.tone-peach { background: var(--peach); border-color: transparent; }
.tone-sky { background: var(--sky); border-color: transparent; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--canvas);
  display: grid; place-items: center; font-size: 15px; font-weight: 600;
}

.policy { padding-bottom: 20px; }
.policy h1 { font-size: clamp(34px, 6vw, 46px); }
.updated { color: var(--muted); font-size: 14px; margin-top: -6px; }

table.facts { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 16px; }
table.facts th, table.facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.facts th { width: 38%; color: var(--muted); font-weight: 500; }

footer.site { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
footer.site a { color: var(--muted); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  header.site { flex-direction: column; align-items: flex-start; }
  table.facts th { width: 44%; }
}
