/* Boots & Cats Software — one stylesheet, no build step.
   Scope One ships Regular 400 only, so font-synthesis is off everywhere:
   without it browsers fake a bold by smearing the slab serif. Emphasis
   comes from size, colour and space, or from Inter, which has weights. */

@font-face {
  font-family: 'Scope One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/scope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Scope One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/scope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Ink and accent are taken from the logo's own artwork so the page and the
     mark agree. The boot's magenta is #c748a9, but that is only 4.1:1 on the
     paper and fails AA for body text, so links use a darkened sibling at
     5.9:1. The full-strength magenta stays in the drawing, where it belongs. */
  --paper: #FDFBF7;
  --paper-2: #F5F0E7;
  --ink: #231F20;
  --ink-2: #5C5255;
  --rule: #E4DBCC;
  --accent: #A6338B;
  --accent-hover: #7D2369;

  --display: 'Scope One', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --measure: 34rem;
  --gutter: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.18;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.9vw, 3rem); letter-spacing: -0.005em; }
h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.65rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
a:hover { color: var(--accent-hover); }
a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- header ---- */

.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.15rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.brand img { display: block; width: auto; height: 38px; }
.brand-name {
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.site-nav { display: flex; gap: 1.15rem; font-size: 0.95rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-nav a[aria-current='page'] { color: var(--ink); }

/* ---- page body ---- */

main { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5rem); }

.lede {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.03rem + 0.5vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 1.1rem;
}

.section { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.section > h2 + * { margin-top: 0.9rem; }

.card {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper-2);
  padding: 1.4rem 1.5rem;
}
.card h3 { margin-bottom: 0.35rem; }

.card.product { display: flex; align-items: flex-start; gap: 1.15rem; }
.card.product > div { min-width: 0; }
.product-icon {
  flex: none;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

/* On a phone the icon beside the text leaves a column too narrow to read;
   stack it instead and give the paragraph the full card width. */
@media (max-width: 30rem) {
  .card.product { flex-direction: column; gap: 0.9rem; }
}

.meta { font-size: 0.9rem; color: var(--ink-2); }

.stack-mark {
  display: block;
  width: auto;
  height: clamp(150px, 120px + 7vw, 210px);
  margin-bottom: 1.75rem;
}

dl.contact { margin: 0; }
dl.contact dt {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: 1.1rem;
}
dl.contact dt:first-child { margin-top: 0; }
dl.contact dd { margin: 0.2rem 0 0; }

/* ---- legal pages ---- */

.prose h2 { margin-top: 2.2rem; }
.prose h2 + p { margin-top: 0.7rem; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4em; }

/* ---- footer ---- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 1.75rem 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; justify-content: space-between; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
