/* DaySpeak — calm, private, minimal, premium. No tracking, no cookies. */

:root {
  --bg: #ffffff;            /* pure white */
  --ink: #1d1d1f;           /* near-black */
  --ink-soft: #3f3f43;
  --gray: #86868b;          /* soft gray secondary */
  --gray-light: #a1a1a6;
  --line: #ececec;          /* very light borders */
  --line-soft: #f1f1f1;
  --hover: #fbfbfb;
  --accent: #c79a3a;        /* DaySpeak gold (links/hover only) */
  --radius: 8px;            /* small rounded corners, not pill */
  --radius-sm: 7px;
  --maxw: 680px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ============ Homepage ============ */

.home {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(64px, 16vh, 140px) 24px 48px;
}

.logo {
  margin: 0 0 26px;
  line-height: 0;
}
.logo img {
  width: 232px;
  max-width: 72vw;
  height: auto;
  display: block;
}

.tagline {
  font-size: 18px;
  font-weight: 400;
  color: var(--gray);
  margin: 0 0 44px;
  max-width: 26ch;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
}

.card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.card::after {
  content: "›";
  color: var(--gray-light);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.18s ease, color 0.18s ease;
}
.card:hover {
  background: var(--hover);
  border-color: #e2e2e2;
  transform: translateY(-1px);
}
.card:hover::after { color: var(--gray); transform: translateX(2px); }
.card:active { transform: translateY(0); }

.home-footer {
  margin-top: auto;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--gray);
}
.home-footer a { color: var(--gray); text-decoration: none; }
.home-footer a:hover { color: var(--accent); }
.home-footer .copy { color: var(--gray-light); font-size: 13px; }

/* ============ Legal pages ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.brand img { height: 34px; width: auto; display: block; }
.nav-home {
  font-size: 15px;
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
}
.nav-home:hover { color: var(--accent); }

.doc {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.doc h1 {
  font-size: clamp(28px, 7vw, 33px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 8px;
}

.doc .updated {
  color: var(--gray);
  font-size: 15px;
  margin: 0 0 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.doc h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 44px 0 14px;
  color: var(--ink);
}

.doc p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.doc ul {
  margin: 0 0 16px;
  padding-left: 4px;
  list-style: none;
  color: var(--ink-soft);
}
.doc li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 10px;
}
.doc li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gray-light);
}

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

.doc a { color: var(--accent); text-decoration: none; }
.doc a:hover { text-decoration: underline; }

.doc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 44px;
}
.doc-links a {
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.doc-links a:hover { text-decoration: underline; }

.doc-footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 28px;
  font-size: 14px;
  color: var(--gray);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-footer a { color: var(--gray); text-decoration: none; }
.doc-footer a:hover { color: var(--accent); }
.doc-footer .copy { color: var(--gray-light); font-size: 13px; }

@media (min-width: 600px) {
  .logo img { width: 256px; }
}
