@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-700.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-800.woff2") format("woff2");
}

:root {
  --font-primary: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-accent: "Poppins", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --dark-950: #080a0c;
  --dark-900: #11151a;
  --dark-800: #1a2026;
  --dark-700: #272e35;
  --brand-primary: #2274a5;
  --brand-primary-bright: #3196d3;
  --brand-accent: #ffba08;
  --text-primary: #f4f5f6;
  --text-secondary: #a8b0ba;
  --section-light: #f2f0eb;

  --background: #080a0c;
  --foreground: #f4f5f6;
  --card: #11151a;
  --card-foreground: #f4f5f6;
  --primary: #2274a5;
  --primary-foreground: #ffffff;
  --secondary: #1a2026;
  --secondary-foreground: #f4f5f6;
  --muted: #1a2026;
  --muted-foreground: #a8b0ba;
  --accent: #ffba08;
  --accent-foreground: #080a0c;
  --border: rgba(244, 245, 246, 0.13);
  --input: rgba(244, 245, 246, 0.16);
  --ring: #3196d3;
  --destructive: #ef4444;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  background: var(--dark-950);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark-950);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
select {
  font-family: var(--font-primary);
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--brand-primary-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--section-light);
  color: var(--dark-950);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 10, 12, 0.74);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(49, 150, 211, 0.6);
  border-radius: 11px;
  background: rgba(34, 116, 165, 0.16);
  color: #79c7f4;
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.brand > span:last-child {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 15px;
  letter-spacing: -0.025em;
}

.brand small {
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  color: #cbd0d5;
  font-size: 14px;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: #ffffff;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 620;
  transition: 180ms ease;
  transition-property: background, border-color, color, transform;
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.header-cta svg,
.button svg {
  width: 16px;
  height: 16px;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: rgba(49, 150, 211, 0.85);
  background: rgba(34, 116, 165, 0.12);
}

.mobile-menu-trigger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  color: var(--text-primary);
}

.mobile-menu-trigger svg {
  width: 20px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 39%, rgba(34, 116, 165, 0.14), transparent 28%),
    linear-gradient(180deg, #080a0c 0%, #0a0d10 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 150, 211, 0.8), transparent);
  content: '';
  opacity: 0.35;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, transparent, black 30%, black 80%, transparent);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 68px;
  padding-top: 110px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 60px 0 66px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #75c4f2;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--brand-primary-bright);
}

.hero h1 {
  max-width: 630px;
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 610;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  color: #aeb8c2;
  font-style: normal;
  font-weight: 470;
}

.hero-lede {
  max-width: 570px;
  margin: 26px 0 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-width: 170px;
  padding: 0 20px;
}

.button-primary {
  background: var(--brand-primary);
  box-shadow: 0 10px 32px rgba(34, 116, 165, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #2b86bc;
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 49px;
  color: #c2c8ce;
  font-size: 13px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: #71bce8;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-visual {
  position: relative;
  min-width: 0;
  perspective: 1100px;
}

.site-popup {
  position: fixed;
  inset: 0;
  width: min(92vw, 540px);
  max-height: min(86vh, 360px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-primary);
  user-select: none;
  -webkit-user-select: none;
}

.site-popup::backdrop {
  background: rgba(3, 5, 7, 0.78);
}

body.site-popup-open {
  overflow: hidden;
}

.site-popup-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #f4f5f6;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  animation: site-popup-in 220ms ease-out;
}

.site-popup-top {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 24px;
  background: var(--brand-primary);
  color: #fff;
}

.site-popup-top h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-popup-top button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.site-popup-top button:hover,
.site-popup-top button:focus-visible {
  background: rgba(255, 255, 255, 0.26);
  transform: scale(1.04);
}

.site-popup-body {
  padding: 24px;
}

.site-popup-message {
  min-height: 30px;
  margin: 0;
  color: var(--dark-700);
  font-size: clamp(16px, 3vw, 18px);
  line-height: 1.6;
}

@keyframes site-popup-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.system-window {
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(17, 21, 26, 0.9);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.42), 0 0 70px rgba(34, 116, 165, 0.08);
  transform: translate3d(var(--panel-tx, 0), var(--panel-ty, 0), 0)
    rotateX(calc(2deg + var(--panel-rx, 0deg)))
    rotateY(calc(-5deg + var(--panel-ry, 0deg)));
  transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero[data-parallax-active='true'] .system-window,
.hero[data-parallax-active='true'] .floating-card,
.hero[data-parallax-active='true'] .visual-orbit {
  transition-duration: 100ms;
  transition-timing-function: ease-out;
}

.system-topbar {
  display: flex;
  height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #a8b0ba;
  font-family: var(--font-accent);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.system-brand,
.system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #49b9f5;
  box-shadow: 0 0 12px rgba(73, 185, 245, 0.7);
}

.system-status {
  color: #80c9a1;
}

.system-status svg {
  width: 12px;
  height: 12px;
}

.system-content {
  display: grid;
  min-height: 390px;
  grid-template-columns: 55px 1fr;
}

.system-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.system-sidebar span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 7px;
  color: #6f7983;
}

.system-sidebar svg {
  width: 14px;
}

.system-sidebar .side-active {
  background: rgba(34, 116, 165, 0.2);
  color: #66bceb;
}

.system-main {
  min-width: 0;
  padding: 16px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-card,
.chart-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.metric-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 13px;
}

.metric-card span,
.metric-card small {
  overflow: hidden;
  color: #7e8791;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-card strong {
  margin: 5px 0 4px;
  font-family: var(--font-accent);
  font-size: 23px;
  font-weight: 560;
}

.metric-card small {
  color: #51acd9;
}

.metric-accent {
  border-color: rgba(34, 116, 165, 0.32);
  background: rgba(34, 116, 165, 0.08);
}

.chart-card {
  margin-top: 10px;
  padding: 15px 15px 8px;
}

.chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d9dde1;
  font-size: 10px;
}

.chart-heading small {
  color: #69727b;
  font-size: 8px;
}

.chart-card svg {
  width: 100%;
  height: 205px;
  overflow: visible;
}

.chart-grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 1;
}

.chart-fill {
  fill: url(#chartFill);
}

.chart-line {
  fill: none;
  stroke: #3a9bd4;
  stroke-linecap: round;
  stroke-width: 2.4;
}

.chart-card circle {
  fill: #7ac9f5;
  stroke: #0d1115;
  stroke-width: 3px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(17, 21, 26, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.floating-code {
  top: -32px;
  right: 40px;
  width: 154px;
  gap: 12px;
  padding: 14px;
  transform: translate3d(var(--front-x, 0), var(--front-y, 0), 42px) scale(var(--front-scale, 1));
}

.floating-code > svg,
.floating-data > svg {
  width: 24px;
  color: #66bceb;
}

.floating-code span {
  display: grid;
  flex: 1;
  gap: 5px;
}

.floating-code i {
  display: block;
  height: 3px;
  border-radius: 4px;
  background: #35404a;
}

.floating-code i:nth-child(2) {
  width: 74%;
  background: rgba(34, 116, 165, 0.8);
}

.floating-code i:nth-child(3) {
  width: 88%;
}

.floating-data {
  right: -16px;
  bottom: -24px;
  gap: 9px;
  padding: 13px 15px;
  color: #cdd3d8;
  font-size: 9px;
  transform: translate3d(var(--front-x, 0), var(--front-y, 0), 48px);
}

.visual-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(34, 116, 165, 0.2);
  border-radius: 50%;
  translate: var(--back-x, 0) var(--back-y, 0);
  transition: translate 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.visual-orbit-one {
  inset: -90px 40px -70px -90px;
  transform: rotate(-12deg);
}

.visual-orbit-two {
  inset: -40px -130px 15px 140px;
  border-color: rgba(255, 255, 255, 0.07);
  transform: rotate(18deg);
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(40px, 5vw, 58px);
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 36px, 680px);
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-trigger {
    display: grid;
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 126px;
    padding-bottom: 90px;
  }

  .hero-copy {
    padding: 34px 0 20px;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(43px, 10vw, 64px);
  }

  .hero-lede {
    max-width: 600px;
  }

  .hero-visual {
    width: min(100%, 620px);
    margin: 30px auto 0;
  }
}

@media (max-width: 560px) {
  .shell {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand small {
    display: none;
  }

  .hero-layout {
    padding-top: 100px;
    padding-bottom: 62px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 9px;
    line-height: 1.6;
  }

  .eyebrow span {
    margin-top: 7px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 55px);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .system-window {
    transform: none;
  }

  .system-content {
    min-height: 300px;
    grid-template-columns: 44px 1fr;
  }

  .system-main {
    padding: 10px;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-card:nth-child(2) {
    display: none;
  }

  .metric-card strong {
    font-size: 20px;
  }

  .chart-card svg {
    height: 145px;
  }

  .floating-code {
    top: -25px;
    right: 18px;
    --front-scale: 0.86;
    transform-origin: right center;
  }

  .floating-data {
    right: 12px;
    bottom: -22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .system-window,
  .floating-card,
  .visual-orbit {
    transform: none !important;
    translate: none !important;
  }
}

/* Shared sections */
.section-dark {
  background: var(--dark-950);
  color: var(--text-primary);
}

.section-light {
  background: var(--section-light);
  color: var(--dark-900);
}

.section-padding {
  padding-top: 118px;
  padding-bottom: 118px;
}

.section-heading {
  max-width: 690px;
}

.section-heading > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #58aedd;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading > p::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: '';
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 590;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.section-heading > span {
  display: block;
  max-width: 590px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.section-heading-light > p {
  color: var(--brand-primary);
}

.section-heading-light > span {
  color: #5f666d;
}

.section-heading-center {
  margin-inline: auto;
  text-align: center;
}

.section-heading-center > p {
  justify-content: center;
}

.section-heading-center > span {
  margin-right: auto;
  margin-left: auto;
}

.section-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.section-row > .button {
  flex: 0 0 auto;
}

.button-dark {
  border: 1px solid var(--dark-900);
  background: var(--dark-900);
  color: #fff;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 650;
}

.text-link svg {
  width: 15px;
  height: 15px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

.text-link-light {
  color: #68bceb;
}

/* Mobile navigation */
.mobile-sheet {
  width: min(88vw, 390px) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #0d1115 !important;
  color: var(--text-primary) !important;
}

.mobile-sheet [data-slot='sheet-header'] {
  padding: 28px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sheet [data-slot='sheet-title'] {
  color: #fff;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.mobile-sheet [data-slot='sheet-description'] {
  color: var(--text-secondary);
}

.mobile-sheet [data-slot='sheet-close'] {
  color: #fff;
}

.mobile-nav {
  display: grid;
  padding: 12px 24px;
}

.mobile-nav a {
  display: flex;
  min-height: 56px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8dde2;
  font-size: 18px;
}

.mobile-sheet-footer {
  display: grid;
  gap: 16px;
  margin-top: auto;
  padding: 24px;
}

.mobile-sheet-footer span {
  color: var(--text-secondary);
  font-family: var(--font-accent);
  font-size: 11px;
  text-align: center;
}

/* Services */
.services {
  border-bottom: 1px solid #d8d5cf;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid #d7d3cd;
  border-radius: 18px;
  background: #f8f7f3;
}

.service-card {
  position: relative;
  min-height: 258px;
  padding: 32px;
  border-right: 1px solid #d7d3cd;
  border-bottom: 1px solid #d7d3cd;
  transition: background 220ms ease, color 220ms ease;
}

.service-card:nth-child(4n) {
  border-right: 0;
}

.service-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.service-card:hover {
  background: #ffffff;
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(34, 116, 165, 0.25);
  border-radius: 12px;
  background: rgba(34, 116, 165, 0.07);
  color: var(--brand-primary);
}

.service-icon svg {
  width: 22px;
}

.service-number {
  position: absolute;
  top: 36px;
  right: 30px;
  color: #a9aaab;
  font-family: var(--font-accent);
  font-size: 10px;
}

.service-card h3 {
  margin: 28px 0 9px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.service-card p {
  margin: 0;
  color: #61676c;
  font-size: 15px;
  line-height: 1.6;
}

/* About */
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 0.6px, transparent 0.6px);
  background-size: 18px 18px;
  content: '';
  mask-image: linear-gradient(to right, black, transparent 35%);
  opacity: 0.35;
}

.about-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 100px;
}

.about-intro {
  align-self: start;
  padding-top: 22px;
}

.about-intro .text-link {
  margin-top: 34px;
}

.about-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #0e1216;
}

.about-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-panel-head p {
  max-width: 390px;
  margin: 0;
  font-size: 20px;
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.about-panel-head > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: #7dc69c;
  font-family: var(--font-accent);
  font-size: 9px;
}

.about-panel-head svg {
  width: 13px;
}

.principles-list {
  display: grid;
  padding: 12px 30px;
}

.principles-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 17px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.principles-list article:last-child {
  border-bottom: 0;
}

.principle-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: #64b5e4;
}

.principle-icon svg {
  width: 19px;
}

.principles-list h3 {
  margin: 1px 0 7px;
  font-size: 15px;
}

.principles-list p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.about-stats div {
  display: grid;
  gap: 5px;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stats div:last-child {
  border-right: 0;
}

.about-stats strong {
  color: #6bb9e5;
  font-family: var(--font-accent);
  font-size: 20px;
}

.about-stats span {
  color: var(--text-secondary);
  font-size: 10px;
}

/* Process */
.process {
  border-bottom: 1px solid #d8d5cf;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  padding: 32px 20px 38px;
  border: 1px solid #d5d1ca;
  border-radius: 22px;
  background: linear-gradient(180deg, #faf9f6 0%, #f6f4ef 100%);
  box-shadow: 0 18px 50px rgba(17, 21, 26, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.process-grid::before {
  position: absolute;
  top: 55px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #c8c4bc 8%, #b8b4ac 50%, #c8c4bc 92%, transparent 100%);
  content: '';
}

.process-grid article {
  position: relative;
  z-index: 1;
  padding: 0 28px;
}

.process-marker {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.process-marker > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #d2cec6;
  border-radius: 50%;
  background: #fbfaf7;
  box-shadow: 0 6px 18px rgba(17, 21, 26, 0.06);
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
}

.process-marker > svg {
  width: 40px;
  height: 40px;
  margin-top: 10px;
  padding: 9px;
  border: 1px solid #d7d3cd;
  border-radius: 10px;
  background: #fff;
  color: var(--dark-800);
}

.process-grid h3 {
  margin: 15px 0 10px;
  font-size: 15px;
  text-align: center;
}

.process-grid p {
  max-width: 255px;
  margin: 0 auto;
  color: #656a6e;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* Projects */
.projects {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: #0f1317;
  transition: border-color 220ms ease, transform 220ms ease;
}

.project-card:hover {
  border-color: rgba(78, 170, 221, 0.52);
  transform: translateY(-5px);
}

.project-visual {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #151b20;
}

.project-visual::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  content: '';
}

.project-image {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual:has(.project-image) .preview-window { display: none; }

.project-visual-crm { background: #111820; }
.project-visual-website { background: #1b1c1e; }
.project-visual-automation { background: #10191a; }
.project-visual-portal { background: #171721; }
.project-visual-brand { background: #1d1a17; }

.preview-window {
  position: absolute;
  top: 34px;
  right: 23px;
  left: 23px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px 10px 0 0;
  background: #0c1013;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transform: perspective(700px) rotateX(3deg);
  transform-origin: bottom;
}

.preview-bar {
  display: flex;
  height: 27px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.preview-bar span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #59616a;
}

.preview-bar i {
  margin-left: auto;
  color: #59616a;
  font-family: var(--font-accent);
  font-size: 5px;
  font-style: normal;
}

.preview-body {
  display: grid;
  min-height: 176px;
  grid-template-columns: 34px 1fr;
}

.preview-body aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  padding-top: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.preview-body aside svg {
  width: 9px;
  color: #66717a;
}

.preview-content {
  padding: 11px;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.preview-metrics span {
  height: 37px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.preview-metrics span:first-child {
  border-color: rgba(34, 116, 165, 0.4);
  background: rgba(34, 116, 165, 0.1);
}

.preview-lines {
  display: flex;
  height: 77px;
  align-items: flex-end;
  justify-content: space-around;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
}

.preview-lines i {
  width: 10%;
  height: 40%;
  border-radius: 2px 2px 0 0;
  background: #265c7a;
}

.preview-lines i:nth-child(2) { height: 64%; }
.preview-lines i:nth-child(3) { height: 48%; }
.preview-lines i:nth-child(4) { height: 82%; background: #2f8dc4; }
.preview-lines i:nth-child(5) { height: 72%; }

.preview-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: #56aede;
  font-family: var(--font-accent);
  font-size: 5px;
}

.preview-pills span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.preview-pills svg { width: 5px; fill: #59b889; color: #59b889; }

.project-card-content {
  padding: 25px 24px 26px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #71808d;
  font-family: var(--font-accent);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-meta span:first-child {
  color: #62b7e7;
}

.project-card h3 {
  margin: 18px 0 9px;
  font-size: 20px;
  letter-spacing: -0.035em;
}

.project-card p {
  min-height: 48px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: #6bbbea;
  font-size: 14px;
  font-weight: 650;
}

.project-link svg {
  width: 14px;
}

/* Blog */
.content-hub {
  border-bottom: 1px solid #d8d5cf;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.blog-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #d4d0c9;
  border-radius: 15px;
  background: #f8f7f3;
  transition: background 180ms ease, transform 180ms ease;
}

.blog-card:hover {
  background: #fff;
  transform: translateY(-4px);
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #7e8285;
  font-family: var(--font-accent);
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-meta span {
  color: var(--brand-primary);
}

.blog-card h3 {
  margin: 44px 0 14px;
  font-size: 23px;
  font-weight: 590;
  letter-spacing: -0.04em;
  line-height: 1.14;
}

.blog-card h3 a:hover {
  color: var(--brand-primary);
}

.blog-card > p {
  margin: 0 0 30px;
  color: #64696d;
  font-size: 15px;
  line-height: 1.62;
}

.blog-card .text-link {
  margin-top: auto;
}

.blog-card .text-link span {
  color: #909397;
  font-family: var(--font-accent);
  font-size: 8px;
  font-weight: 500;
}

/* YouTube */
.social-feed {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.youtube-block-wide {
  margin-top: 64px;
}

.youtube-block-wide .video-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.youtube-block-wide .video-card {
  grid-template-columns: 1fr;
}

.channel-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #cdd3d8;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel-label svg {
  width: 18px;
  color: #68bceb;
}

.video-list {
  display: grid;
  gap: 14px;
}

.video-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 22px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.video-thumb {
  position: relative;
  height: 136px;
  overflow: hidden;
  border-radius: 9px;
  background: #17232b;
  background-position: center;
  background-size: cover;
}

.video-thumb-2 { background: #1b2024; }

.video-thumb::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  content: '';
}

.video-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(8, 10, 12, 0.75);
  color: #78c7f3;
  transform: translate(-50%, -50%);
}

.play-button svg { width: 16px; }

.video-thumb > small {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--font-accent);
  font-size: 7px;
}

.video-ui {
  position: absolute;
  right: 22px;
  bottom: -12px;
  left: 22px;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: #0e1418;
}

.video-ui i {
  height: 5px;
  border-radius: 4px;
  background: #2b353c;
}

.video-ui i:nth-child(2) { width: 68%; background: #286a91; }
.video-ui i:nth-child(3) { width: 82%; }

.video-card time {
  color: #65717b;
  font-family: var(--font-accent);
  font-size: 8px;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 10px 0 20px;
  font-size: 17px;
  letter-spacing: -0.028em;
  line-height: 1.28;
}

.integration-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 30px 0 0;
  color: #6f7881;
  font-size: 10px;
  text-align: center;
}

.integration-note > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #53b37c;
}

.integration-note code {
  color: #8d979f;
  font-family: var(--font-accent);
}

/* Books */
.books-section {
  border-bottom: 1px solid #d8d5cf;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
}

.book-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  border: 1px solid #d3cfc8;
  border-radius: 15px;
  background: #f9f8f5;
}

.book-cover {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 15px;
  overflow: hidden;
  background: #10151a;
  color: #fff;
  text-decoration: none;
  --book-accent: #2274a5;
}

.book-cover::before {
  position: absolute;
  inset: 0;
  border-left: 9px solid var(--book-accent);
  background: linear-gradient(145deg, color-mix(in srgb, var(--book-accent) 26%, transparent), transparent 60%);
  content: '';
}

.book-cover > * {
  position: relative;
  z-index: 1;
}

.book-cover > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .58;
}

.book-cover > span,
.book-cover > i {
  font-family: var(--font-accent);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-cover > div {
  display: grid;
  gap: 12px;
}

.book-cover small {
  color: color-mix(in srgb, var(--book-accent) 85%, #fff);
  font-family: var(--font-accent);
  font-size: 9px;
}

.book-cover strong {
  font-size: 20px;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.book-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 25px 20px;
}

.book-format {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-primary);
  font-family: var(--font-accent);
  font-size: 8px;
  text-transform: uppercase;
}

.book-format svg { width: 13px; }

.book-content h3 {
  margin: 27px 0 11px;
  font-size: 19px;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.book-content h3 a { color: inherit; text-decoration: none; }

.content-empty {
  grid-column: 1 / -1;
  display: grid;
  min-height: 190px;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 30px;
  border: 1px dashed currentColor;
  border-radius: 15px;
  color: rgba(129, 146, 158, .52);
  text-align: center;
}

.content-empty span { color: #62b7e6; font-size: 24px; }
.content-empty p { margin: 0; color: currentColor; }

.material-page {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 160px 0 110px;
  background: #080a0c;
}

.material-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.material-cover {
  aspect-ratio: 3 / 4.2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.16);
  border-left: 10px solid var(--brand-primary);
  border-radius: 6px 18px 18px 6px;
  background: linear-gradient(145deg, rgba(34,116,165,.3), transparent 60%), #111820;
  box-shadow: 0 35px 80px rgba(0,0,0,.4);
}

.material-cover img { width: 100%; height: 100%; object-fit: cover; margin: -34px; width: calc(100% + 68px); height: calc(100% + 68px); }
.material-cover span, .material-cover i { font-family: var(--font-accent); font-size: 9px; font-style: normal; text-transform: uppercase; }
.material-cover strong { font-size: clamp(30px, 4vw, 54px); letter-spacing: -.055em; line-height: .96; }
.material-content .back-link { margin-bottom: 45px; }
.material-content h1 { max-width: 760px; margin: 12px 0 18px; font-size: clamp(44px, 7vw, 82px); letter-spacing: -.06em; line-height: .96; }
.material-subtitle { max-width: 700px; color: #aeb6bd; font-size: 19px; }
.material-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 36px; }
.material-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #8f9ba5; font: 8px var(--font-accent); text-transform: uppercase; }
.material-description { max-width: 720px; margin-bottom: 34px; color: #a8b0b7; font-size: 16px; line-height: 1.8; }
.material-soon { display: inline-flex; padding: 12px 16px; border: 1px solid rgba(255,186,8,.22); border-radius: 9px; color: #d7b66b; font-size: 11px; }

.book-content p {
  margin: 0;
  color: #666c71;
  font-size: 11px;
  line-height: 1.6;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.book-footer strong {
  color: #4e555b;
  font-size: 10px;
}

.book-footer > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid #c9c5be;
  border-radius: 8px;
  color: var(--brand-primary);
}

.book-footer svg { width: 14px; }

/* Contact and footer */
.contact-section {
  padding: 80px 0 34px;
  background: #090b0d;
}

.contact-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 42px 46px;
  border-radius: 17px;
  background: var(--section-light);
  color: var(--dark-900);
}

.contact-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid #b9b8b5;
  border-radius: 50%;
  color: var(--brand-primary);
}

.contact-icon svg { width: 26px; }

.contact-panel p {
  margin: 0 0 6px;
  color: #656b6f;
  font-size: 14px;
}

.contact-panel h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(27px, 3vw, 41px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.contact-button {
  min-width: 190px;
}

.contact-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 23px;
  color: #737c84;
  font-family: var(--font-accent);
  font-size: 12px;
}

.contact-direct span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}

.contact-direct svg { width: 14px; }

.contact-direct a { color: #b8c0c7; }

.site-footer {
  padding: 34px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #090b0d;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 30px;
}

.footer-top > p {
  margin: 0;
  color: #818a92;
  font-size: 13px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  color: #aeb6bc;
  font-size: 13px;
}

.back-to-top svg { width: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #5e676f;
  font-family: var(--font-accent);
  font-size: 11px;
  text-transform: uppercase;
}

/* Inner pages */
.inner-hero,
.article-header {
  position: relative;
  overflow: hidden;
  padding: 178px 0 98px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #090c0f;
}

.inner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 75% 45%, black, transparent 63%);
}

.inner-hero-content,
.article-header-content {
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 48px;
  color: #8c969e;
  font-size: 13px;
}

.back-link svg { width: 14px; }

.inner-hero-content > p {
  margin: 0 0 16px;
  color: #64b7e6;
  font-family: var(--font-accent);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inner-hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(43px, 6vw, 72px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 0.99;
}

.inner-hero-content > span {
  display: block;
  max-width: 640px;
  margin-top: 25px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.65;
}

.inner-hero-content code,
.blog-list-heading code {
  color: #67b8e6;
  font-family: var(--font-accent);
  font-size: 0.85em;
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-filter span,
.portfolio-filter strong {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  color: #7c868e;
  font-size: 12px;
  font-weight: 520;
}

.portfolio-filter strong {
  border-color: rgba(58, 155, 212, 0.5);
  background: rgba(34, 116, 165, 0.13);
  color: #72c2ef;
}

.projects-grid-all {
  grid-template-columns: repeat(3, 1fr);
}

.blog-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d2cec7;
}

.blog-list-heading p,
.blog-list-heading span {
  margin: 0;
}

.blog-list-heading p {
  font-size: 18px;
  font-weight: 650;
}

.blog-list-heading span {
  color: #73787c;
  font-size: 14px;
}

.blog-grid-all {
  grid-template-columns: repeat(2, 1fr);
}

.article-header {
  padding-bottom: 104px;
}

.article-header-content {
  max-width: 900px;
}

.article-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #727e88;
  font-family: var(--font-accent);
  font-size: 9px;
  text-transform: uppercase;
}

.article-kicker span { color: #68bceb; }

.article-header h1 {
  max-width: 900px;
  margin: 23px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 1;
}

.article-header-content > p {
  max-width: 700px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
}

.author-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(102, 188, 235, 0.45);
  border-radius: 11px;
  background: rgba(34, 116, 165, 0.12);
  color: #71c1ee;
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: 700;
}

.article-author > span:last-child {
  display: grid;
  gap: 4px;
}

.article-author strong { font-size: 12px; }
.article-author small { display: inline-flex; align-items: center; gap: 5px; color: #717c85; font-size: 9px; }
.article-author small svg { width: 11px; }

.article-body {
  max-width: 780px;
  padding-top: 92px;
  padding-bottom: 112px;
  color: #d4d9dd;
}

.article-body > p {
  margin: 0 0 30px;
  color: #aeb6bd;
  font-size: 18px;
  line-height: 1.85;
}

.article-body > .article-lead {
  color: #eef1f3;
  font-size: 22px;
  line-height: 1.65;
}

.article-body aside {
  margin-top: 62px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  background: #10151a;
}

.article-body aside span {
  color: #68bceb;
  font-family: var(--font-accent);
  font-size: 9px;
  text-transform: uppercase;
}

.article-body aside h2 {
  margin: 13px 0 22px;
  font-size: 29px;
  letter-spacing: -0.04em;
}

.article-body aside a {
  color: #71c1ee;
  font-size: 12px;
  font-weight: 650;
}

.not-found {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.not-found p { color: #65b8e7; font-family: var(--font-accent); }
.not-found h1 { max-width: 600px; margin: 10px 0 30px; font-size: 48px; letter-spacing: -0.05em; }

@media (max-width: 1050px) {
  .section-padding { padding-top: 96px; padding-bottom: 96px; }
  .about-layout { gap: 50px; }
  .project-visual { height: 210px; }
  .book-card { grid-template-columns: 0.72fr 1.28fr; }
  .book-cover { min-height: 320px; }
  .video-card { grid-template-columns: 190px 1fr; }
}

@media (max-width: 900px) {
  .section-row { align-items: flex-start; flex-direction: column; gap: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(4n) { border-right: 1px solid #d7d3cd; }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-last-child(-n + 4) { border-bottom: 1px solid #d7d3cd; }
  .service-card:nth-last-child(-n + 2) { border-bottom: 0; }
  .about-layout { grid-template-columns: 1fr; }
  .about-intro { max-width: 650px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); padding: 18px; }
  .process-grid::before { display: none; }
  .process-grid article { padding: 26px 24px 30px; }
  .process-grid article:nth-child(-n + 2) { border-bottom: 1px solid #d5d1ca; }
  .process-grid article:nth-child(odd) { border-right: 1px solid #d5d1ca; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid .project-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .projects-grid .project-card:last-child:nth-child(odd) .project-visual { height: 280px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card { min-height: 270px; }
  .youtube-block-wide .video-list { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 180px 1fr; }
  .book-cover { min-height: 280px; }
  .contact-panel { grid-template-columns: auto 1fr; }
  .contact-button { grid-column: 2; justify-self: start; }
  .footer-top { grid-template-columns: 1fr auto; }
  .footer-top > p { display: none; }
  .projects-grid-all { grid-template-columns: repeat(2, 1fr); }
  .blog-grid-all { grid-template-columns: 1fr; }
  .material-layout { grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); gap: 42px; }
}

@media (max-width: 650px) {
  .section-padding { padding-top: 78px; padding-bottom: 78px; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 45px); }
  .section-heading > span { font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .service-card { min-height: 215px; border-right: 0 !important; border-bottom: 1px solid #d7d3cd !important; }
  .service-card:last-child { border-bottom: 0 !important; }
  .about-panel-head { align-items: flex-start; flex-direction: column; padding: 24px; }
  .principles-list { padding: 8px 24px; }
  .principles-list article { grid-template-columns: 40px 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .about-stats div:last-child { border-bottom: 0; }
  .process-grid { grid-template-columns: 1fr; margin-top: 44px; padding: 12px 18px; border-radius: 18px; }
  .process-grid article { padding: 28px 8px 30px; border-right: 0 !important; border-bottom: 1px solid #d5d1ca !important; }
  .process-grid article:last-child { border-bottom: 0 !important; }
  .projects-grid,
  .projects-grid-all { grid-template-columns: 1fr; margin-top: 42px; }
  .projects-grid .project-card:last-child:nth-child(odd) { grid-column: auto; }
  .projects-grid .project-card:last-child:nth-child(odd) .project-visual { height: 220px; }
  .project-visual { height: 220px; }
  .project-meta { align-items: flex-start; flex-direction: column; }
  .blog-grid { margin-top: 42px; }
  .blog-card { min-height: 320px; padding: 24px; }
  .video-card { grid-template-columns: 1fr; }
  .video-thumb { height: 190px; }
  .integration-note { align-items: flex-start; text-align: left; line-height: 1.5; }
  .integration-note > span { flex: 0 0 auto; margin-top: 5px; }
  .book-card { grid-template-columns: 126px 1fr; }
  .book-cover { min-height: 320px; }
  .book-cover strong { font-size: 17px; }
  .book-content { padding: 22px 17px; }
  .contact-section { padding-top: 55px; }
  .contact-panel { grid-template-columns: 1fr; padding: 30px 25px; }
  .contact-icon { width: 54px; height: 54px; }
  .contact-button { grid-column: auto; width: 100%; }
  .contact-direct { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .back-to-top { justify-self: start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .inner-hero,
  .article-header { padding: 135px 0 75px; }
  .back-link { margin-bottom: 35px; }
  .inner-hero-content h1,
  .article-header h1 { font-size: clamp(40px, 12.5vw, 56px); }
  .inner-hero-content > span,
  .article-header-content > p { font-size: 15px; }
  .blog-list-heading { align-items: flex-start; flex-direction: column; }
  .material-page { padding: 125px 0 80px; }
  .material-layout { grid-template-columns: 1fr; gap: 50px; }
  .material-cover { width: min(340px, 88vw); justify-self: center; }
  .material-content .back-link { margin-bottom: 30px; }
  .article-body { width: calc(100% - 36px); padding-top: 64px; padding-bottom: 80px; }
  .article-body > p { font-size: 16px; }
  .article-body > .article-lead { font-size: 19px; }
  .article-body aside { padding: 24px; }
}

/* PHP runtime adaptations and brand assets */
.brand-mark.brand-logo {
  width: 42px;
  height: 42px;
  padding: 3px;
  overflow: hidden;
  border-color: rgba(49, 150, 211, 0.34);
  background: rgba(255, 255, 255, 0.96);
}

.brand-logo img,
.contact-logo img,
.author-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.system-brand img {
  width: 16px;
  height: 16px;
  padding: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
}

.hero-trust b {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  color: #71bce8;
  font-family: var(--font-accent);
  font-size: 9px;
  font-weight: 600;
}

.floating-card > strong {
  color: #66bceb;
  font-family: var(--font-accent);
  font-size: 20px;
}

.service-icon span,
.principle-icon {
  font-family: var(--font-accent);
  font-size: 20px;
  font-weight: 600;
}

.process-marker > b {
  display: grid;
  width: 42px;
  height: 42px;
  margin-top: 12px;
  place-items: center;
  border: 1px solid #d2cec7;
  border-radius: 12px;
  background: #fff;
  color: var(--dark-800);
  box-shadow: 0 8px 20px rgba(17, 21, 26, 0.07);
  font-family: var(--font-accent);
  font-size: 12px;
}

.preview-body aside span {
  color: #66717a;
  font-family: var(--font-accent);
  font-size: 9px;
}

.project-link b,
.text-link b,
.header-cta b,
.button b {
  font-size: 14px;
  font-weight: 500;
}

.contact-logo {
  padding: 11px;
  background: #fff;
}

.author-logo {
  padding: 5px;
  overflow: hidden;
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

.mobile-sheet {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(88vw, 390px) !important;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d1115 !important;
  color: var(--text-primary);
  box-shadow: -30px 0 70px rgba(0, 0, 0, 0.42);
  transform: translateX(105%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-sheet.is-open {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  z-index: 2;
  top: 17px;
  right: 17px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.mobile-sheet-head {
  display: grid;
  gap: 5px;
  padding: 26px 70px 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sheet-head img {
  width: 42px;
  height: 42px;
  margin-bottom: 9px;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.mobile-sheet-head strong {
  font-size: 19px;
  letter-spacing: -0.03em;
}

.mobile-sheet-head span {
  color: var(--text-secondary);
  font-size: 12px;
}

.mobile-menu-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 200ms ease, visibility 200ms ease;
}

.mobile-menu-backdrop.is-open {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 821px) {
  .mobile-sheet,
  .mobile-menu-backdrop {
    display: none;
  }
}

@media (max-width: 820px) {
  .mobile-sheet {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-sheet,
  .mobile-menu-backdrop {
    transition: none;
  }
}
