:root {
  --bg: #050607;
  --panel: #0d1113;
  --panel-soft: #141a1d;
  --text: #f5fbfc;
  --muted: #aab8bd;
  --line: rgba(112, 210, 229, 0.2);
  --accent: #70d2e5;
  --accent-strong: #39bfdc;
  --ink: #071012;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(5, 6, 7, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav.always-open {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.lang-toggle {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.lang-toggle:hover,
.site-nav a:focus-visible,
.lang-toggle:focus-visible {
  color: var(--text);
  border-color: var(--line);
  outline: none;
}

.lang-toggle {
  color: var(--accent);
  border-color: var(--line);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  padding: clamp(54px, 8vw, 108px) clamp(18px, 4vw, 64px) 44px;
  overflow: hidden;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-text,
.split p,
.contact-copy p,
.page-hero p,
.legal-page p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 28px;
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle, rgba(112, 210, 229, 0.24), transparent 58%);
  filter: blur(18px);
}

.browser-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.browser-dots {
  display: flex;
  gap: 7px;
  padding: 0 0 12px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.72;
}

.mock-site {
  min-height: 430px;
  border-radius: 7px;
  padding: 26px;
  background: #f7fbfc;
  color: #061014;
}

.mock-nav,
.mock-line,
.mock-title,
.mock-button,
.mock-tiles span {
  display: block;
  border-radius: 8px;
  background: #d7e5e9;
}

.mock-nav {
  width: 100%;
  height: 28px;
  margin-bottom: 54px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 24px;
  align-items: center;
}

.mock-line {
  width: 100%;
  height: 12px;
  margin-bottom: 12px;
}

.mock-line.short {
  width: 38%;
  background: var(--accent);
}

.mock-line.medium {
  width: 72%;
}

.mock-title {
  width: 88%;
  height: 74px;
  margin-bottom: 18px;
  background: #071012;
}

.mock-button {
  width: 128px;
  height: 38px;
  margin-top: 22px;
  background: var(--accent);
}

.mock-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #071012;
}

.mock-card img {
  width: 74%;
  filter: drop-shadow(0 12px 24px rgba(112, 210, 229, 0.25));
}

.mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.mock-tiles span {
  height: 82px;
}

.section,
.page-main,
.legal-page {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.services,
.process,
.contact {
  background: var(--panel);
}

.service-grid,
.portfolio-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.portfolio-item,
.article-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 24px;
}

.service-number,
.article-meta {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 900;
}

.service-card p,
.portfolio-item p,
.process-list p,
.article-card p {
  color: var(--muted);
}

.portfolio-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #071012;
}

.project-type {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-points {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.project-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 26px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-weight: 900;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--accent);
  color: var(--ink);
}

.cta-band .section-kicker,
.cta-band .btn-primary {
  color: var(--ink);
}

.cta-band .btn-primary {
  background: var(--ink);
  color: var(--white);
}

.cta-band h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 88px);
}

.contact-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--bg);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--panel-soft);
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a:hover {
  color: var(--accent);
}

.page-hero {
  max-width: 860px;
  margin-bottom: 38px;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
}

.article-card a {
  color: var(--accent);
  font-weight: 800;
}

.case-study-list {
  display: grid;
  gap: 24px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.78fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--panel-soft);
}

.case-study img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.legal-page {
  max-width: 860px;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.4rem;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav:not(.always-open) {
    position: absolute;
    top: 75px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #071012;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .service-grid,
  .portfolio-grid,
  .process-list,
  .article-grid,
  .case-study {
    grid-template-columns: 1fr;
  }

  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 140px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn,
  .contact-link {
    width: 100%;
  }

  .mock-site {
    min-height: 330px;
    padding: 18px;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .mock-card {
    display: none;
  }
}

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