/* tandevis.com — one stylesheet, one page.
 *
 * Same engineering rules as site/ (no framework, no web fonts, nothing loaded
 * from another host, system fonts so the first paint is instant) and a
 * deliberately different palette. Kondavo is warm paper and brown because it is
 * a board game; the publisher behind it is not a board game and must not read
 * as one, or the two brands fuse back together — which is the whole thing this
 * separation exists to prevent.
 */

:root {
  color-scheme: light dark;

  --ink: #16181d;
  --ink-soft: #5c626e;
  --paper: #fcfcfd;
  --paper-raised: #ffffff;
  --rule: #e2e4e9;
  --accent: #33507e;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eaee;
    --ink-soft: #9aa1ae;
    --paper: #101216;
    --paper-raised: #171a20;
    --rule: #2a2e37;
    --accent: #8fb0e6;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }

/* Masthead ---------------------------------------------------------------- */

.masthead { padding: 5rem 0 3.5rem; }

.wordmark {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lead {
  margin: 1.25rem 0 0;
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 32rem;
}

/* Sections ---------------------------------------------------------------- */

section { padding-bottom: 3rem; }

h2 {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Product card ------------------------------------------------------------ */

.product {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper-raised);
  padding: 1.4rem 1.5rem;
  text-decoration: none;
  color: inherit;
}

.product:hover { border-color: var(--accent); }

.product-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
}

.product-what {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.note {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Footer ------------------------------------------------------------------ */

.site-foot {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 4rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.site-foot p { margin: 0 0 0.5rem; }
.site-foot p:last-child { margin-bottom: 0; }
