:root {
  --black: #000000;
  --ink: #0a0a0b;
  --panel: #111214;
  --line: #23252a;
  --gray: #8a8f98;
  --gray-light: #c4c7cc;
  --white: #ffffff;
  --blue: #1f9ac7;
  --blue-deep: #0d5878;
  --blue-soft: rgba(31, 154, 199, .12);
  --glow: 0 0 14px rgba(31, 154, 199, .28);
  --glow-text: 0 0 18px rgba(31, 154, 199, .35);
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --flair: "Space Grotesk", system-ui, sans-serif;
  --copy: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--copy);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  place-items: center;
  background: var(--black);
  transition: opacity .5s ease, visibility .5s ease;
}

.is-loading .loader {
  display: grid;
}

.is-loading body {
  overflow: hidden;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-video,
.loader-poster {
  display: block;
  width: min(960px, 92vw);
  height: auto;
  background: var(--black);
}

.loader-poster {
  display: none;
}

.is-loading-static .loader-video,
.loader.is-poster-fallback .loader-video {
  display: none;
}

.is-loading-static .loader-poster,
.loader.is-poster-fallback .loader-poster {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .loader {
    transition: none;
  }
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
.flair {
  font-family: var(--flair);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  text-wrap: pretty;
}

img,
video {
  max-width: 100%;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--flair);
  font-size: 12px;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(31, 154, 199, .5);
  content: "";
}

.blue {
  color: var(--blue);
  text-shadow: var(--glow-text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--flair);
  font-size: 14px;
  letter-spacing: .04em;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
  transition: transform .25s ease;
}

.btn-badge {
  display: grid;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.btn-primary {
  background: rgba(31, 154, 199, .14);
  border-color: rgba(31, 154, 199, .45);
  box-shadow: 0 0 18px rgba(31, 154, 199, .12), inset 0 0 12px rgba(31, 154, 199, .06);
}

.btn-primary .btn-badge {
  background: var(--blue-deep);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: rgba(31, 154, 199, .24);
  border-color: var(--blue);
  box-shadow: 0 0 24px rgba(31, 154, 199, .22);
}

.btn-primary:hover .btn-badge {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(31, 154, 199, .5);
}

.btn-primary:hover .icon {
  transform: translateX(2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, .03);
  border-color: #34373d;
}

.btn-ghost .btn-badge {
  background: rgba(255, 255, 255, .08);
  color: var(--gray-light);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .06);
  border-color: #5a5e66;
}

.btn-ghost:hover .btn-badge {
  background: var(--white);
  color: var(--black);
}

/* Navigation */
nav {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 50;
  padding: 0 24px;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 14px;
  background: rgba(8, 9, 10, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  height: 48px;
  padding: 0 22px 0 18px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid #34373d;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--flair);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .25s, background .25s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, .06);
  border-color: #5a5e66;
}

.burger {
  position: relative;
  width: 18px;
  height: 12px;
  flex-shrink: 0;
}

.burger i {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .2s ease, width .3s ease, top .3s ease, background .25s;
}

.burger i:nth-child(1) {
  top: 0;
}

.burger i:nth-child(2) {
  top: 5.25px;
  width: 12px;
}

.burger i:nth-child(3) {
  top: 10.5px;
  width: 7px;
}

.menu-toggle:hover .burger i {
  width: 18px;
}

nav.open .menu-toggle {
  background: var(--blue-soft);
  border-color: rgba(31, 154, 199, .55);
  box-shadow: var(--glow);
}

nav.open .burger i {
  width: 18px;
  background: var(--blue);
}

nav.open .burger i:nth-child(1) {
  top: 5.25px;
  transform: rotate(45deg);
}

nav.open .burger i:nth-child(2) {
  opacity: 0;
}

nav.open .burger i:nth-child(3) {
  top: 5.25px;
  transform: rotate(-45deg);
}

.logo {
  display: block;
}

.logo img {
  display: block;
  height: 46px;
  mix-blend-mode: screen;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 28px;
}

.nav-right .btn {
  padding: 6px 6px 6px 20px;
  font-size: 13px;
}

.nav-right .btn-badge {
  width: 34px;
  height: 34px;
}

.menu-panel {
  position: absolute;
  top: 100%;
  left: 24px;
  right: 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  max-width: 1240px;
  margin: 12px auto 0;
  padding: 40px 44px;
  gap: 40px;
  background: rgba(8, 9, 10, .92);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}

nav.open .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.menu-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}

.menu-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 28px;
  letter-spacing: -.02em;
  transition: background .25s, color .25s;
}

.menu-links a span {
  color: var(--blue);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.menu-cta {
  display: none;
}

.menu-links a:hover,
.menu-links a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--white);
}

.menu-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.menu-aside .eyebrow {
  margin-bottom: 6px;
}

.menu-aside > a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-light);
  transition: color .25s;
}

.menu-aside > a:hover {
  color: var(--white);
}

.menu-aside > a .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.menu-socials {
  margin-top: 10px;
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero {
  display: flex;
  min-height: 100vh;
  align-items: center;
  padding-top: 112px;
}

.page-hero {
  display: flex;
  min-height: 66vh;
  align-items: flex-end;
  padding: 176px 0 104px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg video,
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.65) saturate(.65) contrast(1.05);
}

.hero-bg img {
  object-position: center;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .2) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 25%, transparent 70%, #000 100%),
    linear-gradient(0deg, rgba(13, 88, 120, .12), rgba(13, 88, 120, .12));
  content: "";
}

.grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  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: 64px 64px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 22px 0 26px;
  font-size: clamp(38px, 4.4vw, 62px);
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 4.2vw, 60px);
  text-wrap: balance;
}

.hero p.lead,
.page-hero p.lead {
  max-width: 680px;
  margin-bottom: 40px;
  color: var(--gray-light);
  font-size: 19px;
}

.hero p.lead {
  max-width: 720px;
  font-size: 20px;
}

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

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p.lead {
  max-width: 760px;
  margin-bottom: 0;
}

/* Trust, statements and shared section headers */
.trust-section {
  padding: 28px 0;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-item .icon {
  width: 17px;
  height: 17px;
  color: var(--blue);
}

section.block {
  padding: 130px 0;
  border-bottom: 1px solid var(--line);
}

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

.section-head h2 {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(30px, 3vw, 40px);
}

.section-head p {
  max-width: 470px;
  color: var(--gray-light);
  font-size: 17px;
}

.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

.statement {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.statement p {
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.3;
  letter-spacing: -.02em;
}

.statement .eyebrow {
  margin-bottom: 28px;
}

.statement-small {
  max-width: 780px;
}

.statement-small p {
  font-size: clamp(22px, 2.4vw, 32px);
}

/* Interactive deliverables */
.showcase-item {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  align-items: center;
  gap: 72px;
}

.showcase-item + .showcase-item {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

.showcase-item:nth-child(even) {
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
}

.showcase-item:nth-child(even) > :first-child {
  order: 2;
}

.compare-stage,
.showcase-video {
  position: relative;
  overflow: hidden;
  background: #050607;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  isolation: isolate;
}

.compare-stage {
  --compare-position: 50%;
  aspect-ratio: 880 / 548;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare-image,
.compare-overlay img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.compare-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
  pointer-events: none;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 2;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 12px rgba(0, 0, 0, .7), 0 0 8px rgba(31, 154, 199, .7);
  pointer-events: none;
  transform: translateX(-50%);
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(8, 9, 10, .78);
  border: 1px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--glow);
  color: var(--white);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.compare-handle .icon {
  width: 20px;
  height: 20px;
}

.compare-stage:hover .compare-handle,
.compare-stage.is-dragging .compare-handle {
  background: var(--blue-deep);
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(31, 154, 199, .45);
}

.compare-stage:has(.compare-range:focus-visible) .compare-handle {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.compare-range {
  position: absolute;
  top: 50%;
  left: var(--compare-position);
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
}

.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 7px 11px;
  background: rgba(0, 0, 0, .72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--flair);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.compare-tag-left {
  left: 16px;
  border-color: rgba(31, 154, 199, .5);
  color: var(--blue);
}

.compare-tag-right {
  right: 16px;
}

.showcase-video video {
  display: block;
  width: 100%;
  aspect-ratio: 880 / 548;
  object-fit: cover;
  pointer-events: none;
}

.compare-credit {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
  pointer-events: none;
}

.showcase-video video::-webkit-media-controls,
.showcase-video video::-webkit-media-controls-start-playback-button,
.showcase-video video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}

.showcase-copy h3 {
  margin: 18px 0 14px;
  font-size: clamp(24px, 2.4vw, 30px);
}

.showcase-copy p {
  color: var(--gray-light);
  font-size: 16px;
}

.showcase-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.showcase-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray);
  font-size: 14px;
}

.showcase-points .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  filter: drop-shadow(0 0 4px rgba(31, 154, 199, .45));
}

/* Home services overview */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.overview-card,
.service,
.diff-card,
.industry-card,
.capability-card {
  position: relative;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: background .3s, border-color .3s, transform .3s;
}

.overview-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 30px 26px;
}

.overview-card:hover,
.service:hover,
.diff-card:hover,
.industry-card:hover,
.capability-card:hover {
  background: var(--panel);
  border-color: #33363c;
  transform: translateY(-3px);
}

.overview-card .card-index {
  position: absolute;
  top: 26px;
  right: 24px;
  color: var(--gray);
  font-family: var(--flair);
  font-size: 11px;
  letter-spacing: .1em;
}

.overview-card .svc-icon,
.service .svc-icon,
.svc-row .svc-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  place-items: center;
  background: rgba(255, 255, 255, .02);
  border: 1px solid #2c2f35;
  border-radius: var(--r-md);
  color: var(--blue);
  transition: all .3s;
}

.overview-card .svc-icon {
  margin-bottom: auto;
}

.overview-card:hover .svc-icon,
.service:hover .svc-icon,
.svc-row:hover .svc-icon {
  background: var(--blue-deep);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--glow);
}

.overview-card h3 {
  margin: 32px 0 10px;
  font-size: 22px;
}

.overview-card p {
  margin-bottom: 20px;
  color: var(--gray);
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 13px;
  letter-spacing: .04em;
}

.card-link .icon {
  width: 16px;
  height: 16px;
  color: var(--blue);
  transition: transform .25s;
}

.card-link:hover {
  color: var(--white);
}

.card-link:hover .icon {
  transform: translateX(3px);
}

/* Technology */
.technology-teaser {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.technology-teaser h2 {
  max-width: 540px;
  margin: 18px 0 22px;
  font-size: clamp(30px, 3vw, 40px);
}

.technology-teaser > div > p {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--gray-light);
  font-size: 17px;
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.capability-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--gray-light);
  font-size: 14px;
}

.capability-chip .icon {
  width: 19px;
  height: 19px;
  color: var(--blue);
}

.review-callout {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(31, 154, 199, .06);
  border: 1px solid rgba(31, 154, 199, .35);
  border-radius: var(--r-lg);
}

.review-callout .callout-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .4);
  border-radius: 50%;
  color: var(--blue);
  box-shadow: var(--glow);
}

.review-callout .icon {
  width: 20px;
  height: 20px;
}

.review-callout strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--flair);
  font-size: 16px;
  font-weight: 400;
}

.review-callout p {
  color: var(--gray-light);
  font-size: 14px;
}

/* Differentiators */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.diff-card {
  min-height: 214px;
  padding: 30px 28px;
}

.diff-card .diff-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .3);
  border-radius: 50%;
  color: var(--blue);
}

.diff-card .icon {
  width: 20px;
  height: 20px;
}

.diff-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.diff-card p {
  color: var(--gray);
  font-size: 15px;
}

/* Process previews and timeline */
.process-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  position: relative;
  padding: 30px 28px 32px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.step-icon {
  position: absolute;
  top: 26px;
  right: 24px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #2c2f35;
  border-radius: 50%;
  color: var(--gray-light);
  transition: color .3s, background .3s, border-color .3s;
}

.step-icon .icon {
  width: 20px;
  height: 20px;
}

.step:hover .step-icon {
  background: var(--blue-deep);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--glow);
}

.step .flair,
.step-tag {
  display: inline-block;
  padding: 7px 14px;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .3);
  border-radius: 999px;
  color: var(--blue);
  font-family: var(--flair);
  font-size: 12px;
  letter-spacing: .14em;
  box-shadow: 0 0 12px rgba(31, 154, 199, .16);
}

.step h4 {
  margin: 26px 0 10px;
  font-size: 22px;
}

.step p {
  color: var(--gray);
  font-size: 15px;
}

.timeline {
  max-width: 1020px;
  margin: 0 auto;
}

.timeline-step {
  display: grid;
  grid-template-columns: 112px 62px 1fr;
  position: relative;
  gap: 22px;
  min-height: 150px;
}

.timeline-step:last-child {
  min-height: 0;
}

.timeline-step:not(:last-child) .timeline-marker::after {
  position: absolute;
  top: 46px;
  bottom: -1px;
  left: 50%;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-number {
  align-self: start;
  justify-self: end;
  padding-top: 12px;
  color: var(--blue);
  font-family: var(--flair);
  font-size: 12px;
  letter-spacing: .12em;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .4);
  border-radius: 50%;
  color: var(--blue);
  box-shadow: var(--glow);
}

.timeline-marker .icon {
  width: 19px;
  height: 19px;
}

.timeline-content {
  padding: 8px 0 44px;
}

.timeline-content h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.timeline-content p {
  max-width: 650px;
  color: var(--gray-light);
  font-size: 16px;
}

.optional {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray);
  font-family: var(--flair);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Services page */
.category {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 72px;
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.category:first-child {
  padding-top: 0;
}

.category:last-child {
  border-bottom: 0;
}

.category-side {
  align-self: start;
}

.category-side h2 {
  margin: 18px 0 18px;
  font-size: clamp(28px, 3vw, 40px);
}

.category-side > p {
  margin-bottom: 24px;
  color: var(--gray-light);
  font-size: 17px;
}

.category-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray);
  font-family: var(--flair);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.category-action {
  margin-top: 24px;
}

.category-count b {
  color: var(--blue);
  font-weight: 400;
}

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

.svc-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: background .3s, border-color .3s, transform .3s;
}

.svc-row:hover {
  background: var(--panel);
  border-color: #33363c;
  transform: translateX(3px);
}

.svc-row h3 {
  margin: 1px 0 6px;
  font-size: 19px;
}

.svc-row p {
  color: var(--gray);
  font-size: 15px;
}

.deliver {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.deliver-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.deliver-visual img,
.deliver-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag {
  position: absolute;
  padding: 8px 14px;
  background: rgba(0, 0, 0, .7);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--flair);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.tag.tl {
  top: 18px;
  left: 18px;
}

.tag.br {
  right: 18px;
  bottom: 18px;
  border-color: rgba(31, 154, 199, .4);
  color: var(--blue);
}

.deliver h2 {
  margin: 18px 0 22px;
  font-size: clamp(28px, 2.7vw, 36px);
}

.deliver > div > p {
  margin-bottom: 34px;
  color: var(--gray-light);
  font-size: 17px;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 40px;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gray-light);
  font-size: 14px;
}

.checklist .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  filter: drop-shadow(0 0 4px rgba(31, 154, 199, .45));
}

/* Technology flow */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.capability-card {
  min-height: 220px;
  padding: 30px;
}

.capability-card .diff-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .3);
  border-radius: 50%;
  color: var(--blue);
}

.capability-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.capability-card p {
  color: var(--gray);
  font-size: 15px;
}

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

.flow-node {
  position: relative;
  min-height: 190px;
  padding: 28px 24px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.flow-node:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -29px;
  width: 28px;
  height: 1px;
  background: var(--line);
  content: "";
}

.flow-node.active {
  background: rgba(31, 154, 199, .08);
  border-color: rgba(31, 154, 199, .5);
}

.flow-node .flow-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: var(--flair);
  font-size: 11px;
  letter-spacing: .14em;
}

.flow-node h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.flow-node p {
  color: var(--gray);
  font-size: 14px;
}

.positioning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.positioning-copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(28px, 2.7vw, 38px);
}

.positioning-copy p {
  color: var(--gray-light);
  font-size: 17px;
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.industry-card {
  display: flex;
  min-height: 244px;
  flex-direction: column;
  padding: 28px 26px;
}

.industry-card:nth-child(1),
.industry-card:nth-child(2) {
  grid-column: span 2;
}

.industry-card .ind-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #2c2f35;
  border-radius: 50%;
  color: var(--gray-light);
  transition: color .3s, background .3s, border-color .3s;
}

.industry-card:hover .ind-icon {
  background: var(--blue-deep);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--glow);
}

.industry-card h3 {
  margin-top: 42px;
  margin-bottom: 8px;
  font-size: 20px;
}

.industry-card p {
  margin-bottom: 14px;
  color: var(--gray);
  font-size: 14px;
}

.industry-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.industry-tags li {
  padding: 5px 9px;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .25);
  border-radius: 999px;
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* About */
.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  row-gap: 22px;
}

.about-copy > .eyebrow {
  grid-column: 1 / -1;
}

.about-copy p {
  color: var(--gray-light);
  font-size: 18px;
}

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

.approach-card {
  padding: 28px 24px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.approach-card .approach-number {
  display: block;
  margin-bottom: 36px;
  color: var(--blue);
  font-family: var(--flair);
  font-size: 12px;
  letter-spacing: .14em;
}

.approach-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.approach-card p {
  color: var(--gray);
  font-size: 14px;
}

/* CTA and contact */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px 56px;
  padding: 56px 64px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.cta-band h2 {
  margin-top: 18px;
  font-size: clamp(28px, 3vw, 42px);
}

.cta-band p {
  max-width: 620px;
  margin-top: 14px;
  color: var(--gray-light);
}

.cta-band .cta-actions {
  display: flex;
  justify-content: flex-end;
}

.cta-details {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.cta-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 15px;
}

.cta-detail-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid #2c2f35;
  border-radius: 50%;
  color: var(--blue);
}

.cta-detail-icon .icon {
  width: 18px;
  height: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.contact h2 {
  margin: 18px 0 24px;
  font-size: clamp(30px, 3.3vw, 44px);
}

.contact > div > p {
  max-width: 500px;
  color: var(--gray-light);
  font-size: 17px;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

.contact-info div {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gray-light);
}

.contact-info .ci-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  background: var(--blue-soft);
  border: 1px solid rgba(31, 154, 199, .3);
  border-radius: 50%;
  color: var(--blue);
  box-shadow: 0 0 12px rgba(31, 154, 199, .14);
}

.contact-info .icon {
  width: 18px;
  height: 18px;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 34px;
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-light);
  font-size: 14px;
}

.info-list .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

form {
  display: grid;
  gap: 18px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin: 0 0 8px 16px;
  color: var(--gray);
  font-family: var(--flair);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 20px;
  outline: none;
  background: var(--black);
  border: 1px solid #2a2d33;
  border-radius: 999px;
  color: var(--white);
  font-family: var(--copy);
  font-size: 15px;
  font-weight: 300;
  transition: border-color .2s, box-shadow .2s;
}

input::placeholder,
textarea::placeholder {
  color: #5f636b;
}

select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f98' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 18px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 154, 199, .12);
}

textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: 20px;
}

form .btn {
  justify-content: space-between;
  margin-top: 6px;
}

.dropzone {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, .32);
  border: 1px dashed #3a3e46;
  border-radius: 20px;
  color: var(--gray);
  cursor: pointer;
  text-align: center;
  transition: background .25s, border-color .25s, color .25s;
}

.dropzone:hover,
.dropzone.is-dragging {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--gray-light);
}

.dropzone-content {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.dropzone-content .icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.dropzone-content strong {
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 14px;
  font-weight: 400;
}

.dropzone-content span {
  font-size: 12px;
}

.file-list {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  list-style: none;
  color: var(--gray);
  font-size: 12px;
}

.file-list li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer */
footer {
  padding: 72px 0 40px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.foot-top img {
  height: 44px;
  margin-bottom: 20px;
  mix-blend-mode: screen;
}

.foot-top p {
  max-width: 300px;
  color: var(--gray);
  font-size: 14.5px;
}

.foot-top h5 {
  margin-bottom: 20px;
  color: var(--gray);
  font-family: var(--flair);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.foot-top ul {
  display: grid;
  gap: 10px;
  color: var(--gray-light);
  font-size: 15px;
  list-style: none;
}

.foot-top ul a {
  transition: color .2s;
}

.foot-top ul a:hover {
  color: var(--blue);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  color: var(--gray);
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gray);
  transition: all .25s;
}

.socials a:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: var(--glow);
}

.socials .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .industry-card:nth-child(1),
  .industry-card:nth-child(2) {
    grid-column: span 1;
  }
}

@media (max-width: 1000px) {
  .about-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .menu-label {
    display: none;
  }

  .menu-toggle {
    width: 48px;
    justify-content: center;
    padding: 0;
  }

  .menu-panel {
    grid-template-columns: 1fr;
  }

  .menu-links {
    grid-template-columns: 1fr;
  }

  .menu-aside {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .deliver,
  .positioning,
  .technology-teaser,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 80px;
  }

  .services,
  .process,
  .stats .wrap {
    grid-template-columns: 1fr 1fr;
  }

  .category {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase-item,
  .showcase-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-item:nth-child(even) > :first-child {
    order: 0;
  }

  .showcase-copy {
    max-width: 640px;
  }

  .category:first-child {
    padding-top: 0;
  }

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

  .section-head p {
    max-width: 620px;
  }

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

  .flow-node:not(:last-child)::after {
    display: none;
  }

  .cta-band {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-band .cta-actions {
    justify-content: flex-start;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  nav {
    inset: 10px 0 auto;
    padding: 0 10px;
  }

  .nav-inner {
    grid-template-columns: 1fr auto;
    height: 60px;
    padding: 0 7px 0 20px;
  }

  .logo {
    order: -1;
  }

  .logo img {
    height: 28px;
  }

  .nav-right {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    width: 46px;
    height: 46px;
  }

  .menu-panel {
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - 90px);
    margin-top: 8px;
    padding: 10px;
    gap: 0;
    overflow-y: auto;
    border-radius: 24px;
    overscroll-behavior: contain;
  }

  .menu-links {
    gap: 2px;
  }

  .menu-links a {
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 20px;
  }

  .menu-links a span {
    font-size: 11px;
  }

  .menu-cta {
    display: flex;
    justify-content: space-between;
    margin: 12px 4px 0;
  }

  .menu-aside {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px 20px;
    margin-top: 14px;
    padding: 18px 10px 8px;
    font-size: 14px;
  }

  .menu-aside .eyebrow {
    display: none;
  }

  .menu-aside > a {
    gap: 10px;
  }

  .menu-socials {
    width: 100%;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    min-height: 100svh;
    padding-top: 110px;
  }

  .page-hero {
    min-height: 620px;
    padding: 150px 0 78px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero p.lead,
  .page-hero p.lead {
    font-size: 17px;
  }

  .trust-bar {
    justify-content: flex-start;
  }

  .trust-item {
    font-size: 10px;
  }

  section.block {
    padding: 88px 0;
  }

  .section-head {
    margin-bottom: 42px;
  }

  .overview-grid,
  .diff-grid,
  .process-preview,
  .capability-grid,
  .approach-grid,
  .industry-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .showcase-item + .showcase-item {
    margin-top: 48px;
    padding-top: 48px;
  }

  .compare-tag {
    top: 12px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .compare-tag-left {
    left: 12px;
  }

  .compare-tag-right {
    right: 12px;
  }

  .overview-card {
    min-height: 240px;
  }

  .capability-list,
  .checklist,
  .row {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    grid-template-columns: 54px 48px 1fr;
    gap: 10px;
  }

  .timeline-number {
    position: absolute;
    top: 12px;
    left: 0;
    padding: 0;
    font-size: 10px;
  }

  .timeline-marker {
    grid-column: 2;
  }

  .timeline-content {
    grid-column: 3;
    padding-bottom: 38px;
  }

  .timeline-step:not(:last-child) .timeline-marker::after {
    bottom: -1px;
  }

  .svc-row {
    grid-template-columns: 44px 1fr;
    padding: 18px;
    gap: 14px;
  }

  .svc-row .svc-icon {
    width: 44px;
    height: 44px;
  }

  .deliver {
    gap: 42px;
  }

  .cta-band {
    padding: 34px 24px;
  }

  .cta-details {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 16px;
    padding-top: 24px;
  }

  .contact {
    gap: 46px;
  }

  form {
    padding: 24px 18px;
  }

  .foot-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .foot-top > div:first-child {
    grid-column: 1 / -1;
  }

  .foot-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

.portal-stack,
#admin-root {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.portal-stack > *,
#admin-root > * {
  min-width: 0;
}

.portal-card,
.library-card {
  padding: 28px;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.portal-card h3,
.library-card h3 {
  font-family: var(--flair);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.02em;
}

.portal-card > p,
.library-card > p,
.form-note {
  margin-top: 8px;
  color: var(--gray-light);
  font-size: 15px;
  line-height: 1.65;
}

.form-note[data-state="error"] {
  color: #f0a8a8;
}

.form-note[data-state="success"] {
  color: var(--gray-light);
}

.file-row,
.library-row,
.download-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.delivery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 22px;
}

.delivery-head h3 {
  margin-top: 12px;
}

.delivery-head .meta {
  display: block;
  margin-top: 6px;
}

.delivery-lock {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(31, 154, 199, .3);
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--gray-light);
  font-size: 14px;
}

.delivery-lock .icon {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.tree-tools {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 10px;
}

.tree-tools button {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--gray);
  cursor: pointer;
  font-family: var(--flair);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .25s ease;
}

.tree-tools button:hover,
.tree-tools button:focus-visible {
  color: var(--white);
}

.tree,
.tree-children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tree {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.tree > li + li,
.tree-children > li {
  border-top: 1px solid var(--line);
}

.tree-children {
  margin-left: 30px;
  border-left: 1px solid var(--line);
}

.tree-folder {
  position: relative;
}

.tree-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px;
  transition: background .25s ease;
}

.tree-row:hover {
  background: var(--panel);
}

.tree-folder > details > summary {
  padding-right: 128px;
  cursor: pointer;
  list-style: none;
}

.tree-folder > details > summary::-webkit-details-marker {
  display: none;
}

.tree-folder > details > summary:focus-visible {
  outline: none;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(31, 154, 199, .6);
}

.tree-chevron {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--gray);
  transition: transform .25s ease, color .25s ease;
}

details[open] > summary .tree-chevron {
  transform: rotate(90deg);
  color: var(--blue);
}

.tree-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--black);
  color: var(--gray-light);
}

.tree-icon .icon {
  width: 18px;
  height: 18px;
}

.tree-icon.is-folder {
  border-color: rgba(31, 154, 199, .3);
  background: var(--blue-soft);
  color: var(--blue);
}

.tree-file {
  padding-left: 44px;
}

.tree.is-flat > .tree-file {
  padding-left: 14px;
}

.tree-text {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.tree-text strong {
  color: var(--white);
  font-family: var(--flair);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.tree-text span {
  color: var(--gray);
  font-size: 13px;
}

.tree-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  border: 1px solid #34373d;
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--gray-light);
  cursor: pointer;
  font-family: var(--flair);
  font-size: 13px;
  letter-spacing: .04em;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.tree-action .icon {
  width: 16px;
  height: 16px;
}

.tree-action span {
  padding-right: 4px;
}

.tree-action:hover,
.tree-action:focus-visible {
  outline: none;
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--white);
}

.tree-folder > .tree-action {
  position: absolute;
  top: 12px;
  right: 14px;
}

.tree-hint {
  margin-top: 14px;
  color: var(--gray);
  font-size: 13px;
}

@media (max-width: 600px) {
  .delivery-head .btn {
    width: 100%;
    justify-content: space-between;
  }

  .tree-row {
    gap: 10px;
    padding: 10px;
  }

  .tree-children {
    margin-left: 18px;
  }

  .tree-file {
    padding-left: 36px;
  }

  .tree.is-flat > .tree-file {
    padding-left: 10px;
  }

  .tree-folder > details > summary {
    padding-right: 62px;
  }

  .tree-folder > .tree-action {
    right: 10px;
  }

  .tree-folder > .tree-action span {
    display: none;
  }

  .tree-icon {
    width: 34px;
    height: 34px;
  }
}

.file-row strong,
.library-row strong,
.download-row strong {
  display: block;
  color: var(--white);
  font-family: var(--flair);
  font-size: 16px;
  font-weight: 400;
}

.file-row span,
.library-row span,
.download-row span,
.meta {
  color: var(--gray);
  font-size: 13px;
}

.library-row button.linkish,
.crumb button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font-family: var(--flair);
  font-size: 16px;
  cursor: pointer;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.crumb button,
.selected-chip button {
  color: var(--blue);
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 154, 199, .35);
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--gray-light);
  font-family: var(--flair);
  font-size: 13px;
}

.selected-chip button {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

.account-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.account-panel form {
  margin-top: 14px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--gray-light);
  font-size: 14px;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.turnstile-slot {
  min-height: 68px;
}

body.is-login .page-hero,
body.is-login footer {
  display: none;
}

body.is-login main {
  display: flex;
  min-height: calc(100vh - 112px);
  align-items: center;
}

body.is-login main .block {
  width: 100%;
  padding-top: 24px;
  padding-bottom: 24px;
}

.login-card {
  width: min(440px, 100%);
  margin-inline: auto;
}

.login-card h1 {
  margin-top: 8px;
  font-family: var(--flair);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 1000px) {
  .admin-grid,
  .file-row,
  .library-row,
  .download-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-grid {
    display: grid;
  }
}
