  :root {
    --bg: #090e18;
    --surface: #101827;
    --surface2: #141e30;
    --line: #26334a;
    --ink: #eff5ff;
    --muted: #9aa9bd;
    --cyan: #74e0d2;
    --blue: #9bbcff;
  }
  * {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    line-height: 1.65;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  .wrap {
    width: min(1190px, calc(100% - 64px));
    margin: auto;
  }
  .mono,
  .eyebrow,
  .nav,
  .tag,
  .index,
  .metric small {
    font-family: "DM Mono", monospace;
  }
  .nav-shell {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #090e18e8;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
  }
  .brand {
    font-family: Manrope;
    font-weight: 800;
    letter-spacing: -1.7px;
    font-size: 28px;
  }
  .brand span {
    color: var(--cyan);
  }
  .links {
    display: flex;
    gap: 34px;
    align-items: center;
  }
  .links a:hover {
    color: var(--cyan);
  }
  .nav-cta {
    border: 1px solid #52627a;
    border-radius: 3px;
    padding: 11px 16px;
  }
  .hero {
    min-height: 720px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
      radial-gradient(
        ellipse 55% 65% at 82% 45%,
        #173b4a66,
        transparent 75%
      ),
      radial-gradient(
        ellipse 45% 55% at 60% 20%,
        #19234c66,
        transparent 80%
      );
  }
  .hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(#ffffff09 1px, transparent 1px),
      linear-gradient(90deg, #ffffff09 1px, transparent 1px);
    background-size: 62px 62px;
    mask-image: linear-gradient(90deg, transparent 5%, #000 85%);
  }
  .hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    align-items: center;
    gap: 55px;
    padding: 105px 0;
  }
  .eyebrow {
    color: var(--cyan);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .eyebrow:before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--cyan);
  }
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  h1,
  h2,
  h3 {
    letter-spacing: -0.055em;
  }
  h1 {
    font-size: clamp(56px, 6.7vw, 96px);
    line-height: 1.08;
    margin: 30px 0 25px;
    font-weight: 700;
  }
  h1 span {
    color: var(--cyan);
  }
  .lead {
    color: #afbed1;
    font-size: 17px;
    max-width: 560px;
    line-height: 1.85;
  }
  .buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
  }
  .button {
    display: inline-flex;
    padding: 15px 21px;
    border: 1px solid #46546b;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 800;
    align-items: center;
    gap: 12px;
    transition:
      transform 0.2s,
      background 0.2s;
  }
  .button:hover {
    transform: translateY(-2px);
  }
  .button.primary {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #071b22;
  }
  .button.secondary:hover {
    background: #1b2c40;
  }
  .terminal {
    border: 1px solid #3d5a69;
    background: #0a1421d9;
    box-shadow: 0 32px 90px #0007;
    transform: rotate(1deg);
    border-radius: 10px;
    overflow: hidden;
  }
  .terminal-top {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #284153;
    background: #101f2d;
    color: #7c9aad;
    font:
      11px "DM Mono",
      monospace;
  }
  .dots {
    display: flex;
    gap: 6px;
  }
  .dots i {
    height: 7px;
    width: 7px;
    border: 1px solid #6b8795;
    border-radius: 50%;
  }
  .terminal-body {
    padding: 25px;
    font:
      12px/2.2 "DM Mono",
      monospace;
    color: #b8cad8;
  }
  .terminal-body .c {
    color: #7ce4d6;
  }
  .terminal-body .b {
    color: #a8bfff;
  }
  .terminal-body .m {
    color: #7d94a5;
  }
  .terminal-foot {
    border-top: 1px solid #284153;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    color: #79c9bc;
    font:
      10px "DM Mono",
      monospace;
  }
  .strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #0d1522;
  }
  .strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .metric {
    padding: 27px 35px;
    border-right: 1px solid var(--line);
  }
  .metric:first-child {
    padding-left: 0;
  }
  .metric:last-child {
    border: 0;
  }
  .metric strong {
    display: block;
    font-size: 24px;
    letter-spacing: -1px;
  }
  .metric small {
    display: block;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .section {
    padding: 115px 0;
  }
  .section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 48px;
  }
  .section h2 {
    font-size: clamp(37px, 4.5vw, 61px);
    line-height: 1.15;
    max-width: 760px;
    margin: 18px 0 0;
  }
  .section-desc {
    color: var(--muted);
    font-size: 14px;
    max-width: 340px;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .card {
    background: linear-gradient(150deg, #172236, #101827);
    border: 1px solid var(--line);
    padding: 32px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
  }
  .card:after {
    content: "+";
    position: absolute;
    right: 25px;
    top: 18px;
    font: 22px "DM Mono";
    color: #476073;
  }
  .index {
    color: var(--cyan);
    font-size: 11px;
  }
  .card h3 {
    font-size: 24px;
    line-height: 1.3;
    margin: 40px 0 15px;
  }
  .card p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
  }
  .stack-section {
    background: #e9eff3;
    color: #152237;
  }
  .stack-section .eyebrow {
    color: #157c7c;
  }
  .stack-section .eyebrow:before {
    background: #157c7c;
  }
  .stack-section .section-desc {
    color: #607083;
  }
  .stack-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  .stack-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }
  .stack-pills span {
    border: 1px solid #bdcbd5;
    padding: 12px 15px;
    font: 12px "DM Mono";
    background: #f7fafb;
  }
  .stack-note {
    border-left: 2px solid #169b91;
    padding: 0 0 0 24px;
    color: #516579;
    font-size: 15px;
  }
  .work-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: center;
  }
  .diagram {
    background: #101a2a;
    border: 1px solid #2b3a51;
    min-height: 420px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .diagram:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(#ffffff08 1px, transparent 1px),
      linear-gradient(90deg, #ffffff08 1px, transparent 1px);
    background-size: 30px 30px;
  }
  .nodes {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 19px;
    align-items: center;
    width: 100%;
  }
  .node {
    font: 12px "DM Mono";
    border: 1px solid #507080;
    background: #162d3b;
    color: #d9f6f1;
    padding: 15px 22px;
    min-width: 65%;
    text-align: center;
  }
  .node.mid {
    border-color: #6bc7ba;
    color: #8ce9da;
  }
  .connector {
    height: 25px;
    width: 1px;
    background: #6bc7ba;
  }
  .work-grid p {
    color: var(--muted);
  }
  .work-grid ul {
    padding-left: 19px;
    color: #b6c4d5;
  }
  .work-grid li {
    margin: 12px 0;
  }
  .tag {
    color: var(--cyan);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .about {
    background: #101827;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
  }
  .about-grid p {
    color: var(--muted);
  }
  .quote {
    margin-top: 36px;
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.45;
    color: #d9e8f6;
  }
  .contact {
    padding: 115px 0;
    background: radial-gradient(
      ellipse 60% 100% at 100% 100%,
      #16404766,
      transparent 80%
    );
  }
  .contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
  }
  .contact h2 {
    font-size: clamp(45px, 6vw, 79px);
    line-height: 1.15;
    max-width: 760px;
    margin: 20px 0;
  }
  .contact p {
    color: var(--muted);
  }
  footer {
    border-top: 1px solid var(--line);
    padding: 27px 0;
    color: #8392a7;
    font: 11px "DM Mono";
    display: flex;
    justify-content: space-between;
    gap: 15px;
  }
  footer a {
    text-decoration: underline;
  }
  @media (max-width: 920px) {
    .hero-inner {
      grid-template-columns: 1fr;
      padding: 75px 0;
    }
    .terminal {
      max-width: 610px;
      transform: none;
    }
    .hero {
      min-height: 0;
    }
    .cards {
      grid-template-columns: 1fr;
    }
    .card {
      min-height: 220px;
    }
    .card h3 {
      margin-top: 28px;
    }
    .section-title,
    .stack-grid,
    .work-grid,
    .about-grid {
      display: block;
    }
    .section-desc {
      margin-top: 25px;
    }
    .stack-pills {
      margin-top: 30px;
    }
    .diagram {
      margin-bottom: 40px;
    }
    .contact-inner {
      display: block;
    }
    .contact .button {
      margin-top: 20px;
    }
  }
  @media (max-width: 600px) {
    .wrap {
      width: calc(100% - 36px);
    }
    .nav {
      height: 68px;
    }
    .links a:not(.nav-cta) {
      display: none;
    }
    .nav-cta {
      padding: 9px;
    }
    .hero-inner {
      padding: 70px 0;
    }
    .terminal-body {
      font-size: 10px;
      padding: 18px;
    }
    .section {
      padding: 75px 0;
    }
    .strip-inner {
      grid-template-columns: 1fr;
    }
    .metric,
    .metric:first-child {
      padding: 15px 0;
      border-right: 0;
      border-bottom: 1px solid var(--line);
    }
    .metric:last-child {
      border: 0;
    }
    .contact {
      padding: 75px 0;
    }
    footer {
      flex-direction: column;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    .button {
      transition: none;
    }
  }


.terminal-body.code {
  white-space: pre;
  overflow-x: auto;
}

.quote + .tag {
  margin-top: 28px;
  padding-left: 27px;
}

.about-grid p strong {
  color: var(--cyan);
  font-weight: 700;
  background: rgb(116 224 210 / 8%);
  padding: 0.05em 0.18em;
  border-radius: 3px;
}

.contact .contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: 64px;
}
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}
.contact-option > svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--cyan);
}
.contact-option > div {
  min-width: 0;
}
.contact-label {
  display: block;
  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.contact-option img {
  display: block;
  max-width: 100%;
  height: auto;
}

.contact-heading {
  margin: 0 0 8px;
  padding: 15px 21px;
  border: 1px solid var(--cyan);
  border-radius: 3px;
  background: var(--cyan);
  color: #071b22;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: normal;
}
@media (max-width: 920px) {
  .contact .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-options {
    max-width: 380px;
  }
}
