/* DuoCaddie Docs: black and white, like the one-colour logo for light backgrounds. Black green (#0C1C15) is the
   "black"; its tints are the greys. Outfit for titles. */
@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/Outfit.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --panel: #f4f5f4;
  --text: #0c1c15;
  --muted: rgba(12, 28, 21, 0.62);
  --line: rgba(12, 28, 21, 0.12);
  --ink: #0c1c15;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
}
a {
  color: var(--ink);
  text-decoration-color: rgba(12, 28, 21, 0.35);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}
.wrap {
  width: min(980px, 100% - 40px);
  margin: 0 auto;
}
header.top {
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.34em;
  color: var(--ink);
  font: 600 21px/1 'Outfit', sans-serif;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand svg {
  width: 1.5em;
  height: 1em;
}
.brand .tag {
  margin-left: 0.3em;
  padding: 3px 9px;
  border-radius: 999px;
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.04em;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
nav.top-links a {
  margin-left: 20px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
nav.top-links a:hover,
nav.top-links a[aria-current='page'] {
  color: var(--ink);
}
main {
  padding: 56px 0 72px;
}
h1,
h2,
h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}
h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.04;
}
h2 {
  margin: 56px 0 14px;
  font-size: 28px;
}
h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.lede {
  max-width: 40rem;
  margin: 16px 0 0;
  font-size: 19px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.card {
  display: block;
  padding: 24px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  color: inherit;
  text-decoration: none;
}
a.card:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.pill {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(12, 28, 21, 0.06);
}
.pill.live {
  color: #ffffff;
  background: var(--ink);
}
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.swatch {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.swatch .chip {
  height: 110px;
}
.swatch .info {
  padding: 14px 16px;
  background: var(--panel);
  font-size: 14px;
}
.swatch code {
  color: var(--muted);
}
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.logo-tile {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line);
}
.logo-tile .show {
  display: grid;
  place-items: center;
  height: 170px;
  padding: 24px;
}
.logo-tile .show img {
  max-width: 100%;
  max-height: 64px;
}
.logo-tile .show.mark img {
  max-height: 72px;
}
.logo-tile .info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--panel);
  font-size: 14px;
}
.on-dark {
  background: #0c1c15;
}
.on-light {
  background: #ffffff;
}
.on-green {
  background: #7ce396;
}
ul.rules {
  padding-left: 20px;
}
ul.rules li + li {
  margin-top: 8px;
}
ul.rules li::marker {
  color: var(--ink);
}
.type-sample {
  padding: 24px;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.type-sample .big {
  font: 600 44px/1.1 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}
footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
