:root {
  --bg: #0e1117;
  --panel: #151a23;
  --panel-2: #1b222d;
  --text: #f7f8fa;
  --muted: #aab4c0;
  --subtle: #737e8c;
  --line: rgba(255, 255, 255, 0.1);
  --cyan: #20c7f5;
  --amber: #ffb020;
  --green: #79d68a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(32, 199, 245, 0.13), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(255, 176, 32, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  letter-spacing: 0;
}

.brand img {
  width: 58px;
  height: 58px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}

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

.nav a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav .nav-cta {
  color: #081016;
  background: var(--cyan);
  font-weight: 750;
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 42px 0 70px;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  color: #081016;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.terminal {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 26, 35, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 99px;
  background: var(--subtle);
}

.terminal-top span:nth-child(1) {
  background: #ff6b6b;
}

.terminal-top span:nth-child(2) {
  background: var(--amber);
}

.terminal-top span:nth-child(3) {
  background: var(--green);
}

.terminal-body {
  padding: 28px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(15px, 2vw, 17px);
}

.terminal-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.terminal-body .prompt {
  color: var(--cyan);
}

.terminal-body .success {
  margin-top: 34px;
  color: var(--green);
}

.signal-grid {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 74px);
  gap: 14px;
  opacity: 0.55;
}

.signal-grid span {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(32, 199, 245, 0.12), rgba(255, 176, 32, 0.08));
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof div {
  padding: 24px;
  background: rgba(21, 26, 35, 0.82);
}

.proof strong,
.proof span {
  display: block;
}

.proof strong {
  font-size: 18px;
}

.proof span {
  margin-top: 6px;
  color: var(--muted);
}

.section {
  padding: 92px 0 0;
}

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

.service-grid,
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article,
.app-card {
  min-height: 258px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 26, 35, 0.78);
}

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

.app-card {
  position: relative;
  min-height: 320px;
}

.app-card.featured {
  background:
    linear-gradient(135deg, rgba(32, 199, 245, 0.13), rgba(255, 176, 32, 0.08)),
    rgba(21, 26, 35, 0.9);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: #081016;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  font-weight: 900;
}

.status {
  padding: 7px 10px;
  border: 1px solid rgba(121, 214, 138, 0.32);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.app-card p {
  max-width: 520px;
  color: var(--muted);
}

.app-card a {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: var(--cyan);
  font-weight: 800;
  text-decoration: none;
}

.service-icon {
  display: inline-grid;
  min-width: 52px;
  height: 38px;
  place-items: center;
  color: var(--cyan);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 800;
}

.service-grid p,
.work-list p,
.process span,
.cta p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.work-list {
  display: grid;
  gap: 12px;
}

.work-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 26, 35, 0.62);
}

.work-list span {
  color: var(--amber);
  font-weight: 850;
}

.work-list p {
  margin: 0;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.process strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.process span {
  display: block;
}

.cta {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 108px 0 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(32, 199, 245, 0.12), rgba(255, 176, 32, 0.1)), var(--panel);
}

.cta img {
  width: 84px;
  height: 84px;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.cta p {
  margin: 8px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 24px;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(21, 26, 35, 0.86);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  background: #0f131b;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 199, 245, 0.16);
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--subtle);
  font-size: 14px;
}

@media (max-width: 920px) {
  .hero,
  .split,
  .cta,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

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

  .service-grid,
  .app-grid,
  .process ol {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cta {
    justify-items: start;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    gap: 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 19px;
  }

  .brand small {
    max-width: 150px;
    font-size: 10px;
  }

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

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    padding-top: 30px;
  }

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

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

  .terminal-body {
    padding: 22px;
  }

  .signal-grid {
    grid-template-columns: repeat(4, 52px);
    gap: 10px;
  }

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