/* cutOS — shared styles.
 *
 * One stylesheet for three static pages. Deliberately small: a landing page for a product that does
 * not exist yet does not need a build step, and a build step is one more thing that can be broken
 * when Meta visits the site to check that the business is real.
 *
 * The dark palette matches the product's own interface, so the site and the application look like
 * the same thing — which is part of what "coherent" means when a verification reviewer compares
 * what you declared against what they find.
 */

:root {
  --bg: #0b0d12;
  --surface: #141821;
  --surface-2: #1b2130;
  --border: #262d3d;
  --text: #e8ecf4;
  --text-dim: #9aa5bb;
  --accent: #5b8cff;
  --accent-dim: #2f4d99;
  --radius: 12px;
  --max: 880px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- header */

header.site {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.brand svg {
  display: block;
}

nav.site a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--text);
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 72px 0 56px;
}

.hero h1 {
  font-size: clamp(30px, 5.5vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p.lede {
  font-size: 19px;
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 62ch;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #06101f;
  font-weight: 620;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
}

.cta:hover {
  background: #6f9bff;
}

.cta.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 10px;
}

.cta.secondary:hover {
  background: var(--surface-2);
}

/* --------------------------------------------------------------- sections */

section {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}

section h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}

section h3 {
  font-size: 17px;
  margin: 26px 0 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* ------------------------------------------------------------------ prose */

.prose h1 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 40px 0 6px;
}

.prose h2 {
  font-size: 20px;
  margin: 34px 0 10px;
}

.prose h3 {
  font-size: 16px;
  margin: 22px 0 6px;
}

.prose p,
.prose li {
  color: var(--text-dim);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--accent);
}

.updated {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

/* ----------------------------------------------------------------- footer */

footer.site {
  border-top: 1px solid var(--border);
  padding: 34px 0 56px;
  font-size: 14px;
  color: var(--text-dim);
}

footer.site a {
  color: var(--text-dim);
  text-decoration: none;
  margin-right: 18px;
}

footer.site a:hover {
  color: var(--text);
}

footer.site .legal {
  margin-top: 14px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ table */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

th {
  color: var(--text);
  font-weight: 600;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding: 48px 0 36px;
  }
  nav.site a {
    margin-left: 0;
    margin-right: 16px;
  }
  .cta.secondary {
    margin-left: 0;
    margin-top: 10px;
  }
}
