:root {
  --bg: #08090a;
  --surface: #0f1113;
  --surface-2: #141619;
  --line: rgba(255,255,255,.09);
  --text: #f4f4f2;
  --muted: #9b9da2;
  --orange: #ff8b01;
  --orange-2: #ffad3d;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(255,139,1,.09), transparent 28%),
    radial-gradient(circle at 15% 55%, rgba(255,139,1,.035), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(8,9,10,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -.035em;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #111;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(255,139,1,.18);
}

.brand span {
  color: var(--orange);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #aeb0b4;
  font-size: 14px;
}

nav a {
  transition: color .2s ease;
}

nav a:hover { color: #fff; }

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
}

.nav-cta:hover {
  border-color: rgba(255,139,1,.45);
  color: var(--orange);
}

/* Hero */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: 95px 0 105px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -190px;
  top: 40px;
  border-radius: 50%;
  background: rgba(255,139,1,.075);
  filter: blur(80px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 80px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 10px rgba(255,139,1,.7);
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(52px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 780;
}

h1 em {
  color: var(--orange);
  font-style: normal;
}

.jcc {
    justify-content: center;
}

.hero-copy {
  max-width: 650px;
  margin: 29px 0 34px;
  color: #a7a9ad;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

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

.button-primary {
  background: var(--orange);
  color: #111;
  box-shadow: 0 10px 30px rgba(255,139,1,.13);
}

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

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

.button-secondary:hover {
  border-color: rgba(255,255,255,.18);
}

/* Hero visual */
.terminal {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
  overflow: hidden;
  transform: rotate(1.5deg);
}

.terminal-bar {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.18);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3c40;
}

.terminal-title {
  margin-left: 7px;
  color: #65676c;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

pre {
  margin: 0;
  padding: 28px 26px 31px;
  color: #bfc2c5;
  font: 13px/2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow: hidden;
}

.c { color: #656a70; }
.o { color: var(--orange-2); }
.s { color: #d5d7d9; }
.k { color: #ff9b22; }

.since {
  position: absolute;
  right: -15px;
  bottom: -25px;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255,139,1,.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8,9,10,.82);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transform: rotate(-1.5deg);
}

.since div {
  text-align: center;
  line-height: 1.15;
}

.since strong {
  display: block;
  color: var(--orange);
  font-size: 24px;
  letter-spacing: -.04em;
}

.since small {
  color: #7e8186;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Sections */
section {
  padding: 105px 0;
  border-top: 1px solid rgba(255,255,255,.055);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.section-kicker {
  color: var(--orange);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 9px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.section-desc {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.card {
  min-height: 220px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,139,1,.25);
  background: linear-gradient(150deg, rgba(255,139,1,.06), rgba(255,255,255,.015));
}

.icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 33px;
  border: 1px solid rgba(255,139,1,.22);
  border-radius: 11px;
  color: var(--orange);
  background: rgba(255,139,1,.06);
  font: 14px ui-monospace, SFMono-Regular, monospace;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -.025em;
}

.card p {
  margin: 0;
  color: #85888d;
  font-size: 13px;
  line-height: 1.65;
}

/* Philosophy */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.quote {
  position: relative;
  padding-left: 29px;
  border-left: 2px solid var(--orange);
  color: #dedfdf;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.2;
  letter-spacing: -.045em;
}

.principles {
  display: grid;
  gap: 10px;
}

.principle {
  display: flex;
  gap: 17px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.principle:first-child { border-top: 1px solid var(--line); }

.number {
  color: var(--orange);
  font: 12px ui-monospace, SFMono-Regular, monospace;
  padding-top: 3px;
}

.principle strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.principle span {
  color: #7e8186;
  font-size: 13px;
}

/* Contact */
.contact-box {
  position: relative;
  overflow: hidden;
  padding: 65px;
  border: 1px solid rgba(255,139,1,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 50%, rgba(255,139,1,.13), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}

.contact-box::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255,139,1,.13);
  border-radius: 50%;
}

.contact-box h2 {
  max-width: 670px;
}

.contact-box p {
  max-width: 570px;
  color: #8f9297;
  margin: 19px 0 28px;
}

footer {
  padding: 28px 0 35px;
  color: #686b70;
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
}

.footer-brand {
  color: #a1a3a7;
  font-weight: 700;
}

.footer-brand span { color: var(--orange); }

.p404-footer {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #62656a;
  font-size: 11px;
}

.p404-footer-span {
    color: #92959a;
  font-weight: 650;
}

.page {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.page:before,
.page:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 139, 1, .07);
  border-radius: 50%;
  pointer-events: none;
}

.page:before {
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.page:after {
  width: 720px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 255, 255, .025);
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.code {
  margin: 0;
  color: var(--orange);
  font:
    800 clamp(110px, 22vw, 220px) / .82
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  letter-spacing: -.09em;
  text-shadow: 0 0 70px rgba(255, 139, 1, .13);
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 16px;
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.label:before,
.label:after {
  content: "";
  width: 24px;
  height: 1px;
  background: rgba(255, 139, 1, .55);
}

.description {
  max-width: 470px;
  margin: 18px auto 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.primary {
  background: var(--orange);
  color: #111;
  box-shadow: 0 10px 30px rgba(255, 139, 1, .13);
}

.primary:hover {
  background: #ff991d;
}

.secondary {
  border: 1px solid var(--line);
  color: #ddd;
  background: rgba(255, 255, 255, .025);
}

.secondary:hover {
  border-color: rgba(255, 255, 255, .18);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 60px; }

  .terminal {
    width: min(100%, 590px);
    justify-self: center;
  }

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }

  .nav { height: 67px; }

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

  .hero {
    min-height: auto;
    padding: 72px 0 85px;
  }

  h1 { font-size: clamp(47px, 15vw, 70px); }

  .hero-copy {
    font-size: 16px;
    line-height: 1.65;
  }

  .terminal {
    transform: none;
  }

  pre {
    font-size: 11px;
    padding: 22px 18px 25px;
  }

  .since {
    right: -8px;
    bottom: -30px;
  }

  section { padding: 78px 0; }

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

  .card {
    min-height: auto;
  }

  .icon { margin-bottom: 25px; }

  .philosophy { gap: 42px; }

  .contact-box {
    padding: 36px 25px;
    border-radius: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .page {
    min-height: calc(100vh - 67px);
    padding: 50px 0 90px;
  }

  .page:before {
    width: 330px;
    height: 330px;
  }

  .page:after {
    width: 500px;
    height: 500px;
  }

  .code {
    font-size: clamp(100px, 32vw, 150px);
  }

  .description {
    font-size: 14px;
    padding: 0 8px;
  }
}