
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #050b16;
  --panel: #081321;
  --text: #f2f6fc;
  --muted: #a4b3c8;
  --subtle: #71839b;
  --line: rgba(140, 170, 207, .16);
  --red: #ff3347;
  --red-dark: #d91f38;
  --blue: #00c8ff;
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  height: 86px;
  padding: 0 max(32px, calc((100vw - var(--wrap))/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(140,170,207,.08);
  position: relative;
  z-index: 10;
  background: rgba(5,11,22,.84);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 40px;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -5px;
  padding-right: 5px;
  color: var(--red);
  transform: skew(-7deg);
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .24em;
}

.brand-name b { color: var(--red); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 700;
  color: #d1dceb;
}

.site-nav a {
  position: relative;
  padding: 9px 0;
  transition: color .2s;
}

.site-nav a:hover,
.site-nav a.active { color: var(--red); }

.site-nav a.active::after {
  content: "";
  height: 2px;
  width: 22px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--red);
}

.nav-soon span {
  color: var(--subtle);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-left: 4px;
}

.menu-toggle { display: none; }

/* Hero */

.hero {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 38% 82%, rgba(0,78,150,.19), transparent 42%),
    linear-gradient(112deg, #050b16 0%, #061020 58%, #090b18 100%);
}

.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -2;
  opacity: .18;
}

.hero-glow-blue {
  background: #006dff;
  left: 36%;
  bottom: -330px;
}

.hero-glow-red {
  background: #ff1638;
  right: -170px;
  top: -150px;
  opacity: .13;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 95px 82px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--red);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: .19em;
  font-weight: 500;
  margin: 0 0 24px;
}

.eyebrow-line {
  width: 24px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(3.6rem, 7.4vw, 6.3rem);
  letter-spacing: -.075em;
  line-height: .98;
  font-weight: 800;
}

.hero h1 span { color: var(--red); }

.hero-copy {
  max-width: 515px;
  margin: 0;
  color: #c4d0df;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  flex-wrap: wrap;
  margin-top: 31px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}

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

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 8px 30px rgba(255,51,71,.13);
}

.button-primary:hover { background: #ff4a5b; }

.text-link {
  font-size: 12px;
  font-weight: 700;
  color: #cbd7e6;
}

.text-link span {
  color: var(--red);
  margin-left: 7px;
}

.text-link:hover { color: white; }

.hero-note {
  margin-top: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #8092aa;
  letter-spacing: .015em;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #43d6a2;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(67,214,162,.5);
}

/* CSS-generated code background */

.code-art {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 52%;
  z-index: -1;
  overflow: hidden;
  opacity: .95;
  mask-image: linear-gradient(to right, transparent 0%, #000 24%, #000 100%);
}

.code-rain {
  position: absolute;
  inset: -30px 0 0;
  opacity: .34;
  background-image:
    linear-gradient(180deg, transparent, rgba(0,0,0,.4)),
    repeating-linear-gradient(90deg, transparent 0 19px, rgba(0,180,255,.16) 20px, transparent 21px),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(0,180,255,.10) 15px, transparent 16px);
  background-size: auto, 41px 100%, 100% 29px;
}

.code-rain::after {
  content: "010101 011010 001101 100101 011001 010101 100010 011010 010101 001101 110010 010110 011010 100101 010101 001101 011010 010101 100101 001101 010101 011010";
  position: absolute;
  inset: 0;
  width: 100%;
  color: #079dd8;
  font: 11px/22px "DM Mono", monospace;
  word-break: break-all;
  letter-spacing: 9px;
  opacity: .38;
  text-shadow: 0 0 12px #0089d0;
}

.code-snippet {
  position: absolute;
  top: 19%;
  left: 15%;
  margin: 0;
  font: clamp(10px, 1vw, 12px)/1.9 "DM Mono", monospace;
  color: #6dcff3;
  text-shadow: 0 0 12px rgba(0,180,255,.18);
}

.code-keyword { color: #38d7ff; }
.code-function { color: #e5f5ff; }
.code-var { color: #f3a5ba; }
.code-string { color: #ff8293; }
.code-bool { color: #7ee7bc; }
.code-comment, .code-muted { color: #64839e; }

.orbit {
  position: absolute;
  border: 1px solid rgba(255,51,71,.48);
  border-radius: 50%;
  width: 240px;
  height: 240px;
  right: 7%;
  top: 28%;
  transform: rotate(-24deg) scaleY(.72);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 20px 65px;
  border: 1px solid rgba(255,51,71,.38);
  border-radius: 50%;
  transform: rotate(55deg);
}

.orbit::after {
  inset: -25px 95px;
  transform: rotate(-55deg);
}

.orbit-two {
  width: 315px;
  height: 315px;
  right: 1%;
  top: 21%;
  opacity: .4;
  transform: rotate(38deg) scaleY(.65);
}

.code-cross {
  position: absolute;
  color: var(--red);
  font: 18px "DM Mono", monospace;
  opacity: .7;
}

.cross-one { right: 16%; top: 24%; }
.cross-two { right: 29%; bottom: 19%; }
.hero-bottom-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,51,71,.4), rgba(0,200,255,.18), transparent);
}

/* Three main sections */

.section { padding-block: 86px; }

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

.approach-card { padding: 6px 6px 0; }

.feature-icon {
  color: var(--red);
  font: 30px "DM Mono", monospace;
  height: 47px;
  display: flex;
  align-items: center;
}

.person-icon {
  width: 28px;
  height: 27px;
  border: 2px solid var(--red);
  border-radius: 17px 17px 5px 5px;
  position: relative;
  margin: 10px 0;
}

.person-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--red);
  border-radius: 50%;
  position: absolute;
  left: 7px;
  top: -17px;
  background: var(--bg);
}

.gear-icon { font-size: 39px; }

.card-index {
  color: var(--subtle);
  font: 10px "DM Mono", monospace;
  letter-spacing: .15em;
  margin: 23px 0 8px;
}

.approach-card h2 {
  font-size: 21px;
  letter-spacing: -.04em;
  margin: 0 0 12px;
}

.approach-card > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.95;
  margin: 0;
  max-width: 320px;
}

/* Portfolio/blog placeholder */

.future-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(8,19,33,.9), rgba(5,11,22,.6));
}

.future-inner {
  min-height: 154px;
  display: flex;
  align-items: center;
  gap: 35px;
  justify-content: space-between;
  padding-block: 28px;
}

.future-inner .eyebrow {
  margin: 0 0 5px;
  font-size: 9px;
}

.future-inner h2 {
  font-size: 20px;
  letter-spacing: -.04em;
  margin: 0;
}

.future-inner > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.future-inner .text-link { white-space: nowrap; }

/* Contact */

.contact {
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 10% 50%, rgba(0,62,117,.12), transparent 40%);
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(50px, 9vw, 120px);
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.065em;
  margin: 0 0 22px;
}

.contact-copy h2 span { color: var(--red); }

.contact-intro {
  max-width: 390px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #c2d0e1;
  font-size: 12px;
  margin-top: 13px;
}

a.contact-detail:hover { color: white; }

.detail-icon {
  width: 18px;
  text-align: center;
  color: var(--red);
  font-size: 17px;
}

.contact-form {
  border: 1px solid rgba(140,170,207,.18);
  border-radius: 5px;
  padding: clamp(20px, 3vw, 32px);
  background: rgba(7,17,30,.58);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  color: #dbe5f2;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 7px;
}

.form-row input,
.form-row textarea {
  display: block;
  width: 100%;
  color: var(--text);
  background: #050d19;
  border: 1px solid #1a2b40;
  border-radius: 3px;
  padding: 12px 13px;
  font-size: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: #647a94; }

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(0,200,255,.7);
  box-shadow: 0 0 0 3px rgba(0,200,255,.08);
}

.form-row textarea {
  resize: vertical;
  min-height: 125px;
}

.submit-button { width: 100%; }

.form-note,
.form-status {
  color: var(--subtle);
  font-size: 10px;
  line-height: 1.7;
  margin: 13px 0 0;
}

.form-status { color: #7ee7bc; }

/* Footer */

.site-footer { padding: 26px 0 18px; }

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-footer .brand-mark {
  font-size: 31px;
  width: 28px;
  height: 32px;
}

.brand-footer .brand-name {
  font-size: 11px;
}

.footer-main > p {
  color: var(--subtle);
  font-size: 11px;
  margin: 0;
}

.back-top {
  color: #b8c6d8;
  font-size: 11px;
}

.back-top:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 15px;
  border-top: 1px solid rgba(140,170,207,.1);
  color: #5e7189;
  font: 9px "DM Mono", monospace;
  letter-spacing: .06em;
}

.footer-bottom span:last-child { letter-spacing: .18em; }

/* Tablet */

@media (max-width: 820px) {
  .wrap { width: min(100% - 40px, var(--wrap)); }
  .site-header {
    height: 72px;
    padding-inline: 20px;
  }
  .site-nav { gap: 20px; }
  .hero { min-height: 560px; }
  .hero-content { padding-block: 90px 65px; }
  .code-art { width: 57%; opacity: .55; }
  .code-snippet { left: 20%; top: 25%; }
  .orbit { right: -14%; }
  .approach { gap: 28px; }
  .contact-grid { gap: 40px; }
  .future-inner { flex-wrap: wrap; gap: 14px 28px; }
  .future-inner > div { flex: 1 1 100%; }
}

/* Mobile */

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { padding-inline: 18px; }
  .brand { gap: 10px; }
  .brand-mark { font-size: 34px; width: 30px; }
  .brand-name { font-size: 11px; letter-spacing: .2em; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 10px 0 10px 10px;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: #07101e;
    padding: 14px 20px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 8px 0; }

  .hero {
    min-height: 610px;
    align-items: flex-start;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 54px;
  }

  .eyebrow { font-size: 9px; letter-spacing: .13em; }
  .hero h1 { font-size: clamp(3.15rem, 14vw, 4.8rem); }
  .hero-copy { font-size: 15px; max-width: 440px; }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-note {
    font-size: 9px;
    line-height: 1.7;
    margin-top: 34px;
  }

  .code-art {
    width: 100%;
    opacity: .23;
    mask-image: linear-gradient(to bottom, #000, transparent 95%);
  }

  .code-snippet { top: 11%; left: 22%; font-size: 10px; }
  .orbit { top: 6%; right: -20%; transform: rotate(-24deg) scale(.8,.58); }
  .orbit-two { top: 3%; right: -28%; }

  .section { padding-block: 62px; }
  .approach { grid-template-columns: 1fr; gap: 42px; }
  .approach-card { padding: 0; }
  .approach-card > p:last-child { max-width: 430px; }
  .card-index { margin-top: 18px; }

  .future-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 27px;
  }

  .future-inner > p { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-copy h2 { font-size: 2.65rem; }
  .contact-form { padding: 20px; }

  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-main > p {
    order: 3;
    flex-basis: 100%;
  }

  .footer-bottom { gap: 12px; font-size: 8px; }
  .footer-bottom span:last-child { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
