/* Rota Software: the page's own layer over the kit (system.css, layout.css).
   1. the dark theme: the same palette tokens, turned over; the kit reads every colour from them */
html[data-theme="dark"] {
  color-scheme: dark;
  --p-bg: #121211; --p-surface: #1b1a18; --p-ink: #ece8e1; --p-muted: #a6a199;
  --p-accent: #6fbdd1; --p-accent-ink: #0a0a0a; --p-action: #6fbdd1; --p-action-ink: #0a0a0a;
  --p-inv-bg: #080807; --p-inv-surface: #141413; --p-inv-ink: #ece8e1; --p-inv-muted: #9a958d;
  --p-inv-accent: #6fbdd1; --p-inv-accent-ink: #0a0a0a; --p-inv-action: #6fbdd1; --p-inv-action-ink: #0a0a0a;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] .ic-ink { filter: invert(1); }
html { transition: none; }
body { background: var(--bg); }

/* 2. the logo: an "r" whose arm ends in an arrow (a route, rota), a dot where it starts */
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-mark__tile { fill: var(--ink); }
.logo-mark__line { fill: none; stroke: var(--bg); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo-mark__dot { fill: var(--accent); }
.logo-word { font: 500 21px/1 var(--font-display); letter-spacing: -0.035em; color: var(--ink); }
.logo-word__soft { font-weight: 400; color: var(--muted); margin-left: 1px; }
.footer .logo-mark { width: 34px; height: 34px; }
.footer .logo-word { font-size: 24px; }

/* 3. the bar's tools: language and theme, 44px like the menu button */
.nav__tools { display: flex; align-items: center; gap: var(--s-2); }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 44px; min-width: 44px; padding: 0 10px;
  border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  font: 500 14px/1 var(--font-text); cursor: pointer; list-style: none;
}
.tool-btn::-webkit-details-marker { display: none; }
.tool-btn .chev { width: 12px; height: 12px; opacity: .6; }
.tool-btn:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__moon { fill: currentColor !important; stroke: none !important; }
html[data-theme="dark"] .theme-toggle__moon, html:not([data-theme="dark"]) .theme-toggle__sun { display: none; }
.lang { position: relative; }
.lang[open] .chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 168px; margin: 0; padding: var(--s-2); list-style: none;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-md);
}
.lang__menu a { display: flex; align-items: center; height: 44px; padding: 0 var(--s-3); border-radius: var(--r-sm); font-weight: 500; }
.lang__menu a:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.lang__menu a[aria-current="page"] { color: var(--action); }
.nav__item--langs { display: none !important; }
@media (max-width: 1023px) {
  .nav:not(.is-open) .nav__actions > .nav__tools { display: flex; }
  .nav.is-open .nav__actions > .nav__tools { display: none; }
  .nav.is-open .nav__item--langs { display: flex !important; flex-wrap: wrap; gap: 0 var(--s-5); border-bottom: 0; padding-top: var(--s-4); }
  .nav.is-open .nav__item--langs .nav__link { font-size: var(--t-body); height: 44px; }
}
@media (max-width: 639px) {
  .logo-word__soft { display: none; }
  .nav:not(.is-open) .nav__actions > .btn--primary { display: none; }
  .nav:not(.is-open) .nav__actions { margin-left: auto; }
  .nav__actions + .nav__toggle { margin-left: 0 !important; }
}

/* 7. pricing rows and the platform marks */
.price-rows .rows__name { display: grid; gap: 4px; font-size: var(--t-lead); font-weight: 500; }
.price-rows .rows__name small { font-size: var(--t-body); font-weight: 400; color: var(--muted); line-height: 1.5; max-width: 60ch; }
.price-rows > li { align-items: center; padding-block: var(--s-6); }
.price-rows .rows__value { font-weight: 500; }
.price-rows__marks { display: flex; gap: var(--s-2); }
.price-rows__marks .ic-tile { --tile-bg: #fff; }

/* 8. stack */
.stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack-grid .ic-cell { grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-6); }
@media (max-width: 1023px) { .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stack-grid .ic-cell { padding: var(--s-4); } }

/* 9. quote */
.quote-aside { display: grid; gap: var(--s-6); align-content: start; }
.quote-aside h3 { font-size: var(--t-card); font-family: var(--font-text); font-weight: 500; letter-spacing: -0.01em; }
.quote-steps { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: var(--s-4); }
.quote-steps li { counter-increment: q; display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); align-items: baseline; font-size: var(--t-lead); }
.quote-steps li::before { content: counter(q); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.quote-langs { display: grid; gap: var(--s-2); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.quote-langs__list { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-lead); font-weight: 500; margin: 0; }
@media (max-width: 1023px) { .quote-aside { margin-top: var(--s-7); } }
@media (max-width: 639px) {
  ul.rows.price-rows > li { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-5); }
  ul.rows.price-rows .rows__value { grid-column: 1; grid-row: auto; justify-self: start; }
  .price-rows__marks .ic-tile--48 { --tile: 40px; }
}

@media (min-width: 640px) and (max-width: 1023px) { ul.rows.price-rows > li { padding-block: var(--s-7); } }

/* 4. the hero: the words, and a board of what we build (no product screenshot) */
.hero--cap .hero__media.cap-board { display: flex; flex-direction: column; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.cap-board__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); }
.cap-board__title { font: 500 var(--t-body)/1.2 var(--font-text); letter-spacing: 0; }
.cap-board__plat { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--muted); }
.cap-board__web { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cap-grid { list-style: none; margin: 0; padding: 0; flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.cap { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: var(--s-4); row-gap: 2px; align-content: center;
  padding: var(--s-4) var(--s-6); border-bottom: 1px solid var(--line); transition: background-color var(--dur) var(--ease); }
.cap-grid > li { display: contents; }
.cap { color: inherit; }
.cap-grid > li:nth-child(odd) > .cap { border-right: 1px solid var(--line); }
.cap-grid > li:nth-last-child(-n+2) > .cap { border-bottom: 0; }
.cap:hover { background: color-mix(in oklab, var(--accent) 7%, transparent); }
.cap__glyph { grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md);
  background: color-mix(in oklab, var(--accent) 14%, var(--bg)); color: var(--accent); }
html[data-theme="dark"] .cap__glyph { background: color-mix(in oklab, var(--accent) 18%, var(--bg)); }
.cap__glyph svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cap__name { font-weight: 500; font-size: var(--t-body); line-height: 1.3; align-self: end; }
.cap__line { font-size: var(--t-small); color: var(--muted); line-height: 1.4; align-self: start; }
.cap-board__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-4) var(--s-6);
  background: var(--action); color: var(--action-ink); font-weight: 500; }
.cap-board__foot svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.cap-board__foot:hover svg { transform: translateX(3px); }
@media (max-width: 1023px) {
  .hero--cap .hero__media.cap-board { min-height: 0; }
  .cap { padding: var(--s-3) var(--s-4); grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--s-3); }
  .cap__glyph { width: 36px; height: 36px; } .cap__glyph svg { width: 18px; height: 18px; }
  .cap-board__head { padding: var(--s-3) var(--s-4); } .cap-board__foot { padding: var(--s-3) var(--s-4); }
}
@media (max-width: 639px) {
  .cap__line, .cap-board__plat { display: none; }
  .cap { grid-template-rows: auto; padding: var(--s-2) var(--s-3); }
  .cap__name { align-self: center; font-size: var(--t-small); }
  .cap__glyph { grid-row: auto; width: 30px; height: 30px; } .cap__glyph svg { width: 16px; height: 16px; }
  .cap { grid-template-columns: 30px minmax(0, 1fr); }
}

/* 5. completed projects: one box, the projects in it as small tiles */
.proj-box { border-radius: calc(var(--r-lg) + 8px); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: var(--s-7); display: grid; gap: var(--s-6); }
.proj-box__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: end; }
.proj-box__head > p { margin: 0; color: var(--muted); max-width: 46ch; }
.proj-count { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-3); font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.proj-count .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e5b; box-shadow: 0 0 0 4px color-mix(in oklab, #2f9e5b 22%, transparent); }
.proj-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.proj { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: var(--s-3); border-radius: var(--r-lg);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); color: inherit; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.proj:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-2px); }
.proj__thumb { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: #0d0e12; box-shadow: 0 0 0 1px var(--line); }
.proj__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 400ms var(--ease); }
.proj:hover .proj__thumb img { transform: scale(1.04); }
.proj__body { display: grid; gap: 3px; min-width: 0; }
.proj__cat { font-size: var(--t-label); font-weight: 500; color: var(--accent); }
.proj__name { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.01em; }
.proj__name svg { width: 11px; height: 11px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.proj:hover .proj__name svg { transform: translate(2px, -2px); stroke: var(--action); }
.proj__line { font-size: var(--t-small); line-height: 1.45; color: var(--ink); }
.proj__dom { font-size: var(--t-label); color: var(--muted); }
.proj-box__more { margin: 0; padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); }
.proj-box__more .link { margin-left: var(--s-2); }
@media (max-width: 1279px) { .proj-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .proj-box { padding: var(--s-6); } .proj-box__head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--s-3); } }
@media (max-width: 639px) {
  .proj-box { padding: var(--s-4); gap: var(--s-5); border-radius: var(--r-lg); }
  .proj-list { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .proj { grid-template-columns: 92px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-2); }
  .proj__line { display: none; }
}

/* 6. process: three boxes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); counter-reset: none; }
.step { display: grid; align-content: start; gap: var(--s-3); padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.step__no { font: 400 56px/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); margin-bottom: var(--s-4); }
.step h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.step > p { margin: 0; color: var(--ink); }
.step__list { list-style: none; margin: var(--s-4) 0 0; padding: var(--s-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.step__list li { display: flex; gap: var(--s-2); align-items: baseline; }
.step__list li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translate(1px, -2px); }
@media (max-width: 1023px) { .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .step { padding: var(--s-5); } .step__no { font-size: 32px; margin: 0; } .step__list { display: none; } }

/* 8. stack */
.stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack-grid .ic-cell { grid-auto-flow: column; justify-content: start; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-6); }
@media (max-width: 1023px) { .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stack-grid .ic-cell { padding: var(--s-3) var(--s-4); } }

/* 10. blog cards (home and blog) */
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); flex-wrap: wrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.post-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); color: inherit; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.post-card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-2px); }
.post-card__cat { justify-self: start; font-size: var(--t-label); font-weight: 500; color: var(--accent); padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 12%, transparent); }
.post-card h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.post-card p { margin: 0; color: var(--muted); font-size: var(--t-small); line-height: 1.6; }
.post-card__meta { display: flex; gap: var(--s-4); font-size: var(--t-label); color: var(--muted); padding-top: var(--s-4); border-top: 1px solid var(--line); }
@media (max-width: 1023px) { .post-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .post-card { padding: var(--s-5); } }

/* 11. blog pages: normal document flow, no screen-height sections */
.page-blog main > section, .page-blog main > article { height: auto; min-height: 0; }
.blog-head { padding: calc(var(--nav) + var(--s-9)) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.blog-head h1 { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.04; letter-spacing: var(--display-tracking-xl); max-width: 16ch; margin-top: var(--s-5); }
.blog-head__lead { font-size: var(--t-lead); color: var(--muted); max-width: 56ch; margin: var(--s-5) 0 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--t-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); opacity: .6; }
.crumbs a:hover { color: var(--ink); }
.cat-row { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-7); }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink); font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; }
.chip:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--static { height: 32px; cursor: default; font-weight: 400; color: var(--muted); }
.blog-list { padding: var(--s-8) 0 var(--s-9); }
.post-card--feature { margin-bottom: var(--s-5); padding: var(--s-8); grid-template-columns: minmax(0, 1fr); background: var(--ink); color: var(--bg); box-shadow: none; }
.post-card--feature h3 { font: 400 clamp(28px, 3vw, 44px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); max-width: 24ch; }
.post-card--feature p { color: color-mix(in oklab, var(--bg) 72%, var(--ink)); font-size: var(--t-body); max-width: 60ch; }
.post-card--feature .post-card__cat { color: var(--bg); background: color-mix(in oklab, var(--bg) 16%, transparent); }
.post-card--feature .post-card__meta { color: color-mix(in oklab, var(--bg) 70%, var(--ink)); border-color: color-mix(in oklab, var(--bg) 18%, transparent); }
.post-card[hidden] { display: none; }
.blog-cta { padding: 0 0 var(--s-9); }
.blog-cta__box { display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); flex-wrap: wrap; padding: var(--s-7); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.blog-cta__box h2 { font-size: var(--t-h3); } .blog-cta__box p { margin: var(--s-2) 0 0; color: var(--muted); }
.footer--plain { height: auto !important; min-height: 0 !important; padding-top: var(--s-9); }

/* the article */
.post-head { padding: calc(var(--nav) + var(--s-9)) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); margin: var(--s-6) 0 0; font-size: var(--t-small); color: var(--muted); }
.post-cat { font-weight: 500; color: var(--accent); padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 12%, transparent); }
.post-head h1 { font-size: clamp(34px, 4vw, 60px); line-height: 1.06; letter-spacing: var(--display-tracking-xl); max-width: 22ch; margin-top: var(--s-5); }
.post-lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: var(--s-5) 0 0; }
.post-by { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-6) 0 0; }
.post-by .logo-mark { width: 40px; height: 40px; }
.post-by > span { display: grid; font-size: var(--t-small); } .post-by b { font-weight: 500; font-size: var(--t-body); }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; gap: var(--s-8); padding-block: var(--s-8) var(--s-9); align-items: start; }
.post-toc, .post-side { position: sticky; top: calc(var(--nav) + var(--s-6)); display: grid; gap: var(--s-3); }
.post-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); border-left: 1px solid var(--line); }
.post-toc ol a { display: block; padding: 6px 0 6px var(--s-4); margin-left: -1px; border-left: 2px solid transparent; font-size: var(--t-small); color: var(--muted); line-height: 1.4; }
.post-toc ol a:hover, .post-toc ol a.is-on { color: var(--ink); border-left-color: var(--accent); }
.post-share { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-small); }
.post-share .t-label { width: 100%; }
.post-share a, .post-copy { font: 500 var(--t-small)/1 var(--font-text); color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.post-cta { display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.post-cta__h { margin: 0; font-weight: 500; font-size: var(--t-lead); } .post-cta p { margin: 0; color: var(--muted); font-size: var(--t-small); }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { font: 500 clamp(24px, 2vw, 30px)/1.25 var(--font-text); letter-spacing: -0.015em; margin-top: var(--s-8); scroll-margin-top: calc(var(--nav) + var(--s-5)); }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: var(--s-2); }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }
.post-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); padding-top: var(--s-6); margin-top: var(--s-8) !important; border-top: 1px solid var(--line); }
.post-more { padding: var(--s-9) 0; background: var(--surface); }
.post-more h2 { font-size: var(--t-h2); margin-bottom: var(--s-7); }
.post-more .post-card { background: var(--bg); }
@media (max-width: 1279px) { .post-layout { grid-template-columns: 200px minmax(0, 1fr); } .post-side { display: none; } }
@media (max-width: 1023px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .post-toc { position: static; padding: var(--s-5); border-radius: var(--r-lg); background: var(--surface); }
  .post-toc .post-share { display: none; }
  .prose { font-size: 17px; }
  .blog-head, .post-head { padding-top: calc(var(--nav) + var(--s-8)); }
  .post-card--feature { padding: var(--s-6); }
}
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
@media (max-width: 639px) { ul.rows.price-rows .rows__value { text-align: left; white-space: nowrap; } }
.prose h3 { font: 500 var(--t-lead)/1.35 var(--font-text); letter-spacing: -0.01em; margin-top: var(--s-6); }
.prose h3 + p { margin-top: var(--s-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.prose thead th { font-weight: 500; background: var(--surface); }
.prose strong { font-weight: 500; }

/* 12. service pages */
.svc-hero { padding: calc(var(--nav) + var(--s-8)) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; margin-top: var(--s-6); }
.svc-hero h1 { font-size: clamp(38px, 4.4vw, 68px); line-height: 1.03; letter-spacing: var(--display-tracking-xl); max-width: 15ch; margin-top: var(--s-4); }
.svc-hero__lead { font-size: var(--t-lead); line-height: 1.55; color: var(--ink); max-width: 52ch; margin: var(--s-5) 0 var(--s-6); }
.get-box { border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.get-box__title { font: 500 var(--t-body)/1.2 var(--font-text); letter-spacing: 0; padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); }
.get-box__list { list-style: none; margin: 0; padding: var(--s-5) var(--s-6); display: grid; gap: var(--s-3); }
.get-box__list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.get-box__list svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--accent); fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.get-box__stack { display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0 var(--s-6) var(--s-5); }
.get-box__tool { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-label); font-weight: 500; }
.get-box__foot { margin: 0; padding: var(--s-4) var(--s-6); background: var(--action); color: var(--action-ink); font-weight: 500; }
.svc-sec { padding: var(--s-9) 0; }
.svc-sec--surface { background: var(--surface); }
.svc-sec--surface .step { background: var(--bg); }
.svc-sec--tight { padding: var(--s-8) 0 var(--s-6); }
.svc-sec .section-head { margin-bottom: var(--s-7); }
.inc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.inc { display: grid; align-content: start; gap: var(--s-2); padding: var(--s-6) var(--s-6) var(--s-6) 0; border-bottom: 1px solid var(--line); }
.inc:not(:nth-child(3n+1)) { padding-left: var(--s-6); border-left: 1px solid var(--line); }
.inc__no { font-size: var(--t-label); font-weight: 500; color: var(--accent); }
.inc h3 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
.inc p { margin: 0; color: var(--muted); }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--4 .step { padding: var(--s-6); }
.steps--4 .step__no { font-size: 40px; margin-bottom: var(--s-2); }
.svc-guide { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-8); align-items: start; }
.svc-guide__side { position: sticky; top: calc(var(--nav) + var(--s-6)); display: grid; gap: var(--s-3); }
.svc-guide__side h2 { font-size: var(--t-h3); line-height: 1.2; }
.svc-guide .prose h2 { margin-top: var(--s-7); } .svc-guide .prose h2:first-child { margin-top: 0; }
.faq--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
.faq--cols > .faq__item:first-child { padding-top: var(--s-5); }
.other-h { font-size: var(--t-h3); margin-bottom: var(--s-5); }
.other-svc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.other-svc__item { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-3) var(--s-5); border-radius: var(--r-md);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; color: inherit; transition: box-shadow var(--dur) var(--ease); }
.other-svc__item:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.other-svc__item svg, .svc-card__go svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.other-svc__item:hover svg, .svc-card:hover .svc-card__go svg { transform: translateX(3px); }
.svc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.svc-card { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: var(--s-3); padding: var(--s-7); border-radius: var(--r-lg); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); color: inherit; transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.svc-card:hover { box-shadow: inset 0 0 0 1px var(--line-strong); transform: translateY(-2px); }
.svc-card__no { font: 400 40px/1 var(--font-display); color: var(--accent); letter-spacing: -0.03em; }
.svc-card h2 { font-size: var(--t-h3); line-height: 1.2; }
.svc-card p { margin: 0; color: var(--muted); }
.svc-card__tools { display: flex; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.svc-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--action); }
@media (max-width: 1023px) {
  .svc-hero__grid, .svc-guide { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .svc-guide__side { position: static; }
  .inc-grid { grid-template-columns: minmax(0, 1fr); }
  .inc, .inc:not(:nth-child(3n+1)) { padding: var(--s-5) 0; border-left: 0; }
  .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq--cols { grid-template-columns: minmax(0, 1fr); }
  .other-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-cards { grid-template-columns: minmax(0, 1fr); }
  .svc-card { padding: var(--s-6); }
  .svc-sec { padding: var(--s-8) 0; }
}
@media (max-width: 639px) { .steps--4, .other-svc { grid-template-columns: minmax(0, 1fr); } }
.blog-head h1, .post-head h1, .svc-hero h1 { hyphens: manual; -webkit-hyphens: manual; max-width: 20ch; }
.svc-hero h1 { max-width: 16ch; }

/* 13. contact: one large box, the story left, the form right, a confirmation screen after a real send */
.contact { height: auto !important; min-height: 100svh; }
.contact__box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: calc(var(--r-lg) + 8px); overflow: hidden;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.contact__side { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-8) var(--s-7); background: var(--ink); color: var(--bg); }
.contact__side h2 { color: var(--bg); font-size: clamp(34px, 3.4vw, 52px); line-height: 1.04; letter-spacing: var(--display-tracking-xl); }
.contact__kicker { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--t-small); font-weight: 500; color: color-mix(in oklab, var(--bg) 70%, var(--ink)); }
.contact__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 4px color-mix(in oklab, #3fbf7f 25%, transparent); animation: qpulse 2.4s ease-in-out infinite; }
@keyframes qpulse { 50% { box-shadow: 0 0 0 7px color-mix(in oklab, #3fbf7f 0%, transparent); } }
.contact__lead { margin: 0; color: color-mix(in oklab, var(--bg) 80%, var(--ink)); font-size: var(--t-lead); line-height: 1.5; }
.contact__steps { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-3); }
.contact__steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s-3); align-items: baseline; padding-top: var(--s-3); border-top: 1px solid color-mix(in oklab, var(--bg) 16%, transparent); }
.contact__steps b { font: 400 14px/1 var(--font-text); color: var(--accent); }
html[data-theme="light"] .contact__steps b { color: #7cc4d6; }
.contact__direct { margin-top: auto; display: grid; gap: var(--s-2); padding-top: var(--s-6); }
.contact__direct .t-label { margin: 0; color: color-mix(in oklab, var(--bg) 65%, var(--ink)); }
.contact__mail { display: inline-flex; align-items: center; gap: var(--s-3); font-size: var(--t-lead); font-weight: 500; color: var(--bg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in oklab, var(--bg) 35%, transparent); }
.contact__mail svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact__langs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-2) 0 0; }
.contact__langs span { padding: 4px 10px; border-radius: 999px; font-size: var(--t-label); background: color-mix(in oklab, var(--bg) 12%, transparent); }
.contact__panel { position: relative; padding: var(--s-7); }
.qform { display: grid; gap: var(--s-5); }
.qform__group { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.qform__group legend { padding: 0; margin-bottom: var(--s-3); font-size: var(--t-small); font-weight: 500; color: var(--ink); }
.picks { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--s-4); border-radius: 999px; background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--t-small); font-weight: 500; transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease), transform 120ms var(--ease); }
.pick:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.pick input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.pick input:checked + span::before { content: ""; width: 8px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-1px); }
.pick input:focus-visible + span { outline: 2px solid var(--action); outline-offset: 2px; }
.pick:active span { transform: scale(.97); }
.qform__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.qform .field input, .qform .field textarea { background: var(--bg); }
.qform .field textarea { min-height: 120px; }
.qform__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__foot { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; }
.qform__send { height: 52px; padding-inline: var(--s-6); font-size: var(--t-body); }
.qform.is-sending .qform__send { opacity: .7; cursor: progress; }
.qform__note { margin: 0; font-size: var(--t-small); color: var(--muted); max-width: 36ch; }
.qform__status { margin: 0; font-size: var(--t-small); font-weight: 500; color: var(--ink); min-height: 1.4em; }
.qdone { display: grid; justify-items: start; align-content: center; gap: var(--s-4); min-height: 100%; outline: none; }
.qdone[hidden] { display: none; }
.qdone__icon svg { width: 72px; height: 72px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qdone__icon circle { stroke: color-mix(in oklab, #2f9e5b 30%, transparent); }
.qdone__icon path { stroke: #2f9e5b; stroke-dasharray: 40; stroke-dashoffset: 40; }
.qdone.is-in .qdone__icon path { animation: qdraw 520ms 120ms var(--ease) forwards; }
.qdone.is-in .qdone__icon circle { animation: qring 520ms var(--ease) both; transform-origin: center; }
@keyframes qdraw { to { stroke-dashoffset: 0; } }
@keyframes qring { from { transform: scale(.6); opacity: 0; } }
.qdone__h { font: 400 clamp(28px, 2.6vw, 40px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.qdone__p { margin: 0; color: var(--muted); max-width: 48ch; font-size: var(--t-lead); line-height: 1.5; }
.qdone__sum { display: grid; grid-template-columns: auto 1fr; gap: var(--s-2) var(--s-5); margin: var(--s-2) 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.qdone__sum dt { font-size: var(--t-small); color: var(--muted); } .qdone__sum dd { margin: 0; font-weight: 500; font-size: var(--t-small); }
@media (prefers-reduced-motion: reduce) { .qdone .qdone__icon path { stroke-dashoffset: 0; animation: none !important; } .qdone__icon circle { animation: none !important; } .contact__kicker .dot { animation: none; } }
@media (max-width: 1023px) {
  .contact__box { grid-template-columns: minmax(0, 1fr); }
  .contact__side, .contact__panel { padding: var(--s-6); }
  .contact__steps { display: none; }
}
@media (max-width: 639px) {
  .contact__side, .contact__panel { padding: var(--s-5); }
  .qform__row { grid-template-columns: minmax(0, 1fr); }
  .pick span { min-height: 44px; }
  .qform__send { width: 100%; }
}
@media (min-width: 1024px) {
  .contact__side, .contact__panel { padding: var(--s-7) var(--s-7); }
  .qform { gap: var(--s-4); }
  .qform__group legend { margin-bottom: var(--s-2); }
  .pick span { min-height: 36px; padding: 0 14px; }
  .qform .field textarea { min-height: 96px; }
  .contact__lead { font-size: var(--t-body); }
}
