/*
 * Mosaic site — one stylesheet for eight documents.
 *
 * Palette is the app's, so the site reads as the same product (WEBSITE.md §3).
 * No @import and no font file: every byte here is served from our own origin,
 * which is what keeps the "no cookies, no analytics, no third-party requests"
 * promise literally true rather than nearly true.
 */

:root {
  --bg: #fff8f2;
  --text: #2c2019;
  --accent: #ff6b3d;
  --muted: rgba(44, 32, 25, 0.7);
  --rule: rgba(44, 32, 25, 0.12);
  --card: rgba(255, 255, 255, 0.6);
}

* {
  box-sizing: border-box;
}

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

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

/* ~68 characters, the spec's measure. */
.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

/* --- Header: wordmark plus the language switch. */

.top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem 1.75rem;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.lang {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}

.lang:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Type. */

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  margin: 1.75rem 0 0.5rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

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

strong {
  font-weight: 600;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.meta {
  font-size: 0.9rem;
  color: var(--muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* --- Tables: the collected-data and pricing grids. */

.table-scroll {
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.75rem 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

th {
  font-weight: 600;
  white-space: nowrap;
}

/* --- Landing page bits. */

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.shots img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.hero img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 2rem 0;
}

.soon {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- FAQ. */

.faq h3 {
  margin-top: 2rem;
}

/* --- Fill-me markers. Loud on purpose: an unfilled blank must be impossible
   to mistake for finished copy (WEBSITE.md §7). */

.todo {
  background: #ffe08a;
  color: #4a3200;
  padding: 0.1em 0.4em;
  border-radius: 4px;
  font-weight: 600;
}

/* --- Footer: the other three pages, every time. */

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

footer a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 30rem) {
  h1 {
    font-size: 1.7rem;
  }

  .shots {
    gap: 0.5rem;
  }
}
