/* Onest, served from this site (no request to Google). Variable weight; the browser picks the file by alphabet. Licence: public/fonts/OFL.txt */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/onest-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/onest-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/onest-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/onest-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Optima Balance — v3. Grey ground, coal blocks, the logo's orange. Sections are as tall as their content. */
:root {
  --grey: #e7e6e2;
  --paper: #f6f5f1;
  --white: #ffffff;
  --ink: #191919;
  --coal: #1d1d1d;
  --coal-2: #2a2a2a;
  --orange: #f28c1e;
  --orange-deep: #d97706;
  --muted: #5d5c57;
  --muted-inv: #a9a8a3;
  --line: rgba(25, 25, 25, .14);
  --line-inv: rgba(255, 255, 255, .16);
  --display: "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 56px);
  --sec: clamp(56px, 7vw, 104px);
  --r: 8px;
  --r-lg: 18px;
  --orange-hover: #ff9d33;
  --on-dark-text: #dddcd7;
  --on-dark-soft: #d5d4cf;
  --placeholder: #74736d;
  --error: #a32a12;
  --photo-bg: #e6e4dc;
  --draft-bg: #fff3d6;
  --draft-fg: #6b4200;
  --mark: #ffe2b8;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--grey); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .head :focus-visible, .foot :focus-visible { outline-color: var(--orange); }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * .7); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--ink); padding: 10px 14px; border-radius: var(--r); z-index: 50; }
.skip:focus { left: 12px; }

h1, h2, .display { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 82px); }
h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.04; }
h3 { font: 600 clamp(20px, 1.7vw, 24px)/1.2 var(--display); letter-spacing: -0.02em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; max-width: 56ch; }
.muted { color: var(--muted); }
.on-dark { background: var(--coal); color: var(--paper); }
.on-dark .muted { color: var(--muted-inv); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--r); border: 1.5px solid transparent; font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn--main { background: var(--orange); color: var(--ink); }
.btn--main:hover { background: var(--orange-hover); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--line { border-color: currentColor; background: transparent; color: inherit; }
.btn--line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.on-dark .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.more:hover { text-decoration-color: var(--orange); }
.more svg { width: 14px; height: 14px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* header */
.head { position: sticky; top: 0; z-index: 30; background: var(--coal); color: var(--paper); }
.head__bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 500 20px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; color: var(--paper); white-space: nowrap; }
.logo img { width: 36px; height: 36px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 12px 14px; border-radius: var(--r); font-weight: 500; font-size: 15.5px; text-decoration: none; color: var(--on-dark-text); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); background: var(--coal-2); }
.head__side { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r); border: 0; background: none; color: var(--paper); font: 500 15px/1 var(--text); cursor: pointer; }
/* Hidden when the browser language is one of ours and the page is already in it (class set in <head>). */
.lang__btn:hover { background: var(--coal-2); }
.lang__btn svg { width: 12px; height: 12px; transition: transform .15s; }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px; background: var(--white); color: var(--ink); border-radius: var(--r); box-shadow: 0 14px 40px rgba(0, 0, 0, .28); }
.lang__menu[hidden] { display: none; }
.lang__menu a { display: flex; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: var(--r); text-decoration: none; font-size: 15.5px; }
.lang__menu a:hover { background: var(--grey); }
.lang__menu a[aria-current="true"] { font-weight: 600; }
.lang__menu span { color: var(--muted); font-size: 13px; }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r); border: 0; background: none; color: var(--paper); cursor: pointer; }
.burger:hover { background: var(--coal-2); }
/* Three bars. Opening: the outer bars slide to the middle (.2s), then the third turns upright and the
   whole icon turns 135deg and settles without overshoot (.6s), which leaves a cross. Closing runs it backwards. */
.burger__ic { --spring: cubic-bezier(.22, 1, .36, 1); position: relative; display: block; width: 22px; height: 16px; transition: rotate .6s var(--spring); }
.burger__ic b { position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: translate .2s ease .6s, rotate .6s var(--spring); }
.burger__ic b:nth-child(1) { translate: 0 -7px; }
.burger__ic b:nth-child(3) { translate: 0 7px; }
.burger[aria-expanded="true"] .burger__ic { rotate: 135deg; transition-delay: .2s; }
.burger[aria-expanded="true"] .burger__ic b { translate: 0 0; transition: translate .2s ease, rotate .6s var(--spring) .2s; }
.burger[aria-expanded="true"] .burger__ic b:nth-child(3) { rotate: 90deg; }
@media (prefers-reduced-motion: reduce) { .burger__ic, .burger__ic b { transition: none !important; } }
@media (max-width: 1040px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 8px var(--gut) 20px; background: var(--coal); border-top: 1px solid var(--line-inv); }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line-inv); border-radius: 0; }
  .head__side { margin-left: auto; }
  .burger { display: inline-grid; place-items: center; }
  .head__side .btn { display: none; }
}

/* hero */
.hero { padding-block: clamp(36px, 4.5vw, 64px) 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hero__copy { display: grid; gap: 26px; justify-items: start; }
.hero__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; background: var(--paper); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 56px); border-radius: var(--r-lg); background: var(--coal); color: var(--paper); }
.facts > div { padding: clamp(20px, 2.4vw, 32px) clamp(20px, 2.6vw, 36px); display: grid; gap: 6px; }
.facts > div + div { border-left: 1px solid var(--line-inv); }
.facts dd { font: 600 clamp(36px, 4.4vw, 64px)/1 var(--display); letter-spacing: -0.04em; color: var(--orange); order: -1; }
.facts dt { color: var(--on-dark-soft); font-size: 15.5px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .facts > div { padding: 18px 14px; }
  .facts dt { font-size: 13.5px; line-height: 1.3; }
}

/* section head */
.shead { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.shead > div:not(.rail-ctl) { display: grid; gap: 14px; }

/* services */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.svc { display: grid; gap: 22px; align-content: start; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--r-lg); background: var(--paper); }
.svc.on-dark { background: var(--coal); }
.svc__list li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.svc.on-dark .svc__list li { border-color: var(--line-inv); }
.svc__list b { font-weight: 600; }
.svc__list span { color: var(--muted); font-size: 15.5px; }
.svc.on-dark .svc__list span { color: var(--muted-inv); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* grants band */
.band { background: var(--orange); color: var(--ink); }
.band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.band__copy { display: grid; gap: 22px; justify-items: start; }
.sums li + li { border-top: 1.5px solid rgba(25, 25, 25, .25); }
.sums a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; }
.sums b { font: 600 clamp(40px, 5.4vw, 78px)/1 var(--display); letter-spacing: -0.045em; }
.sums span { font-weight: 600; font-size: 15.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.sums svg { width: 22px; height: 22px; }
.sums a:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* reviews carousel */
.rail-ctl { display: flex; gap: 8px; }
.rail-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-inv); background: none; color: var(--paper); cursor: pointer; display: grid; place-items: center; }
.rail-ctl button:hover { background: var(--paper); color: var(--ink); }
.rail-ctl svg { width: 18px; height: 18px; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2)); }
.rail::-webkit-scrollbar { display: none; }
.rev { flex: 0 0 clamp(200px, 17.5vw, 236px); scroll-snap-align: start; display: grid; gap: 12px; text-decoration: none; color: inherit; }
.rev__img { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--coal-2); }
.rev__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rev:hover .rev__img img { transform: scale(1.03); }
.rev__play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.rev__play svg { width: 16px; height: 16px; margin-left: 2px; }
.rev b { font-weight: 600; line-height: 1.3; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(s); font: 600 44px/1 var(--display); letter-spacing: -0.04em; }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* request */
.req { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(28px, 5vw, 80px); align-items: start; }
.req__copy { display: grid; gap: 22px; }
.who { display: flex; align-items: center; gap: 16px; }
.who__pic { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; background: var(--paper); }
.who__pic img { width: 100%; height: 100%; object-fit: cover; }
.contacts { display: grid; gap: 14px; }
.contacts a, .contacts p { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.contacts svg { width: 20px; height: 20px; flex: none; }
.contacts a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); transition: background .15s, color .15s; }
.social a:hover { background: var(--orange); color: var(--ink); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.foot .social a { background: var(--coal-2); }
.foot .social a:hover { background: var(--orange); }
.form { display: grid; gap: 16px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--paper); }
.form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid rgba(25, 25, 25, .28); background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--text); }
.form textarea { min-height: 96px; resize: vertical; }
.form ::placeholder { color: var(--placeholder); } /* 4.76:1 on white */
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--muted); }
.form .check input { width: 20px; min-height: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.form .btn { width: 100%; }
.form__done { display: none; justify-items: start; gap: 12px; padding-block: 8px; }
.form__done:focus { outline: none; }
.form__done h3 { font-size: clamp(24px, 2.4vw, 30px); }
.form__done p { color: var(--muted); }
.form__done .btn { width: auto; }
.form__done-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--ink); }
.form__done-ic svg { width: 26px; height: 26px; }
.form.is-done > :not(.form__done) { display: none; }
.form.is-done .form__done { display: grid; }
@media (max-width: 900px) { .req { grid-template-columns: 1fr; } }
/* Home request section on phones: the form right under the heading, the owner, contacts and socials below it. */
@media (max-width: 900px) {
  .req--home { gap: 22px; }
  .req--home .req__copy { display: contents; }
  .req--home .req__copy > h2 { order: 1; }
  .req--home .req__copy > .lead { order: 2; }
  .req--home > .form { order: 3; }
  .req--home .who { order: 4; margin-top: 8px; }
  .req--home .contacts { order: 5; }
  .req--home .social { order: 6; }
  .req--home .who__pic { width: 56px; height: 56px; }
}
@media (max-width: 420px) { .form__two { grid-template-columns: 1fr; } }

/* footer */
.foot { background: var(--coal); color: var(--paper); padding-block: 48px 28px; }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__nav a { color: var(--on-dark-text); text-decoration: none; padding: 8px 0; }
.foot__nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-inv); color: var(--muted-inv); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* phone action bar */
.bar { display: none; }
@media (max-width: 700px) {
  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--coal); }
  .bar .btn { min-height: 48px; }
  .bar .btn--line { color: var(--paper); border-color: var(--line-inv); padding-inline: 16px; }
  body { padding-bottom: 72px; }
}

/* services page */
.page-head { padding-block: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.page-head .lead { margin-top: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { padding: 12px 18px; border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.jump a:hover { background: var(--ink); color: var(--paper); }
.cat { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.cat__side { position: sticky; top: 104px; display: grid; gap: 16px; justify-items: start; }
.items { display: grid; gap: 12px; }
.item { padding: 22px 26px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 8px; }
.on-dark .item { background: var(--coal-2); }
.item p { color: var(--muted); font-size: 16px; max-width: 70ch; }
.person { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: start; }
.person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.person > div { display: grid; gap: 8px; }
@media (max-width: 420px) { .person { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; } .person img { width: 64px; height: 64px; } }
.on-dark .item p { color: var(--muted-inv); }
@media (max-width: 860px) { .cat { grid-template-columns: 1fr; } .cat__side { position: static; } }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.faq div { padding: 22px 26px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 8px; align-content: start; }
.faq p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }

/* additions for the Astro build */
.note { font-size: 15.5px; color: var(--muted); max-width: 52ch; }
.sec--flush { padding-top: 0; }
.rail-more { margin-top: 28px; }
.form__status { font-size: 15px; font-weight: 500; }
.form__status[data-ok="0"] { color: var(--error); }
.cta p { margin-top: 12px; }
.cta-band { border-bottom: 1px solid var(--line-inv); }
.about-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.about-head h1 { font-size: clamp(34px, 4.4vw, 64px); }
.about-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; justify-self: center; width: 100%; max-width: 512px; background: var(--photo-bg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 860px) { .about-photo { aspect-ratio: 1 / 1; max-width: none; } }
@media (max-width: 860px) { .about-head { grid-template-columns: 1fr; } }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nums > div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-inv); }
.nums dd { order: -1; font: 600 clamp(40px, 4.6vw, 68px)/1 var(--display); letter-spacing: -0.04em; color: var(--orange); }
.nums dt { color: var(--on-dark-soft); font-size: 16px; }
@media (max-width: 860px) { .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.krows { display: grid; gap: 0; }
.krows > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.krows dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15.5px; align-self: start; }
.krows dt svg { width: 20px; height: 20px; flex: none; }
.krows dd { font-weight: 500; line-height: 1.6; }
.krows dd a:not(.more) { text-decoration: none; }
.krows dd a:not(.more):hover { text-decoration: underline; text-underline-offset: 4px; }
.krows dd .muted { font-weight: 400; font-size: 15.5px; }
@media (max-width: 560px) { .krows > div { grid-template-columns: 1fr; gap: 6px; } }
.prose { display: grid; gap: 36px; justify-items: start; }
.prose p, .prose h2 { overflow-wrap: anywhere; }
.prose section { display: grid; gap: 12px; max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; }
.prose p { max-width: 68ch; }
.form .check a { color: var(--ink); }
.foot__legal a { color: inherit; }
.foot__langs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 14.5px; }
.foot__langs a, .foot__langs span { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; color: var(--on-dark-text); }
.foot__langs a:hover { color: var(--white); }
.foot__langs span { color: var(--orange); font-weight: 600; }

/* phone refinements */
.bar { transition: transform .2s; }
.bar.is-away { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
.foot__nav a, .foot__legal a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .head__bar { min-height: 64px; gap: 12px; }
  html { scroll-padding-top: 76px; }
  .logo { font-size: 18px; gap: 10px; }
  .logo img { width: 32px; height: 32px; }
  .hero { padding-top: 28px; }
  .hero__copy { gap: 20px; }
  .hero .btn-row { width: 100%; display: grid; grid-template-columns: 1fr; }
  .hero .btn-row .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; margin-top: 24px; }
  .facts > div { grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 16px 20px; }
  .facts > div + div { border-left: 0; border-top: 1px solid var(--line-inv); }
  .facts dd { order: 0; grid-column: 1; grid-row: 1; font-size: 36px; }
  .facts dt { grid-column: 2; grid-row: 1; font-size: 15px; line-height: 1.35; }
  .shead { margin-bottom: 22px; }
  .svc { padding: 22px 20px; gap: 16px; }
  .sums b { font-size: clamp(34px, 10.5vw, 44px); }
  .sums span { font-size: 14px; }
  .rail { gap: 12px; }
  .rev { flex-basis: 62vw; }
  .rail-ctl button { width: 44px; height: 44px; }
  .steps { gap: 0; }
  .steps li { padding: 18px 0; grid-template-columns: 44px 1fr; column-gap: 8px; border-top-width: 1.5px; }
  .steps li::before { grid-row: 1 / span 2; font-size: 34px; }
  .steps li h3, .steps li p { grid-column: 2; }
  .form { padding: 20px 16px; }
  .item { padding: 18px 18px; }
  .faq div { padding: 18px 18px; }
  .jump { gap: 8px; }
  .jump a { padding: 11px 14px; font-size: 15px; }
  .cta .btn-row { width: 100%; display: grid; grid-template-columns: 1fr; }
  .nums { gap: 16px 14px; }
  .foot { padding-block: 36px 24px; }
  .foot__top { align-items: flex-start; flex-direction: column; gap: 18px; }
  .foot__nav { gap: 0 20px; }
  .foot__legal { flex-direction: column; gap: 2px; }
  .lang__menu { position: fixed; left: 12px; right: 12px; top: 72px; min-width: 0; }
  .lang__menu a { padding: 15px 14px; font-size: 17px; }
  .nav.is-open { max-height: calc(100dvh - 64px); overflow-y: auto; }
}
@media (max-width: 360px) {
  .logo { font-size: 16.5px; }
  .lang__btn { padding: 0 9px; }
  .bar { grid-template-columns: 1fr; }
  .bar .btn--line { display: none; }
}

.more { min-height: 44px; }
.logo { min-height: 44px; }

h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 420px) { h1 { hyphens: auto; font-size: clamp(32px, 9.4vw, 40px); } }

/* prices */
.price-line { font-weight: 600; padding: 12px 14px; border-radius: var(--r); background: var(--orange); color: var(--ink); }
.ptables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ptable { padding: 24px 24px 12px; border-radius: var(--r-lg); background: var(--paper); display: grid; gap: 14px; align-content: start; }
.ptable h3 { min-height: 2.4em; }
.ptable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 11px 0; border-top: 1px solid var(--line); text-align: right; font-weight: 500; }
.ptable thead th { border-top: 0; padding-top: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); vertical-align: bottom; }
.ptable th:first-child { text-align: left; }
.ptable tbody th { font-weight: 400; }
.ptable td:last-child { color: var(--muted); font-weight: 400; padding-left: 12px; }
.ptable__next th, .ptable__next td { font-size: 15px; color: var(--muted); }
.payroll { margin-top: 24px; padding: 20px 24px; border-radius: var(--r-lg); background: var(--coal); color: var(--paper); max-width: none; }
.trio { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; }
@media (max-width: 1000px) { .ptables, .trio { grid-template-columns: 1fr; } .ptable h3 { min-height: 0; } }
@media (max-width: 700px) { .ptable { padding: 20px 18px 8px; } .payroll { padding: 18px; } }
.ptable thead th:not(:first-child), .ptable td { white-space: nowrap; }
.ptable td { padding-left: 14px; }
a.price-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; text-decoration: none; transition: background .15s; }
a.price-line:hover { background: var(--orange-hover); }
a.price-line svg { width: 16px; height: 16px; flex: none; }
.pricebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--orange); color: var(--ink); }
.pricebar p { font: 600 clamp(18px, 1.6vw, 22px)/1.3 var(--display); letter-spacing: -0.01em; max-width: 46ch; }
@media (max-width: 700px) { .pricebar { padding: 18px; } .pricebar .btn { width: 100%; } }
@media (max-width: 1180px) and (min-width: 1041px) { .nav a { padding-inline: 10px; font-size: 15px; } .head__bar { gap: 16px; } }
.ptable table { table-layout: fixed; }
.ptable thead th:first-child { width: 48%; white-space: normal; }
.ptable thead th:not(:first-child) { padding-left: 10px; }
.pricebar { background: var(--coal); color: var(--paper); }
/* Onest for headings too: a touch heavier and tighter than the body */
h1, h2, .display { font-weight: 600; letter-spacing: -0.04em; }
h3 { letter-spacing: -0.025em; }
.facts dd, .nums dd, .sums b, .steps li::before { letter-spacing: -0.05em; }
/* link marker: a small chevron in a ring instead of an arrow */
.more { gap: 10px; }
.more svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.more:hover svg { background: var(--orange); border-color: var(--orange); color: var(--ink); transform: none; }
@media (max-width: 400px) { .bar .btn { padding-inline: 12px; font-size: 15px; } }
/* link marker: a bare chevron */
.more { gap: 6px; }
.more svg { width: 13px; height: 13px; padding: 0; border: 0; border-radius: 0; }
.more:hover svg { background: none; color: inherit; transform: translateX(3px); }

/* hero: facts as a quiet line under the buttons, not a stat banner */
.hero__photo { margin-top: 6px; }
.note { text-wrap: balance; }
p, li { text-wrap: pretty; }
h3 { text-wrap: balance; }
.svc-terms { margin: -8px 0 22px; font-size: 15px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-top: 20px; border-top: 1px solid var(--line); width: 100%; font-size: 15.5px; color: var(--muted); }
.hero__facts b { color: var(--ink); font-weight: 600; font-size: 17px; }
.hero { padding-bottom: clamp(8px, 2vw, 24px); }

/* grants: caption over the sums, review link with a play mark */
.sums-box { display: grid; gap: 6px; }
.sums-cap { font-size: 15px; font-weight: 500; }
.sums span { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: rgba(25, 25, 25, .35); }
.sums span svg { width: 26px; height: 26px; padding: 7px 6px 7px 8px; border-radius: 50%; background: var(--white); color: var(--ink); transition: background .15s, color .15s; }
.sums a:hover span { text-decoration-color: var(--ink); }
.sums a:hover span svg { background: var(--ink); color: var(--white); }

/* video dialog */
.vid { padding: 0; border: 0; background: none; overflow: visible; max-width: none; max-height: none; }
.vid::backdrop { background: rgba(10, 10, 10, .82); }
.vid__frame { width: min(92vw, calc((100dvh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.vid__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vid__close { position: absolute; right: -60px; top: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: none; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.vid__close svg { width: 18px; height: 18px; }
.vid__close:hover { background: var(--white); color: var(--ink); }

/* footer contact line */
.foot__contact { display: grid; gap: 2px; color: var(--on-dark-text); }
.foot__contact a { color: var(--white); font-weight: 600; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.foot__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__contact span { font-size: 14px; color: var(--muted-inv); }
.contacts p { margin: 0; }
.contacts svg { width: 20px; height: 20px; flex: none; }

/* reviews rail: lives inside the content column; cards that scroll past either side are cut at
   the column line instead of hanging out to the screen edge */
.rail { --edge: max(var(--gut), calc((100% - var(--wrap)) / 2)); padding-inline: var(--edge); scroll-padding-inline: var(--edge); clip-path: inset(-8px calc(var(--edge) - 6px) -8px calc(var(--edge) - 6px)); }

/* service cards: the link sits on the card's bottom line in both cards */
.svc { display: flex; flex-direction: column; }
.svc .more { margin-top: auto; align-self: flex-start; }

/* steps: the order plays once when the block scrolls into view — the orange lines fill one after another; the text is readable from the start */
.steps li { position: relative; border-top-color: rgba(25, 25, 25, .16); }
.steps li::after { content: ''; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--orange); transform-origin: left center; }
.steps li:nth-child(1) { --i: 0; } .steps li:nth-child(2) { --i: 1; } .steps li:nth-child(3) { --i: 2; } .steps li:nth-child(4) { --i: 3; }
@media (max-width: 700px) { .steps li::after { top: -1.5px; height: 2px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .steps:not(.is-in) li::after { transform: scaleX(0); }
  .js .steps.is-in li::after { animation: step-line .55s cubic-bezier(.3, .7, .2, 1) both; animation-delay: calc(var(--i) * .3s); }
}
@keyframes step-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .vid__frame { width: 100vw; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
  .vid__close { right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 1; background: rgba(0, 0, 0, .55); }
}

/* hero: facts on one line; the photo takes the height of the text column */
.hero__facts { gap: 10px 28px; }
.hero__photo { align-self: stretch; aspect-ratio: auto; min-height: 380px; margin-top: 6px; }
@media (max-width: 860px) {
  /* phone and tablet: the founders' photo comes right after the buttons, the note and facts under it */
  .hero__grid { gap: 20px; }
  .hero__copy { display: contents; }
  .hero__copy h1 { order: 1; } .hero__copy .lead { order: 2; } .hero__copy .btn-row { order: 3; }
  .hero__visual { order: 4; margin-top: 4px; }
  .hero__photo { aspect-ratio: 16 / 10; min-height: 0; margin-top: 0; }
  .hero__copy .note { order: 5; } .hero__facts { order: 6; }
}

/* price in the accounting card: a plain line, not a second orange button */
.price-note { padding-top: 16px; border-top: 1px solid var(--line-inv); font-size: 15.5px; color: var(--on-dark-text); }
.svc .price-note { margin-bottom: 4px; }
.price-note a { color: var(--orange); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.price-note a:hover { color: var(--paper); }

/* inner pages: service and benefit lists as ruled rows, not stacks of tiles */
.rows { display: grid; }
.rows li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows h3 { font-size: clamp(18px, 1.5vw, 20px); }
.rows p { color: var(--muted); font-size: 16px; max-width: 68ch; }
.on-dark .rows li { border-color: var(--line-inv); }
.on-dark .rows p { color: var(--muted-inv); }
.band .rows li { border-color: rgba(25, 25, 25, .25); }
/* Home grants block: a supporting service, so dark like the rest, orange only on the sums. */
.band--dark { background: var(--coal); color: var(--paper); }
.band--dark .sums li + li { border-color: var(--line-inv); }
.band--dark .sums b { color: var(--orange); }
.band--dark .sums span { color: var(--paper); text-decoration-color: rgba(255, 255, 255, .35); }
.band--dark .sums a:hover span { text-decoration-color: var(--paper); }
.band--dark .sums span svg { background: var(--paper); color: var(--ink); }
.band--dark .sums a:hover span svg { background: var(--orange); color: var(--ink); }
.band--dark .sums-cap { color: var(--muted-inv); font-size: 15.5px; }
.sums a { flex-wrap: wrap; row-gap: 4px; }
.pfull summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; min-height: 44px; }
.pfull summary::-webkit-details-marker { display: none; }
.pfull__title { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-size: clamp(26px, 3vw, 40px); }
.pfull summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-4px); transition: transform .15s; }
.pfull[open] summary::after { transform: rotate(-135deg) translateX(-4px); }
.pfull[open] summary { margin-bottom: 24px; }
.band .rows p { color: rgba(25, 25, 25, .78); }
.cat .rows li:first-child { border-top: 0; padding-top: 0; }

/* jump links: one scrollable line on phones */
@media (max-width: 700px) {
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; white-space: nowrap; }
}

/* prices: which table is mine, example, two lists */
.ptable__hint { color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: -6px; }
.pnote { margin-top: 20px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--paper); font-size: 16px; }
.pnote b { font-weight: 600; }
.plists { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 4vw, 64px); }
.plists__h { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 16px; }
@media (max-width: 860px) { .plists { grid-template-columns: 1fr; } }

/* about */
.about-head .hero__facts { margin-top: 28px; }
.how { display: grid; gap: 20px; justify-items: start; max-width: 760px; }
.how p { font-size: 18px; }

/* Price calculator (prices page) */
html:not(.js) #calc { display: none; }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "box head" "box side"; grid-template-rows: auto 1fr; gap: 22px clamp(28px, 5vw, 72px); align-items: start; }
.calc__head { grid-area: head; display: grid; gap: 22px; }
.calc__box { grid-area: box; }
.calc__side { grid-area: side; }
.calc__box { display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 40px); border-radius: var(--r-lg); background: var(--paper); }
.calc__h { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
.calc__box fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__box legend, .calc__field { font-size: 15px; font-weight: 600; }
.calc__box legend { padding: 0; margin-bottom: 9px; }
.calc__field { display: grid; gap: 8px; }
.calc__field[hidden], .calc__box fieldset[hidden] { display: none; }
.calc__field select, .calc__field input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid rgba(25, 25, 25, .28); background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--text); }
.calc__field select:focus-visible, .calc__field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.tiles { display: grid; gap: 10px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles label { position: relative; display: block; }
.tiles input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tiles span { display: flex; align-items: center; justify-content: center; min-height: 56px; height: 100%; padding: 8px 10px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--white); text-align: center; font-size: 15.5px; line-height: 1.25; transition: background .15s, color .15s, border-color .15s; }
.tiles label:hover span { border-color: var(--ink); }
.tiles input:checked + span { background: var(--coal); color: var(--paper); border-color: var(--coal); font-weight: 600; }
.tiles input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.tiles .calc__hint { grid-column: 1 / -1; }
.calc__hint { font-size: 14px; line-height: 1.5; color: var(--muted); }
.calc__side { display: grid; gap: 22px; position: sticky; top: 96px; }
.calc__title { font-size: clamp(36px, 4.2vw, 60px); }
.calc__lead { font-size: 17px; color: var(--muted); max-width: 52ch; }
.calc__result { display: grid; gap: 10px; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-lg); background: var(--coal); color: var(--paper); }
.calc__sum { font: 600 clamp(28px, 3vw, 40px)/1.1 var(--display); letter-spacing: -0.03em; }
.calc__sum span { color: var(--orange); font-variant-numeric: tabular-nums; }
.calc__gross { color: var(--muted-inv); font-variant-numeric: tabular-nums; }
.calc__range { color: var(--paper); font-size: 15px; }
.calc__range[hidden] { display: none; }
.calc__perks { list-style: none; padding: 12px 0 0; margin: 4px 0 0; border-top: 1px solid var(--line-inv); display: grid; gap: 6px; font-size: 15px; }
.calc__perks li::before { content: "+ "; color: var(--orange); font-weight: 700; }
.calc__note { font-size: 13.5px; color: var(--muted-inv); }
.calc__go { width: 100%; }
.form__calc { padding: 12px 14px; border-radius: var(--r); background: var(--white); font-size: 14.5px; line-height: 1.45; }
@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; grid-template-areas: "head" "box" "side"; grid-template-rows: none; }
  .calc__side { position: static; }
}
/* Phone: the price follows the visitor through the form */
.calc__mini { display: none; }
@media (max-width: 900px) {
  .calc__mini { display: block; position: sticky; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 5; margin: 4px -6px -6px; padding: 12px 16px; border-radius: var(--r); background: var(--coal); color: var(--paper); font-weight: 600; text-align: center; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: opacity .2s; }
  .calc__mini.is-gone { opacity: 0; pointer-events: none; }
}
@media (max-width: 420px) { .tiles--3 { grid-template-columns: 1fr; } .tiles span { min-height: 48px; } }

/* Home: link to the calculator */
.teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--paper); }
.teaser h2 { font-size: clamp(24px, 2.4vw, 34px); }
.teaser p { margin-top: 10px; color: var(--muted); max-width: 60ch; }

/* Request form: Turnstile widget (visible only when Cloudflare asks for a click), calculator line */
.form__check:empty { display: none; }
.form .check span a { text-underline-offset: 2px; }

/* Legal pages */
.draft-note { display: inline-block; margin-bottom: 18px; padding: 8px 12px; border-radius: var(--r); background: var(--draft-bg); color: var(--draft-fg); font-size: 14.5px; font-weight: 600; }
.prose mark { background: var(--mark); padding: 0 4px; border-radius: 3px; }
.legal-table { overflow-x: auto; margin-block: 14px; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 9px 10px 9px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table thead th { border-top: 0; color: var(--muted); font-weight: 600; }

/* Cookie banner */
.cookie { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__in { pointer-events: auto; width: min(100%, 760px); max-height: calc(100vh - 32px); overflow-y: auto; display: grid; gap: 14px; padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-lg); background: var(--coal); color: var(--paper); box-shadow: 0 18px 50px rgba(0, 0, 0, .3); }
.cookie__h { font-size: 20px; letter-spacing: -0.01em; }
.cookie__text { font-size: 14.5px; line-height: 1.5; color: var(--muted-inv); }
.cookie__text a { color: var(--paper); }
.cookie__btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cookie .btn--line { color: var(--paper); border-color: var(--line-inv); min-height: 46px; font-size: 15px; padding: 0 12px; }
.cookie .btn--main { min-height: 46px; font-size: 15px; padding: 0 12px; }
.cookie .btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cookie__panel { display: grid; gap: 12px; padding-top: 4px; }
.cookie__panel[hidden] { display: none; }
.cookie__btns--two { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 4px; }
.cookie__first[hidden] { display: none; }
.cookie__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted-inv); }
.cookie__opt b { color: var(--paper); }
.cookie__opt input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--orange); }
.cookie :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.cookie-open .bar { transform: translateY(120%); }
@media (max-width: 560px) { .cookie { left: 8px; right: 8px; bottom: 8px; } .cookie__btns { grid-template-columns: 1fr; } }

/* tablet (861–1040px): the menu is already a burger, so the hero and the steps follow the phone/tablet layout
   instead of squeezing into two and four narrow columns */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__copy { display: contents; }
  .hero__copy h1 { order: 1; } .hero__copy .lead { order: 2; } .hero__copy .btn-row { order: 3; }
  .hero__visual { order: 4; margin-top: 4px; }
  .hero__photo { aspect-ratio: 16 / 10; min-height: 0; margin-top: 0; }
  .hero__copy .note { order: 5; } .hero__facts { order: 6; }
}
@media (max-width: 1100px) and (min-width: 521px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }

/* cookie table in the privacy policy: on phones each row becomes a short block instead of a table to scroll sideways */
@media (max-width: 560px) {
  .legal-table { overflow: visible; }
  .legal-table table { min-width: 0; }
  .legal-table thead { display: none; }
  .legal-table tr { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
  .legal-table td { display: block; padding: 0; border: 0; }
  .legal-table td:first-child { font-weight: 600; color: var(--ink); }
  .legal-table td:not(:first-child) { color: var(--muted); }
}

/* 404 */
.nf { min-height: calc(100dvh - 72px); display: grid; align-items: center; padding-block: 48px; }
.nf__box { display: grid; gap: 22px; justify-items: start; }
.nf__code { font: 600 clamp(72px, 12vw, 160px)/1 var(--display); letter-spacing: -0.05em; color: var(--orange); }
.nf .muted a { color: var(--ink); font-weight: 600; }

/* home hero on coal */
.hero--dark { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(40px, 5vw, 72px); background: var(--coal); }
.hero--dark .wrap { position: relative; z-index: 1; }
.hero--dark .note { color: var(--muted-inv); }
.hero--dark .hero__facts { border-color: var(--line-inv); color: var(--muted-inv); }
.hero--dark .hero__facts b { color: var(--paper); }
.hero--dark .hero__photo { background: var(--coal-2); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }

/* footer: legal links on their own line, next to each other */
.foot__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 4px; font-size: 14px; }
.foot__links a { color: var(--muted-inv); min-height: 40px; display: inline-flex; align-items: center; text-underline-offset: 4px; }
.foot__links a:hover { color: var(--paper); }

/* ---- price calculator, v2: heading on top, questions left, price right and sticky ---- */
.calc-sec .calc__head { display: grid; gap: 18px; margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.calc-sec .calc__head h1 { font-size: clamp(36px, 4.4vw, 64px); }
.calc-sec .calc { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "box side"; grid-template-rows: auto; gap: clamp(20px, 3vw, 40px); }
.calc__box { gap: 22px; }
.calc__row { display: grid; gap: 8px; }
.calc__side { position: sticky; top: 96px; align-self: start; gap: 14px; }
/* choices: a light outline when picked instead of a heavy black block */
.tiles span { min-height: 46px; font-size: 15.5px; border-color: rgba(25, 25, 25, .18); }
.tiles input:checked + span { background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.tiles .calc__hint { margin-top: 2px; }
/* price: the number leads, the unit and VAT step back */
.calc__sum { display: grid; gap: 4px; font: inherit; letter-spacing: normal; }
.calc__sum .calc__num { font: 600 clamp(44px, 5vw, 68px)/1 var(--display); letter-spacing: -0.04em; color: var(--orange); font-variant-numeric: tabular-nums; }
.calc__sum .calc__unit { font-size: 17px; font-weight: 500; color: var(--paper); }
.calc__gross { font-size: 15px; }
/* staff stepper */
.stepper { display: inline-grid; grid-template-columns: 46px 72px 46px; width: max-content; border: 1.5px solid rgba(25, 25, 25, .28); border-radius: var(--r); background: var(--white); overflow: hidden; }
.stepper button { border: 0; background: none; font: 500 22px/1 var(--text); color: var(--ink); cursor: pointer; min-height: 46px; }
.stepper button:hover { background: var(--grey); }
.stepper input { width: 100%; min-height: 46px; border: 0; border-inline: 1.5px solid rgba(25, 25, 25, .14); text-align: center; font: 600 17px/1 var(--text); color: var(--ink); background: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
/* phone price bar: fixed above the bottom edge, only while the questions are on screen and the result is not */
.calc__mini { display: none; }
@media (max-width: 860px) {
  .calc-sec .calc { grid-template-columns: 1fr; grid-template-areas: "box" "side"; }
  .calc__side { position: static; }
  .calc__mini { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 26; margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--coal); color: var(--paper); font-weight: 600; text-align: center; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .calc__mini.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .calc__mini.is-gone { opacity: 0; }
}
@media (max-width: 420px) {
  .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tiles span { min-height: 52px; padding: 6px 6px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .calc__mini { transition: none; } }

/* request form under the calculator: one column, heading over the form, no empty side column */
.calc-req { display: grid; gap: 22px; width: min(100% - 2 * var(--gut), 640px); margin-inline: auto; }
.calc-req .req__copy { display: grid; gap: 12px; }
.calc-req h2 { font-size: clamp(28px, 3vw, 40px); }

/* ---- hero, v3: price anchor, one strong button, WhatsApp, captioned photo, spring heading ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__price { font-size: clamp(17px, 1.4vw, 19px); color: var(--on-dark-text); }
.hero__price b { font: 600 clamp(24px, 2.2vw, 30px)/1 var(--display); letter-spacing: -0.02em; color: var(--orange); margin-right: 6px; }
.hero--dark .btn--line { border-color: rgba(255, 255, 255, .35); }
.hero--dark .note { font-size: 15px; }
.hero__wa { display: inline-flex; align-items: center; gap: 6px; color: var(--paper); font-weight: 600; text-underline-offset: 4px; white-space: nowrap; }
.hero__wa svg { width: 18px; height: 18px; fill: #25d366; flex: none; } /* WhatsApp brand green */
.hero__wa:hover { color: var(--white); }
.hero--dark .hero__facts { font-size: 15.5px; }
.hero--dark .hero__facts b { font-size: 20px; color: var(--white); }
figure.hero__photo { margin: 0; position: relative; }
.hero__photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; border-radius: var(--r); background: rgba(25, 25, 25, .72); color: var(--paper); font-size: 14px; font-weight: 500; backdrop-filter: blur(6px); }
@media (max-width: 1040px) { .hero__copy .hero__price { order: 2; } }

/* spring heading: hidden until the script has split it, shown anyway after 1.5 s if the script never runs */
.spring-word { display: inline-block; transform-origin: 50% 70%; }
.js [data-spring]:not(.is-sprung) { visibility: hidden; animation: spring-safety 0s linear 1.5s forwards; }
@keyframes spring-safety { to { visibility: visible; } }

/* header button: an outline while the hero (with its own orange button) is on screen */
.hero-in .head .btn--main { background: transparent; color: var(--paper); border-color: var(--orange); }
.hero-in .head .btn--main:hover { background: var(--orange); color: var(--ink); }
.hero__wa { margin-top: -14px; font-size: 15px; }
@media (max-width: 1040px) { .hero__copy .hero__wa { order: 5; margin-top: -8px; } }

/* grants page: facts on the orange band stay in ink for contrast */
.band .hero__facts { color: var(--ink); border-color: rgba(25, 25, 25, .25); }
.band__copy > .more { justify-self: start; }

/* service pages: spacing in the page head */
.page-head > .wrap > .more { display: inline-block; margin-bottom: 16px; }
.page-head .hero__facts { margin-top: 28px; }
.page-head .btn-row { margin-top: 24px; }
.acc-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.acc-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 560px; background: var(--photo-bg); }
.acc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 860px) { .acc-head { grid-template-columns: 1fr; } .acc-photo { aspect-ratio: 4 / 3; } .acc-photo img { object-position: 50% 45%; } }

/* accounting pages: a single price table stays at a readable width; links under the price tables */
.ptables--1 { grid-template-columns: minmax(0, 560px); }
.ptables--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .ptables--2 { grid-template-columns: 1fr; } }
.plinks { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* hero photo: a slow camera push-in on load (scale only, the image is painted at once so LCP is not delayed);
   the caption arrives after it. CSS only, off with prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: hero-push 1.8s cubic-bezier(.22, .61, .36, 1) both; transform-origin: 50% 40%; }
  .hero__photo figcaption { animation: hero-cap .7s cubic-bezier(.22, .61, .36, 1) .9s both; }
  .stmt { animation: stmt-in .8s cubic-bezier(.16, 1, .3, 1) 1.1s both; }
}
@keyframes stmt-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hero-push { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-cap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* service rows that open their own page: the whole row is the link, arrow centred on the right */
.rows li.rows__item--link { padding: 0; }
.rows__item--link a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; row-gap: 4px; align-items: center; margin-inline: -16px; padding: 18px 16px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color .15s; }
.rows__item--link h3, .rows__item--link p { grid-column: 1; }
.rows__go { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; transition: opacity .15s, transform .15s, background-color .15s, color .15s; }
.rows__go svg { width: 14px; height: 14px; }
.rows__item--link a:hover, .rows__item--link a:focus-visible { background: rgba(25, 25, 25, .06); }
.on-dark .rows__item--link a:hover, .on-dark .rows__item--link a:focus-visible { background: rgba(255, 255, 255, .07); }
.rows__item--link a:hover .rows__go, .rows__item--link a:focus-visible .rows__go { opacity: 1; background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateX(2px); }
.cat .rows li.rows__item--link:first-child a { margin-top: -18px; }

/* home service cards: rows with their own page work like the rows on /uslugi/ */
.svc__list li.svc__item--link { padding: 0; }
.svc__item--link a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px; align-items: center; margin-inline: -12px; padding: 14px 12px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color .15s; }
.svc__item--link b, .svc__item--link a > span:not(.rows__go) { grid-column: 1; }
.svc__item--link .rows__go { width: 36px; height: 36px; }
.svc__item--link a:hover, .svc__item--link a:focus-visible { background: rgba(25, 25, 25, .06); }
.svc.on-dark .svc__item--link a:hover, .svc.on-dark .svc__item--link a:focus-visible { background: rgba(255, 255, 255, .07); }
.svc__item--link a:hover .rows__go, .svc__item--link a:focus-visible .rows__go { opacity: 1; background: var(--orange); border-color: var(--orange); color: var(--ink); transform: translateX(2px); }

/* on the orange band the hovered arrow turns dark instead of orange */
.band .rows__item--link a:hover, .band .rows__item--link a:focus-visible { background: rgba(25, 25, 25, .08); }
.band .rows__item--link a:hover .rows__go, .band .rows__item--link a:focus-visible .rows__go { background: var(--ink); border-color: var(--ink); color: var(--orange); }

/* Home hero: the monthly statement card laid over the founders' photo. It shows the job itself:
   what the client pays and by when. On desktop it overlaps the photo's lower left corner, on phones
   it rises over the photo's bottom edge. */
.hero__visual { position: relative; align-self: stretch; display: grid; margin-top: 6px; }
.hero__visual .hero__photo { margin-top: 0; height: 100%; }
.hero__visual .hero__photo figcaption { top: 14px; bottom: auto; }
.stmt { position: absolute; left: clamp(-56px, -3vw, -24px); bottom: -28px; z-index: 2; width: min(330px, 80%); padding: 18px 20px 16px; border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 22px 48px rgba(0, 0, 0, .38), 0 2px 6px rgba(0, 0, 0, .18); font-variant-numeric: tabular-nums; }
.stmt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stmt__head b { font-size: 17px; font-weight: 600; }
.stmt__tag { padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.stmt__sub { margin-top: 4px; color: var(--muted); font-size: 13.5px; }
.stmt__rows { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.stmt__rows th, .stmt__rows td { padding: 7px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.stmt__rows th { font-weight: 600; }
.stmt__rows td:last-child { text-align: right; white-space: nowrap; }
.stmt__due { color: var(--muted); font-size: 13.5px; padding-inline: 10px; }
.stmt__rows tfoot th, .stmt__rows tfoot td { padding-top: 10px; border-top: 2px solid var(--ink); font-weight: 700; font-size: 17px; }
.stmt__foot { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
@media (max-width: 1040px) {
  .hero__visual { display: grid; }
  .stmt { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 14px 0; }
}

/* Touch size for the hero WhatsApp link; the founders' caption stays clear of faces on phones. */
.hero__wa { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 600px) { .hero__visual .hero__photo figcaption { top: auto; bottom: 64px; left: 10px; padding: 6px 10px; font-size: 12.5px; } }

/* About: how we work beside the registry details a visitor can check */
.how-duo { align-items: start; gap: clamp(20px, 4vw, 56px); }
.how-duo .how h2 { margin-bottom: 4px; }
.verify { justify-items: start; }
.verify p { color: var(--ink); }

/* reviews auto-advance pause button: shows play while stopped */
[data-rail="pause"] .i-play, [data-rail="pause"][aria-pressed="true"] .i-pause { display: none; }
[data-rail="pause"][aria-pressed="true"] .i-play { display: block; }

/* Accounting pages: the monthly statement card over the photo, as on the home hero. */
.acc-visual { position: relative; }
.acc-visual .acc-photo { max-height: none; }
@media (prefers-reduced-motion: no-preference) { .acc-visual .stmt { animation: stmt-in .8s cubic-bezier(.16, 1, .3, 1) .5s both; } }
@media (max-width: 860px) { .acc-visual .stmt { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 14px 0; } }

/* request form: the one optional field says so, the rest are required */
.form .opt { font-weight: 400; color: var(--muted); }

/* note after refusing cookies: small, bottom, above the phone action bar, gone after a few seconds */
.cookie-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; width: min(520px, calc(100% - 24px)); padding: 12px 16px; border-radius: var(--r); background: var(--coal); color: var(--paper); font-size: 14.5px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
@media (max-width: 860px) { .cookie-toast { bottom: 84px; } }
