/* toeslagmaat.shop: the front page and /questions/ only. The signed-in pages keep site.css. */
:root {
  --accent: #C2541B;
  --accent-dark: #9A3F10;
  --ink: #2A1D16;
  --muted: #6B574A;
  --bg: #F6EBE2;
  --paper: #FFFBF7;
  --line: #E2CDBD;
  --night: #22180F;
  --glow: #FFB57E;
  --wrap: 1160px;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Fira Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.num, table { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 17px; border: 0; border-radius: 6px;
  box-shadow: 0 2px 0 var(--accent-dark);
  cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-dark); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* nav */
nav.top { background: var(--bg); border-bottom: 1px solid var(--line); }
nav.top .wrap { display: flex; align-items: center; gap: 6px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; margin-right: auto; white-space: nowrap; }
.brand img { border-radius: 7px; display: block; }
nav.top .login { color: var(--ink); font-size: 15px; font-weight: 500; padding: 12px 4px; text-decoration: none; white-space: nowrap; }
nav.top .login:hover { text-decoration: underline; }
nav.top .btn { min-height: 44px; padding: 0 12px; font-size: 15px; white-space: nowrap; }
@media (max-width: 480px) {
  nav.top .wrap { padding: 0 14px; gap: 4px; }
  .brand, nav.top .login, nav.top .btn { font-size: 14px; }
  .brand { gap: 6px; }
  nav.top .btn { padding: 0 11px; }
}
@media (max-width: 379px) { .brand span { display: none; } }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* header: the letter and the phone it lands on */
header.hero { padding: 34px 0 40px; }
.hero .grid { display: grid; gap: 30px; }
.hero h1 { font-size: clamp(32px, 8.4vw, 54px); max-width: 15ch; }
.hero .sub { margin-top: 16px; font-size: 18px; max-width: 34em; color: #4A382D; }
.cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cta .nocard { font-size: 15px; color: var(--muted); }

.phone {
  margin: 0 auto; width: 100%; max-width: 360px;
  background: var(--night); border-radius: 34px; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(80, 35, 10, .45);
}
.phone .scr { background: var(--paper); border-radius: 26px; height: 520px; overflow: hidden; position: relative; }
.phone .scr::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(rgba(255, 251, 247, 0), var(--paper) 85%);
}
.status { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 13px; font-weight: 600; }
.mailbar { display: flex; align-items: center; gap: 6px; padding: 4px 16px 8px; font-size: 14px; color: var(--accent-dark); border-bottom: 1px solid #F0E2D7; }
.mailhead { padding: 12px 16px 10px; }
.mailhead .subj { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.from { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 13.5px; }
.from img { border-radius: 50%; display: block; }
.from b { display: block; font-size: 14px; }
.letter { padding: 4px 16px 0; font-size: 14.5px; line-height: 1.55; }
.letter p + p, .letter p + table, .letter table + .note { margin-top: 10px; }
.mailtab { width: 100%; border-collapse: collapse; font-size: 14px; }
.mailtab th { font-weight: 500; color: var(--muted); font-size: 12.5px; text-align: left; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mailtab td { padding: 7px 0; border-bottom: 1px solid #F0E2D7; vertical-align: top; }
.mailtab .r { text-align: right; }
.mailtab .now { font-weight: 700; font-size: 16px; }
.mailtab .up { color: var(--accent-dark); font-weight: 600; }
.mailtab small { display: block; color: var(--muted); font-size: 12px; }
.note { border-top: 1.5px dashed var(--line); padding-top: 10px; }
.note b { color: var(--accent-dark); }
.sample { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 1px 7px; border-radius: 3px; letter-spacing: .02em; }
.hero figcaption { text-align: center; margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* the perforated edge between parts, like a tear-off delivery note */
.tear { border-top: 2px dashed var(--line); }

section { padding: 56px 0; }
section h2 { font-size: clamp(26px, 6vw, 36px); max-width: 22ch; }
.lead { margin-top: 10px; max-width: 36em; color: #4A382D; }

/* how: three numbered boxes, the way a CMR form numbers its fields */
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; border: 1.5px solid var(--ink); background: var(--paper); }
.steps li { padding: 18px 18px 20px 62px; position: relative; border-top: 1.5px solid var(--ink); }
.steps li:first-child { border-top: 0; }
.steps .vak {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px;
  display: grid; place-items: center; font-weight: 700; font-size: 18px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); color: var(--accent-dark);
}
.steps h3 { font-size: 19px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }

/* what: the pump display with this week's CBS price */
#what .grid { display: grid; gap: 28px; align-items: center; }
.pump { background: var(--night); color: #F4E6DA; border-radius: 10px; padding: 22px 22px 18px; }
.pump .lbl { font-size: 13.5px; color: #CDB7A6; letter-spacing: .02em; }
.pump .big { display: block; font-size: clamp(54px, 15vw, 78px); font-weight: 500; color: var(--glow); line-height: 1.05; margin: 6px 0 2px; letter-spacing: .02em; }
.pump .per { font-size: 15px; color: #CDB7A6; }
.pump dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 18px 0 0; border-top: 1px solid #4A372A; }
.pump dl div { padding: 12px 0 0; }
.pump dl div + div { padding-left: 16px; border-left: 1px solid #4A372A; }
.pump dt { font-size: 13px; color: #CDB7A6; }
.pump dd { margin: 2px 0 0; font-size: 24px; font-weight: 600; color: #fff; }
.pump dd small { display: block; font-size: 13px; font-weight: 400; color: #CDB7A6; }
.formula { margin-top: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; font-size: 16px; }
.formula b { color: var(--accent-dark); }

/* price: an invoice line, with the questions beside it */
#price .grid { display: grid; gap: 34px; }
.invoice { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; box-shadow: 0 1px 0 var(--line); }
.invoice .amount { font-size: 52px; font-weight: 700; line-height: 1; margin-top: 12px; }
.invoice .amount span { font-size: 18px; font-weight: 500; color: var(--muted); }
.lines { list-style: none; padding: 0; margin: 18px 0; border-top: 1px solid var(--line); }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--line); font-size: 16px; }
.lines li span:last-child { color: var(--muted); white-space: nowrap; }
.lines li.free span:last-child { color: var(--accent-dark); font-weight: 700; }
.invoice .btn { width: 100%; }
.invoice .fine { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
#faq h2 { font-size: 26px; }
.qa { margin-top: 16px; }
.qa div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 17.5px; }
.qa p { margin-top: 4px; color: #4A382D; font-size: 16px; }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 600; }

/* band */
section.band { background: var(--accent); color: #fff; text-align: center; padding: 48px 0; }
.band h2 { margin: 0 auto; max-width: 24ch; }
.band .btn { margin-top: 20px; background: #fff; color: var(--accent-dark); box-shadow: 0 2px 0 var(--accent-dark); }
.band .btn:hover { background: var(--paper); }
.band p { margin-top: 12px; font-size: 15px; }

/* footer */
footer.site { background: var(--night); color: #DCC9BA; padding: 32px 0 40px; font-size: 15px; }
footer.site .wrap { display: grid; gap: 10px; }
footer.site .wrap > div { max-width: 62ch; }
footer.site a { color: #fff; }
footer.site b { color: #fff; }
.syng-legal-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.syng-legal-links a:first-child { padding-left: 0; }

/* /questions/ */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: clamp(30px, 7vw, 46px); max-width: 18ch; }
.toc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.qlist { margin-top: 20px; columns: 1; }
.qlist div { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qlist h3 { font-size: 18px; }
.qlist p { margin-top: 4px; color: #4A382D; }
.calc { display: grid; gap: 18px; margin-top: 24px; }
.calc + .calc { margin-top: 28px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.field { margin-bottom: 14px; }
.field label, .field .lab { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15.5px; }
.radios { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.radios label { font-weight: 400; display: flex; gap: 6px; align-items: center; min-height: 40px; }
.field input[type=date], .field input[type=number], .field input[type=text], .field select {
  width: 100%; min-height: 46px; padding: 8px 12px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #C9B3A3; border-radius: 6px;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.result { background: var(--night); color: #F4E6DA; border-radius: 8px; padding: 20px; }
.result .muted { color: #CDB7A6; }
.result a { color: var(--glow); }
.result .pct { font-size: 56px; font-weight: 600; color: var(--glow); line-height: 1.1; }
.result h3 { color: #fff; font-size: 21px; }
.scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 14px; font-weight: 500; color: var(--muted); }
.table .r { text-align: right; }
.table .big { font-weight: 700; }
.result .table td { border-color: #4A372A; }
.who { display: grid; gap: 0; margin-top: 22px; border: 1.5px solid var(--ink); background: var(--paper); }
.who div { padding: 18px; border-top: 1.5px solid var(--ink); }
.who div:first-child { border-top: 0; }
.who p { margin-top: 6px; color: var(--muted); }

/* computer */
@media (min-width: 900px) {
  .wrap { padding: 0 32px; }
  header.hero { padding: 40px 0 44px; }
  .hero .grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: center; }
  .hero .sub { font-size: 19px; }
  .phone .scr { height: 540px; }
  section { padding: 80px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { border-top: 0; border-left: 1.5px solid var(--ink); padding: 60px 22px 24px; }
  .steps li:first-child { border-left: 0; }
  #what .grid { grid-template-columns: 1fr 1.05fr; gap: 64px; }
  #price .grid { grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: start; }
  .qa { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
  footer.site .wrap { grid-template-columns: 1fr auto; align-items: start; }
  .qlist { columns: 2; column-gap: 48px; }
  .calc { grid-template-columns: 1fr 1fr; align-items: start; }
  .who { grid-template-columns: repeat(3, 1fr); }
  .who div { border-top: 0; border-left: 1.5px solid var(--ink); }
  .who div:first-child { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
