:root {
  color-scheme: light;
  --ink: #101010;
  --muted: #5d626b;
  --soft: #f4f4f1;
  --paper: #ffffff;
  --line: #deded7;
  --line-strong: #b9bbb0;
  --black: #050505;
  --green: #20e36d;
  --green-deep: #0a8f42;
  --blue: #2457ff;
  --radius: 8px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Zen Kaku Gothic New", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

body::selection {
  background: var(--green);
  color: var(--black);
}

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

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

a {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(36, 87, 255, 0.36);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-150%);
  border: 1px solid var(--black);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 9px 12px;
  font-weight: 700;
  transition: transform 180ms ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #ffffff;
  color: var(--green-deep);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d8dce4;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a,
.footer-inner a,
.lang-link {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-inner a:hover,
.lang-link:hover {
  color: var(--green);
}

.lang-link {
  color: #d8dce4;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.header-cta,
.primary-button,
.secondary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--black);
  padding: 0 15px;
  font-size: 0.9rem;
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 0 18px;
}

.primary-button {
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--black);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.header-cta:hover,
.primary-button:hover {
  background: #50f38c;
  transform: translateY(-2px);
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.primary-button svg,
.secondary-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(118deg, transparent 0 62%, rgba(32, 227, 109, 0.13) 62% 70%, transparent 70% 100%),
    linear-gradient(135deg, #050505 0%, #111317 58%, #07150f 100%);
  background-size: 84px 84px, 84px 84px, auto, auto;
  border-bottom: 1px solid #303236;
}

.hero::after {
  content: "AI";
  position: absolute;
  right: -0.06em;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: clamp(9rem, 22vw, 20rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 58px;
  padding: 82px 0 72px;
}

.hero-copy {
  min-width: 0;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(32, 227, 109, 0.42);
  border-radius: 999px;
  background: rgba(32, 227, 109, 0.09);
  padding: 8px 12px;
  color: var(--green);
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(32, 227, 109, 0.86);
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--black);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  color: #ffffff;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  font-weight: 700;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.4vw, 4.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.28;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #eef1f6;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  font-weight: 700;
}

.hero-note {
  max-width: 740px;
  margin: 16px 0 0;
  color: #cfd5df;
  font-size: 1.02rem;
  font-weight: 600;
}

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

.credential-panel {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(10, 12, 14, 0.84);
  box-shadow: 0 32px 88px rgba(0, 0, 0, 0.28);
}

.credential-panel div {
  padding: 22px;
}

.credential-panel div + div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.credential-panel span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.credential-panel strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.12;
}

.credential-panel p {
  margin: 8px 0 0;
  color: #cfd5df;
  font-weight: 700;
}

.section {
  padding: 86px 0;
  background: var(--paper);
}

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

.section-heading > p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 700;
}

.proof-section {
  background: var(--paper);
}

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

.proof-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-list article,
.service-list article,
.project-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
}

.proof-list article {
  min-height: 280px;
}

.proof-list span,
.project-grid span {
  color: var(--green-deep);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-list h3 {
  margin-top: 26px;
}

.proof-list p,
.service-list p,
.project-grid p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.services-section {
  background: var(--soft);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

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

.service-list article {
  min-height: 190px;
}

.service-list h3 {
  color: var(--black);
}

.projects-section {
  background: var(--black);
  color: #ffffff;
}

.projects-section h2 {
  color: #ffffff;
}

.projects-section .eyebrow {
  color: var(--green);
}

.projects-section .section-heading > p {
  color: #cfd5df;
}

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

.project-grid a {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  background: #0b0c0e;
  border-color: #303236;
  transition: background 180ms ease, transform 180ms ease;
}

.project-grid a:hover {
  background: #15181d;
  transform: translateY(-2px);
}

.project-grid strong {
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.34rem;
  line-height: 1.2;
}

.project-grid p {
  color: #cfd5df;
}

.contact-section {
  padding: 86px 0;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--green);
  background-size: 86px 86px;
  border-top: 1px solid var(--black);
}

.contact-inner {
  max-width: 900px;
}

.contact-section .eyebrow {
  color: var(--black);
}

.contact-section h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 4rem);
}

.contact-section p {
  max-width: 720px;
  margin: 22px 0 0;
  color: #132016;
  font-size: 1.1rem;
  font-weight: 800;
}

.primary-button.light {
  margin-top: 30px;
  border-color: var(--black);
  background: var(--black);
  color: #ffffff;
}

.site-footer {
  background: var(--black);
  color: #ffffff;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-inner span {
  font-weight: 800;
}

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

.footer-inner a {
  color: #cfd5df;
  font-weight: 700;
}

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

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

  .credential-panel {
    max-width: 720px;
  }

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

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

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

  .brand span:last-child {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
  }

  .hero-inner {
    gap: 32px;
    padding: 52px 0 58px;
  }

  h1 {
    font-size: clamp(2.25rem, 9vw, 3.1rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .credential-panel {
    display: none;
  }

  .section,
  .contact-section {
    padding: 66px 0;
  }

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

  .proof-list article,
  .service-list article,
  .project-grid a {
    min-height: auto;
    padding: 18px;
  }

  .proof-list h3 {
    margin-top: 22px;
  }

  .footer-inner {
    min-height: 86px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

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

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