/* Shared styles for justunfret.com. Colours follow the app theme
   (docs/homeone2026-theme-a-spec.md). Plain CSS, no build step. */
:root {
  --bg: #f7f8f8;
  --card: #ffffff;
  --text: #0f1111;
  --muted: #565959;
  --border: #d5d9d9;
  --link: #007185;
  --nav: #131921;
  --accent: #ffd814;
  --todo-bg: #fff4d6;
  --todo-text: #8a4b00;
}

* { box-sizing: border-box; }

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

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

a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }

.site-header {
  background: var(--nav);
  color: #fff;
}
.site-header .inner,
.site-footer .inner,
main {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}
.brand {
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a { color: #fff; text-decoration: none; font-size: 14px; opacity: 0.9; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }

main { padding-top: 24px; padding-bottom: 48px; }

.eyebrow { color: var(--muted); font-size: 14px; margin: 0; }
h1 { font-size: 28px; line-height: 1.25; font-weight: 500; margin: 4px 0 4px; }
h2 { font-size: 20px; line-height: 1.3; font-weight: 500; margin: 32px 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

ul, ol { padding-left: 22px; }
li { margin: 4px 0; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}
.card h2 { margin-top: 0; }

dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
dl.contact dt { color: var(--muted); }
dl.contact dd { margin: 0; overflow-wrap: anywhere; }

/* Details still to be filled in before public release. */
.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 500;
}

.hero { padding: 32px 0 8px; }
.hero h1 { font-size: 36px; }
.hero .line { font-size: 20px; color: var(--muted); margin: 8px 0 24px; }
.pill {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 500;
  text-decoration: none;
}

.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.site-footer .inner { padding-top: 16px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.site-footer a { color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 24px; }
  .hero h1 { font-size: 30px; }
  dl.contact { grid-template-columns: 1fr; }
  dl.contact dt { margin-top: 8px; }
}
