/* zzpdesk.com: the Trapgevel identity (docs/decisions/0010-brand.md) */
:root {
  --green: #123F35;
  --green-mid: #1D5747;
  --green-soft: #2B6B58;
  --ink: #10231E;
  --kalk: #F2EFE6;
  --paper: #F7F3E8;
  --stone: #DFD9C9;
  --line: #D5CEBC;
  --gold: #E3A63A;
  --text-2: #2E3F39;
  --muted: #4A5A53;
  --on-green: #F7F3E8;
  --on-green-2: #C3D2CA;
  --display: 'Bricolage Grotesque', 'Arial Narrow', sans-serif;
  --body: Figtree, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--kalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: #155442; }
a:hover { color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--green); color: var(--on-green); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

h1, h2, h3 { font-family: var(--display); margin: 0; }
.h2 { font-weight: 800; font-stretch: 85%; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; color: var(--green); }

/* Buttons */
.btn { display: inline-block; font-weight: 600; text-decoration: none; border-radius: 10px; padding: 11px 18px; }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: #0D3029; color: var(--on-green); }
.btn-outline { color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--on-green); }
.btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn-gold:hover { background: #EDB653; color: var(--ink); }
.btn-lg { font-size: 18px; padding: 15px 24px; border-radius: 12px; }

/* Header */
.site-header { padding: 0 16px; }
.nav { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); margin-right: auto; }
.wordmark { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 26px; letter-spacing: -0.02em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 500; font-size: 16px; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.signin { color: var(--green); font-weight: 600; text-decoration: none; padding: 11px 12px; }
.lang { display: flex; border: 1px solid #CFC8B5; border-radius: 10px; padding: 3px; font-size: 14px; font-weight: 600; }
.lang a, .lang span { padding: 7px 10px; border-radius: 7px; text-decoration: none; color: var(--green); }
.lang [aria-current] { background: var(--green); color: var(--on-green); }

/* Hero and the street of canal houses */
.hero { padding: 56px 16px 0; }
.hero h1 { max-width: 900px; font-weight: 800; font-stretch: 85%; font-size: clamp(44px, 7.4vw, 104px); line-height: 0.95; letter-spacing: -0.035em; color: var(--green); }
.lede { margin: 28px 0 0; max-width: 620px; font-size: 20px; line-height: 1.5; color: var(--text-2); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.street { margin-top: 72px; display: flex; align-items: flex-end; gap: 6px; }
.house { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; --wall: var(--green); --win: #12392F; --label: var(--on-green); }
.gable {
  position: relative; width: 100%; aspect-ratio: 3 / 2; background: var(--wall);
  clip-path: polygon(11.1% 100%, 11.1% 75%, 22.2% 75%, 22.2% 50%, 33.3% 50%, 33.3% 25%, 41.7% 25%, 41.7% 0, 58.3% 0, 58.3% 25%, 66.7% 25%, 66.7% 50%, 77.8% 50%, 77.8% 75%, 88.9% 75%, 88.9% 100%);
}
.gable::after { content: ""; position: absolute; left: 43.75%; top: 21.9%; width: 12.5%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); }
.facade { background: var(--wall); padding: 16px 12%; display: flex; flex-direction: column; gap: 14px; height: var(--h); }
.house-name { font-family: var(--display); font-weight: 700; font-size: clamp(12px, 1.6vw, 20px); color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.windows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14%; }
.windows.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 12%; }
.windows i { display: block; height: var(--wh, 40px); background: var(--win); }
.windows i.lit { background: var(--gold); }
.door { margin-top: auto; align-self: center; width: 30%; height: 70px; background: var(--green); border-radius: 40px 40px 0 0; }

.house-clients  { flex-grow: 1;    --wall: var(--green-soft); --win: #1B4A3D; --h: 200px; --wh: 34px; }
.house-clients .gable::after { background: #C9D6CF; }
.house-hours    { flex-grow: 1.15; --wall: var(--green-mid); --h: 260px; }
.house-invoices { flex-grow: 1.3;  --wall: var(--ink); --win: #23382F; --h: 330px; --wh: 46px; }
.house-receipts { flex-grow: 1.1;  --wall: var(--stone); --win: var(--green); --label: var(--ink); --h: 240px; --wh: 38px; }
.house-receipts .gable::after { background: var(--green); }
.house-vat      { flex-grow: 1.2;  --h: 300px; --wh: 44px; }
.quay { height: 10px; background: var(--ink); margin: 0 -16px; }

/* How it works */
.steps-section { background: var(--green); color: var(--on-green); padding: 88px 16px 96px; }
.steps-section .h2 { color: var(--on-green); max-width: 760px; }
.section-lede { margin: 18px 0 0; max-width: 620px; font-size: 19px; color: var(--on-green-2); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 36px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid #2E5E50; }
.step-no { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--gold); }
.steps h3 { margin-top: 4px; font-weight: 700; font-size: 24px; }
.steps p { margin: 0; color: var(--on-green-2); }

/* Features */
.features-section { padding: 96px 16px; }
.features-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.features-main { flex: 999 1 520px; min-width: 0; }
.features { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-weight: 700; font-size: 21px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vat-card { flex: 1 1 360px; min-width: 0; margin: 0; background: #fff; border: 1px solid var(--stone); border-radius: 18px; padding: 28px; }
.vat-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.vat-title { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--green); }
.vat-note { font-size: 14px; color: #5B6B64; }
.vat-card dl { margin: 22px 0 0; font-variant-numeric: tabular-nums; }
.vat-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; padding: 13px 0; border-top: 1px solid #ECE7DA; }
.vat-row dt { font-weight: 700; color: var(--green); }
.vat-row dd { margin: 0; color: var(--text-2); }
.vat-row dd:last-child { text-align: right; color: var(--ink); }
.vat-total { border-top: 2px solid var(--green); padding-bottom: 0; padding-top: 16px; }
.vat-total dd:nth-of-type(1) { font-weight: 700; color: var(--ink); }
.vat-total dd:last-child { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--green); }
.vat-hint { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--text-2); }
.vat-hint svg { flex: none; margin-top: 2px; width: 20px; height: 20px; fill: none; stroke: #B57B12; stroke-width: 2; stroke-linecap: round; }

/* Principles */
.principles-section { padding: 0 16px 96px; }
.principles { background: var(--ink); color: var(--on-green); border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.principles h3 { font-weight: 700; font-size: 26px; line-height: 1.15; }
.principles p { margin: 10px 0 0; color: var(--on-green-2); }

/* Coming next */
.next-section { padding: 0 16px 96px; }
.next-layout { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.next-intro { flex: 1 1 320px; min-width: 0; }
.next-intro .h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.next-intro p { margin: 14px 0 0; color: var(--muted); max-width: 420px; }
.next-list { flex: 2 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 40px; }
.next-list li { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.next-list strong { display: block; font-size: 18px; color: var(--ink); }

/* FAQ */
.faq-section { padding: 88px 16px 96px; background: var(--paper); border-top: 1px solid var(--stone); }
.faq { max-width: 820px; margin: 0 auto; }
.faq .h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--stone); }
.faq details:last-of-type { border-bottom: 1px solid var(--stone); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 19px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 680px; }

/* Closing call to action and footer */
.cta-section { background: var(--green); color: var(--on-green); padding: 88px 16px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { max-width: 680px; font-weight: 800; font-stretch: 85%; font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.site-footer { background: var(--ink); color: var(--on-green-2); padding: 48px 16px; font-size: 15px; }
.footer { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .wordmark { font-size: 24px; color: var(--on-green); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: flex-start; }
.footer-links a { color: var(--on-green); }

/* Pricing */
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.pricing-hero { padding: 56px 16px 8px; }
.pricing-hero h1 { max-width: 820px; font-weight: 800; font-stretch: 85%; font-size: clamp(40px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.03em; color: var(--green); }
.plans-section { padding: 32px 16px 72px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; background: #fff; border: 1px solid var(--stone); border-radius: 18px; }
.plan h2 { font-weight: 700; font-size: 22px; color: var(--ink); }
.plan-best { border: 2px solid var(--green); }
.plan-tag { position: absolute; top: -13px; left: 24px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; }
.price { margin: 8px 0 0; display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--green); letter-spacing: -0.02em; }
.price .per { color: var(--muted); font-size: 17px; }
.price-note { margin: 0; color: var(--muted); font-size: 15px; }
.plan-benefits { list-style: none; margin: 16px 0 24px; padding: 16px 0 0; border-top: 1px solid #ECE7DA; display: flex; flex-direction: column; gap: 10px; }
.plan .btn { margin-top: auto; text-align: center; }
.pay-note { margin-top: 20px; color: var(--muted); font-size: 15px; text-align: center; }
.included-section { padding: 0 16px 72px; }
.included { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 32px; max-width: 980px; }
.included li, .plan-benefits li { position: relative; padding-left: 30px; }
.included li::before, .plan-benefits li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.table-scroll { margin-top: 24px; overflow-x: auto; max-width: 760px; border: 1px solid var(--stone); border-radius: 14px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-top: 1px solid #ECE7DA; vertical-align: top; }
.compare thead th { border-top: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.compare tbody th { font-weight: 600; }

/* Privacy and terms: a reading column aligned with the page's left edge */
.legal-hero { padding: 56px 16px 8px; }
.legal-hero h1 { font-weight: 800; font-stretch: 85%; font-size: clamp(40px, 6vw, 72px); line-height: 0.98; letter-spacing: -0.03em; color: var(--green); }
.legal-hero .lede { margin-top: 20px; }
.updated { margin: 16px 0 0; max-width: 620px; color: var(--muted); font-size: 15px; }
.legal-section { padding: 32px 16px 96px; }
.legal > * { max-width: 720px; }
.legal h2 { margin: 48px 0 12px; font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--green); scroll-margin-top: 24px; }
.legal p, .legal li, .legal dd, .legal address { color: var(--text-2); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal address { font-style: normal; margin: 0 0 14px; }
.legal-summary { background: #fff; border: 1px solid var(--stone); border-radius: 18px; padding: 24px 28px; }
.legal .legal-summary h2 { margin: 0; font-size: 22px; color: var(--ink); }
.legal .legal-summary ul { margin: 12px 0 0; }
.legal-list { margin: 0 0 16px; }
.legal-list dt { margin-top: 16px; font-weight: 700; color: var(--ink); }
.legal-list dd { margin: 4px 0 0; }
.legal .table-scroll { margin: 8px 0 18px; }
.articles { list-style: none; margin: 0; padding: 0; counter-reset: article; }
.articles > li { margin: 0; counter-increment: article; }
.articles > li > h2::before { content: counter(article) ". "; color: var(--green-soft); }
.footer-links a[aria-current="page"] { font-weight: 600; text-decoration: none; }

/* Phones */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding-top: 32px; }
  .lede { font-size: 18px; }
  .street { margin-top: 48px; gap: 4px; }
  .house-clients { display: none; }
  .facade { height: calc(var(--h) * 0.6); padding: 10px 9%; gap: 10px; }
  .windows i { height: calc(var(--wh, 40px) * 0.6); }
  .door { height: 40px; }
  .steps-section, .faq-section, .cta-section { padding-top: 64px; padding-bottom: 72px; }
  .features-section { padding: 72px 16px; }
}
@media (max-width: 420px) {
  .signin { display: none; }
}

/* Simple pages (404) */
.simple { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 64px 16px; }
.simple p { max-width: 560px; color: var(--muted); }
