:root {
  --ink: #030504;
  --ink-soft: #0c100e;
  --ink-line: rgba(20, 241, 220, 0.22);
  --paper: #f6fffb;
  --paper-strong: #ffffff;
  --text: #f5fffb;
  --text-dark: #07100c;
  --muted: #abc7bd;
  --muted-dark: #4e625a;
  --cyan: #12f1dc;
  --cyan-deep: #00a999;
  --walnut: #9d5527;
  --walnut-deep: #4d1d0a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 6vw;
  background: rgba(3, 5, 4, 0.88);
  border-bottom: 1px solid var(--ink-line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  flex: 0 0 auto;
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 0 0 1px rgba(20, 241, 220, 0.22);
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(20, 241, 220, 0.1);
  outline: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(20, 241, 220, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.language-switcher a {
  min-width: 36px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  transition: color 160ms ease, background 160ms ease;
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  color: var(--text);
  background: rgba(20, 241, 220, 0.1);
  outline: none;
}

.language-switcher a.is-active {
  color: #001614;
  background: var(--cyan);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78svh;
  overflow: hidden;
  padding: 84px 6vw 72px;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.98) 0%, rgba(3, 5, 4, 0.9) 42%, rgba(3, 5, 4, 0.56) 100%),
    repeating-linear-gradient(90deg, rgba(20, 241, 220, 0.08) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(20, 241, 220, 0.06) 0 1px, transparent 1px 82px),
    #000000;
  border-bottom: 1px solid var(--ink-line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--walnut), var(--cyan), var(--walnut-deep));
}

.hero-mark {
  position: absolute;
  right: -6vw;
  top: 50%;
  width: 58rem;
  max-width: 78vw;
  transform: translateY(-50%);
  opacity: 0.34;
  filter: saturate(1.08);
  pointer-events: none;
}

.hero-inner,
.section-shell,
.cta-shell,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: 4.15rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 16ch;
  margin-bottom: 0;
  color: inherit;
  font-size: 2.65rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #001614;
  background: var(--cyan);
  box-shadow: 0 14px 34px rgba(18, 241, 220, 0.18);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(20, 241, 220, 0.35);
  background: rgba(3, 5, 4, 0.72);
}

.section {
  padding: 96px 6vw;
}

.light-section {
  color: var(--text-dark);
  background:
    linear-gradient(180deg, rgba(18, 241, 220, 0.08), transparent 34%),
    var(--paper);
}

.dark-section {
  color: var(--text);
  background:
    repeating-linear-gradient(135deg, rgba(18, 241, 220, 0.06) 0 1px, transparent 1px 34px),
    var(--ink-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading .eyebrow {
  align-self: start;
}

.service-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card,
.project-card {
  min-height: 250px;
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--paper-strong);
  border: 1px solid rgba(0, 169, 153, 0.2);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 169, 153, 0.42);
}

.card-index {
  color: var(--walnut);
  font-size: 0.9rem;
  font-weight: 900;
}

.service-card p,
.project-card p,
.cta-shell p {
  margin-bottom: 0;
  color: var(--muted-dark);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: start;
}

.split-section .section-heading {
  display: block;
  margin-bottom: 0;
}

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

.process-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 96px;
  padding: 20px 0;
  border-top: 1px solid var(--ink-line);
}

.process-item:last-child {
  border-bottom: 1px solid var(--ink-line);
}

.process-item span {
  color: var(--cyan);
  font-weight: 900;
}

.process-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.projects-section {
  background:
    linear-gradient(180deg, rgba(157, 85, 39, 0.09), transparent 42%),
    var(--paper);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(3, 5, 4, 0.82) 0%, rgba(7, 16, 12, 0.7) 100%);
  border: 1px solid rgba(20, 241, 220, 0.24);
  box-shadow: var(--shadow);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 5, 4, 0.28), rgba(3, 5, 4, 0.8));
  pointer-events: none;
}

.project-card > :not(.project-visual) {
  position: relative;
  z-index: 2;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(0, 169, 153, 0.52);
  outline: none;
}

.project-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.project-visual img {
  width: 100%;  
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(1.05);
}

.project-card-dbugs {
  background: linear-gradient(145deg, rgba(3, 5, 4, 0.84) 0%, rgba(0, 169, 153, 0.16) 100%);
}

.project-card-dbugs .project-visual img {
  width: 100%;
  opacity: 0.25;
}

.project-card-receipty {
  background: linear-gradient(145deg, rgba(3, 5, 4, 0.84) 0%, rgba(20, 137, 244, 0.14) 60%, rgba(245, 93, 137, 0.12) 100%);
}

.project-card-receipty .project-visual img {
  width: 100%;
  opacity: 0.28;
}

.project-card-mailbridge {
  background: linear-gradient(145deg, rgba(3, 5, 4, 0.82) 0%, rgba(223, 232, 214, 0.12) 100%);
}

.project-card-mailbridge .project-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0.36;
}

.project-card-mailbridge::before {
  background: linear-gradient(180deg, rgba(3, 5, 4, 0.22), rgba(3, 5, 4, 0.76));
}

.project-card-trackify {
  background: linear-gradient(145deg, rgba(3, 5, 4, 0.82) 0%, rgba(18, 241, 220, 0.12) 52%, rgba(112, 185, 255, 0.12) 100%);
}

.project-card-trackify .project-visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 0.3;
}

.project-card-trackify::before {
  background: linear-gradient(180deg, rgba(3, 5, 4, 0.2), rgba(3, 5, 4, 0.78));
}

.project-tag {
  width: fit-content;
  margin-bottom: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(20, 241, 220, 0.32);
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(3, 5, 4, 0.52);
  font-size: 0.82rem;
  font-weight: 800;
}

.project-card p {
  color: var(--muted);
}

.project-link {
  margin-top: 28px;
  color: var(--cyan);
  font-weight: 900;
}

.cta-section {
  padding: 104px 6vw;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(18, 241, 220, 0.11), transparent 48%),
    linear-gradient(180deg, rgba(157, 85, 39, 0.12), transparent 66%),
    #030504;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 28px 52px;
  align-items: end;
}

.cta-shell .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.cta-shell h2 {
  max-width: 12ch;
}

.cta-shell p {
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-self: start;
  margin-top: 20px;
}

.cta-actions .button {
  margin-top: 0;
}

.social-icon-button {
  width: 48px;
  min-width: 48px;
  padding: 0;
}

.instagram-icon {
  width: 21px;
  height: 21px;
  display: block;
}

.instagram-icon rect,
.instagram-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.instagram-icon circle:last-child {
  fill: currentColor;
  stroke: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 6vw 36px;
  color: var(--muted);
  background: #000000;
}

.site-footer p {
  margin: 0;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(20, 241, 220, 0.28);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 900;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  color: #001614;
  background: var(--cyan);
  border-color: var(--cyan);
  outline: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 72svh;
    padding-top: 70px;
  }

  .hero-mark {
    right: -24vw;
    width: 42rem;
    max-width: 110vw;
    opacity: 0.24;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .section-heading,
  .split-section,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-card {
    min-height: 220px;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 20px;
  }

  .brand span {
    font-size: 1rem;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-tools {
    align-items: stretch;
  }

  .nav-links a {
    text-align: center;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher a {
    flex: 1;
  }

  .hero {
    min-height: auto;
    padding: 58px 20px 56px;
  }

  .hero-mark {
    top: 48%;
    right: -58vw;
    width: 34rem;
    max-width: 160vw;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.35rem;
  }

  h2 {
    max-width: 13ch;
    font-size: 1.86rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

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

  .social-icon-button {
    flex: 0 0 48px;
    width: 48px;
  }

  .section,
  .cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 28px;
  }

  .service-card,
  .project-card {
    min-height: 214px;
    padding: 22px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
}
