/* Shared styles for thegodobject.com: the Night board look. One dark ground,
   a mono voice for labels and the logo, a grotesque for headings, and the four
   person colours from the Unload it board as the only accents. */
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 300 700; font-display: swap; src: url("/fonts/space-grotesk.woff2") format("woff2"); }
:root {
  --bg: #0e1014; --surface: #171a21; --fg: #eceef2; --muted: #a9afbb; --line: #262a33;
  --accent: #8fb0ff; --blue: #8fb0ff; --pink: #e58ae5; --orange: #f2a950; --rose: #ff8fa3;
  --sans: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", "Inter", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --page: 1080px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding-top: 20px; padding-bottom: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 18px; font-weight: 600; color: var(--fg); }
.logo b { font-weight: inherit; }
.logo svg { width: 30px; height: 30px; flex: 0 0 auto; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.site-nav a { color: var(--muted); padding: 4px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); text-decoration: none; }
.site-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--accent); }

/* Page body */
main { flex: 1; padding-top: 72px; padding-bottom: 88px; }
.mark { font-family: var(--mono); color: var(--accent); font-size: 15px; margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
h1 {
  font-size: clamp(40px, 7vw, 76px); font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  margin: 18px 0 24px; max-width: 13em;
}
h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 72px 0 14px; }
h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
p { margin: 0 0 16px; max-width: 40em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 32em; margin-bottom: 28px; }
.muted { color: var(--muted); }
ul.plain { margin: 0 0 16px; padding-left: 1.2em; max-width: 40em; }
ul.plain li { margin-bottom: 6px; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 0; }
.button {
  display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px;
  border: 1px solid #3a404c; color: var(--fg);
}
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.button:hover { text-decoration: none; border-color: var(--accent); }

/* The people of a sample household, as the board shows them */
.people { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 0; padding: 0; }
.people li {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; line-height: 1.25;
}
.people .dot {
  width: 40px; height: 40px; border-radius: 50%; color: var(--bg); font-weight: 700;
  display: flex; align-items: center; justify-content: center; background: var(--blue);
}
.people li:nth-child(4n+2) .dot { background: var(--pink); }
.people li:nth-child(4n+3) .dot { background: var(--orange); }
.people li:nth-child(4n+4) .dot { background: var(--rose); }
.people strong { display: block; font-weight: 600; }
.people small { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* The release notice: the one boxed element on a page */
.callout {
  margin: 40px 0; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); display: flex; flex-wrap: wrap; gap: 16px 28px;
  align-items: center; justify-content: space-between;
}
.callout div { flex: 1 1 300px; min-width: 0; }
.callout h2, .callout h3 { font-size: 22px; margin: 0 0 4px; letter-spacing: -0.01em; }
.callout p { margin: 0; color: var(--muted); font-size: 16px; }

/* Screenshots */
figure { margin: 36px 0; }
figure img { border: 1px solid var(--line); border-radius: 18px; width: 100%; }
figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 44em; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 28px 0; }
.shots figure { margin: 0; }

/* Feature grid: each item opens with a mono marker in one of the person colours */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px 40px; margin: 28px 0 0; }
.grid > div::before { content: "//"; display: block; font-family: var(--mono); font-size: 14px; color: var(--blue); margin-bottom: 6px; }
.grid > div:nth-child(4n+2)::before { color: var(--pink); }
.grid > div:nth-child(4n+3)::before { color: var(--orange); }
.grid > div:nth-child(4n+4)::before { color: var(--rose); }
.grid p { margin: 0; color: var(--muted); font-size: 16px; }

/* The list of the site's pages */
.pages { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pages li { border-bottom: 1px solid var(--line); }
.pages a { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding: 16px 0; color: var(--fg); font-weight: 600; }
.pages a span { color: var(--muted); font-size: 16px; font-weight: 400; }
.pages a:hover { text-decoration: none; color: var(--accent); }

/* Label and value lists: company details, contact, app facts */
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 20px 0 0; max-width: 44em; }
dl.facts dt { color: var(--muted); font-family: var(--mono); font-size: 14px; padding-top: 3px; }
dl.facts dd { margin: 0; }
@media (max-width: 520px) {
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 12px; }
  main { padding-top: 48px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 28px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
