/* Shared styles for secondary landing pages (privacy, terms, 404). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --ink:        #1d1d1f;
  --gray:       #86868b;
  --gray-soft:  #b8b8bd;
  --gray-100:   #f5f5f7;
  --gray-50:    #fbfbfd;
  --line:       #d2d2d7;
  --paper:      #ffffff;
  --night:      #0a0a0c;
  --green:      #00b847;
  --green-deep: #008836;
  --green-soft: #ecfdf3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
h1, h2, h3 { overflow-wrap: break-word; }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Nav — same pattern as index.html */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
nav .container {
  max-width: 1120px;
  display: flex; justify-content: space-between; align-items: center;
  height: 58px;
}
nav .mark { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
nav .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--green); }
nav .word {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
nav .actions { display: flex; align-items: center; gap: 22px; }
nav .actions a {
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em; transition: color 0.15s;
}
nav .actions a:hover { color: var(--green); }
nav .actions a.launch {
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
nav .actions a.launch:hover,
nav .actions a.launch:active { background: var(--green); color: var(--ink); }

/* Footer */
footer {
  padding: 48px 0 56px;
  background: var(--night);
  color: var(--gray);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  margin-top: 80px;
}
footer .container {
  max-width: 1120px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
}
footer .right { display: flex; gap: 22px; }
footer .right a { color: var(--gray); text-decoration: none; }
footer .right a:hover { color: var(--paper); }

/* Legal page typography */
.legal {
  padding: 72px 0 32px;
}
.legal .eyebrow {
  font-size: 13px; font-weight: 700; color: var(--green);
  letter-spacing: 0.28em; text-transform: uppercase;
  margin-bottom: 16px;
}
.legal h1 {
  font-size: clamp(32px, 7vw, 60px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.02;
  color: var(--ink);
}
.legal .updated {
  margin-top: 22px;
  font-size: 14px; color: var(--gray);
  letter-spacing: -0.005em;
}
.legal section {
  margin-top: 44px;
}
.legal h2 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.025em;
  color: var(--ink); line-height: 1.2;
}
.legal p {
  margin-top: 12px;
  font-size: 16px; line-height: 1.6; color: var(--ink);
  letter-spacing: -0.005em;
}
.legal p + p { margin-top: 14px; }
.legal ul {
  margin-top: 14px;
  padding-left: 0;
  list-style: none;
}
.legal li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  font-size: 16px; line-height: 1.55; color: var(--ink);
  letter-spacing: -0.005em;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--green); border-radius: 999px;
}
.legal strong { font-weight: 600; }
.legal a {
  color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: color 0.15s;
}
.legal a:hover { color: var(--green); }

.legal .callout {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--gray-100);
  border-radius: 14px;
  font-size: 14px; line-height: 1.55; color: var(--gray);
}
.legal .callout a { color: var(--ink); }

@media (max-width: 720px) {
  nav .actions a:not(.launch) { display: none; }
  .legal { padding: 48px 0 24px; }
  .legal section { margin-top: 32px; }
  footer .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  nav .launch { padding: 7px 14px; font-size: 13px; }
  nav .word { font-size: 12px; letter-spacing: 0.2em; }
  .legal { padding: 36px 0 16px; }
  .legal p, .legal li { font-size: 15px; }
  .legal h2 { font-size: 20px; }
}
