/*
 * Shared styles for the static printables and the outreach kit (plain HTML pages outside
 * the app). Same language as the site: warm paper, Inter, hairlines, technical-data tables,
 * and a print layout that drops the sheet chrome.
 */
@font-face {
  font-family: "Inter";
  src: url("/fonts/woff2/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f3;
  --sheet: #ffffff;
  --ink: #17191c;
  --muted: #5c5f66;
  --line: #e2dfd9;
  --line-strong: #cfcbc2;
  --bronze: #8a5a14;
  --signal: #f3ae45;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 40px 20px 64px;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 880px;
  margin: 0 auto;
  background: var(--sheet);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 56px);
  box-shadow:
    0 1px 2px rgba(23, 25, 28, 0.04),
    0 24px 48px -28px rgba(23, 25, 28, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand svg {
  width: 26px;
  height: 26px;
}
.brand .wm span {
  font-weight: 400;
  opacity: 0.65;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 300;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 40px 0 14px;
}
h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 6px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}
header p:first-of-type,
main > p:first-of-type {
  font-size: 1.1rem;
}

a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(138, 90, 20, 0.6);
}
a:hover {
  color: var(--bronze);
}

section {
  padding: 8px 0 24px;
}

ul {
  margin: 0;
  padding-left: 20px;
}
li {
  margin: 8px 0;
}
li::marker {
  color: var(--bronze);
}

/* Technical-data tables with writing space in the last column. */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}
th,
td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  background: none;
}
tbody td:first-child,
tbody th {
  font-weight: 600;
}
td:last-child {
  min-width: 160px;
}
.notes {
  height: 96px;
}

/* Checklist: a square to tick on paper, in two columns. */
ul.grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0 32px;
}
@media (min-width: 680px) {
  ul.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
ul.grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
span.box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1.5px solid var(--ink);
  border-radius: 4px;
}

/* Outreach kit: link entries as a hairline register, not boxes. */
div.grid {
  display: grid;
  gap: 0 32px;
}
@media (min-width: 760px) {
  div.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
div.box {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
div.box.copy {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--signal);
  border-radius: 0 10px 10px 0;
  background: var(--paper);
}

header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@page {
  margin: 14mm;
}
@media print {
  body {
    background: #fff;
    padding: 0;
  }
  main {
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  a {
    text-decoration: none;
  }
}
