/* Offing — shared styles.
   Ported from the Claude Design source (Offing Coming Soon.dc.html); the
   design tool's runtime needs React and only renders inside its own preview,
   so the tokens live here as plain CSS instead. */

:root {
  --bg: #08080c;
  --card: #0f0f17;
  --card-alt: #12121b;
  --text: #f5f5fa;
  --body: #b7b7c7;
  --muted: #9a9aac;
  --dim: #6c6c80;
  --dim-alt: #8a8a9e;
  --pink: #ff2e9a;
  --pink-light: #ff4d8d;
  --lime: #b4ff00;
  --purple: #7a1fff;
  --teal: #00e0c6;
  --amber: #ffc24d;
  --blue: #7a9bff;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.1);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --shell: 1400px;
  --gutter: clamp(20px, 6vw, 72px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--pink-light); text-decoration: underline; }
::selection { background: var(--lime); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Respect the OS reduced-motion setting — the hero has a lot of movement. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes offFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-22px) rotate(-4deg); }
}
@keyframes offBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
@keyframes offGrad {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- chrome shared by every page ---------- */

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px var(--gutter);
  max-width: var(--shell);
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--lime));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(255, 46, 154, 0.45);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--lime); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(180, 255, 0, 0.1);
  border: 1px solid rgba(180, 255, 0, 0.3);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lime);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: offBlink 2s ease-in-out infinite;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px var(--gutter);
  max-width: var(--shell);
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--dim); font-weight: 500; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-note { font-size: 13px; color: var(--dim); }

/* ---------- document pages (privacy / terms / support) ---------- */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px) var(--gutter) 40px;
}

.doc-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.doc h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  text-wrap: balance;
}

.doc-meta {
  font-size: 13.5px;
  color: var(--dim);
  margin-top: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.doc h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.015em;
  margin: 44px 0 0;
  scroll-margin-top: 24px;
}

.doc h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17.5px;
  margin: 28px 0 0;
  color: var(--text);
}

.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  text-wrap: pretty;
}

.doc p { margin: 14px 0 0; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--dim); }
.doc strong { color: var(--text); font-weight: 600; }

.doc code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--lime);
}

.lede {
  font-size: clamp(17px, 2vw, 19px) !important;
  line-height: 1.55 !important;
  color: var(--body);
  margin-top: 26px !important;
}

/* Callout — the "short version" summaries and the abuse-report box. */
.note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 30px);
  margin: 28px 0 0;
}
.note.accent { border-color: rgba(180, 255, 0, 0.3); background: rgba(180, 255, 0, 0.04); }
.note.warn { border-color: rgba(255, 46, 154, 0.32); background: rgba(255, 46, 154, 0.05); }
.note > :first-child { margin-top: 0; }

.note-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--text);
}

/* Definition-style rows used for the data tables in the privacy policy. */
.rows { margin-top: 20px; border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.row dt {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  font-family: var(--display);
}

.row dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

@media (max-width: 620px) {
  .row { grid-template-columns: 1fr; gap: 6px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--bg);
  padding: 15px 26px;
  border-radius: 16px;
  background: linear-gradient(100deg, var(--pink), var(--pink-light));
  box-shadow: 0 10px 28px rgba(255, 46, 154, 0.4);
  white-space: nowrap;
}
.btn:hover { color: var(--bg); text-decoration: none; filter: brightness(1.08); }

.btn.ghost {
  background: var(--card-alt);
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: none;
}
.btn.ghost:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }

/* Unfilled legal placeholders. Loud on purpose — shipping "[JURISDICTION]"
   to the App Store would be worse than an ugly highlight in review. */
mark.todo {
  background: rgba(255, 46, 154, 0.18);
  border: 1px dashed var(--pink);
  border-radius: 5px;
  padding: 1px 7px;
  color: var(--pink-light);
  font-weight: 600;
  font-size: 0.94em;
}

.toc {
  margin: 30px 0 0;
  padding: 22px 26px;
  background: var(--card-alt);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.toc-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.toc ol { margin: 12px 0 0; padding-left: 20px; }
.toc li { margin-top: 7px; font-size: 14.5px; }
.toc a { color: var(--body); }
.toc a:hover { color: var(--lime); text-decoration: none; }
