/* Design direction (unslop pass, 13.11.2026)
   Product:   one Hamburg engineer who connects and automates business software for SMEs
   Character: exact, calm, northern
   World:     Hamburg harbour and trade city: Elbe water at night, brick warehouses, cranes, cargo manifests
   Moments:   the harbour scene in the hero, an e-invoice (readable invoice + XRechnung XML + validation) built in code
   Signature: manifest lines, meta set in mono, separated by hairlines
   Design method based on unslop by Damir Sokolovsky (@heydamir), CC BY 4.0 */

@font-face { font-family: "Plex"; src: url("/assets/fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/plex-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/plex-ext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Plex"; src: url("/assets/fonts/plex-ext-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* ink ramp, dark */
  --d-0: #07080d;
  --d-1: #0b0d14;
  --d-2: #11141c;
  --d-3: #1a1e28;
  --d-text: #eef0f5;
  --d-text-2: #a3a9b8;
  --d-text-3: #7a8296;
  --d-line: rgba(238,240,245,.08);
  --d-line-2: rgba(238,240,245,.14);
  /* ink ramp, light */
  --l-0: #f5f7fa;
  --l-1: #ffffff;
  --l-2: #eceff4;
  --l-text: #111827;
  --l-text-2: #4b5565;
  --l-text-3: #6b7487;
  --l-line: rgba(17,24,39,.08);
  --l-line-2: rgba(17,24,39,.14);
  /* accent: cobalt from the brand, used rarely */
  --accent: #2f5bff;
  --accent-hover: #2a50e6;
  --accent-ink: #2447d6;
  --ok: #16a34a;
  --ok-d: #4cc38a;

  --font: "Plex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --max: 1200px;
  --r-control: 8px;
  --r-card: 14px;
  --r-panel: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--l-text); background: var(--l-0); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--d-text); color: var(--d-1); padding: 8px 16px; border-radius: var(--r-control); text-decoration: none; }
.skip:focus { top: 12px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.section { padding: 112px 0; }
.section.tight { padding: 64px 0; }
.dark { background: var(--d-1); color: var(--d-text); }
.white { background: var(--l-1); }
.muted { color: var(--l-text-3); }
.dark .muted { color: var(--d-text-3); }

/* ---------- signature: manifest line ---------- */
.manifest { display: flex; flex-wrap: wrap; row-gap: 4px; align-items: center; font: 400 13px/20px var(--mono); color: var(--l-text-3); font-variant-numeric: tabular-nums; }
.manifest > * + * { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--l-line-2); }
.dark .manifest, .hero .manifest, .page-hero .manifest { color: var(--d-text-3); }
.dark .manifest > * + *, .hero .manifest > * + *, .page-hero .manifest > * + * { border-left-color: var(--d-line-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--r-control); border: 0; background: var(--accent); color: #fff; font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), transform .12s var(--ease); }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.98); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 15px; }
.btn.secondary { background: var(--l-1); color: var(--l-text); box-shadow: inset 0 0 0 1px var(--l-line-2); }
.btn.secondary:hover { background: var(--l-2); }
.dark .btn.secondary, .hero .btn.secondary, .page-hero .btn.secondary, .site-header .btn.secondary { background: var(--d-3); color: var(--d-text); box-shadow: inset 0 0 0 1px var(--d-line-2), inset 0 1px 0 rgba(255,255,255,.06); }
.dark .btn.secondary:hover, .hero .btn.secondary:hover, .page-hero .btn.secondary:hover, .site-header .btn.secondary:hover { background: #222736; }
.btn.light { background: var(--d-text); color: var(--d-1); }
.btn.light:hover { background: #ffffff; }
.btn .arr { font-family: var(--font); }

/* ---------- header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; color: var(--d-text); transition: background-color .2s var(--ease); }
.site-header.scrolled { position: fixed; background: rgba(11,13,20,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--d-line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 17px; }
.brand svg { width: 28px; height: 28px; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 8px 12px; border-radius: var(--r-control); font-size: 15px; text-decoration: none; color: var(--d-text-2); transition: color .16s var(--ease), background-color .16s var(--ease); }
.menu a:hover { color: var(--d-text); }
.menu a[aria-current="page"] { color: var(--d-text); background: rgba(238,240,245,.06); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang { padding: 8px 12px; font: 400 13px/20px var(--mono); color: var(--d-text-2); text-decoration: none; border-radius: var(--r-control); }
.lang:hover { color: var(--d-text); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--d-text); cursor: pointer; border-radius: var(--r-control); }
.burger span { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: currentColor; }
.mobile-menu { display: none; position: absolute; top: 68px; left: 16px; right: 16px; padding: 8px; background: var(--d-2); border: 1px solid var(--d-line-2); border-radius: var(--r-card); }
.mobile-menu a { display: block; padding: 12px; border-radius: var(--r-control); color: var(--d-text); text-decoration: none; font-size: 16px; }
.mobile-menu a[aria-current="page"] { background: var(--d-3); }
.mobile-menu .btn { display: flex; justify-content: center; margin-top: 8px; }

/* ---------- home hero: one harbour scene ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--d-1); color: var(--d-text); min-height: 760px; padding: 168px 0 200px; }
.hero-bg { position: absolute; inset: 0 0 0 16%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--d-1) 0%, var(--d-1) 16%, rgba(11,13,20,.82) 34%, rgba(11,13,20,.35) 54%, rgba(11,13,20,0) 70%), linear-gradient(0deg, var(--d-1) 0%, rgba(11,13,20,0) 36%); }
.hero-inner { max-width: 600px; animation: rise .5s var(--ease) both; }
.hero .manifest { margin-bottom: 24px; }
.hero h1 { font-size: 60px; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; }
.hero .lede { font-size: 19px; line-height: 30px; color: var(--d-text-2); max-width: 36rem; margin-bottom: 40px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- moment: e-invoice built in code ---------- */
.moment { position: relative; z-index: 2; margin-top: -136px; }
.moment-grid { display: grid; grid-template-columns: 1fr 640px; gap: 48px; align-items: end; }
.moment-caption { padding-bottom: 24px; }
.moment-caption p { color: var(--l-text-2); font-size: 16px; margin: 12px 0 16px; max-width: 28rem; }
.moment-caption a { color: var(--accent-ink); font-weight: 500; text-decoration: none; }
.moment-caption a:hover { text-decoration: underline; }
.invoice { background: var(--d-2); color: var(--d-text); border: 1px solid var(--d-line-2); border-radius: var(--r-panel); overflow: hidden; box-shadow: 0 24px 64px rgba(7,8,13,.28); }
.invoice-bar { display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--d-line); font: 400 13px/20px var(--mono); color: var(--d-text-3); }
.invoice-panes { display: grid; grid-template-columns: 1fr 1fr; }
.paper { margin: 12px; padding: 20px; background: #fbfbf8; color: #1b1d22; border-radius: 6px; font-size: 13px; line-height: 20px; }
.paper .ph { display: flex; justify-content: space-between; margin-bottom: 16px; }
.paper .ph strong { font-weight: 600; font-size: 14px; }
.paper .addr { color: #5b616e; margin-bottom: 16px; }
.paper table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.paper td { padding: 4px 0; border-bottom: 1px solid rgba(27,29,34,.08); }
.paper td:last-child { text-align: right; }
.paper tr.sum td { border-bottom: 0; padding-top: 8px; font-weight: 600; }
.xml { margin: 0; padding: 20px 16px; font: 400 12px/20px var(--mono); color: var(--d-text-2); white-space: pre; overflow: hidden; border-left: 1px solid var(--d-line); }
.xml .t { color: var(--d-text-3); }
.xml .v { color: var(--d-text); }
.invoice-status { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-top: 1px solid var(--d-line); font: 400 13px/20px var(--mono); color: var(--d-text-2); }
.invoice-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-d); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--d-1); color: var(--d-text); padding: 168px 0 96px; }
.page-hero .photo { position: absolute; top: 0; bottom: 0; right: 0; width: 50%; z-index: -2; }
.page-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.page-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--d-1) 0%, var(--d-1) 50%, rgba(11,13,20,.6) 62%, rgba(11,13,20,0) 82%); }
.page-hero h1 { font-size: 48px; line-height: 1.08; letter-spacing: -.02em; max-width: 720px; }
.page-hero .lede { margin-top: 20px; font-size: 19px; line-height: 30px; color: var(--d-text-2); max-width: 36rem; }
.label { display: block; margin-bottom: 16px; font: 400 14px/20px var(--font); color: var(--l-text-3); }
.dark .label, .page-hero .label, .hero .label { color: var(--d-text-3); }
.crumbs { margin-bottom: 16px; font: 400 13px/20px var(--mono); color: var(--d-text-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--d-text); }

/* ---------- section heads ---------- */
.head { max-width: 640px; margin-bottom: 48px; }
.head h2 { font-size: 40px; line-height: 1.12; letter-spacing: -.02em; }
.head p { margin-top: 16px; font-size: 18px; line-height: 28px; color: var(--l-text-2); }
.dark .head p { color: var(--d-text-2); }
.split { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.split .head { position: sticky; top: 104px; margin-bottom: 0; }
.split .head .btn { margin-top: 32px; }

/* ---------- service list ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--l-line-2); }
.rows li { border-bottom: 1px solid var(--l-line-2); }
.row { display: grid; grid-template-columns: 40px 1fr 24px; gap: 16px; align-items: start; padding: 24px 4px; text-decoration: none; transition: background-color .16s var(--ease); }
a.row:hover { background: rgba(17,24,39,.03); }
.row .n { font: 400 13px/28px var(--mono); color: var(--l-text-3); }
.row h3 { font-size: 20px; line-height: 28px; }
.row p { margin-top: 4px; color: var(--l-text-2); font-size: 16px; line-height: 24px; }
.row .go { color: var(--l-text-3); line-height: 28px; transition: color .16s var(--ease), transform .16s var(--ease); }
a.row:hover .go { color: var(--l-text); transform: translateX(2px); }
.row .manifest { margin-top: 8px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 24px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 24px; background: var(--l-1); border: 1px solid var(--l-line); border-radius: var(--r-card); }
.card .icon { color: var(--l-text-3); margin-bottom: 16px; }
.card .icon svg { width: 18px; height: 18px; }
.card h3 { font-size: 18px; line-height: 28px; margin-bottom: 8px; }
.card p { color: var(--l-text-2); font-size: 16px; line-height: 24px; }

/* project cards */
.pcard { display: flex; flex-direction: column; overflow: hidden; background: var(--l-1); border: 1px solid var(--l-line); border-radius: var(--r-card); text-decoration: none; transition: border-color .16s var(--ease); }
.pcard:hover { border-color: var(--l-line-2); }
.dark .pcard { background: var(--d-2); border-color: var(--d-line); }
.dark .pcard:hover { border-color: var(--d-line-2); }
.pcard .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--d-3); }
.pcard .thumb img, .pcard .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.pcard .pbody { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 24px 24px; }
.pcard h3 { font-size: 20px; line-height: 28px; }
.pcard p { color: var(--l-text-2); font-size: 16px; line-height: 24px; }
.dark .pcard p { color: var(--d-text-2); }
.pcard .more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 500; color: var(--accent-ink); }
.dark .pcard .more { color: var(--d-text); }
.feature-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; }
.feature-grid .side { display: grid; gap: 24px; }
.feature-grid .side .pcard { flex-direction: row; }
.feature-grid .side .thumb { aspect-ratio: auto; width: 40%; flex: none; }
.feature-grid .lead .thumb { aspect-ratio: 16 / 9; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { height: 36px; padding: 0 16px; border-radius: var(--r-control); border: 1px solid var(--l-line-2); background: var(--l-1); color: var(--l-text-2); font: 500 15px var(--font); cursor: pointer; transition: background-color .16s var(--ease), color .16s var(--ease); }
.filters button:hover { color: var(--l-text); }
.filters button[aria-pressed="true"] { background: var(--l-text); border-color: var(--l-text); color: var(--l-1); }
.pcard[hidden] { display: none; }

/* principles (why) */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--l-line-2); }
.principles > div { padding: 24px 0; border-bottom: 1px solid var(--l-line-2); }
.principles h3 { font-size: 18px; line-height: 28px; margin-bottom: 4px; }
.principles p { color: var(--l-text-2); font-size: 16px; line-height: 24px; }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.figures div { display: flex; flex-direction: column; gap: 4px; }
.figures strong { font-size: 32px; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.figures span { font-size: 14px; color: var(--l-text-3); }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; background: var(--d-2); color: var(--d-text); border: 1px solid var(--d-line); border-radius: var(--r-panel); }
.cta h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.015em; }
.cta p { margin-top: 12px; color: var(--d-text-2); max-width: 36rem; }

/* services page detail */
.svc-detail { display: grid; grid-template-columns: 320px 1fr; gap: 64px; padding: 56px 0; border-top: 1px solid var(--l-line-2); scroll-margin-top: 96px; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail .icon { color: var(--l-text-3); margin-bottom: 16px; }
.svc-detail .icon svg { width: 20px; height: 20px; }
.svc-detail .num { margin-bottom: 8px; font: 400 13px/20px var(--mono); color: var(--l-text-3); }
.svc-detail h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.015em; }
.svc-detail p.long { font-size: 18px; line-height: 28px; color: var(--l-text-2); margin-bottom: 32px; }
.svc-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; }
.svc-cols h3 { font-size: 14px; line-height: 20px; color: var(--l-text-3); margin-bottom: 12px; font-weight: 400; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 24px; font-size: 16px; line-height: 24px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 1.5px solid var(--l-text-3); border-bottom: 1.5px solid var(--l-text-3); transform: rotate(-45deg); }
.dark .checks li::before { border-color: var(--d-text-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 2px 8px; border-radius: 6px; background: var(--l-2); color: var(--l-text-2); font: 400 13px/20px var(--mono); }
.dark .tags li { background: var(--d-3); color: var(--d-text-2); }

/* process timeline */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--d-line-2); }
.step { padding-top: 24px; }
.step .n { font: 400 13px/20px var(--mono); color: var(--d-text-3); }
.step h3 { font-size: 18px; line-height: 28px; margin: 8px 0 4px; }
.step p { color: var(--d-text-2); font-size: 16px; line-height: 24px; }

/* case study */
.case { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.case .cover { aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 48px; border-radius: var(--r-card); background: var(--d-3); }
.case .cover img, .case .cover svg { width: 100%; height: 100%; object-fit: cover; }
.case h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; }
.case h2:first-of-type { margin-top: 0; }
.case p { font-size: 18px; line-height: 30px; color: var(--l-text-2); }
.aside { position: sticky; top: 104px; display: grid; gap: 24px; padding: 24px; background: var(--l-1); border: 1px solid var(--l-line); border-radius: var(--r-card); }
.aside dl { display: grid; gap: 16px; margin: 0; }
.aside dt { font-size: 14px; line-height: 20px; color: var(--l-text-3); }
.aside dd { margin: 2px 0 0; font-weight: 500; }
.note { padding-left: 16px; border-left: 2px solid var(--l-line-2); font-size: 15px; line-height: 24px; color: var(--l-text-3); }

/* about */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }
.prose p { margin-bottom: 20px; font-size: 18px; line-height: 30px; color: var(--l-text-2); }
.prose p.big { font-size: 22px; line-height: 34px; color: var(--l-text); letter-spacing: -.005em; }
.plist { display: grid; border-top: 1px solid var(--l-line-2); }
.plist > div { padding: 20px 0; border-bottom: 1px solid var(--l-line-2); }
.plist h3 { font-size: 17px; line-height: 26px; margin-bottom: 4px; }
.plist p { font-size: 15px; line-height: 24px; color: var(--l-text-2); }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stack-grid h3 { font-size: 15px; line-height: 24px; color: var(--d-text-2); font-weight: 400; margin-bottom: 12px; }

/* blog */
.post-card .thumb { aspect-ratio: 16 / 9; }
.article { max-width: 720px; margin: 0 auto; }
.article .cover { aspect-ratio: 2 / 1; overflow: hidden; margin: 0 0 48px; border-radius: var(--r-card); background: var(--d-3); }
.article .cover img, .article .cover svg { width: 100%; height: 100%; object-fit: cover; }
.article p, .article li { font-size: 18px; line-height: 32px; color: #283041; }
.article p { margin-bottom: 24px; }
.article h2 { font-size: 26px; line-height: 1.25; margin: 48px 0 16px; letter-spacing: -.01em; }
.article ul { padding-left: 24px; margin: 0 0 24px; }
.article li { margin-bottom: 8px; }
.article strong { font-weight: 600; color: var(--l-text); }
.author { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--l-line-2); }
.author .av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--d-1); }
.author .av svg { width: 22px; height: 22px; }
.author strong { display: block; font-weight: 500; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--l-line-2); }
.faq details { border-bottom: 1px solid var(--l-line-2); }
.faq summary { position: relative; padding: 20px 40px 20px 0; list-style: none; cursor: pointer; font-size: 18px; line-height: 28px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 400 20px/28px var(--mono); color: var(--l-text-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 24px; font-size: 16px; line-height: 26px; color: var(--l-text-2); max-width: 44rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.info { display: grid; gap: 20px; margin-top: 40px; }
.info > div { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.info .i { color: var(--d-text-3); padding-top: 2px; }
.info .i svg { width: 18px; height: 18px; }
.info strong { display: block; font-weight: 500; font-size: 15px; color: var(--d-text); }
.info a, .info span { color: var(--d-text-2); text-decoration: none; }
.info a:hover { color: var(--d-text); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-control); border: 1px solid var(--d-line-2); color: var(--d-text-2); transition: color .16s var(--ease), border-color .16s var(--ease); }
.socials a:hover { color: var(--d-text); border-color: rgba(238,240,245,.28); }
.socials svg { width: 16px; height: 16px; }
.form { padding: 32px; background: var(--d-2); border: 1px solid var(--d-line-2); border-radius: var(--r-panel); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 14px; font-weight: 500; color: var(--d-text); }
.field label small { font-weight: 400; color: var(--d-text-3); font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 12px; border-radius: var(--r-control); border: 1px solid var(--d-line-2); background: var(--d-1); color: var(--d-text); font: 400 16px/24px var(--font); transition: border-color .16s var(--ease); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8296' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field select option { color: #000; }
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--d-text-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form .fine { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--d-text-3); }
.form .fine a { color: var(--d-text-2); }
.form-msg { display: none; margin-bottom: 20px; padding: 12px 16px; border-radius: var(--r-control); font-size: 15px; line-height: 24px; }
.form-msg.ok { display: block; background: rgba(76,195,138,.1); color: #b9ecd2; border: 1px solid rgba(76,195,138,.3); }
.form-msg.err { display: block; background: rgba(229,72,77,.1); color: #f7c6c8; border: 1px solid rgba(229,72,77,.3); }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* legal */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 26px; color: var(--l-text-2); }
.legal p { margin-bottom: 12px; }

/* footer */
.site-footer { padding: 64px 0 32px; background: var(--d-0); color: var(--d-text-2); font-size: 15px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--d-line); }
.foot-brand .brand { color: var(--d-text); }
.foot-brand p { margin-top: 12px; max-width: 320px; line-height: 24px; }
.foot-brand .tagline { margin-top: 16px; color: var(--d-text); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-nav h4 { margin-bottom: 12px; font-size: 14px; font-weight: 400; color: var(--d-text-3); }
.foot-nav ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.foot-nav a { text-decoration: none; transition: color .16s var(--ease); }
.foot-nav a:hover { color: var(--d-text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; color: var(--d-text-3); }
.foot-bottom a { margin-left: 16px; text-decoration: none; }
.foot-bottom a:hover { color: var(--d-text); }

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

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .split, .moment-grid { grid-template-columns: 1fr; gap: 40px; }
  .split .head { position: static; }
  .moment { margin-top: -96px; }
  .moment-caption { order: 2; padding-bottom: 0; }
  .cards.c3 { grid-template-columns: repeat(2, 1fr); }
  .steps, .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menu, .nav-right .btn, .nav-right .lang { display: none; }
  .burger { display: block; }
  .nav.open + .mobile-menu { display: block; }
  .case, .about-grid, .contact-grid, .svc-detail { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
  .svc-cols, .principles { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px; }
  .page-hero .photo { width: 100%; }
  .page-hero.has-photo::before { background: rgba(11,13,20,.72); }
  .invoice-panes { grid-template-columns: 1fr; }
  .xml { border-left: 0; border-top: 1px solid var(--d-line); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { min-height: 0; padding: 128px 0 160px; }
  .hero h1 { font-size: 40px; }
  .hero-bg { left: 0; }
  .figures { grid-template-columns: 1fr; gap: 24px; }
  .hero::before { background: linear-gradient(0deg, var(--d-1) 8%, rgba(11,13,20,.72) 60%, rgba(11,13,20,.5) 100%); }
  .page-hero { padding: 128px 0 64px; }
  .page-hero h1 { font-size: 36px; }
  .head h2 { font-size: 30px; }
  .cards.c2, .cards.c3, .steps, .stack-grid, .row2 { grid-template-columns: 1fr; }
  .feature-grid .side .pcard { flex-direction: column; }
  .feature-grid .side .thumb { width: 100%; aspect-ratio: 16 / 10; }
  .form { padding: 20px; }
  .xml { font-size: 11px; }
  .foot-bottom a { margin: 0 16px 0 0; }
}
