@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  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;
}

:root {
  --paper: #f2f5f3;
  --paper-strong: #fff;
  --paper-muted: #e2e9e5;
  --ink: #0d1821;
  --ink-soft: #44515a;
  --line: #bbc6c0;
  --blue: #2854f4;
  --blue-dark: #1737ad;
  --mint: #47d7b2;
  --coral: #ff8062;
  --yellow: #ffd25c;
  --accent: var(--yellow);
  --display: "Manrope", "Segoe UI", Arial, sans-serif;
  --accent-display: "Unbounded", "Arial Black", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 17px; line-height: 1.65; }
body::before { content: ""; position: fixed; z-index: 1000; inset: 0; pointer-events: none; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2000; top: -80px; left: 16px; padding: 12px 16px; border-radius: 9px; color: white; background: var(--ink); }
.skip-link:focus { top: 16px; }

.service-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(242,245,243,.92); backdrop-filter: blur(16px); }
.service-header-inner { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.service-brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 800; }
.service-brand-mark { display: grid; place-items: center; width: 46px; height: 34px; border-radius: 8px; color: white; background: var(--ink); font: 800 15px/1 var(--mono); }
.service-nav { display: flex; align-items: center; gap: 22px; }
.service-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); text-decoration: none; font-size: 13px; font-weight: 720; }
.service-nav a:hover { color: var(--blue); }
.service-header-cta { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 9px; padding: 0 14px; color: white; background: var(--blue); text-decoration: none; font-size: 13px; font-weight: 800; }

.service-hero { position: relative; overflow: hidden; padding: 84px 0 94px; }
.service-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -210px; border: 1px solid var(--ink); border-radius: 50%; background: var(--accent); opacity: .72; }
.service-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.service-hero-grid > *, .section-heading > * { min-width: 0; }
.eyebrow, .micro { margin: 0 0 18px; color: var(--blue); font: 800 11px/1.25 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 30px; font: 700 clamp(42px, 5.2vw, 64px)/1.06 var(--display); letter-spacing: -.035em; }
h1 span { display: block; color: var(--blue); }
.service-hero-lead { max-width: 680px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--ink); border-radius: 10px; padding: 0 18px; text-decoration: none; font-weight: 820; transition: transform .18s ease, box-shadow .18s ease; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 7px 0 var(--blue-dark); }
.button-quiet { color: var(--ink); background: white; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(3px); box-shadow: none; }

.service-console { position: relative; overflow: hidden; border: 1px solid var(--ink); border-radius: 18px; background: white; box-shadow: 13px 13px 0 var(--accent); }
.console-bar { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 16px; border-bottom: 1px solid var(--line); font: 750 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%; }
.console-flow { padding: 22px; }
.console-node { min-height: 90px; display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 15px; border: 1px solid var(--ink); border-radius: 10px; padding: 15px; }
.console-node span { font: 750 9px/1.25 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.console-node strong { font-size: 16px; line-height: 1.45; }
.console-node.problem { background: var(--paper-muted); }
.console-node.work { color: white; background: var(--blue); }
.console-node.result { background: var(--accent); }
.console-arrow { height: 28px; display: grid; place-items: center; font: 800 18px/1 var(--mono); }
.console-facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.console-facts div { display: grid; gap: 5px; padding: 18px 20px; }
.console-facts div + div { border-left: 1px solid var(--ink); }
.console-facts span { color: var(--ink-soft); font: 750 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.console-facts strong { font-size: 18px; }

.service-section { padding: 100px 0; }
.service-section-dark { color: white; background: var(--ink); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.section-heading h2 { max-width: 820px; margin: 0; font: 700 clamp(34px, 4.2vw, 52px)/1.08 var(--display); letter-spacing: -.03em; }
.section-heading > p { max-width: 500px; margin: 0; color: var(--ink-soft); font-size: 18px; }
.service-section-dark .eyebrow { color: var(--mint); }
.service-section-dark .section-heading > p { color: #b8c2bc; }

.when-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.when-card { min-height: 250px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: white; }
.when-card:nth-child(1) { background: var(--accent); }
.when-card span { color: var(--blue); font: 800 10px/1 var(--mono); }
.when-card h3 { margin: 30px 0 12px; font-size: 25px; line-height: 1.1; letter-spacing: -.035em; }
.when-card p { margin: 0; color: var(--ink-soft); }

.deliverables { margin: 0; padding: 0; border-top: 1px solid #52605a; list-style: none; }
.deliverables li { display: grid; grid-template-columns: 70px .8fr 1.2fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid #52605a; }
.deliverables li > span { color: var(--accent); font: 800 11px/1 var(--mono); }
.deliverables strong { font-size: 22px; line-height: 1.2; }
.deliverables p { margin: 0; color: #b8c2bc; }

.price-panel { display: grid; grid-template-columns: .75fr 1.25fr; overflow: hidden; border: 1px solid var(--ink); border-radius: 20px; background: white; box-shadow: 12px 12px 0 var(--ink); }
.price-main { padding: 36px; background: var(--accent); }
.price-main span { font: 800 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.price-main strong { display: block; margin: 42px 0 12px; font: 700 clamp(38px, 5.2vw, 62px)/1 var(--accent-display); letter-spacing: -.035em; }
.price-main p { margin: 0; }
.price-factors { margin: 0; padding: 18px 32px; list-style: none; }
.price-factors li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-factors li:last-child { border-bottom: 0; }
.price-factors span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 750 10px/1 var(--mono); }
.price-factors strong { display: block; margin-bottom: 4px; }
.price-factors p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

.service-faq { display: grid; gap: 12px; }
.service-faq details { overflow: hidden; border: 1px solid var(--ink); border-radius: 13px; background: white; }
.service-faq summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 820; }
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after { content: "+"; width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--ink); font: 800 20px/1 var(--mono); }
.service-faq details[open] summary::after { content: "−"; background: var(--blue); }
.service-faq p { margin: 0 20px 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); }

.service-cta { padding: 90px 0; color: white; background: var(--blue); }
.service-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; }
.service-cta h2 { max-width: 880px; margin: 0; font: 700 clamp(34px, 4.4vw, 54px)/1.08 var(--display); letter-spacing: -.03em; }
.service-cta p { max-width: 650px; margin: 25px 0 0; color: #dfe5ff; font-size: 18px; }
.service-terms { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-terms li { min-height: 34px; display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid rgba(255,255,255,.62); border-radius: 999px; color: white; font: 750 10px/1.15 var(--mono); text-transform: uppercase; letter-spacing: .045em; }
.service-terms li::before { content: "✓"; margin-right: 7px; color: var(--yellow); font-weight: 900; }
.service-cta .button { color: var(--ink); background: var(--yellow); box-shadow: 0 7px 0 var(--ink); white-space: nowrap; }

.service-footer { padding: 38px 0; color: #b8c2bc; background: #080f14; }
.service-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.service-footer a { color: white; text-underline-offset: 4px; }
.service-footer span { font: 700 11px/1 var(--mono); }

.page-services { --accent: var(--coral); }
.page-automation { --accent: var(--mint); }
.page-parsers { --accent: var(--yellow); }
.page-bots { --accent: #90a8ff; }

.error-page { min-height: 100dvh; color: white; background: var(--blue); }
.error-main { min-height: 100dvh; display: grid; align-items: center; padding: 60px 0; }
.error-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.error-page .eyebrow { color: var(--yellow); }
.error-page h1 { margin-bottom: 30px; }
.error-page h1 span { color: var(--yellow); }
.error-page .service-hero-lead { color: #dfe5ff; }
.error-terminal { overflow: hidden; border: 1px solid #456e5d; border-radius: 16px; color: #78f8bd; background: #07100d; box-shadow: 13px 13px 0 var(--yellow); font-family: var(--mono); }
.error-terminal .console-bar { border-color: #315142; color: #c8d9d1; }
.error-terminal .console-dots i { border-color: #456e5d; }
.error-terminal > div:last-child { min-height: 300px; padding: 30px; background-image: linear-gradient(rgba(120,248,189,.025) 1px, transparent 1px); background-size: 100% 4px; }
.error-terminal p { margin: 0 0 16px; }
.error-terminal a { color: var(--yellow); }
.error-line { color: var(--coral); }
.error-cursor { display: block; width: 10px; height: 19px; margin-top: 40px; background: var(--yellow); animation: error-cursor 1s steps(1) infinite; }
@keyframes error-cursor { 50% { opacity: 0; } }

@media (max-width: 840px) {
  .service-nav { display: none; }
  .service-hero-grid, .section-heading, .price-panel { grid-template-columns: 1fr; }
  .service-hero-grid { gap: 56px; }
  .service-hero::before { width: 330px; height: 330px; }
  .service-console { max-width: 650px; }
  .deliverables li { grid-template-columns: 55px 1fr; }
  .deliverables p { grid-column: 2; }
  .service-cta-inner { grid-template-columns: 1fr; align-items: start; }
  .error-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .shell { width: min(650px, calc(100% - 28px)); }
  .service-header-inner { min-height: 64px; }
  .service-brand > span:last-child { display: none; }
  .service-header-cta { padding-inline: 12px; }
  .service-hero { padding: 58px 0 74px; }
  h1 { font-size: clamp(31px, 8.7vw, 38px); overflow-wrap: normal; }
  .section-heading h2, .service-cta h2 { overflow-wrap: anywhere; }
  .service-hero-lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .service-console { box-shadow: 8px 8px 0 var(--accent); }
  .console-flow { padding: 14px; }
  .console-node { grid-template-columns: 1fr; gap: 8px; }
  .console-facts { grid-template-columns: 1fr; }
  .console-facts div + div { border-top: 1px solid var(--ink); border-left: 0; }
  .service-section { padding: 76px 0; }
  .section-heading { gap: 22px; margin-bottom: 36px; }
  .section-heading h2 { font-size: clamp(29px, 7.7vw, 35px); }
  .section-heading > p { font-size: 16px; }
  .when-grid { grid-template-columns: 1fr; }
  .when-card { min-height: 0; padding: 23px; }
  .deliverables li { grid-template-columns: 42px 1fr; gap: 15px; padding: 24px 0; }
  .deliverables strong { font-size: 19px; }
  .price-panel { box-shadow: 7px 7px 0 var(--ink); }
  .price-main, .price-factors { padding: 24px; }
  .price-main strong { margin-top: 30px; }
  .service-faq summary { font-size: 16px; }
  .service-cta { padding: 74px 0; }
  .service-cta h2 { font-size: clamp(29px, 7.7vw, 35px); }
  .service-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
