/* Kenoma — kenoma.nl
 *
 * Same system as the business card and the test console. See
 * ~/Kenoma/DESIGN-REGISTER.md for why it looks like this and what it must never
 * become: light ground, one accent (the ink itself), square corners, hairlines
 * instead of boxes, no gradients, no shadows, no blur.
 *
 * Audience: non-technical Dutch SME owners. They trust what looks familiar. So:
 * the phone number is on every screen, links look like links, section headings are
 * plain Dutch words in the body face, and the money question is answered.
 *
 * Mono is reserved for DATA (numbers, addresses, identifiers, rates) — not for
 * section headings. A heading is the site speaking; mono is for what a machine states.
 *
 * No webfonts on purpose: the page makes zero third-party requests, which is both the
 * brand rule and the reason it needs no cookie banner.
 */

:root {
  --ink:    #15171C;
  --muted:  #4A4A4F;
  --dim:    #8A8A90;
  --paper:  #FFFFFF;
  --tint:   #F7F6F3;
  --rule:   #E4E2DD;
  --accent: #15171C;

  --sans: "Adwaita Sans", "Noto Sans", "Liberation Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Liberation Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --width: 76rem;     /* structural bands: header, hero, card row */
  --measure: 52rem;   /* prose: kept narrow so long text stays readable */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.prose { max-width: var(--measure); }

/* Links look like links. Twenty years of learned affordance beats a subtle hover. */
main a:not(.card-link):not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--dim);
  text-underline-offset: .2em;
  text-decoration-thickness: 1px;
}
main a:not(.card-link):not(.btn):hover,
main a:not(.card-link):not(.btn):focus-visible { text-decoration-color: var(--ink); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

/* --- masthead ---------------------------------------------------------- */
.masthead { border-bottom: 1px solid var(--rule); }
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2.5vw, 1.75rem);
  min-height: 5rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  text-decoration: none;
  margin-right: auto;
}
.mark { width: 3.4rem; height: auto; display: block; color: var(--ink); }
.wordmark {
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.jump {
  display: flex;
  gap: clamp(.9rem, 2.5vw, 1.6rem);
  font-size: .95rem;
}
.jump a {
  color: var(--muted);
  text-decoration: none;
  padding-block: .25rem;
}
.jump a:hover, .jump a:focus-visible { color: var(--ink); text-decoration: underline; }

/* The strongest trust signal for this audience: visible on every screen size,
   never hidden behind a menu, always tappable. */
.tel {
  font-family: var(--mono);
  font-size: .88rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--rule);
  padding: .45rem .75rem;
}
.tel:hover, .tel:focus-visible { border-color: var(--ink); background: var(--tint); }
.tel span { color: var(--dim); }

@media (max-width: 56rem) {
  .jump { display: none; }
}

/* --- hero: photo left, the offer and the buttons right ------------------ */
.hero { padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 5vw, 3.5rem); }
.hero-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: 1.08fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 3.75rem);
  }
}
/* On a phone the words come first — nobody scrolls past a photo to find out what
   you do. On a wide screen the photo takes the left, as a shop window. */
@media (max-width: 55.99rem) {
  .hero-copy { order: 1; }
  .photo     { order: 2; }
}

.photo {
  margin: 0;
  background: var(--tint);
  border: 1px solid var(--rule);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.hero-copy .lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn {
  display: inline-block;
  font-size: .95rem;
  font-weight: 500;
  border: 1px solid var(--ink);
  padding: .7rem 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover, .btn--primary:focus-visible { background: #000; color: var(--paper); }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--tint); }

/* --- sections ---------------------------------------------------------- */
.band { padding-block: clamp(2.25rem, 5vw, 3.25rem); border-top: 1px solid var(--rule); }

/* Plain words in the body face. A heading is the site speaking — mono is for data. */
.section-title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.25rem, 1.15rem + .4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.section-intro {
  margin: -.55rem 0 1.75rem;
  max-width: 42rem;
  font-size: .97rem;
  color: var(--muted);
}

/* --- four options in a row --------------------------------------------- */
.cards {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper);
  padding: 1.5rem 1.5rem 1.6rem;
}
.card h3 {
  margin: 0 0 .5rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.005em;
}
.card p {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --- the long information text ----------------------------------------- */
.prose p { margin: 0 0 1.05rem; }
.prose h3 {
  margin: 2rem 0 .55rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.prose h3:first-of-type { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; }
.prose .list-plain {
  margin: 0 0 1.05rem;
  padding-left: 1.15rem;
}
.prose .list-plain li { margin-bottom: .35rem; }

/* --- approach (definition list) ---------------------------------------- */
.approach { margin: 0; display: grid; gap: 1.75rem; }
@media (min-width: 40rem) {
  .approach { grid-template-columns: 1fr 1fr; gap: 2rem 2.75rem; }
}
.approach dt { font-weight: 600; margin-bottom: .3rem; }
.approach dd {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
  color: var(--muted);
}

/* --- pricing: the money question, answered ----------------------------- */
/* Narrow on purpose: a price list reads badly stretched across a wide page, and the
   value column needs to stay near the label it belongs to. */
.rates {
  margin: 0;
  border-top: 1px solid var(--rule);
  max-width: 44rem;
}
.rates > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1.5rem;
  align-items: baseline;
  padding-block: .85rem;
  border-bottom: 1px solid var(--rule);
}
.rates dt { font-size: .98rem; font-weight: 500; }
.rates dt small {
  display: block;
  font-weight: 400;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--muted);
  margin-top: .15rem;
  max-width: 34rem;
}
.rates dd {
  margin: 0;
  font-family: var(--mono);
  font-size: .95rem;
  text-align: right;
  white-space: nowrap;
}
.rates dd.free { font-weight: 500; }
.rates-note {
  margin: 1.4rem 0 0;
  font-size: .9rem;
  color: var(--muted);
  max-width: 44rem;
}

/* --- contact ----------------------------------------------------------- */
/* Held to the same measure as the prose, so all the document content shares one right
   edge. Only the header, hero, card row and footer run full width. */
.contact-grid { display: grid; gap: 1.75rem; max-width: var(--measure); }
@media (min-width: 44rem) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.who {
  margin: 0 0 .85rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.mono-lines {
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: .86rem;
  line-height: 2;
}
.mono-lines a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}
.mono-lines a:hover,
.mono-lines a:focus-visible { border-bottom-color: var(--ink); }
.dim { color: var(--dim); }
.reply { margin: 0; font-size: .9rem; color: var(--muted); }

.what-happens {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  font-size: .94rem;
  color: var(--muted);
}
.what-happens li {
  position: relative;
  padding-left: 2rem;
  padding-bottom: .85rem;
  counter-increment: step;
}
.what-happens li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05em;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--dim);
}
.what-happens li:last-child { padding-bottom: 0; }
.what-happens strong { color: var(--ink); font-weight: 500; }

/* --- footer ------------------------------------------------------------ */
.site-foot {
  border-top: 1px solid var(--rule);
  background: var(--tint);
  padding-block: 2.25rem 2.75rem;
  font-size: .84rem;
  color: var(--muted);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  font-family: var(--mono);
  font-size: .78rem;
}
.foot-row strong { font-weight: 500; color: var(--ink); }
.foot-row a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot-row a:hover { border-bottom-color: var(--ink); }
.foot-note {
  margin: 1.4rem 0 0;
  font-size: .78rem;
  color: var(--dim);
  max-width: 34rem;
}

/* --- focus ------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

@media print {
  .jump, .skip, .actions { display: none; }
  .band { break-inside: avoid; }
  .tel { border: none; padding: 0; }
  .photo { display: none; }
}

/* --- legal / auxiliary pages ------------------------------------------- */
.band h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; margin: 0 0 .5rem; }
.kicker {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 .75rem;
}
.lead { max-width: var(--measure); color: var(--muted); font-size: 1.05rem; margin: 0 0 2rem; }
.legal { max-width: var(--measure); }
.legal h2 { font-size: 1.15rem; margin: 2.25rem 0 .6rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.65; }
.legal ul { padding-left: 1.15rem; margin: .5rem 0 1rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 0 0 .6rem; font-size: .9rem; }
.foot-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.foot-links a:hover { border-bottom-color: var(--ink); }
