
:root {
  color-scheme: dark;
  --bg: #020713;
  --bg2: #071426;
  --ink: #f6f8ff;
  --muted: #aebbd4;
  --muted2: #75829d;
  --blue: #168fff;
  --blue2: #55c7ff;
  --violet: #8c61ff;
  --line: rgba(112, 171, 255, .16);
  --line2: rgba(112, 171, 255, .34);
  --panel: rgba(8, 20, 42, .62);
  --panel2: rgba(11, 28, 58, .66);
  --shadow: 0 28px 90px rgba(0, 19, 58, .38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1280px;
  --header: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 78% 8%, rgba(31, 126, 255, .30), transparent 26%),
    radial-gradient(circle at 17% 14%, rgba(116, 92, 255, .15), transparent 28%),
    linear-gradient(180deg, #020713 0%, #051126 48%, #020713 100%);
  color: var(--ink);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(2, 7, 19, .80);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

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

.brand img {
  width: 158px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(246,248,255,.74);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 6px 0;
}

.nav a.active,
.nav a:hover {
  color: white;
}

.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -21px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--blue2));
  box-shadow: 0 0 18px rgba(35, 149, 255, .70);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill,
.button,
.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 760;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.pill {
  border: 1px solid rgba(86, 154, 255, .68);
  background: rgba(6, 18, 38, .52);
  box-shadow: 0 0 0 1px rgba(64, 132, 255, .12) inset, 0 0 24px rgba(31, 143, 255, .12);
}

.button.primary,
.submit {
  border: 1px solid rgba(86, 154, 255, .70);
  background:
    linear-gradient(135deg, rgba(31, 143, 255, .24), rgba(140, 97, 255, .14));
  box-shadow: 0 18px 55px rgba(18, 91, 255, .16);
}

.button.secondary {
  border: 1px solid rgba(175, 193, 230, .18);
  background: rgba(255,255,255,.035);
  color: rgba(246,248,255,.82);
}

.pill:hover,
.button:hover,
.submit:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 198, 255, .92);
  box-shadow: 0 22px 60px rgba(18, 91, 255, .22);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(86, 154, 255, .32);
  border-radius: 999px;
  background: rgba(6, 18, 38, .52);
  color: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: white;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  top: calc(var(--header) + 10px);
  z-index: 60;
  padding: 14px;
  border: 1px solid var(--line2);
  border-radius: 22px;
  background: rgba(3, 10, 24, .96);
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-nav a {
  padding: 14px 12px;
  border-radius: 14px;
  color: rgba(246,248,255,.82);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(31,143,255,.12);
  color: white;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  padding: 74px 0 62px;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(620px, 1.12fr) minmax(360px, .88fr);
  gap: 26px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #86cfff;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

h1,
.page-title {
  margin: 0;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 1.01;
  letter-spacing: -.05em;
}

.accent,
.gradient {
  color: transparent;
  background: linear-gradient(90deg, #64b7ff 0%, #8d6aff 60%, #42d6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  margin: 25px 0 0;
  max-width: 720px;
  color: rgba(226, 235, 250, .78);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.proof {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 20, 42, .42);
}

.proof strong {
  display: block;
  font-size: 17px;
  color: white;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.hero-field {
  position: absolute;
  inset: -10% -18% -6% -12%;
  background: url("../img/abstract-field.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 34px rgba(31,143,255,.18));
}

.visual-panel {
  position: absolute;
  right: 3%;
  bottom: 5%;
  width: min(410px, 80%);
  border: 1px solid var(--line2);
  border-radius: 30px;
  padding: 26px;
  background:
    linear-gradient(150deg, rgba(10, 25, 52, .80), rgba(4, 10, 24, .66));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.visual-panel small {
  color: var(--muted2);
  font-weight: 650;
}

.visual-panel h2 {
  margin: 10px 0 14px;
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(228, 238, 255, .80);
  font-size: 14px;
}

.check {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(87, 216, 255, .45);
  border-radius: 999px;
  color: var(--blue2);
  font-size: 12px;
  box-shadow: 0 0 16px rgba(87, 216, 255, .12);
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding-top: 34px;
}

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

.section-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.section-text {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 0%, rgba(31,143,255,.12), transparent 32%),
    linear-gradient(150deg, rgba(10, 25, 52, .72), rgba(4, 10, 24, .72));
  box-shadow: 0 24px 80px rgba(0, 19, 58, .28);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.card::after {
  content: attr(data-no);
  position: absolute;
  right: 20px;
  bottom: 12px;
  color: rgba(255,255,255,.045);
  font-size: 78px;
  font-weight: 300;
  letter-spacing: -.08em;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 185, 255, .56);
  box-shadow: 0 34px 100px rgba(0, 60, 150, .26);
}

.icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(80, 166, 255, .42);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--blue2);
  background: rgba(31, 143, 255, .08);
  box-shadow: inset 0 0 18px rgba(31,143,255,.08), 0 0 26px rgba(31,143,255,.08);
}

.icon svg {
  width: 30px;
  height: 30px;
}

.card h3 {
  margin: 22px 0 10px;
  font-size: 23px;
  letter-spacing: -.03em;
}

.card p {
  margin: 0;
  color: rgba(218, 230, 250, .74);
  line-height: 1.68;
}

.link-more {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
  color: #46acff;
  font-weight: 750;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  margin-top: 36px;
}

.capability {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
}

.capability:first-child {
  border-left: none;
}

.capability h3 {
  margin: 18px 0 8px;
  font-size: 19px;
}

.capability p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.statement {
  display: grid;
  grid-template-columns: 280px 1fr 270px;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 50%, rgba(31,143,255,.16), transparent 28%),
    linear-gradient(135deg, rgba(10, 25, 52, .72), rgba(4, 10, 24, .78));
  box-shadow: var(--shadow);
}

.orbit {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 48%, rgba(104, 216, 255, .18), transparent 28%),
    linear-gradient(180deg, rgba(7, 16, 36, .12), rgba(7, 16, 36, 0));
}

.orbit::before,
.orbit::after,
.orbit span {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 118px;
  border: 1px solid rgba(87, 168, 255, .34);
  border-radius: 50%;
  transform: translate(-50%, -50%) perspective(420px) rotateX(68deg);
}

.orbit::after { width: 178px; height: 86px; opacity: .72; }
.orbit span { width: 108px; height: 52px; opacity: .55; }

.orbit i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 0 18px 6px rgba(31,143,255,.58);
  transform: translate(-50%, -50%);
}

.statement h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.statement p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.statement-list {
  display: grid;
  gap: 14px;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

/* Subpages */
.page-hero {
  padding: 74px 0 32px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(200, 216, 245, .58);
  font-size: 14px;
}

.breadcrumb a {
  color: #6dc5ff;
}

.page-title {
  max-width: 980px;
  font-size: clamp(40px, 5.6vw, 74px);
  line-height: 1.04;
}

.page-lead {
  max-width: 860px;
  margin-top: 18px;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
  padding-bottom: 84px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(31,143,255,.10), transparent 30%),
    linear-gradient(150deg, rgba(10, 25, 52, .68), rgba(4, 10, 24, .74));
  box-shadow: 0 24px 80px rgba(0, 19, 58, .24);
}

.panel h2,
.panel h3 {
  margin: 0 0 14px;
  letter-spacing: -.035em;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.72;
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 20px;
  padding-bottom: 84px;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  position: static;
  inset: auto;
  display: grid;
  gap: 8px;
  background: none;
  filter: none;
}

.field label {
  color: rgba(240,244,255,.78);
  font-size: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  color: white;
  font: inherit;
  border: 1px solid rgba(88,157,255,.18);
  background: rgba(2,7,17,.62);
  outline: none;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(91,155,255,.65);
  box-shadow: 0 0 0 4px rgba(31,143,255,.10);
}

.submit {
  border: 1px solid rgba(86, 154, 255, .70);
  color: white;
  font: inherit;
  cursor: pointer;
}

.note {
  color: rgba(210,223,246,.56);
  font-size: 13px;
  line-height: 1.5;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: rgba(210,223,246,.62);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .statement,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .paths,
  .capabilities,
  .page-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .statement-list {
    padding-left: 0;
    padding-top: 22px;
    border-left: none;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav,
  .header-actions .pill {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .brand img {
    width: 136px;
  }

  h1,
  .page-title {
    font-size: clamp(40px, 10vw, 60px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-proof,
  .paths,
  .capabilities,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .capability {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .capability:first-child {
    border-top: none;
  }

  .section-head {
    display: block;
  }

  .section-text {
    margin-top: 14px;
  }

  .footer-inner {
    display: block;
  }
}

@media (max-width: 520px) {
  :root { --header: 72px; }

  .hero {
    padding: 48px 0;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button,
  .pill,
  .submit {
    width: 100%;
  }

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

  .visual-panel {
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .statement,
  .panel,
  .card {
    padding: 24px;
  }
}


/* Fabtor expanded module section */
.fabtor-intro {
  padding-bottom: 36px;
}

.modules-section {
  padding-bottom: 84px;
}

.modules-head {
  align-items: flex-start;
  margin-bottom: 28px;
}

.module-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-tile {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(31,143,255,.10), transparent 32%),
    linear-gradient(150deg, rgba(10, 25, 52, .62), rgba(4, 10, 24, .72));
  box-shadow: 0 20px 70px rgba(0, 19, 58, .20);
}

.module-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(91, 196, 255, .10), transparent 42%);
  opacity: .7;
}

.module-tile h3 {
  position: relative;
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -.03em;
}

.module-tile p {
  position: relative;
  margin: 0;
  color: var(--muted);
  line-height: 1.66;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .module-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .module-tiles {
    grid-template-columns: 1fr;
  }

  .modules-section {
    padding-bottom: 60px;
  }
}
