@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations"), url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper: #F4F5F2;
  --board: #FFFFFF;
  --ink: #1E2B25;
  --ink-soft: #4A5650;
  --signal: #F2C230;
  --signal-deep: #D9A70F;
  --concrete: #8B908C;
  --rule: #D3D7D2;
  --due: #B8321F;
  --focus: #1E2B25;
  --measure: 68ch;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.1rem, 4.2vw + 1rem, 3.6rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #151C19; --board: #1C2420; --ink: #E9ECE8; --ink-soft: #B3BCB6;
    --concrete: #8E9893; --rule: #33403A; --due: #F07A62; --focus: #F2C230;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--step-0); line-height: 1.55; font-stretch: 100%;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.logo { font-weight: 800; font-stretch: 125%; font-size: 1.35rem; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 22px; height: 22px; background: var(--signal); border: 2px solid var(--ink); display: inline-block; }
.top nav { display: flex; gap: 14px; font-size: var(--step--1); align-items: center; }
.top nav a[aria-current="true"] { font-weight: 700; text-decoration: none; }

/* hero */
.hero { padding: 40px 0 28px; }
.hero h1 {
  font-size: var(--step-3); line-height: 1.04; font-weight: 800; font-stretch: 112%;
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 18ch;
}
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink-soft); max-width: 56ch; margin: 0 0 28px; }

/* signup */
.signup { display: grid; gap: 10px; grid-template-columns: 1fr; max-width: 860px; }
@media (min-width: 820px) { .signup { grid-template-columns: 1.5fr 1fr 1.3fr auto; } }
.signup label { display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: 4px; }
.signup select, .signup input {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 12px; border: 2px solid var(--ink);
  background: var(--board); color: var(--ink); border-radius: 0; min-height: 50px;
}
.signup button {
  font: inherit; font-weight: 700; font-size: 1rem; padding: 12px 20px; min-height: 50px; align-self: end;
  background: var(--signal); color: #1E2B25; border: 2px solid var(--ink); cursor: pointer; white-space: nowrap;
}
.signup button:hover { background: var(--signal-deep); }
.signup button[disabled] { cursor: not-allowed; opacity: .7; }
.form-note { font-size: var(--step--1); color: var(--ink-soft); margin: 10px 0 0; }

/* the Bautafel: the one bold element */
.tafel { margin: 44px 0 12px; background: var(--board); border: 3px solid var(--ink); }
.tafel-head {
  background: var(--signal); color: #1E2B25; border-bottom: 3px solid var(--ink);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 18px; padding: 14px 18px;
}
.tafel-head h2 { margin: 0; font-size: var(--step-2); font-weight: 800; font-stretch: 125%; letter-spacing: -0.01em; }
.tafel-head p { margin: 0; font-weight: 600; font-stretch: 87%; font-variant-numeric: tabular-nums; }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid; gap: 2px 16px; padding: 12px 18px; border-top: 1px solid var(--rule);
  grid-template-columns: 1fr; font-stretch: 82%;
}
.row:first-child { border-top: 0; }
@media (min-width: 760px) {
  .row { grid-template-columns: 11.5rem 1fr 10rem 6.5rem; align-items: baseline; }
  .row-head { display: grid !important; }
}
.row-head { display: none; font-weight: 700; font-size: var(--step--1); color: var(--ink-soft); padding-top: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.r-trade { font-weight: 700; font-size: var(--step--1); }
.r-job a { font-weight: 600; font-size: 1.04rem; text-decoration: none; line-height: 1.3; }
.r-job a:hover { text-decoration: underline; }
.r-meta { display: block; font-size: var(--step--1); color: var(--ink-soft); margin-top: 2px; }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; border: 1px solid currentColor; padding: 0 5px; margin-left: 6px; vertical-align: 1px; }
.r-place { font-size: var(--step--1); }
.r-due { font-variant-numeric: tabular-nums; font-weight: 700; font-size: var(--step--1); }
.r-due.soon { color: var(--due); }
.disclaimer { font-size: 0.8rem; color: var(--concrete); max-width: var(--measure); margin: 8px 0 0; }

/* sections */
section.block { padding: 56px 0 8px; }
section.block > h2 { font-size: var(--step-2); font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; margin: 0 0 20px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 24px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 12px; }
.steps li::before { content: counter(s); font-weight: 800; font-stretch: 125%; font-size: var(--step-2); display: block; line-height: 1; margin-bottom: 8px; }
.steps h3, .why h3 { margin: 0 0 6px; font-size: var(--step-1); font-stretch: 100%; line-height: 1.25; }
.steps p, .why p { margin: 0; color: var(--ink-soft); max-width: 42ch; }
.why { display: grid; gap: 22px; }
@media (min-width: 820px) { .why { grid-template-columns: repeat(3, 1fr); } }

.trade-list { list-style: none; padding: 0; margin: 0; columns: 1; column-gap: 32px; }
@media (min-width: 640px) { .trade-list { columns: 2; } }
@media (min-width: 980px) { .trade-list { columns: 3; } }
.trade-list li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 12px; }
.trade-list a { font-weight: 600; text-decoration: none; }
.trade-list a:hover { text-decoration: underline; }
.trade-list span { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: var(--step--1); }

.plans { display: grid; gap: 20px; max-width: 860px; }
@media (min-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--board); border: 2px solid var(--ink); padding: 20px; }
.plan.pro { border-width: 3px; box-shadow: 8px 8px 0 var(--signal); }
.plan h3 { margin: 0; font-size: var(--step-1); }
.plan .price { font-size: var(--step-2); font-weight: 800; font-stretch: 112%; margin: 4px 0 12px; }
.plan ul { margin: 0; padding-left: 1.1em; }
.plan .soon { margin: 12px 0 0; font-size: var(--step--1); font-weight: 700; }

.faq dt { font-weight: 700; margin-top: 18px; font-size: var(--step-1); line-height: 1.3; }
.faq dd { margin: 6px 0 0; color: var(--ink-soft); max-width: var(--measure); }

.crumbs { font-size: var(--step--1); margin: 12px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; border: 1px solid var(--ink); padding: 4px 10px; text-decoration: none; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.chips a:hover { background: var(--signal); color: #1E2B25; }
.cta-band { margin: 48px 0 0; padding: 24px; background: var(--board); border: 3px solid var(--ink); }
.cta-band h2 { margin: 0 0 16px; font-size: var(--step-2); font-stretch: 112%; }

.prose { max-width: var(--measure); padding-bottom: 40px; }
.prose h1 { font-size: var(--step-3); font-stretch: 112%; line-height: 1.08; margin: 24px 0 18px; }
.prose h2 { font-size: var(--step-1); margin: 28px 0 8px; }

footer.site { margin-top: 72px; border-top: 3px solid var(--ink); padding: 24px 0 40px; font-size: var(--step--1); color: var(--ink-soft); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 10px; }

@media (prefers-reduced-motion: no-preference) {
  .tafel .row { animation: flip .5s ease-out both; }
  .tafel .row:nth-child(2) { animation-delay: .05s; } .tafel .row:nth-child(3) { animation-delay: .1s; }
  .tafel .row:nth-child(4) { animation-delay: .15s; } .tafel .row:nth-child(5) { animation-delay: .2s; }
  .tafel .row:nth-child(6) { animation-delay: .25s; } .tafel .row:nth-child(7) { animation-delay: .3s; }
  .tafel .row:nth-child(8) { animation-delay: .35s; } .tafel .row:nth-child(9) { animation-delay: .4s; }
  @keyframes flip { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
}
