/* Conversion Sports company site. Quiet, legible, one accent. Light and dark follow the visitor's setting. */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --line: rgba(23, 23, 23, 0.08);
  --fg: #171717;
  --fg-2: #525252;
  --muted: #737373;
  --accent: #0b5cad;
  --todo: #fdf3e3;
  --todo-fg: #8a4f05;
  --font: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141415; --surface: #19191b; --line: rgba(237, 237, 237, 0.08);
    --fg: #ededed; --fg-2: #a1a1a6; --muted: #85858b; --accent: #6aa6ec;
    --todo: rgba(230, 166, 74, 0.14); --todo-fg: #e6a64a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 880px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 16px; }
.logo { font-weight: 600; font-size: 17px; color: var(--fg); text-decoration: none; }
nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--fg-2); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }

main { padding-block: 64px 80px; }
h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.3; font-weight: 500; margin: 48px 0 12px; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 500; margin: 0 0 4px; }
p, li { color: var(--fg-2); max-width: 66ch; }
.lede { font-size: 19px; line-height: 1.55; max-width: 36rem; }
.updated { font: 13px var(--mono); color: var(--muted); margin: 0 0 32px; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.product p { margin: 4px 0 0; font-size: 15px; }

dl.company { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 16px; margin: 16px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
dl.company dt { color: var(--muted); font-size: 15px; }
dl.company dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { dl.company { grid-template-columns: minmax(0, 1fr); } dl.company dd { margin-bottom: 8px; } }

table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.table-wrap { overflow-x: auto; }
th, td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
th { color: var(--muted); font-weight: 500; }

/* Placeholders to fill in before publishing: easy to spot, impossible to miss */
.todo { background: var(--todo); color: var(--todo-fg); border-radius: 4px; padding: 0 4px; font-style: normal; }

footer.site { border-top: 1px solid var(--line); }
footer.site .wrap { padding-block: 24px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
footer.site ul { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
