/* crew.bot's public pages: the homepage and the privacy policy. Dark, like the product shots on them: the board's
   dark tokens (web/src/styles.css on the redesign), one neutral grey over black, the crew cyan for accents and
   the theme inverted for the primary action. Flat, hairline borders, pill buttons, Geist. */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #000000;
  --panel: #0b0b0b;
  --panel-2: rgb(255 255 255 / 0.045);
  --hover: rgb(255 255 255 / 0.07);
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.14);
  --text: #f3f3f3;
  --muted: #a1a1a1;
  --faint: #6e6e6e;
  --ink: #f3f3f3;
  --ink-fg: #000000;
  --accent: #13b5d1;
  --accent-soft: rgb(157 143 250 / 0.14);
  --green: #4cc98a;
  --amber: #e9a94b;
  --red: #ff6d64;
  --amber-dot: #f5b544; --teal-dot: #3ec7b0; --violet-dot: #13b5d1; --rose-dot: #f07aa0; --sky-dot: #6cb2f5;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 400 16px/1.6 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; }
::selection { background: var(--accent-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; }
.eyebrow { font: 500 12px/16px "Geist Mono", ui-monospace, monospace; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.muted { color: var(--muted); }

/* The mark: three crew members. */
.mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 16px; letter-spacing: -0.01em; text-decoration: none; }

/* Buttons: pills. The primary is the theme inverted; colour is never on a button. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: 500 14px/1 "Geist", sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--ink); color: var(--ink-fg); border-color: var(--ink); }
.btn.primary:hover { background: #d9d9d9; border-color: #d9d9d9; }
.btn.small { height: 32px; padding: 0 14px; font-size: 13px; }
.btn.big { height: 46px; padding: 0 24px; font-size: 15px; }
.btn svg { width: 16px; height: 16px; }
.get-app { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.get-app .btn[hidden] { display: none; }
.get-app .other { color: var(--muted); font-size: 13.5px; text-underline-offset: 3px; }
.get-app .other:hover { color: var(--text); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgb(0 0 0 / 0.72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.top nav { display: flex; align-items: center; gap: 2px; }
.top nav a.link { padding: 6px 12px; border-radius: 999px; color: var(--muted); font-size: 14px; text-decoration: none; }
.top nav a.link:hover { color: var(--text); background: var(--hover); }
.top .actions { display: flex; gap: 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 860px) {
  .top nav { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Read out, not shown. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
