/* Clever Solutions — personal site. No external fonts or trackers. */
:root {
  --bg: #f6f3eb;
  --ink: #141414;
  --muted: #333333;
  --accent: #0a3d39;
  --accent-2: #0b4f4a;
  --paper: #ffffff;
  --line: #cfc9bc;
  --focus: #0a3d39;
  --max: 46rem;
  --wide: 62rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; } /* 18px base, then large type on top */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Liberation Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem; /* ~20.7px */
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 0.1em; text-underline-offset: 0.18em; }
a:hover { color: #000; }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }
.wrap { width: min(var(--wide), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(var(--max), 100%); }
header.site {
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
  padding: 1rem 0 0.85rem;
}
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  margin-bottom: 0.85rem;
}
.brand .name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand .name:hover { color: var(--accent); }
.brand .mark {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}
nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
}
nav.primary a {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 1.05rem;
  border-radius: 4px;
  min-height: 2.75rem;
  line-height: 1.85rem;
}
nav.primary a:hover { background: #ebe6d8; }
nav.primary a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
main { padding: 2rem 0 3.5rem; }
h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  line-height: 1.25;
  margin: 2.25rem 0 0.7rem;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 0.45rem;
}
p { margin: 0 0 1rem; }
.lede { font-size: 1.28rem; max-width: 40rem; }
.kicker {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.45rem;
}
.hero {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 800px) {
  .hero.with-photo {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
  }
}
.portrait {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.5rem 0.5rem 0.85rem;
}
.portrait img { width: 100%; }
.portrait figcaption {
  margin: 0.55rem 0.25rem 0;
  font-size: 1rem;
  color: var(--muted);
}
.cards {
  display: grid;
  gap: 1.1rem;
  margin: 1.25rem 0;
}
@media (min-width: 720px) {
  .cards.two { grid-template-columns: 1fr 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr 1fr; }
}
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.card p:last-child { margin-bottom: 0; }
.price {
  font-size: 1.55rem;
  font-weight: 750;
  margin: 0.15rem 0 0.4rem;
  letter-spacing: -0.02em;
}
.meta { color: var(--muted); font-size: 1.05rem; margin: 0 0 0.7rem; }
.lead-offer { border-width: 3px; }
.badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.4rem;
  width: fit-content;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 750;
  font-size: 1.12rem;
  padding: 0.7rem 1.05rem;
  border-radius: 4px;
  margin-top: 0.65rem;
  width: fit-content;
  line-height: 1.3;
}
.btn:hover { background: #062e2b; color: #fff !important; }
.note { font-size: 1.05rem; color: var(--muted); margin: 0.85rem 0 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
li { margin: 0 0 0.4rem; }
.facts {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
}
@media (min-width: 700px) {
  .facts { grid-template-columns: 1fr 1fr; }
}
.fact {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1rem 1.1rem;
}
.fact .num {
  display: block;
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.fact .lbl { color: var(--muted); margin: 0.25rem 0 0; }
dl.sheet { margin: 0 0 1.25rem; }
dl.sheet div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  dl.sheet div { grid-template-columns: 11.5rem 1fr; gap: 1rem; }
}
dl.sheet dt { font-weight: 750; }
dl.sheet dd { margin: 0; }
.limits {
  background: var(--paper);
  border-left: 6px solid var(--ink);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}
footer.site {
  border-top: 2px solid var(--ink);
  padding: 1.5rem 0 2.25rem;
  font-size: 1.05rem;
}
footer.site p { margin: 0 0 0.4rem; }
.toc a { display: inline-block; margin: 0 0.7rem 0.4rem 0; font-weight: 650; font-size: 1.15rem; }
.photo-row { max-width: 28rem; }
