/*
 * Woodcote Systems — site styles.
 *
 * Deliberately plain. This site exists to be *believed*: it carries the
 * privacy policy, support terms and documentation that an Atlassian
 * Marketplace buyer checks before spending money on an app from a publisher
 * they have never heard of. Trust comes from the pages loading instantly,
 * saying something specific, and not being padded with stock photography.
 *
 * No framework, no build step, no JavaScript, no web fonts, no analytics —
 * which is also the only honest way to run the site for a company whose
 * product's main claim is that it does not phone home.
 */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --bg-sunken: #f6f7f9;
  --text: #14202e;
  --text-muted: #5b6b7c;
  --border: #e2e6eb;
  --accent: #0c5fd0;
  --accent-soft: #eaf1fd;
  --radius: 8px;
  --measure: 68ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12171d;
    --bg-sunken: #181f27;
    --text: #dfe6ee;
    --text-muted: #93a1b1;
    --border: #26303b;
    --accent: #6ea8ff;
    --accent-soft: #1a2636;
  }
}

*,
*::before,
*::after {
  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;
}

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

/* ── Header ──────────────────────────────────────────────────────────── */

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

.masthead {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: baseline;
  justify-content: space-between;
}

.wordmark {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.wordmark span {
  color: var(--text-muted);
  font-weight: 400;
}

nav {
  display: flex;
  gap: 20px;
  font-size: 0.94rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
}

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

nav a[aria-current='page'] {
  font-weight: 550;
}

/* ── Content ─────────────────────────────────────────────────────────── */

main {
  padding: 56px 0 72px;
}

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

h2 {
  margin: 44px 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1.02rem;
}

p,
ul,
ol {
  margin: 0 0 16px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.muted {
  color: var(--text-muted);
}

small,
.small {
  font-size: 0.88rem;
}

code {
  font-family: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg-sunken);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
}

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

/* ── Cards and callouts ──────────────────────────────────────────────── */

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 20px;
  background: var(--bg);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.note {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 0 0 20px;
}

.note p:last-child {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 14px;
}

/* Facts list — label/value pairs that stack cleanly on mobile. */
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.facts li:last-child {
  border-bottom: 0;
}

.facts dt,
.facts .k {
  flex: 0 0 11rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer nav {
  margin-bottom: 12px;
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.65rem;
  }

  .facts dt,
  .facts .k {
    flex-basis: 100%;
  }
}
