@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: #ffffff;
  --paper-muted: #e2e9e5;
  --ink: #0d1821;
  --ink-soft: #44515a;
  --line: #bbc6c0;
  --blue: #2854f4;
  --blue-dark: #1737ad;
  --mint: #47d7b2;
  --mint-dark: #19866d;
  --coral: #ff8062;
  --yellow: #ffd25c;
  --terminal: #07100d;
  --terminal-green: #78f8bd;
  --radius-sm: 10px;
  --radius: 20px;
  --shadow: 0 18px 60px rgba(13, 24, 33, 0.12);
  --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;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  z-index: 1000;
  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='.24'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, summary { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  color: white;
  background: var(--ink);
  border-radius: var(--radius-sm);
  transition: top .2s ease;
}

.skip-link:focus { top: 16px; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 245, 243, .9);
  border-bottom: 1px solid rgba(187, 198, 192, .8);
  backdrop-filter: blur(16px);
}
.reading-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; overflow: hidden; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left center; will-change: transform; }

.header-inner { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 780; }
.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); letter-spacing: -.08em; }
.brand-name { letter-spacing: -.025em; white-space: nowrap; }

.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 650; }
.desktop-nav a:hover { color: var(--blue); }
.desktop-nav a.is-active { color: var(--ink); }
.desktop-nav a.is-active::after { content: ""; position: absolute; bottom: 12px; width: 18px; height: 3px; border-radius: 99px; background: var(--blue); }

.terminal-trigger {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  padding: 0 9px 0 14px;
  color: var(--ink);
  background: transparent;
  font: 700 13px/1 var(--mono);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.terminal-trigger:hover { color: var(--terminal-green); background: var(--terminal); transform: translateY(-1px); }
.terminal-trigger kbd { padding: 5px 8px; border: 1px solid currentColor; border-radius: 5px; font: inherit; opacity: .65; }
.mobile-menu { display: none; margin-left: auto; }

.hero { min-height: calc(100dvh - 72px); display: grid; align-items: center; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); gap: 64px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow, .micro-label { margin: 0 0 20px; color: var(--blue); font: 750 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(71, 215, 178, .17); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
h1 { max-width: 760px; margin-bottom: 30px; overflow-wrap: normal; font-size: clamp(42px, 4vw, 58px); line-height: 1.06; }
h1 span { display: block; color: var(--blue); }
.hero-lead { max-width: 680px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(19px, 2vw, 22px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 750;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 7px 0 var(--blue-dark); }
.button-primary:hover { box-shadow: 0 4px 0 var(--blue-dark); }
.button-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-dark); }
.button-quiet { color: var(--ink); border-color: var(--line); background: var(--paper-strong); }
.button-quiet:hover { border-color: var(--ink); }

.hero-notes { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; }
.hero-notes li::before { content: "✓"; margin-right: 8px; color: var(--blue); font-weight: 900; }

.solution-lab { position: relative; padding: 26px; background: var(--paper-strong); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 16px 16px 0 var(--yellow); }
.solution-lab::before { content: ""; position: absolute; z-index: -1; width: 140px; height: 140px; top: -45px; right: -55px; border: 1px solid var(--blue); border-radius: 50%; animation: orbit-ring 10s linear infinite; }
.lab-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.lab-header .micro-label { margin-bottom: 8px; }
.lab-header h2 { margin: 0; font: 850 23px/1.1 var(--body); text-transform: none; letter-spacing: -.035em; }
.lab-status { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-soft); font: 700 11px/1 var(--mono); }
.lab-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.scenario-tabs { display: flex; gap: 8px; padding: 20px 0; overflow-x: auto; }
.scenario-tab { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 15px; color: var(--ink-soft); background: transparent; font-weight: 750; cursor: pointer; white-space: nowrap; }
.scenario-tab:hover, .scenario-tab.is-active { border-color: var(--ink); color: white; background: var(--ink); }
.flow { display: grid; gap: 0; }
.flow-node { min-height: 92px; display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 12px; border: 1px solid var(--ink); border-radius: 12px; padding: 16px 18px; }
.flow-node span { font: 700 10px/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.flow-node strong { font-size: 16px; line-height: 1.45; }
.flow-problem { background: var(--paper-muted); }
.flow-build { color: white; background: var(--blue); }
.flow-result { background: var(--mint); }
.flow.is-manual .flow-build { color: var(--ink); background: var(--coral); }
.flow.is-manual .flow-result { background: var(--yellow); }
.flow-connector { position: relative; height: 26px; display: grid; place-items: center; }
.flow-connector::before { content: ""; width: 1px; height: 100%; background: var(--ink); }
.flow-connector span { position: absolute; width: 8px; height: 8px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: translateY(7px) rotate(45deg); }
.flow-connector::after { content: ""; position: absolute; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255,128,98,.18); animation: flow-pulse 1.8s ease-in-out infinite; }
.flow.is-manual .flow-connector::after { background: var(--ink); box-shadow: none; animation: none; }
.flow.is-switching .flow-node { animation: flow-switch .3s ease-out; }
.lab-action-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.lab-impact { display: grid; gap: 4px; margin: 0; }
.lab-impact span { color: var(--ink-soft); font: 700 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.lab-impact strong { font-size: 14px; line-height: 1.4; }
.lab-run { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); border-radius: 9px; padding: 0 14px; color: white; background: var(--blue); font-weight: 800; cursor: pointer; transition: transform .18s ease, color .18s ease, background .18s ease; }
.lab-run:hover { transform: translateY(-2px); }
.lab-run[aria-pressed="true"] { color: var(--ink); background: var(--mint); }
.lab-run span { transition: transform .2s ease; }
.lab-run:hover span { transform: translateX(3px); }
.lab-caption { margin: 20px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

.capability-strip { border-block: 1px solid var(--ink); background: var(--yellow); }
.capability-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 800 clamp(12px, 1.6vw, 17px)/1.2 var(--mono); text-transform: uppercase; }
.capability-row i { font-style: normal; opacity: .45; }

.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); }
.situations-intro h2, .process-intro h2, .about-title h2, .faq h2, .trust-head h2, .contact h2 { margin: 0; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.section-head > p { max-width: 500px; margin: 0; color: var(--ink-soft); }

.situations { background: #dfe5ff; }
.situations-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.situations-intro { position: sticky; top: 122px; }
.situations-intro > p:not(.eyebrow) { max-width: 440px; margin: 28px 0 30px; color: var(--ink-soft); font-size: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 2px solid currentColor; color: var(--ink); text-decoration: none; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.situation-thread { display: grid; gap: 24px; }
.situation-card { position: sticky; width: calc(100% - 62px); padding: 28px 30px 30px; border: 1px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); transition: transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s ease; }
.situation-card:nth-child(1) { top: 96px; z-index: 1; }
.situation-card:nth-child(2) { top: 112px; z-index: 2; }
.situation-card:nth-child(3) { top: 128px; z-index: 3; }
.situation-card:nth-child(4) { top: 144px; z-index: 4; }
.situation-card:nth-child(even) { margin-left: auto; }
.situation-card:nth-child(odd) { transform: rotate(-.45deg); }
.situation-card:nth-child(even) { transform: rotate(.45deg); }
.situation-card:hover { transform: translate(-3px, -3px) rotate(0); box-shadow: 12px 12px 0 var(--ink); }
.situation-yellow { background: var(--yellow); }
.situation-mint { background: var(--mint); }
.situation-coral { background: var(--coral); }
.situation-blue { color: white; background: var(--blue); }
.situation-meta { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 30px; font: 750 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.situation-meta span:last-child { opacity: .58; }
.situation-card blockquote { max-width: 670px; margin: 0 0 24px; font-size: clamp(22px, 2.5vw, 31px); font-weight: 820; line-height: 1.2; letter-spacing: -.035em; }
.situation-card > p:last-child { max-width: 650px; margin: 0; padding-top: 18px; border-top: 1px solid currentColor; line-height: 1.55; }
.situation-card > p:last-child strong { font-weight: 850; }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.service-card { min-height: 660px; display: flex; flex-direction: column; padding: 34px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--paper-strong); }
.service-card-featured { background: var(--yellow); }
.service-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 54px; }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--blue); border: 1px solid var(--ink); border-radius: 12px; background: var(--paper); }
.service-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-code { color: var(--ink-soft); font: 700 11px/1 var(--mono); }
.service-card h3 { margin-bottom: 15px; font-size: clamp(27px, 3vw, 37px); line-height: 1.05; letter-spacing: -.04em; }
.service-card > p { max-width: 520px; color: var(--ink-soft); }
.service-card ul { margin: 18px 0 20px; padding: 0; list-style: none; font-size: 15px; }
.service-card li { padding: 9px 0; border-top: 1px solid rgba(13, 24, 33, .15); }
.service-card li::before { content: "↳"; margin-right: 10px; color: var(--blue); font-weight: 900; }
.service-card > p.service-outcome { margin: 0 0 28px; padding: 15px 16px; color: var(--ink); background: rgba(13, 24, 33, .055); border-radius: 10px; font-size: 15px; line-height: 1.6; }
.service-card-featured > p.service-outcome { background: rgba(255, 255, 255, .55); }
.service-details { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: -8px 0 14px; color: var(--blue); font-size: 13px; font-weight: 820; text-underline-offset: 4px; }
.service-details span { transition: transform .18s ease; }
.service-details:hover span { transform: translate(2px, -2px); }
.service-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ink); }
.service-meta strong { font-size: 21px; letter-spacing: -.03em; }
.service-meta span { color: var(--ink-soft); font: 700 12px/1 var(--mono); }
.service-card-bot { min-height: 0; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "top top" "title list" "copy list" "outcome list" "details meta"; column-gap: 64px; background: #dfe5ff; }
.service-card-bot .service-topline { grid-area: top; margin-bottom: 30px; }
.service-card-bot h3 { grid-area: title; }
.service-card-bot > p:not(.service-outcome) { grid-area: copy; }
.service-card-bot ul { grid-area: list; margin-top: 0; align-self: start; }
.service-card-bot .service-outcome { grid-area: outcome; }
.service-card-bot .service-details { grid-area: details; margin-bottom: 0; }
.service-card-bot .service-meta { grid-area: meta; align-self: end; margin-top: 0; }
.support-line { display: grid; grid-template-columns: .8fr 1fr auto; gap: 40px; align-items: center; margin-top: 24px; padding: 28px 32px; color: white; background: var(--ink); border-radius: var(--radius-sm); }
.support-line .micro-label { margin-bottom: 7px; color: var(--mint); }
.support-line h3, .support-line p { margin: 0; }
.support-line h3 { font-size: 22px; }
.support-line p { color: #d1dad5; font-size: 15px; }
.support-line > strong { color: var(--yellow); white-space: nowrap; }

.estimator { background: #dfe5ff; }
.estimator-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: start; }
.estimator-copy { position: sticky; top: 122px; }
.estimator .eyebrow { color: var(--blue); }
.estimator-copy h2 { margin: 0; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.estimator-copy > p:not(.eyebrow) { max-width: 450px; margin-top: 26px; color: var(--ink-soft); font-size: 18px; }
.estimator-copy .estimator-note { display: flex; gap: 12px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.estimator-note span { color: var(--blue); font-weight: 900; }
.price-estimator { overflow: hidden; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--paper-strong); box-shadow: 14px 14px 0 var(--ink); }
.price-estimator fieldset { min-width: 0; margin: 0; padding: 36px 28px 34px; border: 0; border-bottom: 1px solid var(--line); }
.price-estimator legend { width: 100%; float: left; display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 0; font-size: 16px; font-weight: 800; line-height: 1.35; }
.price-estimator legend span, .estimate-range strong i { color: var(--blue); font: 800 11px/1 var(--mono); font-style: normal; }
.estimate-options { clear: both; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0; }
.estimate-options label { position: relative; cursor: pointer; }
.estimate-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.estimate-options label span { min-height: 46px; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); background: var(--paper); font-size: 14px; font-weight: 700; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.estimate-options label:hover span { border-color: var(--ink); transform: translateY(-1px); }
.estimate-options input:checked + span { border-color: var(--ink); color: white; background: var(--blue); box-shadow: 0 3px 0 var(--blue-dark); }
.estimate-options input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.estimate-range { display: grid; gap: 19px; padding: 30px 28px 32px; }
.estimate-range > span { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.estimate-range strong { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.35; }
.estimate-range output { color: var(--blue); font: 850 17px/1 var(--mono); }
.estimate-range input { --estimate-progress: 0%; width: 100%; height: 18px; appearance: none; background: transparent; cursor: pointer; }
.estimate-range input::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(to right, var(--blue) var(--estimate-progress), var(--paper-muted) var(--estimate-progress)); }
.estimate-range input::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7.5px; appearance: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.estimate-range input::-moz-range-track { height: 5px; border-radius: 99px; background: var(--paper-muted); }
.estimate-range input::-moz-range-progress { height: 5px; border-radius: 99px; background: var(--blue); }
.estimate-range input::-moz-range-thumb { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.estimate-range small { color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.estimate-result { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; padding: 28px; border-top: 1px solid var(--ink); background: var(--yellow); }
.estimate-result > div { display: grid; gap: 7px; }
.estimate-result > div > span { font: 750 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.estimate-result > div > strong { font-size: clamp(21px, 2.5vw, 30px); line-height: 1.1; letter-spacing: -.035em; }
.estimate-result .button { grid-column: 1 / -1; justify-self: start; margin-top: 4px; border: 0; }

.routine { color: white; background: var(--blue); }
.routine-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.routine-copy { position: sticky; top: 122px; }
.routine .eyebrow { color: var(--yellow); }
.routine-copy h2 { margin: 0; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.routine-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 26px; color: #dfe5ff; font-size: 18px; }
.routine-copy .routine-note { display: flex; gap: 12px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.38); font-size: 15px; }
.routine-note span { color: var(--yellow); font-weight: 900; }
.routine-calculator { overflow: hidden; color: var(--ink); background: var(--paper-strong); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 14px 14px 0 var(--yellow); }
.calc-fields { display: grid; gap: 0; padding: 12px 30px; }
.calc-field { display: grid; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.calc-field:last-child { border-bottom: 0; }
.calc-field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.calc-field strong { font-size: 15px; }
.calc-field output { color: var(--blue); font: 800 13px/1 var(--mono); white-space: nowrap; }
.calc-field input[type="range"] { --range-progress: 12%; width: 100%; height: 18px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
.calc-field input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(to right, var(--blue) var(--range-progress), var(--paper-muted) var(--range-progress)); }
.calc-field input[type="range"]::-webkit-slider-thumb { width: 20px; height: 20px; margin-top: -7.5px; appearance: none; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.calc-field input[type="range"]::-moz-range-track { height: 5px; border-radius: 99px; background: var(--paper-muted); }
.calc-field input[type="range"]::-moz-range-progress { height: 5px; border-radius: 99px; background: var(--blue); }
.calc-field input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.calc-result { padding: 30px; color: var(--ink); background: var(--mint); border-top: 1px solid var(--ink); }
.calc-result .micro-label { margin-bottom: 12px; color: var(--ink); }
.calc-result > strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font: 700 clamp(38px, 5.2vw, 66px)/1 var(--accent-display); letter-spacing: -.035em; }
.calc-result > strong small { font: 800 14px/1 var(--mono); letter-spacing: 0; }
.calc-result > p:not(.micro-label) { max-width: 560px; margin: 22px 0 26px; }
.button-dark { color: white; background: var(--ink); box-shadow: 0 7px 0 #000; }
.button-dark:hover { box-shadow: 0 4px 0 #000; }
.button-dark:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }

.projects { color: white; background: var(--ink); }
.section-head-light .eyebrow { color: var(--mint); }
.section-head-light > p { color: #b8c2bc; }
.project-authorship { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 30px; margin: -12px 0 24px; padding: 18px 20px; border: 1px solid #56615b; border-radius: 12px; color: white; background: rgba(255,255,255,.035); }
.project-authorship span { color: var(--mint); font: 750 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.project-authorship strong { font-size: 14px; line-height: 1.4; }
.project-authorship p { margin: 0; color: #aeb9b3; font-size: 12px; line-height: 1.4; }
.project-list { display: grid; gap: 18px; }
.project-card { position: relative; min-height: 350px; display: grid; grid-template-columns: 60px 1fr minmax(340px, 430px); gap: 28px; overflow: hidden; padding: 36px; color: var(--ink); border-radius: var(--radius); }
.project-blue { background: #90a8ff; }
.project-yellow { background: var(--yellow); }
.project-coral { background: var(--coral); }
.project-mint { background: var(--mint); }
.project-number { font: 800 13px/1 var(--mono); }
.project-main { align-self: center; max-width: 610px; }
.project-type { margin-bottom: 12px; font: 750 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.project-main h3 { margin-bottom: 18px; font: 700 clamp(32px, 4.2vw, 50px)/1.05 var(--accent-display); letter-spacing: -.03em; }
.project-main h3.project-long { font-size: clamp(30px, 3.6vw, 44px); }
.project-main > p { max-width: 610px; margin-bottom: 25px; line-height: 1.45; }
.tag-list, .stack-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list li { padding: 7px 11px; border: 1px solid rgba(13, 24, 33, .55); border-radius: 99px; font: 700 10px/1 var(--mono); text-transform: uppercase; }
.project-link { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; color: var(--ink); font-weight: 800; text-underline-offset: 5px; }
.project-link:hover { text-decoration-thickness: 3px; }
.project-signal { position: relative; align-self: center; width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper-strong); box-shadow: 10px 10px 0 rgba(13, 24, 33, .12); }
.signal-window { position: relative; z-index: 3; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 7px 0 12px; border-bottom: 1px solid rgba(13,24,33,.35); background: rgba(255,255,255,.94); backdrop-filter: blur(8px); }
.signal-dots { display: flex; gap: 5px; }
.signal-dots i { width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; }
.signal-toggle { display: flex; align-items: center; gap: 3px; }
.signal-toggle button { min-height: 44px; border: 0; border-radius: 7px; padding: 0 10px; color: var(--ink-soft); background: transparent; font: 750 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.signal-toggle button:hover, .signal-toggle button.is-active { color: white; background: var(--ink); }
.project-signal > picture { display: block; }
.project-signal img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1.6; object-fit: contain; object-position: center; background: #eef1ef; transition: filter .3s ease, opacity .3s ease, transform .3s ease; }
.project-card:hover .project-signal img { filter: saturate(1.08) contrast(1.02); opacity: .96; }
.project-signal.is-inside img { opacity: 0; transform: scale(.98); }
.project-card:hover .project-signal.is-inside img { opacity: 0; filter: none; }
.project-inside { position: absolute; z-index: 1; inset: 52px 0 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 24px; color: white; background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: 24px 24px; opacity: 0; transform: scale(.97); transition: opacity .26s ease-out, transform .26s ease-out; }
.project-signal.is-inside .project-inside { opacity: 1; transform: none; }
.project-inside > p { margin: 0; color: var(--yellow); font: 800 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.inside-map { display: grid; grid-template-columns: 1fr auto 1fr; gap: 9px; align-items: center; }
.inside-map span { min-height: 48px; display: grid; place-items: center; padding: 8px; border: 1px solid rgba(255,255,255,.72); border-radius: 8px; color: white; background: rgba(13,24,33,.18); font-size: 11px; font-weight: 750; line-height: 1.25; text-align: center; }
.inside-map i { color: var(--yellow); font: 800 13px/1 var(--mono); font-style: normal; }
.project-inside > strong { max-width: 350px; font-size: 13px; line-height: 1.4; }
.project-note { margin: 28px 0 0; color: #d5ddd9; font-size: 15px; line-height: 1.6; }
.project-note span { color: var(--yellow); }
.other-work { margin-top: 64px; padding-top: 42px; border-top: 1px solid #3c4741; }
.other-work-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.other-work-head .eyebrow { margin: 0; color: var(--mint); }
.other-work-head h3 { margin: 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.04em; }
.other-work-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #56615b; border-left: 1px solid #56615b; }
.other-project { min-height: 132px; display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 20px; padding: 18px 22px; color: white; background: transparent; border: 0; border-right: 1px solid #56615b; border-bottom: 1px solid #56615b; text-decoration: none; }
a.other-project { transition: color .18s ease, background .18s ease; }
a.other-project:hover { color: var(--ink); background: var(--yellow); }
.other-project span { display: grid; gap: 8px; }
.other-project small { color: #aeb9b3; font: 700 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
a.other-project:hover small { color: var(--ink-soft); }
.other-project strong { font-size: 21px; letter-spacing: -.025em; }
.other-project i { color: var(--yellow); font: 800 19px/1 var(--mono); font-style: normal; }
a.other-project:hover i { color: var(--ink); }
.other-project-bots { color: var(--ink); background: var(--mint); }
.other-project-bots small, .other-project-bots i { color: var(--ink-soft); }
.other-project-bots { grid-template-columns: 1fr auto; }
.other-picture { display: block; width: 112px; height: 76px; }
.other-thumb { display: block; width: 112px; height: 76px; object-fit: cover; object-position: top center; border: 1px solid #56615b; border-radius: 7px; filter: saturate(.72); transition: transform .35s ease, filter .35s ease; }
a.other-project:hover .other-thumb { transform: scale(1.04) rotate(-1deg); filter: saturate(1); }

.process { background: var(--paper-strong); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.process-intro { position: sticky; top: 125px; align-self: start; }
.process-intro > p:not(.eyebrow) { max-width: 440px; margin-top: 26px; color: var(--ink-soft); font-size: 18px; }
.process-aside { margin-top: 70px; padding: 24px; border-left: 4px solid var(--blue); background: var(--paper); }
.process-aside .micro-label { margin-bottom: 10px; }
.process-aside strong { display: block; line-height: 1.4; }
.steps { --process-progress: 0; position: relative; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps::before, .steps::after { content: ""; position: absolute; z-index: 0; top: 58px; bottom: 58px; left: 21px; width: 2px; transform-origin: top; }
.steps::before { background: var(--line); }
.steps::after { background: var(--blue); transform: scaleY(var(--process-progress)); transition: transform .38s ease-out; }
.steps li { position: relative; z-index: 1; display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--ink); }
.steps > li > span { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-soft); background: var(--paper-strong); font: 800 12px/1 var(--mono); transition: color .22s ease, background .22s ease, border-color .22s ease, transform .22s ease; }
.steps li.is-complete > span { border-color: var(--blue); color: white; background: var(--blue); }
.steps li.is-active > span { border-color: var(--ink); color: var(--ink); background: var(--yellow); transform: scale(1.08); }
.steps h3 { margin-bottom: 10px; font-size: 25px; letter-spacing: -.035em; transition: color .22s ease, transform .22s ease; }
.steps li.is-active h3 { color: var(--blue); transform: translateX(4px); }
.steps p { max-width: 580px; margin: 0; color: var(--ink-soft); }
.steps small { display: inline-block; margin-top: 16px; padding: 7px 10px; border-radius: 6px; color: var(--ink-soft); background: var(--paper); font: 700 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .035em; }

.about { color: white; background: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about .eyebrow { color: var(--yellow); }
.about-title h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.about-title h2 span { display: block; }
.about-copy { align-self: end; }
.about-lead { color: white; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.35; letter-spacing: -.025em; }
.about-copy > p:not(.about-lead) { max-width: 600px; color: #dfe5ff; }
.work-record { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); }
.work-record > .micro-label { margin: 0; padding: 17px 0 14px; color: var(--yellow); }
.work-record dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid rgba(255,255,255,.28); }
.work-record dl > div { min-width: 0; padding: 20px 16px 20px 0; }
.work-record dl > div + div { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.28); }
.work-record dt { color: var(--yellow); font: 700 clamp(32px, 3.7vw, 46px)/1 var(--accent-display); letter-spacing: -.035em; }
.work-record dd { max-width: 150px; margin: 10px 0 0; color: white; font-size: 14px; line-height: 1.45; }
.work-record > p:last-child { margin: 0; padding: 18px 0 20px; border-top: 1px solid rgba(255,255,255,.28); color: #dfe5ff; font-size: 15px; line-height: 1.65; }
.work-record > p:last-child strong { color: white; }
.stack-block { margin-top: 42px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.4); }
.stack-block .micro-label { color: white; opacity: .7; }
.stack-list li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 99px; font: 700 11px/1 var(--mono); }
.profile-photo { max-width: 430px; margin: 48px 0 0; }
.profile-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--ink); border-radius: 14px; box-shadow: 12px 12px 0 var(--yellow); filter: saturate(.78) contrast(1.04); transition: transform .45s ease, filter .45s ease; }
.profile-photo:hover img { transform: translate(-3px, -3px); filter: saturate(1) contrast(1.02); }
.profile-photo figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: #dfe5ff; font: 700 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .58fr 1.42fr; gap: 80px; align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 122px; }
.faq-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.faq-list details { position: relative; min-height: 132px; padding: 25px; overflow: hidden; border: 1px solid var(--ink); border-radius: 18px; background: var(--paper-strong); box-shadow: 7px 7px 0 var(--ink); transition: box-shadow .22s ease, background .22s ease; }
.faq-list details:nth-child(4n + 1) { background: var(--yellow); }
.faq-list details:nth-child(4n + 2) { background: var(--paper-strong); }
.faq-list details:nth-child(4n + 3) { background: var(--mint); }
.faq-list details:nth-child(4n + 4) { background: var(--coral); }
.faq-list details:hover { box-shadow: 11px 11px 0 var(--ink); }
.faq-list details:not([open])::after { content: "?"; position: absolute; right: 18px; bottom: -42px; pointer-events: none; color: var(--ink); font: 900 150px/.8 var(--display); opacity: .055; }
.faq-list summary { min-height: 76px; display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; padding: 0; font-size: 22px; font-weight: 820; line-height: 1.25; letter-spacing: -.025em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--ink); border-radius: 10px; color: white; background: var(--ink); box-shadow: 3px 3px 0 rgba(13,24,33,.24); font: 800 22px/1 var(--mono); transition: transform .22s ease, color .22s ease, background .22s ease; }
.faq-list details[open] summary span { color: white; background: var(--blue); font-size: 0; }
.faq-list details[open] summary span::before { content: "−"; font: 800 24px/1 var(--mono); }
.faq-list details p { max-width: 720px; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(13,24,33,.35); color: var(--ink); line-height: 1.55; animation: faq-answer .24s ease-out; }

.trust { color: var(--ink); background: var(--yellow); }
.trust-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.trust-head { position: sticky; top: 122px; }
.trust-head .eyebrow { color: var(--blue); }
.trust-head > p:not(.eyebrow) { max-width: 430px; margin-top: 26px; font-size: 18px; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); list-style: none; }
.trust-list li { min-height: 210px; display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-content: start; padding: 25px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,255,255,.18); transition: color .2s ease, background .2s ease, transform .2s ease; }
.trust-list li:last-child { grid-column: 1 / -1; min-height: 150px; }
.trust-list li:hover { color: white; background: var(--blue); transform: translate(-3px, -3px); }
.trust-list li > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 900; }
.trust-list strong { display: block; margin: 4px 0 10px; font-size: 19px; line-height: 1.2; }
.trust-list p { margin: 0; font-size: 15px; line-height: 1.65; }

.fit-check { background: var(--paper-strong); }
.fit-check .eyebrow { color: var(--blue); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-card { min-height: 500px; padding: 34px; border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 9px 9px 0 var(--ink); }
.fit-card-yes { background: var(--mint); }
.fit-card-no { background: var(--paper); }
.fit-card .micro-label { margin-bottom: 46px; }
.fit-card h3 { max-width: 510px; margin: 0 0 34px; font-size: clamp(29px, 3.4vw, 43px); line-height: 1.04; letter-spacing: -.045em; }
.fit-card ul { margin: 0; padding: 0; list-style: none; }
.fit-card li { padding: 13px 0; border-top: 1px solid rgba(13,24,33,.3); line-height: 1.45; }
.fit-card li::before { content: "↳"; margin-right: 10px; color: var(--blue); font-weight: 900; }

.contact { color: white; background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; align-items: start; }
.contact .eyebrow { color: var(--mint); }
.contact-copy > p:not(.eyebrow) { max-width: 470px; margin-top: 28px; color: #b8c2bc; font-size: 18px; }
.telegram-link { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--terminal-green); font-weight: 800; text-underline-offset: 5px; }
.telegram-link:hover { color: var(--yellow); text-decoration-thickness: 3px; }
.response-note { display: flex; gap: 14px; margin-top: 52px; padding-top: 22px; border-top: 1px solid #3c4741; }
.response-note span { color: var(--yellow); }
.response-note p { margin: 0; color: white; font-size: 15px; line-height: 1.6; }
.brief-form { display: grid; gap: 22px; padding: 34px; color: var(--ink); background: var(--paper); border-radius: var(--radius); }
.brief-types { min-width: 0; margin: 0; padding: 0 0 20px; border: 0; border-bottom: 1px solid var(--line); }
.brief-types legend { margin-bottom: 12px; padding: 0; font-size: 13px; font-weight: 750; }
.brief-type-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-type-grid label { position: relative; display: block; cursor: pointer; }
.brief-type-grid input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.brief-type-grid span { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 0 14px; color: var(--ink-soft); background: white; font-size: 13px; font-weight: 750; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.brief-type-grid label:hover span { border-color: var(--ink); transform: translateY(-1px); }
.brief-type-grid input:checked + span { border-color: var(--ink); color: white; background: var(--blue); box-shadow: 0 3px 0 var(--blue-dark); }
.brief-type-grid input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 3px; }
.brief-hint { margin: 12px 0 0; color: var(--ink-soft); font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.brief-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 750; }
.brief-form input, .brief-form textarea, .brief-form select { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; color: var(--ink); background: white; font-size: 16px; font-weight: 450; }
.brief-form input::placeholder, .brief-form textarea::placeholder { color: #68747c; font-weight: 550; opacity: 1; }
.brief-form textarea { resize: vertical; }
.brief-form input:focus, .brief-form textarea:focus, .brief-form select:focus { border-color: var(--blue); outline: 3px solid rgba(40,84,244,.15); }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 10px; }
.form-footer p { max-width: 320px; margin: 0; color: var(--ink-soft); font-size: 12px; }
.form-footer .button { border: 0; white-space: nowrap; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.form-action-secondary { min-height: 48px; border: 1px solid var(--line); border-radius: 9px; padding: 0 13px; color: var(--ink); background: white; font-size: 13px; font-weight: 780; cursor: pointer; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.form-action-secondary:hover { border-color: var(--ink); color: white; background: var(--ink); transform: translateY(-1px); }
.form-action-secondary:active { transform: translateY(1px); }
.form-feedback { display: none; margin: -6px 0 0; padding: 12px 14px; border-left: 4px solid var(--blue); color: var(--ink); background: #e3e9ff; font-size: 13px; line-height: 1.45; }
.form-feedback.is-visible { display: block; }
.contact-status { width: fit-content; display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 22px; padding: 9px 13px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--mint); font: 750 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .045em; }
.contact-copy > p.contact-status { max-width: none; margin: 8px 0 22px; color: var(--ink); background: var(--mint); font: 800 12px/1.25 var(--mono); letter-spacing: .035em; }
.contact-copy > p.contact-status strong { color: inherit; }
.contact-status span { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(13,24,33,.12); animation: status-pulse 2.2s ease-out infinite; }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 8px rgba(13,24,33,0); } }

.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 80; visibility: hidden; opacity: 0; transform: translateY(18px); transition: opacity .24s ease-out, transform .24s ease-out, visibility .24s; }
.floating-contact.is-visible { visibility: visible; opacity: 1; transform: none; }
.floating-contact a { min-height: 64px; display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 10px 15px; border: 1px solid var(--ink); border-radius: 13px; color: var(--ink); background: var(--yellow); box-shadow: 7px 7px 0 var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.floating-contact a:hover { transform: translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
.floating-contact a:active { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.floating-contact-status { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-dark); box-shadow: 0 0 0 4px rgba(31,164,132,.13); }
.floating-contact a > span:nth-child(2) { display: grid; gap: 3px; }
.floating-contact small { font: 750 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .07em; }
.floating-contact strong { font-size: 14px; line-height: 1.1; }
.floating-contact i { font: 800 18px/1 var(--mono); font-style: normal; }

.site-footer { padding: 48px 0; color: #aeb9b3; background: #080f14; border-top: 1px solid #313c36; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 60px; align-items: end; }
.footer-brand { color: white; }
.footer-grid p { max-width: 380px; margin: 18px 0 0; font-size: 14px; line-height: 1.6; }
.footer-contact { display: grid; gap: 6px; }
.footer-contact span { font: 700 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.footer-contact a { color: white; font-size: 17px; text-underline-offset: 4px; }
.footer-meta { display: flex; align-items: center; gap: 20px; font: 700 11px/1 var(--mono); }
.footer-meta button { min-height: 44px; border: 0; padding: 0; color: var(--terminal-green); background: transparent; cursor: pointer; font: inherit; }

.terminal-dialog {
  width: min(780px, calc(100% - 32px));
  max-height: min(650px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: var(--terminal-green);
  background: var(--terminal);
  border: 1px solid #456e5d;
  border-radius: 14px;
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
  font-family: var(--mono);
}
.terminal-dialog::backdrop { background: rgba(7, 16, 13, .75); backdrop-filter: blur(5px); }
.terminal-dialog[open] { animation: terminal-in .22s ease-out; }
.terminal-bar { min-height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; color: #c8d9d1; background: #122019; border-bottom: 1px solid #315142; font-size: 12px; }
.terminal-dots { display: flex; gap: 7px; }
.terminal-dots i { width: 10px; height: 10px; border-radius: 50%; background: #385346; }
.terminal-dots i:first-child { background: var(--coral); }
.terminal-dots i:nth-child(2) { background: var(--yellow); }
.terminal-dots i:last-child { background: var(--mint); }
.terminal-bar button { justify-self: end; width: 40px; height: 40px; border: 0; color: #c8d9d1; background: transparent; cursor: pointer; font-size: 25px; }
.terminal-body { height: min(540px, calc(100dvh - 112px)); display: flex; flex-direction: column; padding: 22px; overflow: hidden; background-image: linear-gradient(rgba(120,248,189,.025) 1px, transparent 1px); background-size: 100% 4px; }
.terminal-output { flex: 1; overflow-y: auto; font-size: 14px; line-height: 1.55; scrollbar-color: #315142 transparent; }
.terminal-output p { margin: 0 0 8px; white-space: pre-wrap; }
.terminal-output b { color: white; }
.terminal-output a { color: var(--yellow); }
.terminal-muted { color: #749686; }
.terminal-form { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid #315142; }
.terminal-form label { color: white; white-space: nowrap; }
.terminal-form input { min-width: 0; border: 0; padding: 0; color: var(--terminal-green); background: transparent; outline: 0; caret-color: var(--yellow); }

@keyframes terminal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hero-reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lab-in { from { opacity: 0; transform: translateX(28px) rotate(1deg); } to { opacity: 1; transform: none; } }
@keyframes flow-switch { from { opacity: .15; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes flow-pulse { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(18px); } }
@keyframes orbit-ring { 50% { transform: translate(-8px, 10px) scale(.92); } }
@keyframes faq-answer { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.has-motion .hero-copy > * { opacity: 0; animation: hero-reveal .55s cubic-bezier(.2,.7,.2,1) forwards; }
.has-motion .hero-copy > :nth-child(1) { animation-delay: .04s; }
.has-motion .hero-copy > :nth-child(2) { animation-delay: .12s; }
.has-motion .hero-copy > :nth-child(3) { animation-delay: .2s; }
.has-motion .hero-copy > :nth-child(4) { animation-delay: .28s; }
.has-motion .hero-copy > :nth-child(5) { animation-delay: .36s; }
.has-motion .solution-lab { animation: lab-in .7s .2s cubic-bezier(.2,.7,.2,1) both; }
.has-motion .reveal { opacity: 0; transform: translateY(28px); transition: opacity .58s ease-out, transform .58s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.has-motion .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .header-inner > .terminal-trigger { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-copy { max-width: 820px; }
  .solution-lab { max-width: 720px; }
  .section-head { gap: 50px; }
  .project-card { grid-template-columns: 50px 1fr 240px; }
  .situations-grid, .routine-grid, .process-grid, .about-grid, .contact-grid, .faq-grid, .trust-grid { gap: 64px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 68px; }
  .shell { width: min(650px, calc(100% - 28px)); }
  .site-header { min-height: 64px; }
  .header-inner { min-height: 64px; }
  .brand-name { display: none; }
  .header-inner > .terminal-trigger { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { width: 46px; height: 46px; display: grid; align-content: center; gap: 7px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 10px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { display: block; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .mobile-menu[open] summary span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .mobile-menu[open] summary span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-menu nav { position: absolute; top: 55px; right: 0; width: min(300px, calc(100vw - 28px)); display: grid; padding: 10px; border: 1px solid var(--ink); border-radius: 12px; background: var(--paper-strong); box-shadow: var(--shadow); }
  .mobile-menu nav a, .mobile-menu nav button { min-height: 50px; display: flex; align-items: center; border: 0; border-bottom: 1px solid var(--paper-muted); padding: 0 12px; color: var(--ink); background: transparent; text-decoration: none; font-weight: 700; text-align: left; cursor: pointer; }
  .mobile-menu nav a.is-active { color: white; background: var(--blue); border-radius: 8px; }

  .hero { min-height: auto; padding: 64px 0 78px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 58px; }
  .hero-copy, .solution-lab { min-width: 0; }
  h1 { max-width: 100%; overflow-wrap: normal; font-size: clamp(31px, 8.4vw, 36px); line-height: 1.08; }
  .hero-lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-notes { display: grid; }
  .solution-lab { padding: 18px; box-shadow: 8px 8px 0 var(--yellow); }
  .solution-lab::before { display: none; }
  .lab-header h2 { font-size: 20px; }
  .flow-node { grid-template-columns: 1fr; gap: 8px; }
  .lab-action-row { grid-template-columns: 1fr; }
  .lab-run { width: 100%; }
  .capability-row { justify-content: flex-start; overflow-x: auto; min-height: 62px; }
  .capability-row > * { flex: 0 0 auto; }

  .section { padding: 86px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(31px, 8.2vw, 36px); }
  .situations-intro h2, .routine-copy h2, .process-intro h2, .about-title h2, .faq h2, .trust-head h2, .contact h2 { font-size: clamp(29px, 7.6vw, 34px); }
  .situations-grid { grid-template-columns: 1fr; gap: 48px; }
  .situations-intro { position: static; }
  .situation-card { width: calc(100% - 12px); padding: 24px 22px 26px; box-shadow: 7px 7px 0 var(--ink); }
  .situation-card:nth-child(1) { top: 76px; }
  .situation-card:nth-child(2) { top: 88px; }
  .situation-card:nth-child(3) { top: 100px; }
  .situation-card:nth-child(4) { top: 112px; }
  .situation-card:nth-child(even) { margin-left: 0; }
  .situation-card:nth-child(odd), .situation-card:nth-child(even) { transform: none; }
  .situation-meta { margin-bottom: 24px; }
  .situation-card blockquote { font-size: 23px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 25px; }
  .service-card-bot { grid-column: auto; display: flex; }
  .service-topline { margin-bottom: 38px; }
  .service-meta { flex-wrap: wrap; }
  .support-line { grid-template-columns: 1fr; gap: 16px; padding: 25px; }

  .routine-grid { grid-template-columns: 1fr; gap: 48px; }
  .routine-copy { position: static; }
  .routine-calculator { box-shadow: 8px 8px 0 var(--yellow); }
  .calc-fields, .calc-result { padding: 22px; }
  .calc-field > span { align-items: flex-start; }
  .calc-result > strong { font-size: clamp(36px, 11vw, 48px); }
  .calc-result .button { width: 100%; }

  .estimator-grid { grid-template-columns: 1fr; gap: 48px; }
  .estimator-copy { position: static; }
  .estimator-copy h2 { font-size: clamp(29px, 7.6vw, 34px); }
  .price-estimator { box-shadow: 8px 8px 0 var(--ink); }
  .price-estimator fieldset, .estimate-range { padding: 30px 22px; }
  .price-estimator legend { margin-bottom: 22px; }
  .estimate-options { display: grid; grid-template-columns: 1fr 1fr; }
  .estimate-options label span { width: 100%; justify-content: center; padding-inline: 9px; text-align: center; }
  .estimate-options-types label:last-child { grid-column: 1 / -1; }
  .estimate-result { grid-template-columns: 1fr; padding: 22px; }
  .estimate-result .button { grid-column: auto; width: 100%; }

  .project-card { min-height: 500px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 20px; padding: 25px; }
  .project-authorship { grid-template-columns: 1fr; gap: 8px; margin-top: -4px; }
  .project-number { position: absolute; top: 26px; right: 25px; }
  .project-main { align-self: start; }
  .project-signal { min-height: 0; }
  .project-signal img { object-position: center; }
  .project-inside { gap: 12px; padding: 16px; }
  .inside-map { gap: 6px; }
  .inside-map span { min-height: 42px; padding: 6px; font-size: 10px; }
  .project-inside > strong { font-size: 11px; }
  .other-work { margin-top: 50px; }
  .other-work-head { display: grid; align-items: start; }
  .other-work-grid { grid-template-columns: 1fr; }
  .other-project { min-height: 112px; grid-template-columns: 92px 1fr auto; padding: 14px; gap: 14px; }
  .other-project-bots { grid-template-columns: 1fr auto; }
  .other-picture, .other-thumb { width: 92px; height: 64px; }

  .process-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 54px; }
  .process-intro { position: static; }
  .process-aside { margin-top: 40px; }
  .steps li { grid-template-columns: 48px 1fr; gap: 15px; padding: 29px 0; }
  .steps::before, .steps::after { top: 51px; bottom: 51px; }
  .about-copy { align-self: auto; }
  .profile-photo { margin-top: 42px; }
  .work-record dl { grid-template-columns: 1fr; }
  .work-record dl > div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 16px 0; }
  .work-record dl > div + div { padding-left: 0; border-top: 1px solid rgba(255,255,255,.28); border-left: 0; }
  .work-record dd { max-width: none; margin: 0; }
  .faq-grid > div:first-child { position: static; }
  .faq-list { grid-template-columns: 1fr; gap: 16px; }
  .faq-list details { min-height: 0; padding: 22px; box-shadow: 6px 6px 0 var(--ink); }
  .faq-list details:hover { box-shadow: 8px 8px 0 var(--ink); }
  .faq-list summary { min-height: 68px; font-size: 20px; }
  .faq-list summary span { width: 44px; height: 44px; }
  .field-row { grid-template-columns: 1fr; }
  .brief-form { padding: 22px; }
  .brief-type-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .brief-type-grid label:last-child { grid-column: auto; }
  .brief-type-grid span { width: 100%; justify-content: center; padding-inline: 10px; text-align: center; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .form-footer .button { width: 100%; }
  .form-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .form-actions .button { grid-column: 1 / -1; }
  .form-action-secondary { width: 100%; }
  .floating-contact { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); left: auto; max-width: calc(100% - 28px); }
  .floating-contact a { width: auto; min-height: 60px; box-shadow: 5px 5px 0 var(--ink); }
  .trust-grid { grid-template-columns: 1fr; gap: 48px; }
  .trust-head { position: static; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li, .trust-list li:last-child { grid-column: auto; min-height: 0; }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-card { min-height: 0; padding: 25px; box-shadow: 7px 7px 0 var(--ink); }
  .fit-card .micro-label { margin-bottom: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; align-items: start; }
  .footer-meta { justify-content: space-between; }
  .terminal-bar { grid-template-columns: 1fr auto; }
  .terminal-bar strong { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-motion .hero-copy > *, .has-motion .reveal { opacity: 1; transform: none; }
}
