:root {
  color-scheme: dark;
  --bg: #081011;
  --panel: #10191a;
  --panel-2: #132223;
  --text: #f3fbf8;
  --muted: #a9b9b5;
  --line: rgba(255, 255, 255, 0.13);
  --cyan: #4fe4ff;
  --mint: #79f2c0;
  --lime: #d8ff5f;
  --hot: #ff5ea8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(79, 228, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #081011 0%, #0c1314 100%);
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 17, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.contact-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(121, 242, 192, 0.4);
  border-radius: 8px;
  background: rgba(121, 242, 192, 0.08);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-mark path:first-child {
  fill: var(--mint);
}

.brand-mark path:last-child {
  fill: none;
  stroke: var(--bg);
  stroke-width: 4;
  stroke-linecap: round;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  gap: 10px;
}

.lang-switch {
  display: grid;
  grid-template-columns: repeat(2, 42px);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.lang-switch button.active {
  color: #061112;
  background: var(--mint);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta {
  color: #061112;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 104px);
  margin: 0 auto;
  padding: 72px 0 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

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

.button.primary {
  color: #061112;
  background: var(--mint);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1213;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 16, 17, 0.56), transparent 46%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
}

.signal-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 136px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(8, 16, 17, 0.72);
  backdrop-filter: blur(14px);
}

.signal-card span {
  color: var(--muted);
  font-size: 12px;
}

.signal-card strong {
  font-size: 30px;
  line-height: 1;
}

.card-build {
  right: 20px;
  bottom: 22px;
}

.card-ai {
  top: 22px;
  left: 22px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics div {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 24px;
  background: rgba(16, 25, 26, 0.9);
}

.metrics strong {
  color: var(--lime);
  font-size: 14px;
}

.metrics span {
  color: var(--muted);
}

.section,
.contact {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0 0;
}

.light-zone {
  margin-top: 104px;
  color: #071011;
  background: #f1f6f2;
}

.light-zone .section:first-child {
  padding-top: 104px;
}

.light-zone h2,
.light-zone h3 {
  color: #071011;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.service-icon {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--cyan);
  font-weight: 800;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.16;
}

.service-card p,
.project-list p,
.process-steps p,
.contact p,
footer {
  color: var(--muted);
  line-height: 1.65;
}

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

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

.project-list article {
  padding: 24px;
  border: 1px solid rgba(8, 16, 17, 0.12);
  border-radius: 8px;
  color: #071011;
  background: #ffffff;
  box-shadow: 0 18px 56px rgba(14, 30, 28, 0.08);
}

.project-list span {
  display: block;
  margin-bottom: 18px;
  color: #237765;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-list p {
  color: #52615d;
  margin-bottom: 0;
}

.process {
  color: #071011;
}

.process .eyebrow,
.split .eyebrow,
.contact .eyebrow {
  color: #237765;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.process-steps div {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(8, 16, 17, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.process-steps b {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #061112;
  background: var(--lime);
}

.process-steps p {
  color: #52615d;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 48px;
  align-items: center;
  padding-bottom: 96px;
  color: #071011;
}

.contact p {
  max-width: 620px;
  color: #52615d;
  font-size: 18px;
}

.contact-links {
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
}

.contact-links a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid rgba(8, 16, 17, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: #071011;
  font-weight: 750;
}

.contact-links a::after {
  content: ">";
  color: #237765;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 28px max(16px, calc((100% - 1180px) / 2)) 36px;
  border-top: 1px solid rgba(8, 16, 17, 0.12);
  background: #f1f6f2;
  color: #52615d;
}

footer span:first-child {
  color: #071011;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 4px;
  }

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

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-visual img {
    min-height: 420px;
  }

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

@media (max-width: 760px) {
  h1 {
    font-size: clamp(36px, 7.2vw, 46px);
    line-height: 1.04;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .metrics,
  .section,
  .contact,
  footer {
    width: min(100% - 24px, 1180px);
  }

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

  .header-cta {
    flex: 1;
  }

  h1 {
    font-size: clamp(33px, 9vw, 38px);
    line-height: 1.04;
  }

  .lead {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-visual img {
    min-height: 340px;
  }

  .signal-card {
    min-width: 118px;
    padding: 12px;
  }

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

  .section,
  .contact {
    padding-top: 72px;
  }

  .light-zone {
    margin-top: 72px;
  }

  .light-zone .section:first-child {
    padding-top: 72px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  h2 {
    font-size: 31px;
  }
}
